/* ============================================
   خلية عزيز — Landing Page
   Brand: deep maroon + warm cream
============================================ */

:root {
  --maroon: #7a1f26;
  --maroon-dark: #5b1219;
  --maroon-light: #a13a42;
  --cream: #f4ede1;
  --cream-dark: #e8ddc9;
  --ink: #2b1a1a;
  --ink-soft: #6b5757;
  --gold: #c9a961;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(43, 26, 26, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 26, 26, 0.08);
  --shadow-lg: 0 16px 48px rgba(43, 26, 26, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --max-w: 1200px;
  --space: clamp(1rem, 2vw, 1.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[lang="en"] body {
  font-family: 'Inter', 'Tajawal', system-ui, sans-serif;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  transition: all .25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--maroon);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(122, 31, 38, 0.25);
}
.btn-primary:hover {
  background: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(122, 31, 38, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
}
.btn-ghost:hover {
  background: var(--maroon);
  color: var(--white);
}

/* ============ Top Bar ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 237, 225, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(122, 31, 38, 0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--maroon);
}
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
}
.brand-name { white-space: nowrap; }

.nav {
  display: flex;
  gap: 2rem;
  font-weight: 500;
  font-size: .95rem;
}
.nav a {
  position: relative;
  color: var(--ink);
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--maroon);
  transform: scaleX(0);
  transition: transform .3s ease;
  transform-origin: right;
}
html[dir="ltr"] .nav a::after { transform-origin: left; }
.nav a:hover { color: var(--maroon); }
.nav a:hover::after { transform: scaleX(1); }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.lang-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--maroon);
  color: var(--maroon);
  font-weight: 700;
  font-size: .85rem;
  font-family: 'Inter', sans-serif;
  transition: all .25s ease;
}
.lang-toggle:hover {
  background: var(--maroon);
  color: var(--white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
  transition: all .25s ease;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 3rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(122, 31, 38, 0.05), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(201, 169, 97, 0.08), transparent 50%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 4rem;
  align-items: center;
}
.hero-text {
  animation: slideInRight .8s cubic-bezier(.2,.8,.2,1) both;
}
html[dir="ltr"] .hero-text { animation-name: slideInLeft; }

.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--maroon);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: normal;
  color: var(--maroon);
  display: block;
  font-family: 'Cormorant Garamond', 'Tajawal', serif;
  font-weight: 600;
  font-size: 1.15em;
}
html[lang="ar"] .hero-title em {
  font-family: 'Tajawal', serif;
  font-weight: 900;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 2.2rem;
  max-width: 540px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  animation: floatIn 1s cubic-bezier(.2,.8,.2,1) .2s both;
}
.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  background: linear-gradient(135deg, #3a2418, #1a0f0a);
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, var(--maroon), transparent 60%);
  border-radius: var(--radius-lg);
  opacity: .15;
  z-index: -1;
  filter: blur(40px);
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--maroon);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-down span {
  width: 4px;
  height: 8px;
  background: var(--maroon);
  border-radius: 2px;
  animation: scrollBounce 1.6s infinite;
}

/* ============ Sections ============ */
section {
  padding: 6rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--maroon);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ============ About ============ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
}
.about-text > p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature {
  background: var(--white);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: .5rem;
}
.feature h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: .25rem;
}
.feature p {
  font-size: .85rem;
  color: var(--ink-soft);
}

/* ============ Menu ============ */
.menu {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.menu-block {
  margin-bottom: 3rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.menu-block-head {
  border-bottom: 2px solid var(--cream-dark);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.menu-block-head h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--maroon);
  margin-bottom: .25rem;
}
.menu-block-head .cal {
  font-size: .85rem;
  color: var(--ink-soft);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem 2rem;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px dashed rgba(122, 31, 38, 0.12);
  transition: background .2s ease;
}
.menu-item:hover {
  background: rgba(244, 237, 225, 0.4);
  padding-right: .5rem;
  padding-left: .5rem;
}
.item-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.item-name small {
  font-size: .75rem;
  color: var(--ink-soft);
  font-weight: 400;
}
.item-prices {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}
.size {
  background: var(--cream);
  color: var(--maroon);
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}

.menu-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ============ Gallery ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
  background: var(--cream-dark);
  transition: transform .35s ease, box-shadow .35s ease;
}
.gallery-item.span-2 {
  grid-column: span 2;
  aspect-ratio: 2;
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ============ Visit ============ */
.visit {
  background: var(--white);
}
.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.info-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.5rem;
  margin-bottom: 1.75rem;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(122, 31, 38, 0.1);
  gap: 1rem;
}
.info-row:last-child { border-bottom: none; }
.info-row strong {
  color: var(--maroon);
  font-weight: 700;
}
.info-row a:hover { color: var(--maroon); }

.socials {
  display: flex;
  gap: .75rem;
}
.socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}
.socials a:hover {
  background: var(--maroon);
  color: var(--white);
  transform: translateY(-3px);
}

