/* =============================================================================
   Al-Arabi — Arabian restaurant landing page
   Theme: deep night + warm gold + cream, with arabesque accents.
   Edit the CSS variables below to re-skin the whole site quickly.
============================================================================= */

:root {
    /* Palette */
    --night:      #1c140d;   /* deep coffee/charcoal */
    --night-2:    #2a1e12;   /* lighter panel */
    --night-3:    #3a2a18;
    --gold:       #d4a437;   /* primary gold */
    --gold-soft:  #e6c473;
    --gold-deep:  #a87521;
    --cream:      #f6ecd6;   /* light text / sand */
    --cream-2:    #efe3c9;
    --emerald:    #2f6f5e;   /* secondary accent */
    --maroon:     #7a2230;
    --muted:      #c9b693;
    --line:       rgba(212, 164, 55, 0.22);

    /* Type */
    --font-display: 'Cinzel', 'Times New Roman', serif;
    --font-arabic:  'Amiri', serif;
    --font-body:    'Jost', 'Segoe UI', sans-serif;

    --radius: 14px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--cream);
    background-color: var(--night);
    line-height: 1.65;
    overflow-x: hidden;
    /* Subtle arabesque texture over a dark base */
    background-image:
        radial-gradient(circle at 20% 0%, rgba(212,164,55,0.06), transparent 40%),
        radial-gradient(circle at 80% 100%, rgba(47,111,94,0.08), transparent 45%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23d4a437' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M30 0l15 15-15 15-15-15z'/%3E%3Cpath d='M30 30l15 15-15 15-15-15z'/%3E%3C/g%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 22px;
}

/* ----------------------------- Typography ----------------------------- */
.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 3rem);
    color: var(--cream);
    line-height: 1.1;
    letter-spacing: 0.5px;
}
.eyebrow {
    font-family: var(--font-arabic);
    font-style: italic;
    color: var(--gold);
    font-size: 1.05rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.eyebrow::before { content: "\2766"; margin-right: 8px; color: var(--gold-deep); }
.section-lead { color: var(--muted); margin-top: 10px; }

.section { padding: clamp(60px, 9vw, 110px) 0; position: relative; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow::after { content: "\2766"; margin-left: 8px; color: var(--gold-deep); }

/* Decorative gold divider under centered headings */
.section-head.center .section-title { position: relative; display: inline-block; padding-bottom: 18px; }
.section-head.center .section-title::after {
    content: "";
    position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 90px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-body);
    font-weight: 600; font-size: 0.95rem; letter-spacing: 0.4px;
    padding: 12px 22px;
    border-radius: 50px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--night);
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    box-shadow: 0 8px 22px rgba(212, 164, 55, 0.28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(212,164,55,0.4); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-ghost {
    background: transparent;
    color: var(--gold-soft);
    border-color: var(--gold);
    box-shadow: none;
}
.btn-ghost:hover { background: rgba(212,164,55,0.12); }

/* ----------------------------- Header / Nav ----------------------------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 0;
    transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
    background: rgba(20, 14, 9, 0.92);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    font-size: 1.6rem; color: var(--gold);
    width: 42px; height: 42px; display: grid; place-items: center;
    border: 1px solid var(--gold); border-radius: 50%;
}
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--cream); line-height: 1; }
.brand-text small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-soft); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 500; font-size: 0.95rem; color: var(--cream-2); position: relative; transition: color .2s; }
.nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
    background: var(--gold); transition: width .25s ease;
}
.nav a:not(.nav-cta):hover { color: var(--gold-soft); }
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { color: var(--night); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--gold); transition: .3s; }

/* ----------------------------- Hero ----------------------------- */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; text-align: center;
    background:
        linear-gradient(180deg, rgba(20,14,9,0.55), rgba(20,14,9,0.92)),
        radial-gradient(ellipse at 50% 30%, #4a3414, var(--night) 70%);
    overflow: hidden;
}
/* arabesque arches glow */
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23d4a437' stroke-opacity='0.07' stroke-width='1.2'%3E%3Cpath d='M60 10a40 40 0 0 1 40 40v60H20V50A40 40 0 0 1 60 10z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: .6;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(212,164,55,0.18), transparent 55%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 120px 0 90px; }
.hero-eyebrow {
    font-family: var(--font-arabic); font-style: italic; color: var(--gold-soft);
    letter-spacing: 2px; margin-bottom: 18px; font-size: 1.05rem;
}
.hero-eyebrow span { color: var(--gold); }
.hero-title {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.6rem, 8vw, 5.5rem); line-height: 1; color: var(--cream);
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.hero-title .arabic {
    display: block; font-family: var(--font-arabic);
    font-size: clamp(1.6rem, 4vw, 2.6rem); color: var(--gold);
    margin-bottom: 6px; font-weight: 400;
}
.hero-sub { max-width: 640px; margin: 22px auto 34px; color: var(--cream-2); font-size: 1.08rem; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-hours { margin-top: 26px; color: var(--muted); font-size: 0.92rem; letter-spacing: 0.5px; }
.hero-hours i { color: var(--gold); margin-right: 6px; }

.scroll-cue {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    z-index: 3; color: var(--gold); font-size: 1.2rem;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
    display: grid; place-items: center; animation: bob 2s infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* ----------------------------- About ----------------------------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-art { position: relative; }
.about-art-frame {
    aspect-ratio: 4/5; border-radius: var(--radius);
    background:
        repeating-linear-gradient(45deg, rgba(212,164,55,0.06) 0 12px, transparent 12px 24px),
        linear-gradient(135deg, var(--night-3), var(--night-2));
    border: 1px solid var(--line);
    display: grid; place-items: center;
    box-shadow: var(--shadow);
    position: relative; overflow: hidden;
}
.about-art-frame::after {
    content: ""; position: absolute; inset: 14px; border: 1px solid var(--line); border-radius: calc(var(--radius) - 6px);
    pointer-events: none;
}
.about-art-icon { font-size: 5.5rem; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.about-badge {
    position: absolute; right: -18px; bottom: 28px;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--night); border-radius: var(--radius); padding: 16px 20px;
    text-align: center; box-shadow: var(--shadow);
}
.about-badge strong { font-family: var(--font-display); font-size: 1.8rem; display: block; line-height: 1; }
.about-badge span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px; }

.about-text p { color: var(--cream-2); margin-bottom: 16px; }
.about-text strong { color: var(--gold-soft); }
.about-points { margin-top: 22px; display: grid; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.about-points i { color: var(--gold); width: 22px; text-align: center; }

/* ----------------------------- Specials ----------------------------- */
.specials { background: linear-gradient(180deg, transparent, rgba(0,0,0,0.25)); }
.specials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.special-card {
    background: linear-gradient(160deg, var(--night-2), var(--night));
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 38px 28px; text-align: center;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    position: relative; overflow: hidden;
}
.special-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.special-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: var(--shadow); }
.special-icon { font-size: 3rem; margin-bottom: 16px; }
.special-card h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--cream); margin-bottom: 10px; }
.special-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.special-price { font-family: var(--font-display); color: var(--gold); font-size: 1.3rem; font-weight: 700; }

