/**
 * Responsive Styles
 * Domain - Financial Audit Company
 */

/* Larger Desktops (1200px+) */
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Medium Desktops (992px - 1199px) */
@media screen and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

/* Tablets (768px - 991px) */
@media screen and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* Audit Types Grid */
    .audit-types {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Why Us Grid */
    .advantages {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Process Steps */
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md) var(--spacing-sm);
    }
    
    /* Testimonials */
    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-logo {
        grid-column: span 2;
        text-align: center;
        margin-bottom: var(--spacing-md);
    }
    
    /* About section */
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        margin-bottom: var(--spacing-md);
    }
}

/* Mobile (576px - 767px) */
@media screen and (max-width: 767px) {
    body {
        overflow-x: hidden;
    }
    
    .container {
        max-width: 540px;
        width: 100%;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.6rem;
    }
    
    /* Hero Section */
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
    }
    
    .primary-button, .secondary-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    /* Navigation */
    .main-nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: rgba(7, 59, 58, 0.95);
        padding: var(--spacing-md) 0;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: var(--spacing-xs) 0;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block;
        z-index: 100;
        position: relative;
    }
    
    .mobile-menu-toggle input {
        display: none;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 30px;
        height: 3px;
        margin-bottom: 5px;
        position: relative;
        background: var(--color-text);
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    opacity 0.55s ease;
    }
    
    .mobile-menu-toggle input:checked ~ label span:nth-child(1) {
        transform: rotate(45deg) translate(2px, -2px);
    }
    
    .mobile-menu-toggle input:checked ~ label span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle input:checked ~ label span:nth-child(3) {
        transform: rotate(-45deg) translate(0, -1px);
    }
    
    .mobile-menu-toggle input:checked ~ .main-nav {
        display: block;
    }
    
    /* Audit Types */
    .audit-types {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* Testimonials */
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    /* Process Steps */
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        grid-column: span 1;
    }
    
    .footer-contact ul,
    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Contact Form */
    .contact-form-container {
        padding: var(--spacing-md);
    }
    
    /* Cookie Banner */
    .cookie-banner {
        flex-direction: column;
        padding: var(--spacing-sm);
    }
    
    .cookie-banner p {
        margin-bottom: var(--spacing-sm);
        margin-right: 0;
        text-align: center;
    }
}

/* Small Mobile (< 576px) */
@media screen and (max-width: 575px) {
    body {
        overflow-x: hidden;
    }
    
    html {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    /* Header */
    .site-header {
        padding: var(--spacing-sm) 0;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
    
    /* Hero Section */
    .hero-section {
        height: auto;
        min-height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    /* Advantages */
    .advantages {
        grid-template-columns: 1fr;
    }
    
    /* Legal Pages */
    .legal-container {
        padding: var(--spacing-md);
    }
} 