/* ═══════════════════════════════════════════════════════════
   تالار پذیرایی خوشه — Premium Design System
   RTL · Vazirmatn · Gold on Charcoal
═══════════════════════════════════════════════════════════ */

/* ── Fonts ────────────────────────────────────────────────── */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Variables ────────────────────────────────────────────── */
:root {
  --gold:           #D4AF37;
  --gold-light:     #e8c84e;
  --gold-dim:       rgba(212,175,55,.6);
  --gold-border:    rgba(212,175,55,.28);
  --gold-bg:        rgba(212,175,55,.07);
  --bg:             #121212;
  --bg-card:        #1a1a1a;
  --bg-section:     #161616;
  --nav-bg:         rgba(15,15,15,.93);
  --cream:          #f0e6cc;
  --cream-dim:      #c4b896;
  --text-muted:     #7a7060;
  --font:           'Vazirmatn', Tahoma, sans-serif;
  --shadow-gold:    0 4px 28px rgba(212,175,55,.13);
  --shadow-gold-lg: 0 8px 48px rgba(212,175,55,.22);
  --section-v:      80px;
  --nav-h:          72px;
  --radius-sm:      2px;
  --transition:     .3s cubic-bezier(.4,0,.2,1);

  /* Type scale */
  --h1: clamp(30px, 5vw, 52px);
  --h2: clamp(24px, 3.5vw, 34px);
  --h3: clamp(18px, 2vw, 22px);
  --body: 16px;
  --sm:  14px;
  --xs:  13px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: var(--body);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.9;
  direction: rtl;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── Utility ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 60px);
}

.gold     { color: var(--gold); }
.cream    { color: var(--cream); }
.text-sm  { font-size: var(--sm); }
.text-xs  { font-size: var(--xs); }
.fw-500   { font-weight: 500; }
.fw-700   { font-weight: 700; }
.text-center { text-align: center; }

.section-label {
  font-size: var(--xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-label::before { content: '— '; }
.section-label::after  { content: ' —'; }

/* ── Gold ornamental divider ─────────────────────────────── */
.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-block: 20px;
}
.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to var(--ornament-dir, left), transparent, var(--gold));
}
.ornament::after {
  --ornament-dir: right;
}
.ornament-diamond {
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Section ornament (small gold rule above heading) */
.ornament-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 20px;
}
.ornament-rule.centered { margin-inline: auto; }

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--gold-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition), border-color var(--transition);
}
.site-nav.scrolled {
  background: rgba(10,10,10,.97);
  border-bottom-color: var(--gold-dim);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  font-size: 20px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .02em;
  flex-shrink: 0;
}
.nav-brand span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--cream-dim);
  letter-spacing: .15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: var(--sm);
  font-weight: 500;
  color: var(--cream-dim);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: var(--sm);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--gold);
  color: #121212;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  color: var(--cream);
}

/* Mobile nav overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,10,10,.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 22px;
  font-weight: 500;
  color: var(--cream);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--cream-dim);
  padding: 8px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,12,12,.35) 0%,
    rgba(12,12,12,.55) 50%,
    rgba(12,12,12,.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-inline: 24px;
}

.hero-subtitle-top {
  font-size: var(--sm);
  letter-spacing: .18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 500;
  opacity: .85;
}

.hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-ornament-line {
  height: 1px;
  width: 80px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.hero-ornament-line.flip {
  background: linear-gradient(to left, transparent, var(--gold));
}
.hero-ornament-diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero h1 {
  font-size: var(--h1);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 20px;
  letter-spacing: .02em;
}

.hero-sub {
  font-size: 18px;
  color: var(--cream-dim);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212,175,55,.4);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.hero-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font);
  font-size: var(--body);
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: #111;
}
.btn-gold:hover {
  background: var(--gold-light);
  color: #0a0a0a;
  box-shadow: 0 6px 32px rgba(212,175,55,.35);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: #111;
  box-shadow: 0 6px 32px rgba(212,175,55,.3);
  transform: translateY(-2px);
}

.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(240,230,204,.4);
}
.btn-outline-cream:hover {
  border-color: var(--cream);
  background: rgba(240,230,204,.08);
}

/* ── Section base ─────────────────────────────────────────── */
section {
  padding-block: var(--section-v);
}

