/* ===== RESPONSIVE DESIGN ===== */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section h1 {
        font-size: 4rem;
    }
    
    .display-5 {
        font-size: 3rem;
    }
}

/* Large Devices (1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .service-card, .price-card {
        min-height: 400px;
    }
}

/* Medium Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0 0.25rem;
        padding: 0.5rem 0.75rem !important;
    }
    
    .service-card, .price-card {
        min-height: 380px;
    }
    
    .team-member img {
        width: 180px;
        height: 180px;
    }
}

/* Small Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .service-card, .price-card {
        margin-bottom: 1.5rem;
        min-height: 350px;
    }
    
    .team-member img {
        width: 160px;
        height: 160px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Extra Small Devices (576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        padding: 1.5rem 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .service-card, .price-card, .feature-card {
        margin-bottom: 1rem;
        min-height: auto;
    }
    
    .price-card.featured {
        transform: none;
        border: 2px solid var(--primary-color);
        margin-top: 1rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 140px;
        height: 140px;
    }
    
    .contact-form {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .accordion-button {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .swiper-slide {
        padding: 0 0.5rem;
    }
    
    .review-card {
        margin: 0.5rem;
    }
}

/* Extra Extra Small Devices (less than 576px) */
@media (max-width: 575.98px) {
    .hero-section {
        padding: 1rem 0;
        text-align: center;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .hero-section h2 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-section p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .h5 {
        font-size: 1rem;
    }
    
    .lead {
        font-size: 1rem;
        font-weight: normal;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .service-card, .price-card, .feature-card, .blog-card {
        margin-bottom: 1rem;
        min-height: auto;
    }
    
    .service-card .price-tag {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .price-display {
        font-size: 1.5rem;
        margin-top: 1rem;
    }
    
    .price-card.featured {
        transform: none;
        border: 2px solid var(--primary-color);
        margin-top: 1rem;
    }
    
    .team-member {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    .team-member h4 {
        font-size: 1.1rem;
        margin-top: 0.75rem;
    }
    
    .team-member p {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1rem;
        margin: 0;
    }
    
    .form-control, .form-select {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .accordion-button {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    
    .accordion-body {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
    
    .swiper-slide {
        padding: 0 0.25rem;
    }
    
    .review-card {
        margin: 0.25rem;
        padding: 1rem !important;
    }
    
    .review-card p {
        font-size: 0.9rem;
    }
    
    .review-card h5 {
        font-size: 1rem;
    }
    
    .stars {
        margin-bottom: 0.75rem;
    }
    
    .stars i {
        font-size: 0.9rem;
    }
    
    .blog-card .p-4 {
        padding: 1rem !important;
    }
    
    .blog-card h4 {
        font-size: 1.1rem;
    }
    
    .blog-card p {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 0 !important;
    }
    
    .footer h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer p, .footer a {
        font-size: 0.9rem;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    /* Gallery adjustments */
    .gallery .col-md-4 {
        margin-bottom: 0.75rem;
    }
    
    /* Additional page specific adjustments */
    .wellness-pillar, .sleep-tip, .purpose-card {
        margin-bottom: 1rem;
        padding: 1rem !important;
    }
    
    .wellness-item, .technique-card, .guide-item {
        margin-bottom: 1rem;
        padding: 1rem !important;
    }
    
    .timeline-item {
        margin-bottom: 1rem !important;
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }
    
    .ritual-card {
        margin-bottom: 1rem;
        padding: 1rem !important;
    }
    
    .ritual-card h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .ritual-card h5 {
        font-size: 1rem;
    }
    
    .ritual-card p {
        font-size: 0.85rem;
    }
    
    /* Breadcrumb adjustments */
    .breadcrumb-section {
        padding: 1rem 0;
    }
    
    .breadcrumb-section img {
        max-height: 60px;
        width: auto;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        min-height: 70vh;
        padding: 1rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
}

/* Print styles */
@media print {
    .navbar, .breadcrumb-section, .hero-shapes, .swiper-pagination {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
    }
    
    .bg-light {
        background: none !important;
    }
    
    .text-white {
        color: black !important;
    }
    
    .btn {
        border: 1px solid black !important;
        background: none !important;
        color: black !important;
    }
    
    .card, .service-card, .feature-card, .price-card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
    
    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --secondary-color: #800080;
        --accent-color: #008000;
        --warm-color: #FF8C00;
        --cool-color: #0080FF;
    }
    
    .btn-primary {
        background: var(--primary-color) !important;
        border: 2px solid var(--primary-color) !important;
    }
    
    .form-control:focus, .form-select:focus {
        border-color: var(--primary-color) !important;
        box-shadow: 0 0 0 0.2rem rgba(0, 0, 128, 0.5) !important;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .shape-1, .shape-2 {
        animation: none !important;
    }
    
    .swiper {
        --swiper-navigation-size: 0px;
    }
    
    .card:hover, .service-card:hover, .feature-card:hover, 
    .price-card:hover, .review-card:hover, .blog-card:hover {
        transform: none !important;
    }
    
    .btn:hover {
        transform: none !important;
    }
    
    .team-member:hover img {
        transform: none !important;
    }
} 