/* Responsive CSS Styles */

/* Large screens (desktops, 992px and up) */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    
    .footer-grid {
        gap: 1.5rem;
    }
}

/* Medium screens (tablets, 768px and up) */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .about-grid {
        flex-direction: column;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small screens (mobile, less than 768px) */
@media (max-width: 768px) {
    /* Typography adjustments */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Header & Navigation */
    .site-header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        flex: 1;
    }
    
    .contact-info {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
    
    .main-nav {
        flex: 0;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        opacity: 0;
        cursor: pointer;
        width: 30px;
        height: 30px;
        z-index: 2;
    }
    
    .menu-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        position: relative;
        cursor: pointer;
        z-index: 1;
    }
    
    .menu-icon span,
    .menu-icon span::before,
    .menu-icon span::after {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--color-primary);
        transition: all 0.3s ease;
    }
    
    .menu-icon span::before {
        content: '';
        top: -8px;
    }
    
    .menu-icon span::after {
        content: '';
        top: 8px;
    }
    
    .menu-toggle:checked ~ .menu-icon span {
        transform: rotate(45deg);
    }
    
    .menu-toggle:checked ~ .menu-icon span::before {
        top: 0;
        transform: rotate(0deg);
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span::after {
        top: 0;
        transform: rotate(90deg);
    }
    
    .main-nav .menu-items {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        flex-direction: column;
        background-color: white;
        padding: 80px 30px 30px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 0;
    }
    
    .menu-toggle:checked ~ .menu-items {
        left: 0;
    }
    
    .main-nav .menu-items li {
        margin-left: 0;
        margin-bottom: 1.5rem;
    }
    
    /* Grid layouts */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* Form adjustments */
    .form-group.checkbox {
        align-items: flex-start;
    }
    
    .form-group.checkbox input {
        margin-top: 5px;
    }
    
    /* Cookie popup adjustments */
    .cookie-popup-container {
        flex-direction: column;
    }
    
    .cookie-popup-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-popup-buttons a,
    .cookie-popup-buttons button {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}