.section-header {
  margin-bottom: 56px;
}
.section-header .ornament-rule { margin-bottom: 16px; }
.section-header h2 { font-size: var(--h2); font-weight: 500; margin-bottom: 14px; }
.section-header p { color: var(--cream-dim); max-width: 540px; line-height: 2; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin-inline: auto; }
.section-header.centered .ornament-rule { margin-inline: auto; }

/* ── Welcome / About Section ──────────────────────────────── */
.welcome-section {
  background: var(--bg);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 72px;
  align-items: center;
}

.welcome-photo {
  position: relative;
}
.welcome-photo-frame {
  position: relative;
  overflow: hidden;
}
.welcome-photo-frame::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold-border);
  z-index: 1;
  pointer-events: none;
}
.welcome-photo-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  filter: brightness(.92);
  transition: filter var(--transition), transform .8s ease;
}
.welcome-photo-frame:hover img {
  filter: brightness(1);
  transform: scale(1.03);
}
.welcome-photo-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold);
  color: #111;
  padding: 20px 24px;
  font-weight: 700;
  text-align: center;
  z-index: 2;
  box-shadow: var(--shadow-gold-lg);
}
.welcome-photo-badge .number {
  font-size: 32px;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.welcome-photo-badge .label {
  font-size: 12px;
  font-weight: 500;
}

.welcome-text .ornament-rule { margin-bottom: 14px; }
.welcome-text h2 {
  font-size: var(--h2);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.5;
}
.welcome-text p {
  color: var(--cream-dim);
  line-height: 2;
  margin-bottom: 20px;
}

.welcome-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 36px;
}
.welcome-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--sm);
  color: var(--cream-dim);
}
.welcome-feature svg { color: var(--gold); flex-shrink: 0; }

/* ── Gallery Section ──────────────────────────────────────── */
.gallery-section {
  background: var(--bg-section);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold-border);
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease, filter .5s ease;
  filter: brightness(.85);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(212,175,55,.0);
  border: 2px solid transparent;
  transition: all var(--transition);
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1);
}
.gallery-item:hover::after {
  background: rgba(212,175,55,.06);
  border-color: var(--gold);
  box-shadow: inset 0 0 32px rgba(212,175,55,.12);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay svg { color: var(--gold); filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }

/* ── Stats Strip ──────────────────────────────────────────── */
.stats-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding-block: 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-color: var(--gold-border);
}
.stat-item {
  padding: 40px 24px;
  text-align: center;
  border-inline-end: 1px solid var(--gold-border);
}
.stat-item:first-child { border-inline-end: none; }
.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: var(--xs);
  color: var(--cream-dim);
  font-weight: 500;
}

/* ── Menu Preview ─────────────────────────────────────────── */
.menu-section {
  background: var(--bg);
}

.menu-scroll-wrap {
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-border) transparent;
}
.menu-scroll-wrap::-webkit-scrollbar { height: 4px; }
.menu-scroll-wrap::-webkit-scrollbar-track { background: transparent; }
.menu-scroll-wrap::-webkit-scrollbar-thumb { background: var(--gold-border); border-radius: 2px; }

.menu-row {
  display: flex;
  gap: 20px;
  min-width: max-content;
}

.menu-card {
  width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  flex-shrink: 0;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.menu-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold-lg);
  transform: translateY(-4px);
}

.menu-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  filter: brightness(.88);
  transition: filter var(--transition);
}
.menu-card:hover .menu-card-img { filter: brightness(1); }

.menu-card-body {
  padding: 20px;
}
.menu-cat {
  font-size: var(--xs);
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.menu-cat::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.menu-card-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 12px;
  line-height: 1.5;
}
.menu-card-price {
  font-size: var(--body);
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-card-price .unit {
  font-size: var(--xs);
  font-weight: 400;
  color: var(--text-muted);
}

.menu-footer {
  margin-top: 48px;
  text-align: center;
}

/* ── Reservation CTA ──────────────────────────────────────── */
.reservation-cta {
  position: relative;
  background: var(--bg-section);
  overflow: hidden;
  padding-block: var(--section-v);
}

.reservation-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(212,175,55,.04) 20px,
      rgba(212,175,55,.04) 21px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(212,175,55,.04) 20px,
      rgba(212,175,55,.04) 21px
    );
  pointer-events: none;
}

