/* ========================================
   Ghar Kaa Tiffin - Responsive Styles
   Breakpoints: 1200px, 992px, 768px, 576px
   ======================================== */

/* ----- Desktop 1200px+ ----- */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ----- Laptop/Tablet 992px ----- */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-content {
        text-align: center;
        padding-top: 20px;
    }

    .hero-badge {
        margin: 0 auto 20px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
    }

    .hero-image-wrapper {
        margin-top: 20px;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }

    .hero-image {
        max-width: 380px;
    }

    .floating-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
    .badge-delivery {
        left: 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 12px);
    }

    .counter-number {
        font-size: 2.4rem;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }
}

/* ----- Tablet 768px ----- */
@media (max-width: 767.98px) {
    body {
        padding-top: 66px;
    }

    .navbar {
        padding: 8px 0;
    }

    .brand-text {
        font-size: 1rem;
    }
    .nav-logo {
        height: 32px;
    }

    .hero-section {
        min-height: auto;
        padding: 40px 0 60px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }
    .stat-number {
        font-size: 1.4rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .cta-wrapper {
        padding: 32px 24px;
        text-align: center;
    }
    .cta-wrapper h2 {
        font-size: 1.6rem;
    }

    .footer-section {
        padding: 40px 0 0;
    }
    .footer-brand p {
        max-width: 100%;
    }

    .floating-buttons {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        bottom: 30px !important;
        right: 16px !important;
        gap: 10px !important;
    }
    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .back-to-top {
        bottom: 80px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .page-banner {
        padding: 100px 0 40px;
    }
    .page-banner h1 {
        font-size: 1.8rem;
    }

    .kitchen-features {
        grid-template-columns: 1fr;
    }

    .counter-number {
        font-size: 2rem;
    }

    .contact-actions {
        flex-direction: column;
    }
    .contact-actions .btn {
        width: 100%;
    }

    .filter-buttons {
        gap: 6px;
    }
    .filter-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }

    .plan-card {
        padding: 16px;
    }
    .plan-img {
        height: 140px;
    }
}

/* ----- Mobile 576px ----- */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .hero-buttons .btn {
        text-align: center;
        justify-content: center;
        width: 100%;
        margin: 0 !important;
    }

    .hero-image-wrapper {
        margin-top: 10px;
        margin-bottom: 25px;
    }

    .hero-image {
        max-width: 250px;
        margin: 0 auto;
    }

    .hero-stats {
        display: flex !important;
        justify-content: space-between !important;
        gap: 8px !important;
        margin-top: 25px !important;
        width: 100% !important;
    }
    .stat-item {
        flex: 1 !important;
        text-align: center !important;
        padding: 2px !important;
    }
    .stat-number {
        font-size: 1.2rem !important;
        font-weight: 800 !important;
        margin-bottom: 2px !important;
    }
    .stat-label {
        font-size: 0.68rem !important;
        line-height: 1.2 !important;
        display: block !important;
    }

    .floating-badge {
        display: none;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .gallery-card img {
        height: 200px;
    }

    .lightbox {
        padding: 16px;
    }
    .lightbox-close {
        top: 12px;
        right: 16px;
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 16px;
    }

    .cta-wrapper {
        padding: 24px 16px;
    }
    .cta-wrapper h2 {
        font-size: 1.3rem;
    }

    .footer-section h6 {
        margin-top: 20px;
    }
    .footer-social {
        justify-content: center;
    }

    .plan-price {
        font-size: 1.4rem;
    }

    .menu-card img {
        height: 160px;
    }

    .contact-form-wrapper,
    .contact-info {
        padding: 20px 16px;
    }

    .page-banner h1 {
        font-size: 1.5rem;
    }

    .counter-card {
        padding: 20px 12px;
    }
    .counter-number {
        font-size: 1.8rem;
    }
}

/* ----- Mobile Navbar Toggle Fix & Slider Responsive ----- */
@media (max-width: 1199.98px) {
    .slider-container {
        height: 450px;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        height: 70px;
    }
    
    .brand-text {
        font-size: 1.15rem;
    }

    .nav-logo {
        height: 60px;
    }

    .slider-container {
        height: 350px;
    }

    /* Fixed absolute position for toggler on mobile/tablet */
    .custom-toggler {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    .navbar .container {
        padding-right: 55px !important;
        position: relative;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 70px;
    }

    .navbar {
        height: 70px;
    }

    .navbar-container {
        padding: 0 16px;
    }

    .slider-container {
        height: 250px;
    }

    .btn-overlay-call-action {
        font-size: 1.15rem !important;
        padding: 8px 16px !important;
        border-radius: 8px !important;
        border-width: 2px !important;
    }
    
    .slider-call-overlay {
        bottom: 20px !important;
    }

    /* Floating buttons */
    .floating-buttons {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        bottom: 30px !important;
        right: 20px !important;
        gap: 10px !important;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    /* Mobile Text Sizing for Dynamic Welcome Section */
    .intro-main-title {
        font-size: 1.6rem !important;
    }
    .intro-desc {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    .back-to-top {
        right: 20px;
        bottom: 130px;
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 1rem;
    }
    
    .nav-logo {
        height: 42px;
    }
    
    .nav-mobile-ctas {
        gap: 5px !important;
    }
    
    .btn-nav-order-mob {
        padding: 5px 8px !important;
        font-size: 0.72rem !important;
    }
    
    .btn-nav-call-mob {
        padding: 5px 8px !important;
        font-size: 0.72rem !important;
        width: auto !important;
        height: auto !important;
        border-radius: 50px !important;
    }
}