/* ----- Osaka Sushi Oran — main stylesheet ----- */

:root {
  --bg: #0e0e0e;
  --bg-2: #161616;
  --bg-3: #1f1d1c;
  --line: #2a2522;
  --cream: #f5efe0;
  --cream-soft: #d8d2c2;
  --muted: #8b857a;
  --red: #b22234;
  --red-bright: #d92e3f;
  --gold: #c9a961;
  --gold-soft: #a78946;
  --whatsapp: #25d366;
  --max: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[lang="ar"] body, body[dir="rtl"] {
  font-family: 'Cairo', 'Manrope', system-ui, sans-serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--cream);
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }

p { margin: 0 0 1em; color: var(--cream-soft); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.section { padding: clamp(64px, 10vw, 120px) 0; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 14px;
}

.muted { color: var(--muted); }

/* ===== Header ===== */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(14, 14, 14, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header.scrolled {
  background: rgba(14, 14, 14, 0.92);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--red);
  display: grid; place-items: center;
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 6px 22px rgba(178, 34, 52, 0.55);
}
.brand-name span { color: var(--gold); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
}
.nav a {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--cream-soft);
  position: relative;
  padding: 6px 2px;
  transition: color .25s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--cream); }
.nav a.active::after {
  content: ""; position: absolute;
  inset-inline: 0; bottom: -2px;
  height: 2px; background: var(--red);
  border-radius: 2px;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.lang-toggle button {
  padding: 8px 14px;
  color: var(--muted);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang-toggle button.active {
  background: var(--red);
  color: var(--cream);
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 880px) {
  .nav { display: none; position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; padding: 24px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); width: 100%; }
  .nav a:last-of-type { border-bottom: 0; }
  .menu-toggle { display: inline-flex; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: var(--cream);
  box-shadow: 0 14px 40px rgba(178, 34, 52, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(217, 46, 63, 0.55); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(245, 239, 224, 0.04);
}
.btn-ghost:hover { background: rgba(245, 239, 224, 0.08); border-color: var(--gold); }
.btn-gold {
  background: var(--gold);
  color: var(--bg);
}
.btn-gold:hover { background: var(--cream); transform: translateY(-2px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 76px;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/sushi-platter.jpg') center/cover no-repeat;
  z-index: -2;
  filter: saturate(1.1);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,14,0.55) 0%, rgba(14,14,14,0.35) 35%, rgba(14,14,14,0.95) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(178, 34, 52, 0.18) 0%, transparent 60%);
  z-index: -1;
}
.hero-inner {
  padding-bottom: clamp(60px, 9vw, 110px);
  padding-top: clamp(80px, 12vw, 120px);
  max-width: 760px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--cream-soft);
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  position: absolute;
  bottom: 30px;
  right: clamp(20px, 4vw, 60px);
  display: none;
  align-items: center;
  gap: 14px;
  color: var(--cream-soft);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (min-width: 900px) { .hero-meta { display: flex; } }

.hero-meta-bar {
  width: 60px; height: 1px; background: var(--gold);
}

/* ===== Sections (generic) ===== */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

/* ===== About strip ===== */
.about {
  background: var(--bg-2);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.about-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s var(--ease);
}
.about-image:hover img { transform: scale(1.05); }
.about-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14,14,14,0.5));
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ===== Specialties grid ===== */
.specialties { background: var(--bg); }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.spec-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.spec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.spec-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.spec-card:hover img { transform: scale(1.06); }
.spec-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(14,14,14,0.95) 95%);
}
.spec-card-body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 22px;
  z-index: 2;
}
.spec-card h3 { margin-bottom: 6px; }
.spec-card p { color: var(--cream-soft); font-size: 0.95rem; margin: 0; }

/* ===== Promise / Why-us ===== */
.promise {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.promise::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 169, 97, 0.06), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(178, 34, 52, 0.08), transparent 50%);
  pointer-events: none;
}
.promise .container { position: relative; }
.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 50px;
}
.promise-item {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 14, 14, 0.55);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.promise-item:hover { border-color: var(--gold-soft); transform: translateY(-4px); }
.promise-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(178, 34, 52, 0.15);
  color: var(--red-bright);
  margin-bottom: 22px;
}
.promise-icon svg { width: 24px; height: 24px; }

/* ===== Menu preview / pricing ===== */
.menu-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 800px) { .menu-block { grid-template-columns: 1fr; gap: 40px; } }

.menu-list { display: flex; flex-direction: column; gap: 22px; }
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.menu-item:last-child { border-bottom: 0; }
.menu-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--cream);
}
.menu-item-name small {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 400;
}
.menu-item-price {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  white-space: nowrap;
}

.menu-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.menu-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Gallery ===== */
.gallery {
  background: var(--bg);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  position: relative;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease), filter .3s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); filter: brightness(0.85); }
.gallery-item.tall { aspect-ratio: 1/1.4; }
@media (max-width: 700px) { .gallery-item.tall { aspect-ratio: 1/1; } }

/* ===== Testimonials placeholder ===== */
.quote-block {
  background: var(--bg-2);
  position: relative;
}
.quote-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 50px;
}
.quote-card {
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14,14,14,0.4), rgba(14,14,14,0.15));
}
.quote-card .stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.quote-card blockquote {
  margin: 0 0 22px;
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  color: var(--cream);
  line-height: 1.55;
}
.quote-card cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placeholder-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 169, 97, 0.15);
  color: var(--gold);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 12px;
}

/* ===== Contact / CTA strip ===== */
.cta-strip {
  background: linear-gradient(135deg, #18100f 0%, #2a0f12 100%);
  position: relative;
  isolation: isolate;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/nigiri-dark.jpg') center/cover no-repeat;
  opacity: 0.18;
  z-index: -1;
}
.cta-strip .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) { .cta-strip .container { grid-template-columns: 1fr; } }
.cta-strip h2 { margin: 0 0 18px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer {
  background: #0a0a0a;
  border-top: 1px solid var(--line);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer h4 { font-family: 'Manrope', sans-serif; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer p, .footer a, .footer li { color: var(--cream-soft); font-size: 0.92rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--cream); }

.socials { display: flex; gap: 12px; margin-top: 14px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ===== Floating WhatsApp ===== */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid; place-items: center;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45);
  z-index: 60;
  transition: transform .3s var(--ease);
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 30px; height: 30px; color: white; }
[dir="rtl"] .fab-whatsapp { right: auto; left: 24px; }

/* ===== Page header (interior pages) ===== */
.page-hero {
  padding: 160px 0 60px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--cream-soft); max-width: 680px; margin: 0 auto; }

/* ===== Menu page categories ===== */
.menu-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}
.menu-categories a {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--cream-soft);
  transition: all .25s var(--ease);
}
.menu-categories a:hover { border-color: var(--gold); color: var(--cream); }

.menu-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.menu-section:last-child { border-bottom: 0; }
.menu-section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 36px;
}
.menu-section-head h2 { margin: 0; }
.menu-section-head .line { flex: 1; height: 1px; background: var(--line); }
.menu-section-head em {
  font-style: normal;
  font-family: 'Manrope', sans-serif;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

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

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: rgba(255,255,255,0.02);
}
.contact-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.contact-card p { margin: 0 0 6px; }
.contact-card .big {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  color: var(--cream);
  margin-bottom: 18px;
  display: block;
}
.contact-block + .contact-block { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) brightness(0.95) saturate(0.6); }

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RTL adjustments ===== */
[dir="rtl"] .menu-section-head { flex-direction: row-reverse; }
[dir="rtl"] .nav a.active::after { inset-inline: 0; }
[dir="rtl"] .hero-inner { text-align: right; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
