/* 
* Responsive CSS for domain.com
* Mobile-first approach with breakpoints for different screen sizes
*/

/* Base mobile styles are already in style.css */

/* Tablet (768px and up) */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
    
    h1 {
        font-size: 3rem; /* 48px */
    }
    
    h2 {
        font-size: 2.5rem; /* 40px */
    }
    
    h3 {
        font-size: 1.75rem; /* 28px */
    }
    
    .container {
        max-width: 720px;
    }
    
    /* Header & Navigation */
    .menu-toggle {
        display: none;
    }
    
    .nav-links {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        flex-direction: row;
        box-shadow: none;
    }
    
    .nav-links li {
        margin: 0 0 0 var(--space-md);
    }
    
    /* Hero Section */
    .hero-content {
        max-width: 600px;
    }
    
    /* Why Choose Us Section */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Pricing Section */
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }
    
    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Form Section */
    .custom-form {
        padding: var(--space-md);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    html {
        font-size: 18px;
    }
    
    .container {
        max-width: 960px;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Why Choose Us Section */
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Pricing Section */
    .pricing-grid {
        gap: var(--space-md);
    }
    
    /* Footer */
    .footer-content {
        gap: var(--space-lg);
    }
}

/* Large Desktop (1280px and up) */
@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }
    
    /* About Section */
    .about-grid {
        gap: var(--space-xl);
    }
    
    /* Services Section */
    .services-grid {
        gap: var(--space-lg);
    }
    
    /* Hero Section */
    .hero-content {
        max-width: 700px;
    }
}

/* Mobile and Small Tablets (less than 768px) */
@media (max-width: 767px) {
    html {
        font-size: 16px;
    }
    
    h1 {
        font-size: 2rem; /* 32px */
    }
    
    h2 {
        font-size: 1.75rem; /* 28px */
    }
    
    h3 {
        font-size: 1.25rem; /* 20px */
    }
    
    section {
        padding: var(--space-md) 0;
    }
    
    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    /* Why Choose Us Section */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    /* Testimonials Section */
    .testimonials-carousel {
        padding: 0 var(--space-xs);
    }
    
    /* Pricing Section */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .pricing-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .map-container {
        height: 300px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    /* Hero Section */
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content {
        text-align: center;
    }
}

/* Very Small Devices (less than 576px) */
@media (max-width: 575px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.8rem; /* ~25px */
    }
    
    h2 {
        font-size: 1.5rem; /* ~21px */
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 400px;
    }
    
    .hero-content .btn {
        width: 100%;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: var(--space-sm);
    }
    
    .testimonial-quote::before,
    .testimonial-quote::after {
        display: none;
    }
    
    /* Form */
    .custom-form {
        padding: var(--space-sm);
    }
    
    .form-submit .btn {
        width: 100%;
    }
    
    /* FAQ */
    .faq-question a {
        padding: 10px;
        font-size: 0.95rem;
    }
}