.visit-map {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-link {
  position: absolute;
  bottom: 1rem;
  inset-inline-start: 1rem;
  background: var(--white);
  color: var(--maroon);
  padding: .55rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  box-shadow: var(--shadow-md);
  transition: all .25s ease;
}
.map-link:hover {
  background: var(--maroon);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============ Footer ============ */
.footer {
  background: var(--maroon-dark);
  color: var(--cream);
  padding-top: 4rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: var(--cream);
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: rgba(244, 237, 225, 0.7);
  font-size: .95rem;
  max-width: 280px;
}
.footer-col h4 {
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col a, .footer-col span {
  display: block;
  color: rgba(244, 237, 225, 0.7);
  font-size: .9rem;
  margin-bottom: .6rem;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--cream); }

.copyright {
  border-top: 1px solid rgba(244, 237, 225, 0.12);
  padding: 1.5rem 0;
  text-align: center;
  font-size: .85rem;
  color: rgba(244, 237, 225, 0.6);
}

/* ============ Floating WhatsApp ============ */
.float-wa {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-start: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 99;
  animation: pulseWa 2s infinite;
}
.float-wa:hover {
  transform: scale(1.1);
  animation: none;
}

/* ============ Animations ============ */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(40px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: .3; }
}
@keyframes pulseWa {
  0%,100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 18px rgba(37, 211, 102, 0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Policy pages ============ */
.policy-page {
  padding: 6rem 0 4rem;
  background: var(--cream);
  min-height: 70vh;
}
.policy-page .container { max-width: 820px; }
.policy-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--maroon);
  margin-bottom: 1rem;
}
.policy-page .updated {
  color: var(--ink-soft);
  font-size: .9rem;
  margin-bottom: 2.5rem;
}
.policy-page h2 {
  font-size: 1.4rem;
  color: var(--maroon-dark);
  margin: 2rem 0 .75rem;
}
.policy-page p, .policy-page li {
  color: var(--ink);
  line-height: 1.85;
  margin-bottom: .75rem;
}
.policy-page ul { padding-inline-start: 1.5rem; margin-bottom: 1rem; }
.policy-page a { color: var(--maroon); text-decoration: underline; }
.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--maroon);
  font-weight: 600;
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero { min-height: auto; padding: 3rem 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-image { max-width: 480px; margin: 0 auto; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { max-width: 540px; }
  .visit-inner { grid-template-columns: 1fr; gap: 2rem; }
  .visit-map { height: 360px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.span-2 { grid-column: span 2; aspect-ratio: 2; }
  .features { grid-template-columns: 1fr; }
  section { padding: 4rem 0; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: var(--cream);
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid rgba(122, 31, 38, 0.08);
  }
  .brand-name { font-size: .95rem; }
  .topbar-actions .btn span { display: none; }
  .topbar-actions .btn { padding: .75rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .menu-block { padding: 1.25rem; }
  .menu-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .info-row { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item.span-2 { aspect-ratio: 4/3; grid-column: auto; }
  .float-wa { width: 50px; height: 50px; bottom: 1rem; inset-inline-start: 1rem; }
  .float-wa svg { width: 24px; height: 24px; }
}
