/* Responsive Styles - Neo-Sorb Website */
/* Mobile-first approach inspired by carbonclean.com */

/* ========================================
   TABLET STYLES (768px and below)
   ======================================== */

@media (max-width: 768px) {
    /* Navigation */
    .nav-list {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        gap: 0;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--color-light-grey);
    }

    .nav-link {
        display: block;
        padding: var(--spacing-md) 0;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero Section */
    .hero {
        min-height: 80vh;
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Grid Layouts */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Two Column Layouts */
    .two-column {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .two-column-reverse {
        direction: ltr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    /* Contact Form */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* ========================================
   MOBILE STYLES (480px and below)
   ======================================== */

@media (max-width: 480px) {
    /* Container Padding */
    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Sections */
    .section {
        padding: var(--spacing-lg) 0;
    }

    .section-lg {
        padding: var(--spacing-xl) 0;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
    }

    /* Buttons */
    .btn {
        padding: 14px 24px;
        font-size: var(--font-size-tiny);
    }

    .btn-large {
        padding: 16px 28px;
        font-size: var(--font-size-small);
    }

    /* Cards */
    .card {
        padding: var(--spacing-md);
    }

    /* Stats */
    .stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5em;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Form */
    .form-inline {
        flex-direction: column;
    }

    .form-inline .btn {
        width: 100%;
    }
}

/* ========================================
   LANDSCAPE MOBILE (568px and below)
   ======================================== */

@media (max-width: 568px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .scroll-indicator {
        display: none;
    }
}

/* ========================================
   LARGE DESKTOP (1400px and above)
   ======================================== */

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-title {
        font-size: 4em;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .header,
    .menu-toggle,
    .scroll-indicator,
    .cta-section,
    .footer {
        display: none;
    }

    body {
        color: #000;
    }

    .hero {
        min-height: auto;
        page-break-after: always;
    }
}
