/* ========================================
   ZENOVA - Responsive Styles
   ======================================== */

/* ========================================
   TABLET - Large (1024px and below)
   ======================================== */

@media screen and (max-width: 1024px) {
    
    /* Container */
    .container {
        padding: 0 30px;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 52px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Why Us Section */
    .why-us-content {
        gap: 50px;
    }
    
    .why-us-text h2 {
        font-size: 36px;
    }
    
    .visual-placeholder {
        width: 350px;
        height: 350px;
        font-size: 100px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }
    
    .footer-content .footer-col:last-child {
        grid-column: 1 / -1;
    }
}

/* ========================================
   TABLET - Small (768px and below)
   ======================================== */

@media screen and (max-width: 768px) {
    
    /* Typography */
    html {
        font-size: 15px;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(11, 15, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 10px 0;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .btn-nav {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .hamburger {
        display: flex;
        z-index: 1000;
    }
    
    /* Hero Section */
    .hero {
        min-height: 90vh;
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 38px;
        margin-bottom: 25px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Hero Stats */
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 40px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* Section Headers */
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    /* Services Section */
    .services-preview {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .service-title {
        font-size: 20px;
    }
    
    /* Why Us Section */
    .why-us {
        padding: 80px 0;
    }
    
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-us-text h2 {
        font-size: 32px;
    }
    
    .why-us-text > p {
        font-size: 16px;
    }
    
    .feature-item {
        gap: 15px;
    }
    
    .feature-item i {
        font-size: 20px;
    }
    
    .feature-item h4 {
        font-size: 16px;
    }
    
    .visual-placeholder {
        width: 100%;
        height: 300px;
        font-size: 80px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col h4 {
        font-size: 16px;
    }
    
    /* Back to Top */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
    
    /* Scroll Indicator */
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-indicator p {
        font-size: 10px;
    }
}

/* ========================================
   MOBILE - Large (480px and below)
   ======================================== */

@media screen and (max-width: 480px) {
    
    /* Container */
    .container {
        padding: 0 20px;
    }
    
    /* Navigation */
    .nav-menu {
        width: 85%;
    }
    
    .logo {
        font-size: 24px;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .hero-cta .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    /* Hero Stats */
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    /* Sections */
    .services-preview,
    .why-us,
    .cta-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-label {
        font-size: 12px;
        letter-spacing: 1.5px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    /* Service Cards */
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .service-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .service-description {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    /* Why Us */
    .why-us-text h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .why-us-text > p {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .feature-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .feature-item i {
        font-size: 24px;
    }
    
    .feature-item h4 {
        font-size: 15px;
        margin-bottom: 3px;
    }
    
    .feature-item p {
        font-size: 13px;
    }
    
    .visual-placeholder {
        height: 250px;
        font-size: 60px;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .cta-content p {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .btn-large {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    /* Footer */
    .footer-logo {
        font-size: 24px;
    }
    
    .footer-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    
    .footer-col h4 {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .footer-col ul li {
        margin-bottom: 10px;
    }
    
    .footer-col ul li a {
        font-size: 13px;
    }
    
    .contact-info li {
        font-size: 13px;
        gap: 10px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    /* Scroll Indicator - Hide on small mobile */
    .scroll-indicator {
        display: none;
    }
    
    /* Mouse cursor effect - Disable on mobile */
    .cursor-glow {
        display: none;
    }
}

/* ========================================
   MOBILE - Extra Small (375px and below)
   ======================================== */

@media screen and (max-width: 375px) {
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .why-us-text h2 {
        font-size: 24px;
    }
    
    .cta-content h2 {
        font-size: 22px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

/* ========================================
   LANDSCAPE MODE (Mobile/Tablet)
   ======================================== */

@media screen and (max-height: 600px) and (orientation: landscape) {
    
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-stats {
        margin-top: 30px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

/* Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
    
    .service-card {
        border: 2px solid var(--secondary-color);
    }
}

/* Dark mode support (already dark, but for system preferences) */
@media (prefers-color-scheme: light) {
    /* If user prefers light mode, you can add overrides here */
    /* For now, we keep it dark as per brand identity */
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    
    .navbar,
    .hamburger,
    .back-to-top,
    .scroll-indicator,
    #hero-canvas,
    .cta-section {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero,
    .services-preview,
    .why-us,
    .footer {
        page-break-inside: avoid;
    }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* Improve touch targets on mobile */
@media (pointer: coarse) {
    .nav-link,
    .btn,
    .service-link,
    .social-links a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ========================================
   BROWSER-SPECIFIC FIXES
   ======================================== */

/* Safari mobile fix for 100vh */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Firefox scrollbar styling */
@-moz-document url-prefix() {
    html {
        scrollbar-width: thin;
        scrollbar-color: var(--secondary-color) var(--primary-color);
    }
}