/* ----------------------------- Menu ----------------------------- */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 42px; }
.menu-tab {
    font-family: var(--font-body); font-weight: 500; font-size: 0.92rem;
    padding: 10px 20px; border-radius: 50px; cursor: pointer;
    background: var(--night-2); color: var(--cream-2);
    border: 1px solid var(--line); transition: .25s;
}
.menu-tab:hover { color: var(--gold-soft); border-color: var(--gold); }
.menu-tab.active { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--night); border-color: transparent; }

.menu-panel { display: none; animation: fade .4s ease; }
.menu-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none;} }

.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 44px; }
.menu-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.menu-item-icon {
    font-size: 1.6rem; flex: 0 0 auto;
    width: 50px; height: 50px; display: grid; place-items: center;
    background: var(--night-2); border: 1px solid var(--line); border-radius: 12px;
}
.menu-item-body { flex: 1; min-width: 0; }
.menu-item-head { display: flex; align-items: baseline; gap: 8px; }
.menu-item-head h4 { font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; color: var(--cream); white-space: nowrap; }
.menu-item-head .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.menu-item-price { font-family: var(--font-display); color: var(--gold); font-weight: 700; white-space: nowrap; }
.menu-item-body p { color: var(--muted); font-size: 0.9rem; margin-top: 2px; }

