:root {
    --sunset-1: #ff7e5f;
    --sunset-2: #feb47b;
    --sunset-3: #ffd17a;
    --aqua-1: #00bfa6;
    --aqua-2: #00b4d8;
    --aqua-deep: #0a4d6d;
    --cream: #fff8f0;
    --paper: #ffffff;
    --ink: #1a1a2e;
    --ink-soft: #4a5568;
    --gold: #c9a44c;
    --line: #ecdfd0;
    --shadow: 0 12px 40px rgba(26, 26, 46, 0.08);
    --shadow-sm: 0 4px 14px rgba(26, 26, 46, 0.06);
    --radius: 14px;
    --radius-lg: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display { font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 0 0 .8rem; }
h3 { font-size: 1.4rem; margin: 0 0 .5rem; }
a { color: var(--aqua-deep); text-decoration: none; }
a:hover { color: var(--sunset-1); }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-tight { padding: 50px 0; }
.text-center { text-align: center; }
.muted { color: var(--ink-soft); }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,126,95,.12); color: var(--sunset-1); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,248,240,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.brand-mark {
    width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(135deg, var(--sunset-1), var(--sunset-3));
    display: grid; place-items: center; color: white; font-weight: 700; font-size: 1.1rem;
    box-shadow: 0 6px 18px rgba(255,126,95,.4);
}
.brand-logo { height: 56px; width: auto; max-width: 220px; display: block; }
.site-footer .brand-logo { height: 64px; max-width: 200px; }
.brand small { font-family: 'Inter', sans-serif; font-weight: 500; font-size: .72rem; color: var(--ink-soft); letter-spacing: .12em; text-transform: uppercase; display: block; margin-top: 2px; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
    padding: 9px 16px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .95rem;
    transition: all .2s;
}
.nav-links a:hover { background: rgba(255,126,95,.1); color: var(--sunset-1); }
.nav-links a.active { background: rgba(0,180,216,.1); color: var(--aqua-deep); }
.nav-cta { background: linear-gradient(135deg, var(--sunset-1), var(--sunset-2)) !important; color: white !important; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255,126,95,.4); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* Hero */
.hero {
    position: relative;
    min-height: 86vh;
    display: flex; align-items: center;
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 45%, #00b4d8 110%);
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(circle at 80% 20%, rgba(255,255,255,.25), transparent 50%),
      radial-gradient(circle at 20% 80%, rgba(0,180,216,.4), transparent 50%);
    pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,46,.15) 0%, rgba(26,26,46,.45) 100%); }
.hero-inner { position: relative; z-index: 2; color: white; max-width: 760px; padding: 80px 0; }
.hero h1 { color: white; margin: 16px 0; text-shadow: 0 4px 24px rgba(0,0,0,.25); }
.hero p { font-size: 1.15rem; max-width: 600px; opacity: .96; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; border-radius: 12px; font-weight: 600; font-size: 1rem;
    border: 0; cursor: pointer; transition: all .2s; text-decoration: none;
}
.btn-primary { background: linear-gradient(135deg, var(--sunset-1), var(--sunset-2)); color: white; box-shadow: 0 8px 24px rgba(255,126,95,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,126,95,.45); color: white; }
.btn-aqua { background: linear-gradient(135deg, var(--aqua-1), var(--aqua-2)); color: white; box-shadow: 0 8px 24px rgba(0,180,216,.35); }
.btn-aqua:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,180,216,.45); color: white; }
.btn-ghost { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: white; backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.25); color: white; }
.btn-outline { background: transparent; border: 2px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--sunset-1); color: var(--sunset-1); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* Grid cards */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 50px; }
.feature {
    background: var(--paper); padding: 36px 28px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: all .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 16px; margin-bottom: 18px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--sunset-1), var(--sunset-3)); color: white;
}
.feature-icon.aqua { background: linear-gradient(135deg, var(--aqua-1), var(--aqua-2)); }
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--ink-soft); margin: 0; }

/* Menu */
.menu-hero { padding: 80px 0 30px; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.menu-hero-title { margin: 8px 0; }
.menu-categories-strip { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 30px 0 50px; }
.cat-pill {
    padding: 10px 22px; border-radius: 999px; background: var(--paper); color: var(--ink);
    border: 1px solid var(--line); font-weight: 500; cursor: pointer; transition: all .2s;
}
.cat-pill:hover { border-color: var(--sunset-1); color: var(--sunset-1); }
.cat-pill.active { background: linear-gradient(135deg, var(--sunset-1), var(--sunset-2)); color: white; border-color: transparent; }

/* Category card grid (sunsetpoolbodrum style) */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin: 30px 0 60px;
}
.cat-card {
    position: relative; aspect-ratio: 4/3;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-decoration: none; color: white;
    transition: transform .25s ease, box-shadow .25s ease;
    display: block;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(26,26,46,.18); color: white; }
.cat-card-img {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform .55s ease;
    background-color: #1a1a2e;
}
.cat-card:hover .cat-card-img { transform: scale(1.06); }
.cat-card-img--logo {
    background-size: 60% auto; background-repeat: no-repeat;
    background-color: #f5e8d8;
}
.cat-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(26,26,46,.05) 0%, rgba(26,26,46,.55) 60%, rgba(26,26,46,.85) 100%);
}
.cat-card-body {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 20px 22px;
    display: flex; flex-direction: column; gap: 6px;
}
.cat-card-tagline {
    font-size: .9rem; font-weight: 400; opacity: .92;
    color: rgba(255,255,255,.92);
    line-height: 1.35;
}
.cat-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; font-weight: 700; letter-spacing: .03em;
    color: white;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

/* Logo as menu item placeholder */
.menu-card-img--logo {
    background-color: #fff8f0;
    background-size: 70% auto !important;
    background-repeat: no-repeat;
    background-position: center;
    opacity: .85;
}

