/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 4px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 20px;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-menu a {
    display: block;
    padding: 10px;
    color: var(--text-color);
}

/* Tablet & Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .site-header {
        position: relative;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .section { padding: 30px 0; }
    .section-lg { padding: 50px 0; }

    .row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .row-2, .row-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .container, .container-wide {
        padding: 0 15px;
    }

    .btn, button {
        width: 100%;
    }

    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1rem; }

    .section { padding: 20px 0; }
    .section-lg { padding: 40px 0; }

    .mt-1 { margin-top: 0.5rem; }
    .mt-2 { margin-top: 1rem; }
    .mt-3 { margin-top: 1.5rem; }

    .card {
        padding: 1rem;
    }

    .hero {
        padding: 40px 0;
    }

    .row-3 {
        grid-template-columns: 1fr;
    }

    .main-content,
    .sidebar {
        grid-column: 1 / -1;
    }
}

/* Large Screens (min-width: 1200px) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }

    .container-wide {
        max-width: 1400px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .sidebar,
    .mobile-menu {
        display: none;
    }

    .main-content {
        width: 100%;
    }
}
