/* ========================================
   RESPONSIVE CSS FOR MONARCH WEBSITE
   ======================================== */

/* Breakpoint Definitions */
/* Desktop Large: 1200px+ | Desktop: 1024px-1199px | Tablet: 768px-1023px | Mobile: 480px-767px | Mobile Small: <480px */

/* ========================================
   GLOBAL RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
        padding: 0 15px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }
    
    h1 { font-size: 42px; }
    h2 { font-size: 28px; }
    h3 { font-size: 22px; }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }
    
    h1 { font-size: 36px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
    h4 { font-size: 16px; }
    p { font-size: 15px; }
}

@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    h1 { font-size: 28px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    h4 { font-size: 15px; }
    p { font-size: 14px; }
}

/* ========================================
   HEADER & NAVIGATION RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    .top-bar-right { justify-content: center; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .navbar .container { justify-content: space-between; }
}

/* Mobile Menu Active State */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-links.active a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-links.active a:last-child { border-bottom: none; }

/* Mobile Menu Button Animation */
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

/* ========================================
   GRADIENT BANNER RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .banner-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .banner-text h1 { font-size: 42px; }
    .banner-services { justify-content: center; flex-wrap: wrap; }
    .banner-visual { order: -1; }
}

@media (max-width: 768px) {
    .gradient-banner { padding: 80px 0; }
    .banner-text h1 { font-size: 36px; }
    .banner-text p { font-size: 16px; }
    .banner-services { gap: 15px; }
    .service-highlight { padding: 12px 20px; }
    .banner-buttons { flex-direction: column; gap: 15px; }
    .banner-visual { height: 300px; }
    .shape { width: 60px; height: 60px; }
    .floating-icon { width: 50px; height: 50px; }
    .floating-icon i { font-size: 20px; }
}

@media (max-width: 480px) {
    .gradient-banner { padding: 60px 0; }
    .banner-text h1 { font-size: 28px; }
    .banner-text p { font-size: 15px; }
    .banner-services { flex-direction: column; align-items: center; }
    .service-highlight { width: 100%; max-width: 280px; }
    .banner-visual { height: 250px; }
    .shape { width: 40px; height: 40px; }
    .floating-icon { width: 40px; height: 40px; }
    .floating-icon i { font-size: 16px; }
}

/* ========================================
   HERO SECTION RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-content h1 { font-size: 36px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 28px; }
}

/* ========================================
   SERVICES SECTION RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .services-carousel { gap: 20px; }
    .service-card { min-width: 300px; padding: 25px; }
}

@media (max-width: 768px) {
    .services { padding: 80px 0; }
    .services-carousel { gap: 15px; }
    .service-card { min-width: 280px; padding: 20px; }
    .service-icon { width: 60px; height: 60px; }
    .service-icon i { font-size: 24px; }
}

@media (max-width: 480px) {
    .services { padding: 60px 0; }
    .service-card { min-width: 260px; padding: 18px; }
    .service-icon { width: 50px; height: 50px; }
    .service-icon i { font-size: 20px; }
}

/* ========================================
   METRICS SECTION RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 480px) {
    .metrics-grid { grid-template-columns: 1fr; gap: 25px; }
}

/* ========================================
   WHY CHOOSE SERVICES RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .why-choose-content { grid-template-columns: 1fr; gap: 40px; }
    .image-container img { max-width: 100%; height: auto; }
    .why-choose-point { padding: 20px; }
    .point-icon { width: 50px; height: 50px; }
    .point-icon i { font-size: 20px; }
    .point-content h3 { font-size: 18px; }
    .point-content p { font-size: 14px; }
}

@media (max-width: 768px) {
    .why-choose-services { padding: 80px 0; }
    .why-choose-content { gap: 30px; }
    .image-container img { height: 300px; object-fit: cover; }
    .why-choose-point { padding: 18px; }
    .point-icon { width: 45px; height: 45px; }
    .point-icon i { font-size: 18px; }
    .point-content h3 { font-size: 16px; }
    .point-content p { font-size: 13px; }
    .why-choose-highlight { padding: 25px; }
    .highlight-icon { width: 60px; height: 60px; }
    .highlight-icon i { font-size: 24px; }
    .why-choose-highlight h3 { font-size: 18px; }
    .why-choose-highlight p { font-size: 14px; }
    .stat-number { font-size: 24px; }
    .stat-label { font-size: 12px; }
}

@media (max-width: 480px) {
    .why-choose-services { padding: 60px 0; }
    .why-choose-content { gap: 25px; }
    .image-container img { height: 250px; }
    .why-choose-point { padding: 15px; }
    .point-icon { width: 40px; height: 40px; }
    .point-icon i { font-size: 16px; }
    .point-content h3 { font-size: 15px; }
    .point-content p { font-size: 12px; }
    .why-choose-highlight { padding: 20px; }
    .highlight-icon { width: 50px; height: 50px; }
    .highlight-icon i { font-size: 20px; }
    .why-choose-highlight h3 { font-size: 16px; }
    .why-choose-highlight p { font-size: 13px; }
    .stat-number { font-size: 20px; }
    .stat-label { font-size: 11px; }
}

/* ========================================
   WHY CHOOSE SECTION RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .why-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

/* ========================================
   INDUSTRIES SECTION RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .industry-card { padding: 25px; }
}

@media (max-width: 768px) {
    .industries { padding: 80px 0; }
    .industries-grid { grid-template-columns: 1fr; gap: 20px; }
    .industry-card { padding: 20px; }
    .industry-icon { width: 60px; height: 60px; }
    .industry-icon i { font-size: 24px; }
    .industry-card h3 { font-size: 18px; }
}

@media (max-width: 480px) {
    .industries { padding: 60px 0; }
    .industry-card { padding: 18px; }
    .industry-icon { width: 50px; height: 50px; }
    .industry-icon i { font-size: 20px; }
    .industry-features { gap: 8px; }
    .industry-features .feature-tag { padding: 6px 12px; font-size: 11px; }
}

/* ========================================
   ENGINEERING SERVICES SECTION RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .engineering-services-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .engineering-service-card { padding: 25px; }
}

@media (max-width: 768px) {
    #engineering-services { padding: 80px 0; }
    .engineering-services-grid { grid-template-columns: 1fr; gap: 20px; }
    .engineering-service-card { padding: 20px; }
    .engineering-service-icon { width: 60px; height: 60px; }
    .engineering-service-icon i { font-size: 24px; }
    .engineering-service-card h3 { font-size: 18px; }
}

@media (max-width: 480px) {
    #engineering-services { padding: 60px 0; }
    .engineering-service-card { padding: 18px; }
    .engineering-service-icon { width: 50px; height: 50px; }
    .engineering-service-icon i { font-size: 20px; }
    .engineering-service-features { gap: 8px; }
    .engineering-service-features .engineering-service-feature-tag { padding: 6px 12px; font-size: 11px; }
}

/* ========================================
   ENGINEERING PROCESS RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .process-flow { gap: 15px; }
    .process-nav-btn { width: 45px; height: 45px; font-size: 16px; }
    .process-nav-btn.prev { left: -60px; }
    .process-nav-btn.next { right: -60px; }
    .process-step { min-width: 280px; padding: 20px; }
    .step-icon { width: 50px; height: 50px; }
    .step-icon i { font-size: 20px; }
    .process-step h3 { font-size: 16px; }
    .process-step p { font-size: 13px; }
    .step-feature { padding: 8px 12px; font-size: 11px; }
}

@media (max-width: 768px) {
    .engineering-process { padding: 80px 0; }
    .process-flow { gap: 10px; }
    .process-nav-btn { width: 40px; height: 40px; font-size: 14px; }
    .process-nav-btn.prev { left: -50px; }
    .process-nav-btn.next { right: -50px; }
    .process-step { min-width: 250px; padding: 18px; }
    .step-icon { width: 45px; height: 45px; }
    .step-icon i { font-size: 18px; }
    .process-step h3 { font-size: 15px; }
    .process-step p { font-size: 12px; }
    .step-feature { padding: 6px 10px; font-size: 10px; }
}

@media (max-width: 480px) {
    .engineering-process { padding: 60px 0; }
    .process-flow { gap: 8px; }
    .process-nav-btn { width: 35px; height: 35px; font-size: 12px; }
    .process-nav-btn.prev { left: -45px; }
    .process-nav-btn.next { right: -45px; }
    .process-step { min-width: 220px; padding: 15px; }
    .step-icon { width: 40px; height: 40px; }
    .step-icon i { font-size: 16px; }
    .process-step h3 { font-size: 14px; }
    .process-step p { font-size: 11px; }
    .step-features { gap: 6px; }
    .step-feature { padding: 5px 8px; font-size: 9px; }
}

/* ========================================
   PARTNERS SECTION RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .partners-container { gap: 20px; }
    .partner-card { min-width: 280px; padding: 25px; }
}

@media (max-width: 768px) {
    .partners { padding: 80px 0; }
    .partners-container { gap: 15px; }
    .partner-card { min-width: 250px; padding: 20px; }
    .partner-logo img { max-width: 150px; }
    .partner-info h4 { font-size: 16px; }
    .partner-info p { font-size: 13px; }
    .partners-nav-btn { width: 45px; height: 45px; font-size: 16px; }
}

@media (max-width: 480px) {
    .partners { padding: 60px 0; }
    .partner-card { min-width: 220px; padding: 18px; }
    .partner-logo img { max-width: 120px; }
    .partner-info h4 { font-size: 15px; }
    .partner-info p { font-size: 12px; }
    .partners-nav-btn { width: 40px; height: 40px; font-size: 14px; }
}

/* ========================================
   CTA SECTION RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .cta { padding: 80px 0; text-align: center; }
    .cta-content h2 { font-size: 28px; }
    .cta-content p { font-size: 16px; }
}

@media (max-width: 480px) {
    .cta { padding: 60px 0; }
    .cta-content h2 { font-size: 24px; }
    .cta-content p { font-size: 15px; }
}

/* ========================================
   BLOG SECTION RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
}

@media (max-width: 768px) {
    .blog { padding: 80px 0; }
    .blog-grid { grid-template-columns: 1fr; gap: 20px; }
    .blog h2 { font-size: 28px; }
}

@media (max-width: 480px) {
    .blog { padding: 60px 0; }
    .blog h2 { font-size: 24px; }
}

/* ========================================
   FOOTER RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
    .footer { padding: 60px 0 40px; }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

/* ========================================
   UTILITY CLASSES FOR RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
}

@media (max-width: 480px) {
    .hide-mobile-small { display: none !important; }
}

@media (min-width: 769px) {
    .show-mobile-only { display: none !important; }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   ======================================== */

@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .industry-card:hover,
    .engineering-service-card:hover,
    .process-step:hover,
    .partner-card:hover,
    .why-choose-point:hover {
        transform: none;
    }
    
    .nav-btn,
    .process-nav-btn,
    .partners-nav-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .btn-primary,
    .btn-secondary {
        min-height: 44px;
        padding: 12px 24px;
    }
}

/* ========================================
   ACCESSIBILITY SUPPORT
   ======================================== */

@media (prefers-contrast: high) {
    .service-card,
    .industry-card,
    .engineering-service-card,
    .process-step,
    .partner-card,
    .why-choose-point {
        border: 2px solid #000;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid #000;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-icon,
    .shape {
        animation: none !important;
    }
} 