/* COLLABORATIVE DIVORCE STUDIO - RESPONSIVE CSS */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.75rem;
    }
    
    .section-title h2 {
        font-size: 2.25rem;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .team-member-image {
        width: 180px;
        height: 180px;
    }
    
    .hero-image img {
        margin-top: var(--spacing-md);
    }
    
    .services-item, 
    .priceplan-item {
        margin-bottom: var(--spacing-md);
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    .hero {
        padding: var(--spacing-xl) 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.35rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .hero-image img {
        margin-top: var(--spacing-md);
    }
    
    .about-feature,
    .services-item, 
    .priceplan-item,
    .blog-item {
        margin-bottom: var(--spacing-md);
    }
    
    .team-member-image {
        width: 160px;
        height: 160px;
    }
    
    .contact-form {
        padding: var(--spacing-md);
    }
    
    footer {
        text-align: center;
    }
    
    .footer-links {
        margin-bottom: var(--spacing-md);
    }
    
    .shape {
        display: none;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    html {
        font-size: 13px;
    }
    
    .hero {
        padding: var(--spacing-lg) 0;
        min-height: auto;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .hero-image img {
        margin-top: var(--spacing-md);
    }
    
    .about-feature,
    .services-item, 
    .features-item,
    .priceplan-item,
    .team-member,
    .coreinfo-item,
    .blog-item {
        margin-bottom: var(--spacing-md);
    }
    
    .team-member-image {
        width: 140px;
        height: 140px;
    }
    
    .contact-form {
        padding: var(--spacing-sm);
    }
    
    footer {
        text-align: center;
        padding: var(--spacing-lg) 0 var(--spacing-sm);
    }
    
    .footer-links {
        margin-bottom: var(--spacing-md);
    }
    
    .shape {
        display: none;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .section-title {
        margin-bottom: var(--spacing-md);
    }
    
    /* Responsive Accordion */
    .accordion-button {
        padding: var(--spacing-sm);
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: var(--spacing-sm);
    }
    
    /* Responsive Form */
    .form-control {
        padding: 0.5rem;
    }
    
    /* Responsive navigation */
    .navbar-brand {
        font-size: 1.5rem;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    
    .slide-up,
    .fade-in {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .swiper-container {
        --swiper-autoplay: false;
    }
} 