/* Responsive Design - Mobile First Approach */

/* Large Devices (Desktops) - 1200px and up */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    h1 { font-size: 4rem; }
    h2 { font-size: 3.2rem; }
    h3 { font-size: 2.6rem; }
    
    .hero-section {
        min-height: 100vh;
    }
    
    .service-card,
    .price-card,
    .team-member {
        margin-bottom: 2rem;
    }
}

/* Medium Devices (Tablets) - 768px to 1199px */
@media (max-width: 1199.98px) and (min-width: 768px) {
    .container {
        max-width: 960px;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.4rem; }
    h3 { font-size: 2rem; }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .about-images {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .features-images {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .feature-img,
    .about-img {
        width: 100%;
        max-width: 400px;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .price-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .price-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Small Devices (Mobile Landscape) - 576px to 767px */
@media (max-width: 767.98px) and (min-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 1rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.8rem; }
    h4 { font-size: 1.5rem; }
    h5 { font-size: 1.3rem; }
    
    /* Hero Section Mobile */
    .hero-section {
        min-height: 70vh;
        text-align: center;
    }
    
    .hero-images {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-img {
        width: 120px;
        height: 80px;
    }
    
    /* Navigation Mobile */
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        text-align: center;
    }
    
    /* Cards Mobile */
    .service-card,
    .price-card,
    .team-member,
    .about-feature,
    .feature-item,
    .info-card {
        margin-bottom: 2rem;
    }
    
    .service-card img {
        height: 150px;
    }
    
    .price-card {
        padding: 2rem 1.5rem;
    }
    
    .price-card.featured {
        transform: none;
        border: 2px solid var(--primary-coral);
    }
    
    /* Team Section Mobile */
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    /* Images Mobile */
    .about-images,
    .features-images {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .about-img,
    .feature-img {
        width: 100%;
        max-width: 300px;
    }
    
    /* Gallery Mobile */
    .gallery-img {
        height: 200px;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    /* Review Cards Mobile */
    .review-card {
        height: auto;
        min-height: 180px;
        padding: 2rem;
    }
    
    /* FAQ Mobile */
    .accordion-button {
        font-size: 0.9rem;
        padding: 1rem;
    }
    
    /* Shapes Mobile - Reduced */
    .shape-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-2 {
        width: 150px;
        height: 150px;
    }
}

/* Extra Small Devices (Mobile Portrait) - Below 576px */
@media (max-width: 575.98px) {
    .container {
        max-width: 100%;
        padding: 0 0.75rem;
    }
    
    /* Typography Mobile */
    h1 { font-size: 2rem; line-height: 1.2; }
    h2 { font-size: 1.75rem; line-height: 1.3; }
    h3 { font-size: 1.5rem; line-height: 1.3; }
    h4 { font-size: 1.3rem; line-height: 1.4; }
    h5 { font-size: 1.2rem; line-height: 1.4; }
    h6 { font-size: 1.1rem; line-height: 1.4; }
    
    /* Section Padding Mobile */
    section {
        padding: 3rem 0;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-images {
        justify-content: center;
        margin-top: 1.5rem;
        gap: 0.75rem;
    }
    
    .hero-img {
        width: 100px;
        height: 70px;
    }
    
    /* Navigation Mobile */
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        text-align: center;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Cards Mobile */
    .service-card,
    .price-card,
    .about-feature,
    .feature-item,
    .info-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card img {
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .service-card .price {
        font-size: 1.75rem;
    }
    
    .price-card {
        padding: 2rem 1rem;
    }
    
    .price-value {
        font-size: 2.5rem;
    }
    
    /* Team Section Mobile */
    .team-member {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .team-photo {
        width: 90px;
        height: 90px;
        border-width: 3px;
    }
    
    /* About & Features Mobile */
    .about-feature i,
    .feature-item i,
    .info-card i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .about-images,
    .features-images {
        margin-top: 2rem;
        gap: 1rem;
    }
    
    .about-img,
    .feature-img {
        width: 100%;
        height: 150px;
    }
    
    /* Gallery Mobile */
    .gallery-img {
        height: 150px;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-control,
    .form-select {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .btn-primary {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    /* Review Cards Mobile */
    .review-card {
        height: auto;
        min-height: 160px;
        padding: 1.5rem;
    }
    
    .reviewsSwiper {
        padding: 1rem 0;
    }
    
    /* Blog Cards Mobile */
    .blog-card img {
        height: 150px;
    }
    
    .blog-card h4,
    .blog-card p,
    .blog-card a {
        padding: 0 1rem;
    }
    
    /* FAQ Mobile */
    .accordion-button {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
    
    .accordion-body {
overflow-x: hidden;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1.5rem;
        text-align: center;
    }
    
    .footer .row > div {
        margin-bottom: 2rem;
    }
    
    .footer .row > div:last-child {
        margin-bottom: 0;
    }
    
    /* Shapes Mobile - Hidden or Minimal */
    .hero-shapes {
        display: none;
    }
    
    /* Utility Classes Mobile */
    .mb-5 { margin-bottom: 2rem; }
    .mb-4 { margin-bottom: 1.5rem; }
    .mb-3 { margin-bottom: 1rem; }
    .mt-4 { margin-top: 1.5rem; }
}

/* Landscape Mobile Optimization */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        min-height: 80vh;
    }
    
    .navbar-collapse {
        max-height: 300px;
        overflow-y: auto;
    }
    
    section {
        padding: 2.5rem 0;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-img,
    .about-img,
    .feature-img,
    .gallery-img,
    .team-photo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .breadcrumb-nav,
    .hero-shapes,
    .swiper-pagination,
    .btn,
    .contact-form {
        display: none !important;
    }
    
    .hero-section,
    section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
    }
    
    .service-card,
    .price-card,
    .team-member,
    .review-card {
        border: 1px solid #ddd;
        margin-bottom: 1rem;
        page-break-inside: avoid;
    }
}

/* Hover Disabled on Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .price-card:hover,
    .team-member:hover,
    .about-feature:hover,
    .feature-item:hover,
    .info-card:hover,
    .blog-card:hover,
    .gallery-img:hover {
        transform: none;
    }
    
    .navbar-nav .nav-link:hover::after {
        width: 0;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Reduced Motion Responsive */
@media (prefers-reduced-motion: reduce) {
    .hero-shapes {
        display: none;
    }
    
    .swiper-wrapper {
        transform: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Optional: Dark mode variables can be added here */
    /* Currently maintaining light theme as per requirements */
}

/* Focus Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .navbar-nav .nav-link:focus,
    .btn:focus,
    .form-control:focus,
    .form-select:focus {
        outline: 3px solid var(--primary-coral);
        outline-offset: 2px;
    }
} 