/* File: essayWebsite/public/css/responsive.css */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-container {
        position: relative;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        min-height: 80vh;
        padding: 3rem 1rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-subheadline {
        font-size: 1.25rem;
    }

    .pillars {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .consultation-form {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .credentials {
        padding: 1.5rem;
    }

    .credential-item {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    section {
        padding: 3rem 0;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .intro-text {
        font-size: 1.125rem;
    }

    .approach-intro {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-subheadline {
        font-size: 1.125rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .consultation-form {
        padding: 1.5rem 1rem;
    }

    .form-section-title {
        font-size: 1.25rem;
    }

    .submit-button {
        font-size: 1rem;
        padding: 1rem;
    }

    .nav-brand {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 1rem;
    }

    .pillar {
        padding: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }
}

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

    .hero-headline {
        font-size: 4.5rem;
    }

    .hero-subheadline {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 3.5rem;
    }

    .intro-text {
        font-size: 1.375rem;
    }
}

@media (hover: hover) {
    .nav-link {
        position: relative;
        overflow: hidden;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(201, 169, 97, 0.1);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .nav-link:hover::before {
        width: 100px;
        height: 100px;
    }
}

@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;
    }
}

@media print {
    .navbar,
    .cta-button,
    .submit-button,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        margin-top: 0;
    }

    section {
        page-break-inside: avoid;
    }
}