/* Estate Planning & Probate Boutique - Responsive Styles */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktops (992px - 1199px) */
@media (max-width: 1199px) {
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.625rem; }
    h3 { font-size: 1.375rem; }
    
    #hero-title-1 {
        font-size: 2.25rem;
    }
    
    .service-price {
        font-size: 1.75rem;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    /* Navigation */
    .navbar-collapse {
        background: var(--primary-dark);
        margin: 0 -1rem;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        margin: 0;
    }
    
    /* Sections */
    section {
        padding: 60px 0 !important;
    }
    
    /* Hero */
    #hero {
        min-height: 80vh;
    }
    
    #hero-title-1 {
        font-size: 2rem;
    }
    
    #hero-subtitle-1 {
        font-size: 1.125rem;
    }
    
    /* Process */
    .process-step::after {
        display: none;
    }
    
    /* Team */
    .team-member img {
        width: 150px;
        height: 150px;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 2rem;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    /* Disable Swiper autoplay and effects on mobile */
    .swiper {
        --swiper-autoplay: 0 !important;
    }
    
    .swiper-slide {
        transform: none !important;
        transition: none !important;
    }
    
    /* Typography */
    body {
    overflow-x: hidden;
        font-size: 14px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.375rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    h5, h6 { font-size: 1rem; }
    
    p {
        font-size: 0.875rem;
    }
    
    /* Hero */
    #hero {
        min-height: 70vh;
        text-align: center;
    }
    
    #hero-title-1 {
        font-size: 1.75rem;
    }
    
    #hero-subtitle-1 {
        font-size: 1rem;
    }
    
    #hero-desc-1 {
        font-size: 0.875rem;
    }
    
    /* Services */
    .service-item {
        margin-bottom: 1.5rem;
    }
    
    .service-price {
        font-size: 1.5rem;
    }
    
    /* Features */
    .feature-box {
        margin-bottom: 1.5rem;
    }
    
    /* Price Cards */
    .price-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem;
    }
    
    /* Timeline */
    .timeline-item {
        padding-left: 30px;
    }
    
    .timeline-item::before {
        width: 15px;
        height: 15px;
    }
    
    .timeline-item::after {
        left: 6px;
    }
    
    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    /* Footer */
    footer {
        text-align: center;
        padding: 40px 0 20px;
    }
    
    footer .col-md-3 {
        margin-bottom: 2rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.875rem;
        padding: 10px 30px;
    }
    
    /* Info Cards */
    .info-card i {
        font-size: 2.5rem;
    }
}

/* Mobile Portrait (max-width: 575px) */
@media (max-width: 575px) {
    /* Container */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Navbar */
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    /* Sections */
    section {
        padding: 40px 0 !important;
    }
    
    /* Hero */
    #hero {
        min-height: 60vh;
    }
    
    #hero-title-1 {
        font-size: 1.5rem;
    }
    
    #hero-subtitle-1 {
        font-size: 0.9375rem;
    }
    
    /* Section Titles */
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title h3 {
        font-size: 1rem;
    }
    
    /* Cards */
    .service-item,
    .price-card,
    .about-feature,
    .career-item,
    .review-item {
        padding: 1.5rem;
    }
    
    /* Team */
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Process Steps */
    .step-number {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.25rem;
    }
    
    /* Blog */
    .blog-image {
        height: 150px;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-control,
    .form-select {
        font-size: 0.875rem;
        padding: 10px 15px;
    }
    
    /* Gallery */
    .gallery-item {
        height: 200px;
    }
    
    /* Accordion */
    .accordion-button {
        font-size: 0.875rem;
        padding: 1rem;
    }
}

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 480px) {
    /* Typography */
    #hero-title-1 {
        font-size: 1.375rem;
    }
    
    /* Price Cards */
    .service-price {
        font-size: 1.25rem;
    }
    
    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Carousel Controls */
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1rem;
    }
}

/* Accessibility - Reduced Motion */
@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-slide {
        transition: none !important;
    }
}

/* Print Styles */
@media print {
    /* Hide non-essential elements */
    nav,
    #gallery,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination,
    footer .col-md-3:not(:first-child) {
        display: none !important;
    }
    
    /* Ensure proper page breaks */
    section {
        page-break-inside: avoid;
    }
    
    /* Adjust colors for print */
    body {
    overflow-x: hidden;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
} 