/* TeaBlend - Responsive CSS */

/* Responsive Design System */

/* Extra Large devices (Large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        padding-top: 60px;
    }
    
    .hero-section h2 {
        font-size: 1.4rem;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .card-img-top {
        height: 220px;
    }
    
    /* Header font sizes for large screens */
    .navbar-brand {
        font-size: 0.9rem !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.65rem !important;
        padding: 0.4rem 0.5rem;
    }
}

/* Large devices (Desktops, 994px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 1.9rem;
        padding-top: 60px;
    }
    
    .hero-section h2 {
        font-size: 1.3rem;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .team img {
        width: 140px;
        height: 140px;
    }
    
    /* Header font sizes for desktop */
    .navbar-brand {
        font-size: 0.85rem !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.65rem !important;
        padding: 0.4rem 0.5rem;
    }
}

/* Medium devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 1.42rem;
        padding-top: 60px;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 0.95rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .team img {
        width: 130px;
        height: 130px;
        margin-bottom: 1rem;
    }
    
    .contact-info {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    section {
        padding: 3.5rem 0;
    }
    
    .navbar-brand {
        font-size: 0.8rem !important;
    }
    
    .process-step {
        padding: 1.2rem;
        margin-bottom: 2rem;
    }
    
    /* Fix for navbar */
    .navbar-nav .nav-link {
        font-size: 0.6rem !important;
        padding: 0.35rem 0.45rem;
    }
}

/* Small devices (Landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        padding: 2rem 0;
        text-align: center;
        min-height: 400px !important;
    }
    
    .hero-section h1 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        padding-top: 60px;
    }
    
    .hero-section h2 {
        font-size: 1.1rem;
        margin-bottom: 0.86rem;
    }
    
    .hero-section p {
        font-size: 0.9rem;
        margin-bottom: 1.70rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .team img {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .contact-info {
        margin-top: 2rem;
        padding: 1.2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .navbar-brand {
        font-size: 0.75rem !important;
    }
    
    .process-step {
        padding: 1rem;
        margin-bottom: 1.59rem;
    }
    
    .process-step i {
        font-size: 2.61rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    h3, .h3 {
        font-size: 1.2rem;
    }
    
    .card-body {
        padding: 1.2rem;
    }
    
    /* Fix for navbar */
    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.55rem !important;
        padding: 0.3rem 0.4rem;
    }
}

/* Extra small devices (Portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-section {
        padding: 1.5rem 0;
        text-align: center;
        min-height: 350px !important;
    }
    
    .hero-section h1 {
        font-size: 1.4rem;
        margin-bottom: 0.86rem;
        line-height: 1.3;
        padding-top: 60px;
    }
    
    .hero-section h2 {
        font-size: 1.1rem;
        margin-bottom: 0.69rem;
    }
    
    .hero-section p {
        font-size: 0.9rem;
        margin-bottom: 1.35rem;
    }
    
    .card-img-top {
        height: 160px;
    }
    
    .team img {
        width: 100px;
        height: 100px;
        margin-bottom: 0.94rem;
    }
    
    .contact-info {
        margin-top: 1.66rem;
        padding: 1rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .navbar-brand {
        font-size: 0.7rem !important;
    }
    
    .navbar-toggler {
        padding: 0.3rem 0.5rem;
    }
    
    .process-step {
        padding: 0.8rem;
        margin-bottom: 1.41rem;
    }
    
    .process-step i {
        font-size: 2rem;
        margin-bottom: 0.97rem;
    }
    
    h1, .h1 {
        font-size: 1.4rem;
    }
    
    h2, .h2 {
        font-size: 1.3rem;
        margin-bottom: 0.81rem;
    }
    
    h3, .h3 {
        font-size: 1.1rem;
        margin-bottom: 0.74rem;
    }
    
    h4, .h4 {
        font-size: 1rem;
    }
    
    h5, .h5 {
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.05rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    footer {
        padding: 2rem 0;
    }
    
    footer h5 {
        font-size: 1rem;
        margin-bottom: 0.87rem;
    }
    
    footer p {
        font-size: 0.9rem;
    }
    
    .breadcrumb-section {
        padding: 0.8rem 0;
    }
    
    .breadcrumb-section img {
        max-height: 30px;
    }
    
    /* Fix for navbar */
    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.5rem !important;
        padding: 0.25rem 0.35rem;
        margin: 0.1rem 0;
    }
    
    /* Fix for vh-100 */
    .vh-100 {
        min-height: 350px !important;
        height: auto !important;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        min-height: 350px !important;
        padding: 60px 0 30px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .navbar {
        padding: 0.3rem 0;
    }
    
    /* Fix for vh-100 in landscape */
    .vh-100 {
        min-height: 350px !important;
        height: auto !important;
    }
}

/* High DPI / Retina Display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .navbar {
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .card:hover {
        transform: none;
    }
    
    .btn {
        min-height: 44px;
    }
    
    .nav-link {
        font-size: 0.6rem !important;
        padding: 0.8rem 0.6rem;
    }
    
    .form-control {
        min-height: 44px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .breadcrumb-section,
    footer,
    .btn,
    .contact-info {
        display: none;
    }
    
    .hero-section {
        background: none;
        color: black;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #d8d8d8;
    }
    
    section {
        padding: 1rem 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
    }
    
    .text-light {
        color: #757575;
    }
}

/* Container responsive breakpoints */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Gallery responsive grid */
@media (max-width: 767.98px) {
    .gallery .col-lg-3,
    .gallery .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575.98px) {
    .gallery .col-lg-3,
    .gallery .col-md-4,
    .gallery .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
} 