.chip {
    font-family: var(--font-body); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.5px;
    text-transform: uppercase; padding: 3px 8px; border-radius: 50px; vertical-align: middle;
    background: var(--emerald); color: var(--cream);
}
.chip-popular, .chip-signature { background: var(--gold-deep); color: var(--night); }
.chip-chef { background: var(--maroon); }
.chip-veg { background: var(--emerald); }
.chip-sweet { background: #8a5a9e; }

/* ----------------------------- Gallery ----------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-tile {
    aspect-ratio: 1; border-radius: var(--radius); position: relative; overflow: hidden;
    display: grid; place-items: center; border: 1px solid var(--line);
    transition: transform .3s ease;
    cursor: pointer;
}
.gallery-tile:hover { transform: scale(1.03); }
.gallery-tile.tile-1 { background: linear-gradient(150deg, #3a2a18, #1c140d); }
.gallery-tile.tile-2 { background: linear-gradient(150deg, #2f6f5e, #173c33); }
.gallery-tile.tile-3 { background: linear-gradient(150deg, #7a2230, #3a141b); }
.gallery-tile.tile-4 { background: linear-gradient(150deg, #a87521, #4a3414); }
.gallery-emoji { font-size: 3rem; transition: transform .3s ease; }
.gallery-tile:hover .gallery-emoji { transform: scale(1.15) rotate(-4deg); }
.gallery-tile figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--cream); font-size: 0.85rem; font-weight: 500;
    padding: 26px 14px 12px; text-align: center;
}

/* ----------------------------- Testimonials ----------------------------- */
.testimonials { background: linear-gradient(180deg, rgba(0,0,0,0.25), transparent); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
    background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px; position: relative;
}
.testi-card::before {
    content: "\201C"; font-family: var(--font-display); font-size: 4rem; color: var(--gold);
    opacity: .25; position: absolute; top: 6px; right: 18px; line-height: 1;
}
.testi-card .stars { color: var(--gold); margin-bottom: 12px; font-size: 0.9rem; }
.testi-card p { color: var(--cream-2); font-style: italic; font-family: var(--font-arabic); font-size: 1.05rem; }
.testi-card footer { margin-top: 16px; color: var(--gold-soft); font-weight: 600; font-family: var(--font-display); }

/* ----------------------------- Contact / Reservation ----------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 0.95fr; gap: 50px; align-items: start; }
.contact-list { margin: 22px 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--cream-2); }
.contact-list i { color: var(--gold); width: 22px; text-align: center; margin-top: 4px; }
.contact-list a:hover { color: var(--gold-soft); }
.contact-socials { display: flex; gap: 12px; margin-bottom: 24px; }
.contact-socials a {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--line); color: var(--gold-soft); transition: .25s;
}
.contact-socials a:hover { background: var(--gold); color: var(--night); border-color: transparent; transform: translateY(-3px); }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 220px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

.reservation {
    background: linear-gradient(160deg, var(--night-2), var(--night));
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px; box-shadow: var(--shadow);
}
.reservation h3 { font-family: var(--font-display); font-size: 1.6rem; color: var(--cream); }
.reservation-note { color: var(--muted); font-size: 0.88rem; margin-bottom: 20px; }
.reserve-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 0.82rem; color: var(--gold-soft); font-weight: 500; letter-spacing: 0.3px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 0.95rem;
    background: var(--night); color: var(--cream);
    border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: #7d6f55; }
.form-msg { margin-top: 6px; font-size: 0.9rem; color: var(--gold-soft); text-align: center; }

/* ----------------------------- Footer ----------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; background: rgba(0,0,0,0.3); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { font-family: var(--font-display); color: var(--cream); display: block; }
.footer-brand small { color: var(--gold-soft); font-size: 0.78rem; }
.footer-copy { color: var(--muted); font-size: 0.85rem; }

/* ----------------------------- WhatsApp float ----------------------------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center;
    font-size: 1.6rem; box-shadow: 0 10px 26px rgba(37,211,102,0.45);
    transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.1); }

/* ----------------------------- Reveal animation ----------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 900px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .specials-grid, .testi-grid { grid-template-columns: 1fr; }
    .menu-list { grid-template-columns: 1fr; gap: 6px 0; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .about-badge { right: 16px; }

    .nav {
        position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
        flex-direction: column; align-items: flex-start; gap: 22px;
        background: rgba(18, 12, 7, 0.98); backdrop-filter: blur(10px);
        padding: 100px 32px 40px; transform: translateX(100%);
        transition: transform .35s ease; border-left: 1px solid var(--line);
    }
    .nav.open { transform: translateX(0); }
    .nav-toggle { display: flex; z-index: 101; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 520px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .field-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .reservation { padding: 26px 20px; }
}
