/* Responsive Design for Bakery Template */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
}

/* Medium screens (768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .service-card img {
        height: 180px;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .py-5 {
        padding: 3.5rem 0 !important;
    }
}

/* Small screens (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-section {
        min-height: 70vh;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .service-card img {
        height: 160px;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 90px;
        height: 90px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .py-5 {
        padding: 3rem 0 !important;
    }
}

/* Extra small screens (below 576px) */
@media (max-width: 575px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem !important;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .service-card img {
        height: 140px;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .review-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .py-5 {
        padding: 2.5rem 0 !important;
    }
    
    .accordion-body {
  overflow-x: hidden;
        padding: 1rem;
    }
    
    #gallery img {
        height: 200px;
        margin-bottom: 1rem;
    }
}

/* Swiper responsive settings - disable autoplay and effects on mobile */
@media (max-width: 768px) {
    .swiper {
        --swiper-navigation-size: 35px;
    }
    
    .swiper-slide {
        padding: 0 10px;
    }
    
    .review-card {
        margin: 0.5rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .feature-item:hover,
    .service-card:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .navbar,
    footer,
    .btn,
    .swiper-pagination {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        page-break-after: always;
    }
    
    body {
  overflow-x: hidden;
        font-size: 12pt;
        color: black;
        background: white;
    }
    
    h1, h2, h3, h4, h5 {
        color: black;
        page-break-after: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .feature-item,
    .review-card {
        border: 2px solid;
    }
    
    .btn-primary {
        border: 2px solid;
    }
}

/* Reduced transparency for better accessibility */
@media (prefers-reduced-transparency: reduce) {
    .hero-section::before {
        opacity: 0.1;
    }
    
    .navbar {
        background: solid;
    }
} 