:root {
    --primary: #d4a373;
    --dark: #1a1a1a;
    --text: #333;
    --white: #ffffff;
    --whatsapp: #25D366;
    --bg-beige: #f2ebd9; 
    --footer-bg: #2b2316; /* Deep elegant brown */
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #fdfaf5;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, .logo { font-family: 'Playfair Display', serif; }

/* NAVIGATION */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: visible;

}

.logo { 
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 2px; 
    font-size: 1.5rem; 
    margin: 0; 
    color: var(--dark); 

    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* Header Small Icon */
.nav-icon {
    height: 35px;
    width: auto;
}

.nav-center a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 15px;
}

.reserve-btn {
    text-decoration: none;
    font-size: 0.8rem;
    padding: 12px 24px !important;
}

/* HERO SECTION */
.hero {
    height: 90vh;
    background: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1600&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
}

.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 20px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin: 0; line-height: 1.1; }

.btn-gold {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-gold:hover { background: #bc8a5f; transform: translateY(-2px); }
/* --- PREMIUM WHATSAPP BUTTON --- */
.hero-btns {
    margin-top: 30px;
}

.btn-whatsapp-premium {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    color: #ffffff !important; /* Ensure text is white */
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 20px rgba(7, 94, 84, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wa-icon-wrapper {
    font-size: 1.5rem;
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.wa-text {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

/* --- HOVER EFFECTS --- */
.btn-whatsapp-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(7, 94, 84, 0.4);
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

/* Optional: Makes the icon shake slightly on hover to draw attention */
.btn-whatsapp-premium:hover .wa-icon-wrapper {
    animation: wa-shake 0.5s ease-in-out infinite;
}

@keyframes wa-shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-15deg); }
    100% { transform: rotate(0deg); }
}

/* Mobile Responsive adjustment */
@media (max-width: 600px) {
    .btn-whatsapp-premium {
        padding: 14px 28px;
        font-size: 0.85rem;
    }
}

/* SECTIONS */
#about, #gallery { background-color: var(--white); }
#menu, #contact { 
    background-color: var(--bg-beige); 
    box-shadow: inset 0 20px 30px -20px rgba(0,0,0,0.05);
}

/* FEATURE BOXES (Story Section) */
.feature-container {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.feature-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #fdfaf5;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 10px;
    transition: 0.3s;
}

.feature-box:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    background: var(--white);
}

.feature-box-icon {
    font-size: 1.5rem;
    background: var(--bg-beige);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}
[dir="rtl"] .feature-container {
    direction: rtl;
}

[dir="rtl"] .feature-box {
    text-align: right;
    flex-direction: row-reverse;
}
.feature-box-text strong { display: block; font-size: 0.9rem; color: var(--dark); }
.feature-box-text p { font-size: 0.75rem; color: #777; margin: 0; line-height: 1.3; }

/* STORY GRID */
.grid-story { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; text-align: left;}
.main-story-img { width: 100%;   height: 440px; /* adjust this value */object-fit: cover; border-radius: 15px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.stat-badge {
    position: absolute; bottom: 80px; left: 20px; background: var(--primary); color: white;
    padding: 25px 20px; border-radius: 12px; text-align: center; box-shadow: 0 10px 30px rgba(212, 163, 115, 0.4);
}
[dir="rtl"] .stat-badge {
    left: auto;
    right: 20px;
}

.story-contentAr {
    direction: rtl;
    text-align: right;
}

/* MENU CARDS & IMAGES */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 30px; }
.card { background: var(--white); padding: 30px; border-radius: 4px; border: 1px solid rgba(0,0,0,0.08); transition: 0.3s; text-align: left;}
.card:hover { transform: translateY(-10px); border-left: 4px solid var(--primary); }

.menu-item-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin: 12px 0;
    border: 1px solid rgba(0,0,0,0.05);
    display: block;
}

.menu-actions { margin-top: 80px; text-align: center; }

/* GALLERY CAROUSEL */
.carousel-wrapper { position: relative; display: flex; align-items: center; margin-top: 40px; gap: 20px; }
.gallery-container { width: 100%; overflow: hidden; }
.gallery-track { display: flex; transition: transform 0.5s ease-in-out; gap: 20px; }
.gallery-track img { min-width: calc((100% - 40px) / 3); height: 350px; object-fit: cover; border-radius: 8px; }
.carousel-nav { background: var(--primary); color: white; border: none; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* =========================
   PREMIUM RESERVATION UX (OPTIMIZED)
========================= */

#reservation-form {
    max-width: 540px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 12px; /* slightly tighter for balance */
    padding: 10px;
}

/* =========================
   INPUTS / SELECTS (FIXED HEIGHT ISSUE)
========================= */

#reservation-form input,
#reservation-form select {
    height: 44px;               /* 🔥 FIX: prevents “too tall” look */
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

/* hover */
#reservation-form input:hover,
#reservation-form select:hover {
    border-color: rgba(212,163,115,0.5);
}

