/* Responsive Design - Mobile First */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.28rem;
    }
    
    .hero-section h1 {
        font-size: 2.08rem;
    }
    
    .hero-section h2 {
        font-size: 1.57rem;
    }
    
    .hero-section p {
        font-size: 1.10rem;
    }
    
    .service-card, .price-card, .team-member {
        margin-bottom: 2.09rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .py-5 {
        padding: 2rem 0;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.30rem;
    }
    
    .hero-section h2 {
        font-size: 1.82rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.46rem;
    }
    
    .hero-section h1 {
        font-size: 2.52rem;
    }
    
    .hero-section h2 {
        font-size: 2.08rem;
    }
    
    /* Disable Swiper autoplay and effects on mobile */
    .swiper {
        --swiper-navigation-size: 20px;
    }
    
    .swiper-slide {
        transition: none;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section {
  padding-top: 50px;
        min-height: 100vh;
    }
    
    .service-card, .price-card {
        height: 100%;
    }
    
    .team-member {
        text-align: center;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section h1 {
        font-size: 3.12rem;
    }
    
    .hero-section h2 {
        font-size: 2.30rem;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    /* Disable Swiper autoplay on mobile */
    .swiper-autoplay {
        --swiper-autoplay-delay: 999999;
    }
    
    /* Stack price cards on mobile */
    .price-card.featured {
        transform: none;
        margin: 1rem 0;
    }
    
    /* Adjust team member layout */
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Process steps mobile layout */
    .process-step {
        margin-bottom: 2.09rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.28rem;
    }
    
    /* Contact form mobile adjustments */
    .contact-info {
        margin-top: 2.12rem;
    }
    
    /* Navigation mobile */
    .navbar-collapse {
        background: rgba(42, 59, 70, 0.95);
        border-radius: 10px;
        margin-top: 1.12rem;
        padding: 1rem;
    }
    
    /* Hero image mobile */
    .hero-section .col-lg-6:last-child {
        margin-top: 2.12rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .swiper-pagination,
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black !important;
        background: white !important;
    }
    
    .hero-section,
    .service-card,
    .price-card {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        page-break-after: avoid;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .swiper {
        --swiper-autoplay-delay: 999999;
    }
    
    .service-card:hover,
    .price-card:hover,
    .team-member:hover {
        transform: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary: #000000;
        --secondary: #000000;
        --accent: #000000;
        --text: #000000;
    }
    
    .navbar,
    .hero-section,
    footer {
        background: #000000 !important;
        color: #ffffff !important;
    }
    
    .service-card,
    .price-card,
    .team-member {
        border: 2px solid #000000 !important;
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    .btn-primary {
        background: #000000 !important;
        color: #ffffff !important;
        border: 2px solid #000000 !important;
    }
}


/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
  padding-top: 50px;
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.08rem;
    }
    
    .hero-section h2 {
        font-size: 1.57rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .price-card:hover,
    .team-member:hover {
        transform: none;
    }
    
    .nav-link:hover {
        color: white !important;
    }
    
    /* Increase touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        padding: 1rem;
    }
    
    .accordion-button {
        min-height: 44px;
    }
}

/* Mobile First Responsive Design */

/* Mobile phones (up to 767px) */
@media (max-width: 767px) {
    .navbar-brand {
        font-size: 1.28rem;
    }
    
    .hero-section h1 {
        font-size: 2.08rem;
    }
    
    .hero-section h2 {
        font-size: 1.57rem;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    .py-5 {
        padding: 2rem 0;
    }
    
    /* Disable Swiper effects on mobile */
    .swiper-autoplay {
        --swiper-autoplay-delay: 999999;
    }
}

/* Tablets (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.52rem;
    }
    
    .hero-section h2 {
        font-size: 2.08rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    .service-card:hover,
    .price-card:hover,
    .team-member:hover {
        transform: none !important;
    }
} 