/* responsive.css */

/* ===== Hamburger Menu (mobile) ===== */
@media (max-width: 768px) {
    .hamburger-toggle {
        display: flex;
        order: 3;
    }

    .main-nav {
        order: 4;
        flex: 1 1 100%;
        display: none; /* hidden by default */
        margin-top: 15px;
        border-top: 1px solid var(--border-color);
        padding-top: 15px;
    }
    .main-nav.open {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .site-logo {
        font-size: 1.8em;
    }

    .theme-toggle-btn {
        order: 2;
        margin-left: auto;
    }

    /* Hamburger animation (optional) */
    .hamburger-toggle.active .hamburger-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-toggle.active .hamburger-bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-section h1 {
        font-size: 3em;
    }
    .hero-section .tagline {
        font-size: 1.2em;
    }

    .section-title {
        font-size: 2.5em;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    .about-text,
    .about-image {
        min-width: unset;
        width: 100%;
        max-width: 100%;
    }
    .about-text ul {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .site-logo {
        font-size: 1.5em;
    }

    .header-container {
        padding: 0 12px;
    }

    .hero-section h1 {
        font-size: 2.2em;
    }
    .hero-section .tagline {
        font-size: 1em;
    }

    .section-title {
        font-size: 2em;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9em;
    }

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

    .service-card {
        padding: 20px;
    }
    .service-card h3 {
        font-size: 1.5em;
    }

    .contact-form {
        padding: 20px 15px;
    }
}

/* ===== Large screens ===== */
@media (min-width: 1200px) {
    .hero-section h1 {
        font-size: 5em;
    }
    .section-title {
        font-size: 3.6em;
    }
}

/* ===== Print styles ===== */
@media print {
    .main-header,
    .theme-toggle-btn,
    .hamburger-toggle,
    .hero-overlay,
    .btn,
    .contact-form .btn-primary {
        display: none !important;
    }
    body {
        background: #fff !important;
        color: #000 !important;
    }
    .hero-section {
        min-height: auto !important;
        padding: 40px 0 !important;
        background: #f0f0f0 !important;
    }
    .hero-section h1,
    .hero-section .tagline {
        color: #000 !important;
        text-shadow: none !important;
    }
    .container {
        max-width: 100% !important;
    }
    .section-spacing {
        padding: 40px 0 !important;
    }
    .service-card,
    .about-image {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
    .about-image img {
        filter: none !important;
    }
}