/* focus */
#reservation-form input:focus,
#reservation-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 10px 22px rgba(212,163,115,0.18);
}

/* nicer dropdown arrow */
#reservation-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 38px;
}

/* =========================
   FORM ROW
========================= */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* =========================
   BUTTON (CLEAN PREMIUM)
========================= */

#submit-btn {
    margin-top: 8px;
    border-radius: 999px;
    padding: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    background: var(--primary);
    color: #fff;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 10px 22px rgba(212,163,115,0.25);
}

#submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(212,163,115,0.32);
}

/* =========================
   LABEL (optional future use)
========================= */

label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(0,0,0,0.5);
    margin-bottom: 4px;
}

/* =========================
   SUCCESS MESSAGE (CLEANER)
========================= */

.booking-message {
    max-width: 600px;
    margin: 50px auto;
    padding: 60px 40px;
    background: #fff;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 25px 55px rgba(0,0,0,0.08);
    border: 1px solid rgba(212,163,115,0.25);
    animation: slideUp 0.6s ease;
}

.booking-message i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 18px;
}

.booking-message p {
    font-size: 1.1rem;
    line-height: 1.7;
}
/* animation */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* disabled button */
#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* FOOTER STYLING */
.main-footer {
    background-color: var(--footer-bg);
    color: #d1c7b7;
    padding: 80px 8% 20px;
    font-size: 0.9rem;
    text-align: left;
}

.grid-footer {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.footer-col h4 {
    color: var(--primary);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
}

.brand-center { text-align: center; }

/* Footer Large Logo */
.footer-logo { 
    height: 180px; 
    width: auto; 
    margin-bottom: 20px; 
}

.elegance-text { font-style: italic; line-height: 1.8; margin: 0 auto 25px; max-width: 400px; }

.social-links { display: flex; justify-content: center; gap: 15px; }
.social-links a {
    color: var(--white);
    background: rgba(255,255,255,0.05);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: 0.3s;
}
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }

.footer-map {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
    border: 1px solid rgba(212, 163, 115, 0.2);
}

.footer-quick-links {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-weight: 600;
    letter-spacing: 1px;
}
.footer-quick-links a { 
    color: var(--white); 
    text-decoration: none; 
    margin: 0 10px; 
    transition: 0.3s;
}
.footer-quick-links a:hover { color: var(--primary); }

.footer-bottom { text-align: center; margin-top: 30px; font-size: 0.75rem; opacity: 0.5; }

/* GLOBAL UTILITIES */
.section { padding: 100px 8%; opacity: 0; transform: translateY(40px); transition: 0.8s ease-out; }
.section.is-visible { opacity: 1; transform: translateY(0); }

.section-tag {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}
.section-tag::before { content: ""; width: 30px; height: 2px; background: var(--primary); }
.text-gold { color: var(--primary); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .grid-story, .grid-footer { grid-template-columns: 1fr; text-align: center; }
    .section-tag { justify-content: center; }
    .gallery-track img { min-width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .feature-container { flex-direction: column; }
    .social-links { justify-content: center; }
    .brand-center .footer-logo { height: 120px; }
}

.catering-cta {
    margin-top: 25px;
    display: flex;
    justify-content: flex-start; /* or center if you prefer */
}

.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}

/* Button */
.lang-btn {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.15);
    padding: 10px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Dropdown */
.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;

    min-width: 140px;

    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.12);

    padding: 6px 0;

    /* animation base */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.96);
    transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);

    z-index: 9999;
}

/* Links */
.lang-menu a {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: 0.2s ease;
}

.lang-menu a:hover {
    background: rgba(212, 163, 115, 0.12);
    color: var(--primary);
    padding-left: 18px;
}

/* Hover reveal */
.lang-dropdown:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

[dir="rtl"] .btn-whatsapp-premium {
    flex-direction: row-reverse;
    justify-content: center;
    text-align: center;
}

/* =========================
   GLOBAL RTL FIX
========================= */

