/* Responsive Enhancements for Co-Parenting Mediation Cafés */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Large Devices (992px to 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .price-item.featured {
        transform: scale(1.02);
    }
}

/* Medium Devices (768px to 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0 0.5rem;
        padding: 0.5rem 0;
    }
    
    .service-item {
        margin-bottom: 2rem;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Small Devices (576px to 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .section-description {
        margin-bottom: 2rem;
    }
    
    /* Header Adjustments */
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-nav {
  flex-direction: row;
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        padding: 0.5rem 1rem;
        display: block;
    }
    
    /* Card Adjustments */
    .about-feature,
    .service-item,
    .feature-item,
    .price-item,
    .team-member,
    .coreinfo-item {
        margin-bottom: 1.5rem;
    }
    
    .service-content,
    .about-feature,
    .feature-item {
        padding: 1.5rem;
    }
    
    .price-item {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .price-item.featured {
        transform: none;
        margin-top: 1rem;
    }
    
    .price-item.featured::before {
        top: -10px;
        font-size: 0.8rem;
        padding: 0.3rem 1rem;
    }
    
    /* Team Section */
    .team-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .team-member {
        padding: 1.5rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .form-control {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    /* Swiper Adjustments */
    .swiper {
        padding-bottom: 2rem;
    }
    
    /* Hide decorative shapes on mobile */
    .shape-blob-1,
    .shape-blob-2 {
        display: none;
    }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .service-image,
    .blog-image {
        height: 150px;
        font-size: 2rem;
    }
    
    .service-content,
    .blog-content {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    footer {
        padding: 2rem 0 1rem;
    }
}

/* Landscape Orientation for Tablets */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
    }
    
    .section {
        padding: 3rem 0;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-item:hover,
    .about-feature:hover,
    .feature-item:hover,
    .price-item:hover,
    .team-member:hover,
    .coreinfo-item:hover,
    .blog-item:hover {
        transform: none;
    }
    
    .navbar-nav .nav-link:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    /* Larger touch targets */
    .navbar-nav .nav-link {
        padding: 1rem 1.5rem;
        margin: 0.25rem 0;
    }
    
    .btn-primary {
        padding: 1rem 2rem;
        min-height: 48px;
    }
    
    .form-control {
        min-height: 48px;
        padding: 1rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-size: 50px 50px;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .navbar,
    .contact-form,
    .btn,
    .swiper-pagination {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section {
        padding: 1.5rem 0;
        break-inside: avoid;
    }
    
    .service-item,
    .price-item,
    .team-member {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    body {
overflow-x: hidden;
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: white;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
    }
}

/* Dark Mode Support (if user prefers) */
@media (prefers-color-scheme: dark) {
    :root {
        --sage-dark: #C8D5B6;
        --coral-dark: #F5C5B3;
        --lavender-dark: #E4D4F8;
        --cream-dark: #2C2C2C;
        --teal-dark: #B8E4E5;
    }
    
    body {
overflow-x: hidden;
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .about-feature,
    .service-item,
    .feature-item,
    .price-item,
    .team-member,
    .coreinfo-item,
    .blog-item,
    .contact-form {
        background: #2a2a2a;
        color: #e0e0e0;
    }
    
    .form-control {
        background: #333;
        border-color: #555;
        color: #e0e0e0;
    }
    
    .form-control:focus {
        background: #2a2a2a;
    }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-section::before {
        animation: none;
        transform: none;
    }
    
    .swiper {
        overflow: visible;
    }
    
    .swiper-slide {
        position: static !important;
        transform: none !important;
        width: auto !important;
        margin-right: 1rem;
        display: inline-block;
    }
    
    /* Disable parallax and complex animations */
    * {
        scroll-behavior: auto !important;
    }
}

/* Focus Styles for Keyboard Navigation */
@media (hover: hover) and (pointer: fine) {
    .navbar-nav .nav-link:focus,
    .btn:focus,
    .form-control:focus {
        outline: 2px solid var(--coral);
        outline-offset: 2px;
    }
    
    .service-item:focus-within,
    .price-item:focus-within,
    .team-member:focus-within {
        transform: translateY(-5px);
        box-shadow: var(--box-shadow-hover);
    }
} 