.reservation-cta .container { position: relative; z-index: 1; text-align: center; }

.cta-title {
  font-size: var(--h2);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 16px;
}
.cta-sub {
  color: var(--cream-dim);
  margin-bottom: 40px;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 40px;
}
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-section {
  background: var(--bg-card);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-section);
  border: 1px solid var(--gold-border);
  padding: 32px;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-gold);
}

.testimonial-quote {
  font-size: 48px;
  line-height: 1;
  color: var(--gold);
  opacity: .3;
  font-family: Georgia, serif;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--cream-dim);
  line-height: 2;
  font-size: 15px;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 500;
  font-size: var(--sm);
  color: var(--cream);
}
.testimonial-event {
  font-size: var(--xs);
  color: var(--text-muted);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 2px;
}

/* ── Services / Features ──────────────────────────────────── */
.services-section {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}
.service-card:hover {
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-gold-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 20px;
  color: var(--gold);
  transition: background var(--transition), border-color var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gold-bg);
  border-color: var(--gold);
}
.service-card h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 10px;
}
.service-card p {
  font-size: var(--sm);
  color: var(--cream-dim);
  line-height: 1.9;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: #0d0d0d;
  border-top: 1px solid var(--gold-border);
  padding-top: 72px;
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--gold-border);
}

.footer-brand-name {
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 6px;
}
.footer-brand-sub {
  font-size: var(--xs);
  color: var(--text-muted);
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.footer-desc {
  font-size: var(--sm);
  color: var(--cream-dim);
  line-height: 2;
  margin-bottom: 28px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--sm);
  color: var(--cream-dim);
  margin-bottom: 14px;
  line-height: 1.7;
}
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-col-title {
  font-size: var(--body);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold-border);
}

.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: var(--sm);
  color: var(--cream-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition), gap var(--transition);
}
.footer-links a::before {
  content: '';
  width: 8px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  transition: width var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
  gap: 12px;
}
.footer-links a:hover::before { width: 14px; }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-dim);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: var(--xs);
  color: var(--text-muted);
}
.footer-bottom a { color: var(--gold); }

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.4);
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: var(--h2);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 12px;
}
.page-hero p { color: var(--cream-dim); font-size: var(--sm); }

/* ── Forms ────────────────────────────────────────────────── */
.form-section {
  background: var(--bg);
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 48px;
  max-width: 680px;
  margin-inline: auto;
}

.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-size: var(--sm);
  font-weight: 500;
  color: var(--cream-dim);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: var(--bg-section);
  border: 1px solid var(--gold-border);
  color: var(--cream);
  font-family: var(--font);
  font-size: var(--body);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  direction: rtl;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.12);
}
.form-control::placeholder { color: var(--text-muted); }

textarea.form-control { min-height: 120px; resize: vertical; }

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D4AF37' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: var(--sm);
  margin-bottom: 20px;
}
.alert-success {
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  color: #86efac;
}
.alert-error {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  color: #fca5a5;
}

/* ── Admin pages ──────────────────────────────────────────── */
.admin-wrap {
  min-height: 100vh;
  background: var(--bg);
  padding-top: 80px;
}
.admin-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}
.admin-sub { font-size: var(--sm); color: var(--text-muted); margin-bottom: 32px; }