html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] .nav {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-center {
    display: flex;
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-right {
    display: flex;
    flex-direction: row-reverse;
}

/* Fix grid flipping */
html[dir="rtl"] .grid-story {
    direction: rtl;
}

/* Fix cards */
html[dir="rtl"] .card {
    text-align: right;
}

/* Fix footer layout */
html[dir="rtl"] .grid-footer {
    direction: rtl;
}

@media (max-width: 768px) {
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* adjust to your header height */
}
    .nav {
        flex-direction: column;
        align-items: center;
        padding: 12px 14px;
        gap: 10px;
        background: var(--white);
    }

    /* =========================
       TOP: LOGO + LANGUAGE
    ========================= */
    .nav-left {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .logo {
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 1.2px;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }

    .nav-icon {
        width: 18px;
        height: 18px;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.6rem;
        border-radius: 6px;
    }

    .lang-menu {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        min-width: 120px;
    }

    /* =========================
       MIDDLE: NAV LINKS
    ========================= */
    .nav-center {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 6px;
        flex-wrap: wrap;
    }

    .nav-center a {
        font-size: 0.55rem;
        padding: 4px 8px;
        margin: 0;
        letter-spacing: 0.3px;
        text-transform: uppercase;

        border-radius: 999px;
        background: rgba(0,0,0,0.03);
        border: 1px solid rgba(0,0,0,0.06);

        white-space: nowrap;
    }

    /* =========================
       BOTTOM: CTA BUTTON
    ========================= */
    .nav-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .reserve-btn {
        font-size: 0.65rem;
        padding: 8px 16px !important;
        border-radius: 999px;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }
    /* =========================
   HERO SECTION
========================= */

.hero {
    height: 78vh;
    padding: 0 18px;
}

.hero-content {
    max-width: 100%;
    padding: 10px;
}

.hero-sub {
    font-size: 0.6rem;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 1.9rem;
    line-height: 1.25;
    margin: 10px 0;
}

.hero p {
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
}

.hero-overlay {
    background: rgba(0,0,0,0.45);
}

/* Buttons */

.hero-btns {
    margin-top: 20px;
}

.btn-whatsapp-premium {
    padding: 12px 20px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-radius: 40px;
}

.wa-icon-wrapper {
    font-size: 1.2rem;
    margin-right: 8px;
}

.btn-gold {
    padding: 10px 22px;
    font-size: 0.7rem;
}
/* =========================
   ABOUT SECTION (MOBILE CLEAN - ORIGINAL ORDER)
========================= */

.grid-story {
    grid-template-columns: 1fr; /* stack */
    gap: 25px;
    text-align: center;
}

/* IMAGE stays on top naturally */
.story-image-wrapper {
    order: 1;
}

.story-content {
    order: 2;
}

/* REMOVE GOLD BADGE */
.stat-badge {
    display: none;
}

/* IMAGE */
.main-story-img {
    height: 230px;
    border-radius: 12px;
}

/* TEXT */
.story-content h2 {
    font-size: 1.3rem;
    line-height: 1.3;
    padding: 0 10px;
}

.story-content p {
    font-size: 0.78rem;
    line-height: 1.5;
    padding: 0 10px;
}

/* FEATURES */
.feature-container {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.feature-box {
    padding: 10px;
    gap: 10px;
}

.feature-box-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
}

.feature-box-text strong {
    font-size: 0.8rem;
}

.feature-box-text p {
    font-size: 0.7rem;
}
@media (max-width: 768px) {

    /* =========================
       MENU SECTION FIX
    ========================= */

    .menu-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns instead of 1 */
        gap: 10px;
        margin-top: 15px;
    }

    .card {
        padding: 10px;
        border-radius: 8px;
    }

    .card h3 {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }

    .menu-item-img {
        height: 90px; /* MUCH smaller image */
        margin: 6px 0;
    }

    .card p {
        font-size: 0.65rem;
        line-height: 1.2;
        margin: 4px 0;
    }

    .card strong {
        font-size: 0.7rem;
    }

    .menu-actions {
        margin-top: 30px; /* reduce huge whitespace */
    }

    #load-more-btn {
        padding: 10px 18px;
        font-size: 0.7rem;
    }
    @media (max-width: 768px) {

    .carousel-wrapper {
        display: flex;
        align-items: stretch; /* 🔥 key fix */
        justify-content: center;
        gap: 10px;
        margin-top: 25px;
    }

    .gallery-container {
        width: 100%;
        overflow: hidden;
    }

    .gallery-track {
        display: flex;
        gap: 0;
        transition: transform 0.5s ease-in-out;

    }

    .gallery-track img {
        min-width: 100% !important;
        width: 100%;
        height: 400px;
        object-fit: cover;
        flex-shrink: 0;
    }

    /* =========================
       NAV BUTTON FIX
    ========================= */

    .carousel-nav {
        align-self: center; /* keeps buttons vertically centered */
        margin-top: 0;
        width: 38px;
        height: 38px;
        flex-shrink: 0;
        position: relative;
        top: 0; /* reset any offset */
    }
}
/* =========================
   FOOTER (MOBILE FIX)
========================= */

.grid-footer {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
}

/* Make all columns centered */
.footer-col {
    text-align: center;
}

/* Logo smaller but still elegant */
.footer-logo {
    height: 120px;
}

/* Map smaller */
.footer-map iframe {
    height: 180px;
}

/* Quick links wrap properly (NO overflow / NO horizontal scroll) */
.footer-quick-links {
    font-size: 0.7rem;
    line-height: 1.6;
    padding: 20px 10px 0;
}

.footer-quick-links a {
    display: inline-block;
    margin: 5px 6px;
    font-size: 0.7rem;
}

/* Social icons spacing better */
.social-links {
    gap: 10px;
    flex-wrap: wrap;
}

/* Opening hours spacing */
.opening-hours p {
    font-size: 0.75rem;
}

/* Footer bottom compact */
.footer-bottom {
    font-size: 0.65rem;
    margin-top: 20px;
}
}

}