.menu-section { margin-bottom: 60px; }
.menu-section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--line); }
.menu-section-head h2 { margin: 0; }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; }
.menu-card {
    background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: all .25s; display: flex; flex-direction: column;
}
.menu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.menu-card-img {
    aspect-ratio: 16/10; background-size: cover; background-position: center;
    background-color: #f5e8d8;
}
.menu-card-img.placeholder {
    background: linear-gradient(135deg, var(--sunset-2), var(--aqua-2));
    display: grid; place-items: center; color: white; font-family: 'Playfair Display', serif; font-size: 1.4rem;
}
.menu-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.menu-card-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 8px; }
.menu-card h3 { font-size: 1.2rem; margin: 0; }
.menu-card .price { color: var(--sunset-1); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.menu-card .desc { color: var(--ink-soft); font-size: .92rem; flex: 1; margin: 0 0 14px; }
.menu-card .add-btn {
    margin-top: auto; background: linear-gradient(135deg, var(--aqua-1), var(--aqua-2)); color: white;
    border: 0; padding: 10px 16px; border-radius: 10px; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.menu-card .add-btn:hover { transform: translateY(-1px); }
.menu-card .unavailable { color: #9a9a9a; font-size: .85rem; padding: 8px 0; text-align: center; }

/* Forms */
.form-card {
    background: var(--paper); padding: 40px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); border: 1px solid var(--line); max-width: 640px; margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
    font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--cream);
    transition: all .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 0; border-color: var(--sunset-1); background: white; box-shadow: 0 0 0 3px rgba(255,126,95,.15);
}
.field textarea { min-height: 110px; resize: vertical; }

/* Cart */
.cart-summary {
    position: sticky; top: 88px; background: var(--paper); padding: 28px;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.cart-empty { text-align: center; color: var(--ink-soft); padding: 30px 10px; }
.cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line-img { width: 56px; height: 56px; border-radius: 10px; background-size: cover; background-position: center; flex-shrink: 0; background-color: #f5e8d8; }
.cart-line-body { flex: 1; min-width: 0; }
.cart-line-name { font-weight: 600; font-size: .95rem; }
.cart-line-price { color: var(--ink-soft); font-size: .85rem; }
.cart-qty { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.cart-qty button { width: 26px; height: 26px; border: 1px solid var(--line); background: white; border-radius: 6px; cursor: pointer; font-weight: 600; }
.cart-qty button:hover { border-color: var(--sunset-1); color: var(--sunset-1); }
.cart-total { display: flex; justify-content: space-between; padding: 16px 0; border-top: 2px solid var(--ink); margin-top: 14px; font-weight: 700; font-size: 1.15rem; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.85); padding: 60px 0 24px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: white; margin-bottom: 16px; font-family: 'Inter', sans-serif; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.footer ul { list-style: 0; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; list-style: none; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: var(--sunset-3); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.55); }

/* Flash */
.flash { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; }
.flash.success { background: rgba(0,191,166,.12); color: #00755a; border-left: 4px solid var(--aqua-1); }
.flash.error   { background: rgba(255,80,80,.1); color: #b3261e; border-left: 4px solid #e85a5a; }
.flash.info    { background: rgba(0,180,216,.12); color: var(--aqua-deep); border-left: 4px solid var(--aqua-2); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery-grid a { display: block; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center; transition: transform .3s; }
.gallery-grid a:hover { transform: scale(1.02); }

/* Language Switcher */
.lang-switch { position: relative; margin-left: 8px; }
[dir="rtl"] .lang-switch { margin-left: 0; margin-right: 8px; }
.lang-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.6);
    border: 1px solid var(--line); cursor: pointer; font-family: inherit; font-size: .92rem;
    color: var(--ink); font-weight: 500; transition: all .2s;
}
.lang-btn:hover { border-color: var(--sunset-1); color: var(--sunset-1); }
.lang-flag { font-size: 1.05rem; line-height: 1; }
.lang-code { font-weight: 600; letter-spacing: .04em; font-size: .82rem; }
.lang-menu {
    display: none; position: absolute; top: calc(100% + 6px); right: 0;
    min-width: 170px; background: var(--paper); border: 1px solid var(--line);
    border-radius: 12px; padding: 6px; box-shadow: var(--shadow); z-index: 60;
}
[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-switch.open .lang-menu { display: block; }
.lang-menu a {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px;
    color: var(--ink); font-size: .94rem; transition: background .15s;
}
.lang-menu a:hover { background: rgba(255,126,95,.1); color: var(--sunset-1); }
.lang-menu a.active { background: rgba(0,180,216,.1); color: var(--aqua-deep); font-weight: 600; }

/* Map */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); background: var(--paper); }
.map-wrap iframe { display: block; width: 100%; border: 0; }

/* RTL adjustments */
[dir="rtl"] .feature-icon, [dir="rtl"] .menu-card-img { /* no-op default ok */ }
[dir="rtl"] .menu-card-head { /* flex auto-mirrors */ }
[dir="rtl"] .nav-links a { letter-spacing: 0; }
[dir="rtl"] .hero h1, [dir="rtl"] .hero p { text-align: right; }
[dir="rtl"] body { font-family: 'Noto Naskh Arabic', 'Inter', system-ui, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: 'Noto Naskh Arabic', 'Playfair Display', Georgia, serif; }

/* Mobile */
@media (max-width: 880px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 16px; border-bottom: 1px solid var(--line); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .lang-switch { margin: 8px 0 0; align-self: flex-start; width: 100%; }
    .lang-menu { left: 0 !important; right: 0 !important; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 28px 22px; }
    .section { padding: 56px 0; }
    .hero { min-height: auto; padding: 50px 0; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}