.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--sm);
}
.data-table th {
  background: var(--bg-card);
  color: var(--gold);
  font-weight: 600;
  padding: 14px 16px;
  text-align: right;
  border-bottom: 1px solid var(--gold-border);
  white-space: nowrap;
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--cream-dim);
  vertical-align: middle;
}
.data-table tr:hover td { background: rgba(212,175,55,.03); }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.badge-pending  { background: rgba(234,179,8,.15); color: #fcd34d; }
.badge-confirmed{ background: rgba(34,197,94,.15); color: #86efac; }
.badge-cancelled{ background: rgba(239,68,68,.15); color: #fca5a5; }
.badge-new      { background: rgba(59,130,246,.15); color: #93c5fd; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-v: 56px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .welcome-grid > *:first-child { order: 2; }

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

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item { border-inline-end: none; border-bottom: 1px solid var(--gold-border); }
  .stat-item:nth-child(2n) { border-inline-start: 1px solid var(--gold-border); }

  .testimonials-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }

  .form-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  :root { --section-v: 48px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .welcome-features { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(26px, 7vw, 38px); }
}

@media (max-width: 390px) {
  .container { padding-inline: 16px; }
  .menu-card { width: 220px; }
}

/* ── Nav cart + account icons ─────────────────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-dim);
  padding: 8px;
  transition: color var(--transition);
}
.nav-cart:hover { color: var(--gold); }

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold);
  color: #111;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 3px;
  line-height: 1;
}

.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-dim);
  padding: 8px;
  transition: color var(--transition);
  flex-shrink: 0;
}
.nav-icon-btn:hover { color: var(--gold); }

/* ── Shop product grid ────────────────────────────────────── */
.shop-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 22px;
  font-family: var(--font);
  font-size: var(--sm);
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  color: var(--cream-dim);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold-lg);
  transform: translateY(-4px);
}

.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}
.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter var(--transition);
  filter: brightness(.85);
}
.product-card:hover .product-card-img-wrap img {
  transform: scale(1.06);
  filter: brightness(1);
}
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(212,175,55,.0);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card:hover .product-card-overlay {
  background: rgba(212,175,55,.07);
}

.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat {
  font-size: var(--xs);
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-cat::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--gold);
}
.product-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 12px;
  line-height: 1.5;
  flex: 1;
}
.product-price {
  font-size: var(--body);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}
.product-price .unit {
  font-size: var(--xs);
  font-weight: 400;
  color: var(--text-muted);
  margin-right: 4px;
}
.product-card-actions {
  display: flex;
  gap: 10px;
}
.product-card-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 10px 16px;
  font-size: var(--sm);
}

/* ── Product detail ───────────────────────────────────────── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.product-gallery-main {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold-border);
  aspect-ratio: 1;
}
.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.product-gallery-main:hover img { transform: scale(1.04); }

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.product-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--gold-border);
  cursor: pointer;
  transition: border-color var(--transition);
}
.product-thumb.active { border-color: var(--gold); }
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.75);
  transition: filter var(--transition);
}
.product-thumb:hover img,
.product-thumb.active img { filter: brightness(1); }

.product-info {}
.product-info .product-cat { margin-bottom: 12px; }
.product-info h1 {
  font-size: var(--h2);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.4;
}
.product-info-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 28px;
}
.product-info-price .unit { font-size: var(--sm); font-weight: 400; color: var(--text-muted); }

.product-desc {
  color: var(--cream-dim);
  font-size: var(--sm);
  line-height: 2;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gold-border);
}

.size-label {
  font-size: var(--sm);
  font-weight: 500;
  color: var(--cream-dim);
  margin-bottom: 12px;
  display: block;
}
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.size-opt {
  position: relative;
}
.size-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.size-opt label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  cursor: pointer;
  transition: all var(--transition);
  font-size: var(--sm);
  color: var(--cream-dim);
  min-width: 120px;
  text-align: center;
  gap: 4px;
}
.size-opt label .size-price {
  font-size: var(--xs);
  color: var(--gold);
  font-weight: 700;
}
.size-opt input:checked + label {
  border-color: var(--gold);
  background: var(--gold-bg);
  color: var(--cream);
}
.size-opt label:hover {
  border-color: var(--gold-dim);
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.qty-label {
  font-size: var(--sm);
  font-weight: 500;
  color: var(--cream-dim);
  white-space: nowrap;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--gold-border);
  background: var(--bg-card);
}
.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 20px;
  transition: background var(--transition);
  flex-shrink: 0;
}
.qty-btn:hover { background: var(--gold-bg); }
.qty-input {
  width: 60px;
  text-align: center;
  background: none;
  border: none;
  border-inline: 1px solid var(--gold-border);
  color: var(--cream);
  font-family: var(--font);
  font-size: var(--body);
  font-weight: 700;
  padding: 8px;
  outline: none;
}

.add-to-cart-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: var(--body);
  margin-bottom: 12px;
}

/* ── Cart page ────────────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th {
  font-size: var(--xs);
  font-weight: 700;
  color: var(--gold);
  text-align: right;
  padding: 14px 16px;
  border-bottom: 1px solid var(--gold-border);
  background: var(--bg-card);
  white-space: nowrap;
}
.cart-table td {
  padding: 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  vertical-align: middle;
  color: var(--cream-dim);
  font-size: var(--sm);
}
.cart-item-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--gold-border);
  flex-shrink: 0;
}
.cart-item-name {
  font-size: var(--body);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 4px;
}
.cart-item-size {
  font-size: var(--xs);
  color: var(--text-muted);
}
.cart-remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  transition: color var(--transition);
}
.cart-remove-btn:hover { color: #ef4444; }

.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 32px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.cart-summary-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gold-border);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--sm);
  color: var(--cream-dim);
  margin-bottom: 14px;
}
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: var(--body);
  font-weight: 700;
  color: var(--cream);
  padding-top: 16px;
  border-top: 1px solid var(--gold-border);
  margin-top: 8px;
  margin-bottom: 24px;
}
.cart-summary-total .amount { color: var(--gold); }

/* ── Checkout ─────────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

/* ── Order confirmation ───────────────────────────────────── */
.order-confirm-box {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  padding: 64px 40px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
}
.confirm-icon {
  width: 72px;
  height: 72px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 28px;
  color: var(--gold);
}
.order-id-chip {
  display: inline-block;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-weight: 700;
  font-size: var(--body);
  padding: 8px 24px;
  margin: 20px 0;
}

