/* Mobile First Responsive Design */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    :root {
        --font-size-base: 0.875rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .hero {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .service-card,
    .team-member,
    .price-card {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    /* Disable autoplay and effects on mobile for Swiper */
    .swiper-slide {
        pointer-events: auto;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .contact-form {
        padding: 2.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .hero-content {
        padding: 3rem 0;
    }
    
    .service-card {
        min-height: 350px;
    }
    
    .team-member {
        min-height: 400px;
    }
    
    .price-card {
        min-height: 500px;
    }
    
    .navbar-nav {
        margin-left: auto;
    }
    
    .hero .row {
        align-items: center;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    /* Enable effects on desktop for Swiper */
    .swiper-container {
        overflow: hidden;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .hero {
        min-height: 100vh;
    }
    
    .service-card {
        min-height: 380px;
    }
    
    .team-member {
        min-height: 420px;
    }
    
    .price-card.featured {
        transform: scale(1.1);
    }
    
    .contact-form {
        padding: 3rem;
    }
    
    .gallery-item img {
        height: 280px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .container {
        max-width: 1140px;
    }
    
    .service-card {
        min-height: 400px;
    }
    
    .team-member {
        min-height: 450px;
    }
    
    .gallery-item img {
        height: 300px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .contact-form {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
    
    .section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
    
    body {
  overflow-x: hidden;
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-cream: #FFFFFF;
        --primary-gold: #000000;
        --primary-brown: #000000;
        --light-cream: #FFFFFF;
        --dark-brown: #000000;
        --gray-medium: #000000;
        --gray-dark: #000000;
    }
    
    .service-card,
    .team-member,
    .price-card,
    .contact-form {
        border: 2px solid #000000;
    }
}
