/* ============================================
   CAFÉ BANGKI - STYLESHEET
   Modern, Elegant, Warm & Cozy Design
   ============================================ */

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #8B7355;
    --secondary-color: #D4A574;
    --accent-gold: #C9A961;
    --cream: #F5F0E8;
    --dark-brown: #3E2723;
    --latte: #D7C4B1;
    --white: #FFFFFF;
    --black: #1C1C1C;
    --gray: #6B6B6B;
    --light-gray: #E8E8E8;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 20px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-sans);
    color: var(--dark-brown);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    /* Better scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}

/* Optimize scrolling performance */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy loading placeholder */
img[loading="lazy"] {
    background: var(--light-gray);
}

/* Image optimization */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-brown);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.8rem;
}

p {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray);
}

/* ============================================
   CONTAINER & UTILITIES
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
}

.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-gold));
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 115, 85, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes for Responsive */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-center {
        text-align: center;
    }
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
    position: relative;
}

/* Touch-friendly elements */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .filter-btn,
    .nav-link,
    .menu-card,
    .gallery-item {
        -webkit-tap-highlight-color: rgba(139, 115, 85, 0.2);
    }
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    .btn,
    .filter-btn,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

/* Navbar untuk menu page - selalu scrolled */
.navbar.scrolled {
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar.scrolled .logo {
    color: var(--dark-brown);
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--dark-brown);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 5px;
    transition: var(--transition);
}

.navbar.scrolled .hamburger span {
    background: var(--dark-brown);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    /* Fallback for browsers that don't support CSS custom properties */
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(62, 39, 35, 0.8), rgba(139, 115, 85, 0.6));
    z-index: -1;
}

.hero-content {
    color: var(--white);
    max-width: 700px;
    padding: 20px;
}

.hero-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FEATURED MENU SECTION
   ============================================ */
