/* ===== RESPONSIVE DESIGN ===== */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .display-3 {
        font-size: 3.5rem;
    }
    
    .display-5 {
        font-size: 3rem;
    }
    
    .hero-section {
        padding: 10rem 0 8rem;
    }
    
    section {
        padding: 6rem 0;
    }
}

/* Large Devices (992px to 1399px) */
@media (min-width: 992px) and (max-width: 1399px) {
    .container {
        max-width: 960px;
    }
    
    .hero-section {
        padding: 8rem 0 6rem;
    }
    
    .team-member img {
        width: 180px;
        height: 180px;
    }
}

/* Medium Devices (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .display-3 {
        font-size: 2.75rem;
    }
    
    .display-5 {
        font-size: 2.25rem;
    }
    
    .hero-section {
        padding: 7rem 0 5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .team-member img {
        width: 160px;
        height: 160px;
    }
    
    .service-card, .price-card {
        margin-bottom: 2rem;
    }
    
    .gallery-img {
        height: 200px;
    }
}

/* Small Devices (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 6rem 0 4rem;
        text-align: center;
    }
    
    .hero-section .col-lg-6:first-child {
        margin-bottom: 3rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0 !important;
        display: block;
    }
    
    .team-member {
        margin-bottom: 3rem;
    }
    
    .team-member img {
        width: 150px;
        height: 150px;
    }
    
    .service-card, .price-card, .feature-card {
        margin-bottom: 2rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 2rem !important;
    }
    
    .gallery-img {
        height: 180px;
    }
    
    .reviews-swiper {
        padding: 1rem 0;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .display-3 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .display-5 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .hero-section {
        padding: 5rem 0 3rem;
        text-align: center;
    }
    
    .hero-section .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    .hero-section h1 {
        margin-bottom: 1rem;
    }
    
    .hero-section h2 {
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        margin-bottom: 2rem;
    }
    
    /* Navigation */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    .navbar-toggler {
        padding: 0.125rem 0.25rem;
        font-size: 0.875rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(139, 126, 200, 0.2);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
        font-size: 0.95rem;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
    
    .bg-light {
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Cards and Components */
    .service-card, .price-card, .feature-card, .wellness-card, .energy-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem !important;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .team-member {
        margin-bottom: 2.5rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Buttons */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Forms */
    .contact-form {
        padding: 1.5rem !important;
        margin: 0 -0.5rem;
    }
    
    .form-control, .form-select {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }
    
    /* Gallery */
    .gallery-img {
        height: 150px;
    }
    
    /* Reviews */
    .reviews-swiper {
        padding: 0.5rem 0;
    }
    
    .review-card {
        padding: 1.5rem !important;
    }
    
    .stars i {
        font-size: 1rem;
    }
    
    /* FAQ */
    .accordion-button {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    .footer h5 {
        margin-bottom: 1rem;
    }
    
    /* Utility adjustments */
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .rounded-4 {
        border-radius: 0.75rem !important;
    }
    
    /* Hide decorative elements on mobile */
    .shape-1, .shape-2 {
        display: none;
    }
    
    .hero-shapes {
        display: none;
    }
    
    /* Breadcrumb adjustments */
    .breadcrumb-nav {
        padding: 1rem 0;
    }
    
    .breadcrumb-icon {
        width: 30px;
        height: 30px;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        padding: 3rem 0 2rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .display-3 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .gallery-img, .team-member img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .shape {
        animation: none;
    }
    
    .card:hover, .service-card:hover, .price-card:hover, .feature-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .team-member:hover img {
        transform: none;
    }
    
    .gallery-img:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .navbar, .breadcrumb-nav, .footer {
        display: none;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
    }
    
    .bg-light {
        background: none !important;
    }
    
    .card, .service-card, .price-card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
    
    .btn {
        border: 1px solid #ccc !important;
        background: none !important;
        color: black !important;
    }
    
    .text-primary {
        color: black !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* Focus styles for accessibility */
@media (prefers-reduced-motion: no-preference) {
    .btn:focus, .form-control:focus, .form-select:focus, .nav-link:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* Dark mode support (if user prefers dark color scheme) */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #1a1a1a;
        --light-gray: #2d2d2d;
        --gray: #a0a0a0;
        --dark-gray: #e0e0e0;
        --black: #ffffff;
    }
    
    body {
        background-color: var(--white);
        color: var(--dark-gray);
    }
    
    .navbar {
        background: rgba(26, 26, 26, 0.95);
        border-bottom-color: rgba(139, 126, 200, 0.3);
    }
    
    .bg-light {
        background-color: var(--light-gray) !important;
    }
    
    .card, .service-card, .price-card, .feature-card, .wellness-card, .energy-card {
        background: var(--light-gray);
        color: var(--dark-gray);
    }
    
    .contact-form {
        background: var(--light-gray);
    }
    
    .form-control, .form-select {
        background: var(--white);
        color: var(--dark-gray);
        border-color: rgba(139, 126, 200, 0.3);
    }
    
    .accordion-item {
        background: var(--light-gray);
    }
    
    .accordion-button {
        background: var(--light-gray);
        color: var(--dark-gray);
    }
    
    .accordion-body {
        background: var(--white);
    }
}

/* Container max-widths for better content flow */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
} 