/* ==========================================================================
   SAM'S CUISINE - RESPONSIVE & MOBILE BREAKPOINTS STYLES
   ========================================================================== */

/* Large Desktop (> 1200px) */
@media (min-width: 1200px) {
    .container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Medium Desktop & Tablet Landscape (992px to 1199px) */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .featured-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
}

/* Tablet Portrait (768px to 991px) */
@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-toggle-btn {
        display: block;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-showcase img {
        height: 340px;
    }
    
    .featured-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-img-main {
        height: 360px;
    }
    
    .article-content {
        padding: 35px 28px;
    }
    
    .article-title {
        font-size: 2.2rem;
    }
}

/* Mobile Devices (< 767px) */
@media (max-width: 767px) {
    .header-inner {
        min-height: 98px;
        padding: 6px 0;
    }
    
    .header-logo-img {
        height: 88px;
        max-width: 280px;
    }
    
    .btn-book-table {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
    
    .hero-section {
        padding: 40px 0 50px;
    }
    
    .hero-title {
        font-size: 2.1rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.98rem;
    }
    
    .hero-showcase img {
        height: 260px;
    }
    
    .section-title-script {
        font-size: 1.9rem;
    }
    
    .featured-cards-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .featured-card-img-wrap {
        height: 200px;
    }
    
    .menu-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .menu-filter-wrapper {
        top: 72px;
        padding: 12px 0;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.84rem;
    }
    
    .category-active-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .category-active-title {
        font-size: 1.4rem;
    }
    
    .product-card-thumb-wrap {
        height: 190px;
    }
    
    .product-card-body {
        padding: 18px;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
    
    .article-content {
        padding: 24px 18px;
        font-size: 1rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-content th,
    .article-content td {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .article-content ul > li {
        padding-left: 26px;
    }
    
    .article-content ol > li {
        padding-left: 36px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .floating-badge {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
}

/* Small Mobile (< 420px) */
@media (max-width: 420px) {
    .hero-title {
        font-size: 1.85rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .btn-book-table span.btn-text-full {
        display: none;
    }
    
    .btn-book-table span.btn-text-short {
        display: inline;
    }
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 340px;
    height: 100%;
    background-color: #1A1613;
    color: #FAF5EE;
    z-index: 10000;
    box-shadow: -6px 0 25px rgba(0, 0, 0, 0.4);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
}

.mobile-nav-drawer.is-open {
    right: 0;
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-close {
    background: none;
    border: none;
    color: #FAF5EE;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 35px;
}

.mobile-drawer-links a {
    color: #FAF5EE;
    font-size: 1.15rem;
    font-weight: 600;
    display: block;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.mobile-drawer-links a:hover,
.mobile-drawer-links a.active {
    color: var(--color-accent);
}

/* Modal Popup (Book a table) */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 15, 13, 0.75);
    backdrop-filter: blur(6px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.booking-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.booking-modal-card {
    background: #FFFFFF;
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    padding: 36px 32px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.booking-modal.is-active .booking-modal-card {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #F5EFEB;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A433D;
    transition: background 0.2s ease;
}

.modal-close-btn:hover {
    background: #E5DCD0;
    color: #000;
}

.modal-form-group {
    margin-bottom: 18px;
}

.modal-form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2D2723;
    margin-bottom: 6px;
}

.modal-form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid #D9CFC4;
    background: #FAF7F2;
    color: #1A1613;
    transition: border-color 0.2s ease;
}

.modal-form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(194, 89, 39, 0.15);
}