/* ── Account / Auth pages ─────────────────────────────────── */
.auth-card {
  max-width: 460px;
  margin-inline: auto;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 48px 40px;
}

.account-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.account-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 32px 24px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.account-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold-border);
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 32px;
  font-weight: 700;
  margin-inline: auto;
  margin-bottom: 16px;
}

.account-name {
  text-align: center;
  font-size: var(--body);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 4px;
}

.account-email {
  text-align: center;
  font-size: var(--xs);
  color: var(--text-muted);
  margin-bottom: 28px;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.account-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: var(--sm);
  color: var(--cream-dim);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.account-nav a:hover,
.account-nav a.active {
  background: var(--gold-bg);
  color: var(--gold);
}

.order-history-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 28px;
  margin-bottom: 16px;
  transition: border-color var(--transition);
}
.order-history-card:hover { border-color: var(--gold-dim); }
.order-history-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.order-id {
  font-size: var(--xs);
  color: var(--text-muted);
  margin-bottom: 4px;
}
.order-total {
  font-size: var(--body);
  font-weight: 700;
  color: var(--gold);
}
.order-items-list {
  font-size: var(--xs);
  color: var(--cream-dim);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── 404 page ─────────────────────────────────────────────── */
.not-found-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  margin-top: var(--nav-h);
}
.not-found-code {
  font-size: clamp(80px, 16vw, 140px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  opacity: .85;
}

/* ── Responsive for new pages ─────────────────────────────── */
@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .product-detail-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .nav-actions { gap: 4px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-layout > *:last-child { order: -1; }
  .account-grid { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .auth-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .shop-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-card-actions { flex-direction: column; }
}

/* ivos-cr379: menu poster gallery (customer's sent menus, no prices) */
.menu-poster-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:22px;max-width:1120px;margin:0 auto;padding:0 16px}
.menu-poster-grid a{display:block;border-radius:14px;overflow:hidden;box-shadow:0 6px 24px rgba(0,0,0,.12);transition:transform .25s,box-shadow .25s;background:#fff}
.menu-poster-grid a:hover{transform:translateY(-4px);box-shadow:0 12px 34px rgba(0,0,0,.18)}
.menu-poster-grid img{width:100%;height:auto;display:block}
