/* Responsive Design for Tea Tasting Room */

/* Mobile First Approach */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .feature-box,
    .service-card,
    .price-card {
        margin-bottom: 1rem;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .price-card.featured {
        transform: scale(1.02);
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .navbar-nav .nav-link {
        margin: 0 0.3rem;
    }
    
    .feature-box {
        padding: 1.5rem;
    }
    
    .service-card .card-body {
        padding: 1.2rem;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0 0.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .feature-box {
        padding: 2rem;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section h1 {
        font-size: 3.2rem;
    }
    
    .container {
        max-width: 1200px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .feature-box {
        padding: 2.5rem;
    }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--primary-cream-light);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

/* Hero Section Responsive */
@media (max-width: 767.98px) {
    .hero-section .col-lg-6:last-child {
        margin-top: 2rem;
    }
    
    .hero-section img {
        max-width: 100%;
        height: auto;
    }
}

/* Service Cards Responsive */
@media (max-width: 767.98px) {
    .service-card {
        margin-bottom: 2rem;
    }
    
    .service-card img {
        height: 180px;
    }
}

/* Price Cards Responsive */
@media (max-width: 991.98px) {
    .price-card {
        margin-bottom: 2rem;
    }
    
    .price-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
}

/* Contact Form Responsive */
@media (max-width: 767.98px) {
    .contact-info {
        margin-top: 2rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
    footer {
        text-align: center;
    }
    
    footer .col-md-4 {
        margin-bottom: 2rem;
    }
    
    footer .col-md-4:last-child {
        margin-bottom: 0;
    }
}

/* Team Section Responsive */
@media (max-width: 767.98px) {
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
}

/* FAQ Section Responsive */
@media (max-width: 575.98px) {
    .faq-question,
    .faq-answer {
        padding: 0.8rem;
    }
}

/* Blog Section Responsive */
@media (max-width: 767.98px) {
    .blog-post {
        padding: 1.5rem;
    }
}

/* Additional Page Sections Responsive */
@media (max-width: 767.98px) {
    .collection-item,
    .seasonal-item,
    .origin-item,
    .brewing-method,
    .accessory-item,
    .knowledge-item,
    .health-benefit,
    .tasting-step,
    .pairing-item,
    .storage-tip {
        margin-bottom: 2rem;
    }
}

/* Breadcrumb Responsive */
@media (max-width: 575.98px) {
    .breadcrumb-nav {
        padding: 0.5rem 0;
    }
}

/* Image Responsive Settings */
img {
    max-width: 100%;
    height: auto;
}

/* Service card images responsive */
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

@media (max-width: 575.98px) {
    .service-card img {
        height: 150px;
    }
}

/* Gallery responsive */
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

@media (max-width: 575.98px) {
    .gallery-item img {
        height: 200px;
    }
}

/* Team member images responsive */
.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 575.98px) {
    .team-member img {
        width: 100px;
        height: 100px;
    }
}

/* Utility classes for responsive design */
.d-none { display: none; }
.d-block { display: block; }

@media (max-width: 575.98px) {
    .d-sm-none { display: none; }
    .d-sm-block { display: block; }
}

@media (max-width: 767.98px) {
    .d-md-none { display: none; }
    .d-md-block { display: block; }
}

@media (max-width: 991.98px) {
    .d-lg-none { display: none; }
    .d-lg-block { display: block; }
}

/* Text alignment responsive */
@media (max-width: 767.98px) {
    .text-md-center { text-align: center; }
    .text-md-left { text-align: left; }
    .text-md-right { text-align: right; }
}

/* Spacing responsive */
@media (max-width: 575.98px) {
    .py-5 { padding: 2rem 0; }
    .mb-5 { margin-bottom: 2rem; }
    .mt-5 { margin-top: 2rem; }
}

/* Button responsive */
@media (max-width: 575.98px) {
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .btn-primary {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
}

/* Form responsive */
@media (max-width: 575.98px) {
    .form-control {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .breadcrumb-nav,
    footer,
    .btn,
    .contact-info {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: black;
        background: white;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
    }
    
    .hero-section {
        background: white;
        color: black;
    }
} 