/* 
* Housing Court Prep Workshops - Responsive Styles
* Version 1.0
*/

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Base adjustments */
    html {
        font-size: 14px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    /* Header */
    header .navbar-brand {
        font-size: 1.5rem;
    }
    
    /* Hero section */
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    /* Services */
    .service-card {
        margin-bottom: 2rem;
    }
    
    /* Team */
    .team-img {
        width: 150px;
        height: 150px;
    }
    
    /* Price card */
    .price-card.popular {
        transform: scale(1);
    }
    
    /* Gallery */
    .gallery-item {
        margin-bottom: 1rem;
    }
    
    /* Footer */
    footer [class^="col-"] {
        margin-bottom: 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Base adjustments */
    html {
        font-size: 15px;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    /* Services */
    .service-card {
        margin-bottom: 2rem;
    }
    
    /* Price card */
    .price-card.popular {
        transform: scale(1.03);
    }
    
    /* Footer */
    footer [class^="col-"] {
        margin-bottom: 2rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Base adjustments */
    section {
        padding: 3rem 0;
    }
    
    /* Services */
    .service-card {
        margin-bottom: 2rem;
    }
    
    /* Features */
    .features-icon {
        font-size: 2rem;
    }
    
    /* Footer */
    footer [class^="col-"]:nth-child(3),
    footer [class^="col-"]:nth-child(4) {
        margin-top: 2rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Base adjustments */
    section {
        padding: 4rem 0;
    }
    
    /* Team */
    .team-img {
        width: 180px;
        height: 180px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Container adjustments */
    .container {
        max-width: 1140px;
    }
    
    /* Hero section */
    .hero-section {
        min-height: calc(100vh - 80px);
    }
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
    
    .swiper-container {
        --swiper-autoplay: false;
    }
    
    html {
        scroll-behavior: auto !important;
    }
    
    .card:hover {
        transform: none !important;
    }
    
    .gallery-item:hover img {
        transform: none !important;
    }
}

/* Print styles */
@media print {
    header,
    footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background-color: #fff;
    }
    
    a {
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    .hero-section,
    .gallery-section,
    .reviews-section,
    .contact-section,
    .blog-section {
        display: none !important;
    }
    
    .service-card,
    .price-card,
    .accordion-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .row {
        display: block !important;
    }
    
    [class^="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
} 