/* Responsive Design for Custom Furniture Template */

/* Tablet Styles */
@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1.3rem !important;
    }
    
    #hero h1 {
        font-size: 1.8rem;
    }
    
    #hero h2 {
        font-size: 1.4rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    #team .card-img-top {
        height: 220px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    #hero {
        min-height: 70vh;
        text-align: center;
    }
    
    #hero h1 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    #hero h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    #hero p {
        font-size: 0.9rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .card-img-top {
        height: 160px;
    }
    
    #team .card-img-top {
        height: 200px;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Disable autoplay and effects on mobile for Swiper */
    .swiper {
        --swiper-pagination-bullet-size: 8px;
    }
    
    /* Stack gallery images */
    #gallery .col-lg-3,
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Mobile contact form */
    #contacts .col-lg-8 {
        padding: 0 1rem;
    }
    
    /* FAQ mobile optimization */
    .accordion-button {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
    
    /* Footer mobile */
    footer .col-lg-4,
    footer .col-lg-2,
    footer .col-lg-3 {
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem !important;
    }
    
    #hero h1 {
        font-size: 1.4rem;
    }
    
    #hero h2 {
        font-size: 1.1rem;
    }
    
    .card-body {
  overflow-x: hidden;
        padding: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Services grid */
    .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    /* Team member cards */
    .col-lg-4.col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    /* Pricing plans stack */
    .col-lg-4.mb-4 {
        margin-bottom: 2rem !important;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .swiper {
        --swiper-autoplay-delay: 0;
    }
    
    .card:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .swiper-pagination {
        display: none !important;
    }
    
    body {
  overflow-x: hidden;
        color: black !important;
        background: white !important;
    }
    
    section {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
} 