.featured-menu {
    background: var(--white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.menu-card {
    background: var(--cream);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.menu-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.menu-card-content {
    padding: 25px;
}

.menu-card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.menu-card-price {
    color: var(--accent-gold);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.menu-card-desc {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.testimonials .section-title h2,
.testimonials .section-subtitle {
    color: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.05rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-gold);
}

.testimonial-rating {
    color: var(--accent-gold);
    margin-top: 10px;
}

/* ============================================
   MENU PAGE
   ============================================ */
.menu-hero {
    height: 50vh;
    background: linear-gradient(135deg, rgba(62, 39, 35, 0.9), rgba(139, 115, 85, 0.7)),
                url('https://images.unsplash.com/photo-1504627298434-2119d6928e93?w=1600&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.menu-hero h1 {
    color: var(--white);
    font-size: 3.5rem;
}

.menu-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* Sticky filters untuk mobile */
@media (max-width: 968px) {
    .menu-filters {
        position: sticky;
        top: 70px; /* Adjust based on navbar height */
        background: var(--cream);
        z-index: 100;
        padding: 15px 10px;
        margin: 0 -20px 30px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        position: relative;
    }
    
    .menu-filters::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }
    
    .menu-filters .filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    /* Gradient fade indicator pada edge kanan untuk hint scroll */
    .menu-filters::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to right, transparent, var(--cream));
        pointer-events: none;
        opacity: 1;
        transition: opacity 0.3s ease;
    }
    
    .menu-filters.scrolled-end::after {
        opacity: 0;
    }
}

.filter-btn {
    padding: 12px 30px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-family: var(--font-sans);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

/* Mobile filter button optimization */
@media (max-width: 968px) {
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: auto;
    }
    
    .filter-btn.active {
        background: var(--primary-color);
        color: var(--white);
        box-shadow: 0 2px 8px rgba(139, 115, 85, 0.4);
    }
}

.menu-section {
    margin-bottom: 60px;
}

.menu-category-title {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-gold);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.menu-item-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-content {
    padding: 20px;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-item-name {
    font-size: 1.3rem;
}

.menu-item-price {
    color: var(--accent-gold);
    font-size: 1.2rem;
    font-weight: 600;
}

.menu-item-desc {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-hero {
    height: 50vh;
    background: linear-gradient(135deg, rgba(62, 39, 35, 0.9), rgba(139, 115, 85, 0.7)),
                url('https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?w=1600&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.gallery-hero h1 {
    color: var(--white);
    font-size: 3.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 115, 85, 0.6);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    z-index: 10000;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    padding: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
    height: 50vh;
    background: linear-gradient(135deg, rgba(62, 39, 35, 0.9), rgba(139, 115, 85, 0.7)),
                url('https://images.unsplash.com/photo-1559305616-3a3c0e5d1f55?w=1600&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.about-hero h1 {
    color: var(--white);
    font-size: 3.5rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.value-card h3 {
    margin-bottom: 15px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero {
    height: 50vh;
    background: linear-gradient(135deg, rgba(62, 39, 35, 0.9), rgba(139, 115, 85, 0.7)),
                url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=1600&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.contact-hero h1 {
    color: var(--white);
    font-size: 3.5rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-brown);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.info-card p {
    margin-bottom: 10px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 500;
    margin-top: 20px;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-3px);
}

.map-container {
    margin-top: 50px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-brown);
    color: var(--cream);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: var(--container-width);
    margin: 0 auto 40px;
}

.footer-section h3 {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--cream);
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--cream);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--dark-brown);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--cream);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    :root {
        --container-width: 95%;
    }

    .menu-grid,
    .menu-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 968px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 25px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
        padding: 20px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: var(--dark-brown);
        font-size: 1.1rem;
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    /* Hero Section */
    .hero-title {
        font-size: 3rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 15px;
    }

    /* Layout */
    .contact-container,
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Menu & Gallery */
    .menu-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Sections */
    .section {
        padding: 60px 20px;
    }

    /* Hero heights */
    .menu-hero,
    .gallery-hero,
    .about-hero,
    .contact-hero {
        height: 40vh;
    }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.95rem;
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero {
        height: 100vh;
        min-height: 600px;
    }

    .menu-hero h1,
    .gallery-hero h1,
    .about-hero h1,
    .contact-hero h1 {
        font-size: 2.5rem;
    }

    /* Buttons */
    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Grids */
    .menu-grid,
    .menu-items,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Cards */
    .menu-card-img,
    .menu-item-img {
        height: 220px;
    }

    .gallery-item {
        height: 250px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Contact Form */
    .contact-form {
        padding: 30px 20px;
    }

    /* Sections */
    .section {
        padding: 50px 15px;
    }

    .section-title {
        margin-bottom: 35px;
    }

    /* Navigation adjustments */
    .nav-menu {
        width: 100%;
        right: -100%;
    }

    .logo {
        font-size: 1.5rem;
    }

    /* Filter buttons */
    .menu-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Map */
    .map-container iframe {
        height: 300px;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    /* Hero */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .hero-content {
        padding: 15px;
    }

    .menu-hero h1,
    .gallery-hero h1,
    .about-hero h1,
    .contact-hero h1 {
        font-size: 2rem;
    }

    .menu-hero,
    .gallery-hero,
    .about-hero,
    .contact-hero {
        height: 35vh;
        min-height: 300px;
    }

    /* Navigation */
    .logo {
        font-size: 1.3rem;
    }

    .navbar {
        padding: 15px 0;
    }

    .nav-container {
        padding: 0 15px;
    }

    /* Buttons */
    .btn {
        padding: 12px 25px;
        font-size: 0.85rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    /* Cards */
    .menu-card,
    .menu-item {
        border-radius: 12px;
    }

    .menu-card-content,
    .menu-item-content {
        padding: 20px;
    }

    .menu-card-title,
    .menu-item-name {
        font-size: 1.2rem;
    }

    .menu-card-img,
    .menu-item-img {
        height: 200px;
    }

    .gallery-item {
        height: 220px;
    }

    /* Sections */
    .section {
        padding: 40px 15px;
    }

    .section-title h2::after {
        width: 60px;
    }

    /* About page */
    .about-image {
        border-radius: 12px;
    }

    /* Contact */
    .contact-form {
        padding: 25px 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
    }

    .info-card {
        padding: 20px;
    }

    /* Footer */
    .footer {
        padding: 40px 15px 15px;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    /* Lightbox */
    .lightbox-prev,
    .lightbox-next {
        font-size: 2rem;
        padding: 15px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }

    /* Filter buttons */
    .menu-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    /* Values */
    .value-card {
        padding: 20px;
    }

    .value-icon {
        font-size: 2.5rem;
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .menu-card-img,
    .menu-item-img {
        height: 180px;
    }

    .gallery-item {
        height: 200px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hamburger span {
        width: 22px;
    }

    .menu-hero h1,
    .gallery-hero h1,
    .about-hero h1,
    .contact-hero h1 {
        font-size: 1.75rem;
    }
}

/* Landscape Mode Optimization */
@media (max-width: 968px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }

    .menu-hero,
    .gallery-hero,
    .about-hero,
    .contact-hero {
        height: 60vh;
        min-height: 400px;
    }
}

/* High Resolution Displays */
@media (min-width: 1400px) {
    :root {
        --container-width: 1320px;
    }

    .menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .hero-buttons,
    .filter-btn,
    .lightbox,
    .back-to-top,
    .whatsapp-btn {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        page-break-inside: avoid;
    }
}
