/* Responsive styles for domain website */

/* Medium Desktops (up to 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .main-heading {
        font-size: 2.5rem;
    }
    
    .section-heading {
        font-size: 2.2rem;
    }
}

/* Tablets and Small Desktops (up to 992px) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .main-heading {
        font-size: 2.2rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-item {
        width: 150px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-col:last-child {
        grid-column: span 2;
        margin-top: 2rem;
    }
}

/* Tablets (up to 768px) */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .main-heading {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1; /* Show image first on mobile */
        margin-bottom: 1rem;
    }
    
    .features-grid {
        gap: 2rem;
    }
    
    .feature-item {
        width: 130px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content p {
        margin-bottom: 1rem;
    }
}

/* Mobile Devices (up to 576px) */
@media (max-width: 576px) {
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .main-header {
        width: 100%;
        overflow-x: hidden;
    }
    
    section {
        padding: 3rem 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .main-heading {
        font-size: 1.8rem;
    }
    
    .section-heading {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    /* Thank you page */
    .thankyou-section .container {
        padding: 1rem;
    }
    
    .thankyou-content {
        padding: 1.5rem;
    }
    
    .thankyou-content h1 {
        font-size: 1.6rem;
    }
    
    .message-box {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    /* Mobile menu styles */
    .menu-toggle:checked + .menu-icon span:first-child {
        transform: rotate(45deg);
        top: 10px;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-icon span:last-child {
        transform: rotate(-45deg);
        top: 10px;
    }
    
    .menu-icon {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-background);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .menu-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 0 2rem;
    }
    
    .main-nav li {
        margin: 1rem 0;
    }
    
    /* Grid layouts */
    .services-grid,
    .testimonials-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .footer-col {
        margin-bottom: 2rem;
    }
    
    .footer-col:last-child {
        grid-column: span 1;
        margin-top: 0;
    }
    
    .features-grid {
        justify-content: center;
    }
    
    .feature-item {
        width: 130px;
        margin-bottom: 1.5rem;
    }
    
    /* Form */
    .form-container {
        padding: 1.5rem;
    }
    
    /* Cookie consent */
    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }
} 