:root {
  --ink: #08345c;
  --ink-2: #0f4a6d;
  --blue: #229fc0;
  --pool: #35bfd0;
  --sun: #f6ae2d;
  --orange: #ed7d31;
  --leaf: #2f8f69;
  --paper: #fffdf7;
  --soft: #eef8f7;
  --line: rgba(8, 52, 92, 0.14);
  --shadow: 0 20px 60px rgba(8, 52, 92, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
}

body.lang-ar {
  direction: rtl;
  font-family: Cairo, Inter, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 54px);
  background: rgba(255, 253, 247, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 116px;
  height: 54px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 700;
}

.desktop-nav a {
  padding: 10px 0;
}

.desktop-nav a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-toggle,
.icon-button,
.button,
.floating-whatsapp {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
}

.language-toggle {
  min-width: 88px;
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.icon-button {
  width: 44px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 999px;
}

.icon-button svg,
.button svg,
.feature-card svg,
.rate-notes svg,
.contact-panel svg,
.floating-whatsapp svg,
.gallery-tile svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.3;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  min-height: calc(100svh - 140px);
  padding: clamp(52px, 7vw, 92px) clamp(20px, 6vw, 84px);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(255, 253, 247, 0.97) 0%, rgba(238, 248, 247, 0.92) 48%, rgba(53, 191, 208, 0.16) 100%),
    linear-gradient(180deg, rgba(246, 174, 45, 0.16), rgba(255, 253, 247, 0));
}

.sunmark {
  position: absolute;
  top: 7%;
  right: 8%;
  width: 220px;
  aspect-ratio: 1;
  background: repeating-conic-gradient(from 0deg, rgba(246, 174, 45, 0.48) 0deg 5deg, transparent 5deg 11deg);
  border-radius: 50%;
  opacity: 0.6;
}

.tile-field {
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background-image:
    linear-gradient(135deg, rgba(34, 159, 192, 0.14) 25%, transparent 25%),
    linear-gradient(225deg, rgba(47, 143, 105, 0.13) 25%, transparent 25%);
  background-size: 44px 44px;
  background-position: 0 0, 22px 0;
  mask-image: linear-gradient(to top, #000, transparent);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.lang-ar .eyebrow {
  text-transform: none;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(4.2rem, 11vw, 8.6rem);
  line-height: 0.86;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.12rem, 2.2vw, 1.45rem);
  line-height: 1.55;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-width: 148px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #ffffff;
  background: var(--leaf);
  box-shadow: 0 16px 30px rgba(47, 143, 105, 0.22);
}

.button.secondary {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 16px 30px rgba(8, 52, 92, 0.18);
}

.button.ghost {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
}

.hero-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-photo > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-photo figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  font-weight: 900;
}

.hero-photo figcaption img {
  width: 70px;
  height: 38px;
  object-fit: contain;
  flex: 0 0 auto;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(16px, 4vw, 54px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  transform: translateY(-24px);
}

.quick-strip div {
  min-height: 94px;
  padding: 18px 22px;
  background: #ffffff;
}

.quick-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 700;
}

.quick-strip strong {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 900;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 84px);
}

.section-heading {
  max-width: 780px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.wide-copy {
  max-width: 980px;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
  font-weight: 600;
}

.intro-section {
  padding-top: 38px;
}

.experiences-section,
.gallery-section {
  background: var(--soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.feature-card,
.rate-card,
.menu-columns article,
.reservation-form,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(8, 52, 92, 0.08);
}

.feature-card {
  min-height: 214px;
  padding: 24px;
}

.feature-card svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
}

.feature-card h3,
.rate-card h3,
.menu-columns h3 {
  margin: 18px 0 10px;
  font-size: 1.25rem;
}

.feature-card p,
.rate-card p,
.menu-columns p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.6;
  font-weight: 600;
}

.rates-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.rate-card {
  padding: 26px;
}

.day-pass {
  background: linear-gradient(180deg, #ffffff 0%, #fff7e8 100%);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  color: var(--ink);
  background: rgba(246, 174, 45, 0.22);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.price-row span {
  color: var(--ink-2);
  font-weight: 800;
}

.price-row strong {
  font-size: 2rem;
  color: var(--ink);
}

.rate-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.rate-notes p {
  display: flex;
  gap: 10px;
  min-height: 70px;
  margin: 0;
  padding: 16px;
  color: var(--ink-2);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.45;
}

body.lang-ar .rate-notes p {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.rate-notes svg {
  flex: 0 0 auto;
  color: var(--leaf);
}

/* ── Menu Columns & Layout ── */
.menu-columns-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.menu-vertical-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.menu-category-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(8, 52, 92, 0.05);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.full-width-card {
  margin-top: 24px;
}

.menu-category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 1.4rem;
  color: var(--ink);
  border-bottom: 2px solid var(--soft);
  padding-bottom: 12px;
}

.menu-category-title svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
  stroke-width: 2.2;
}

.menu-category-subtitle {
  margin: -10px 0 16px;
  font-size: 0.9rem;
  color: var(--leaf);
  font-weight: 700;
}

.menu-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.menu-item-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.menu-item-price {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--leaf);
  white-space: nowrap;
}

.menu-item-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-2);
  opacity: 0.85;
  line-height: 1.4;
  font-weight: 400;
}

body.lang-ar .menu-item-desc {
  font-weight: 600;
}

/* Centering helpers */
.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.menu-page-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

@media (max-width: 768px) {
  .menu-columns-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .menu-vertical-column {
    gap: 16px;
  }
  .full-width-card {
    margin-top: 16px;
  }
}

.inline-action {
  width: fit-content;
  margin-top: 22px;
}

/* ── Gallery tabs ── */
.gallery-tabs {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 9px 22px;
  border: 2px solid var(--line);
  border-radius: 50px;
  background: transparent;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 180ms ease;
}

.gallery-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.gallery-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ── Gallery panels ── */
.gallery-panel {
  display: none;
  margin-top: 20px;
}

.gallery-panel.active {
  display: block;
}

/* ── Masonry grid ── */
.gallery-masonry {
  columns: 3;
  column-gap: 12px;
}

.gallery-tile {
  position: relative;
  margin: 0 0 12px;
  overflow: hidden;
  color: #ffffff;
  border-radius: 10px;
  background: var(--ink);
  box-shadow: 0 8px 28px rgba(8, 52, 92, 0.12);
  break-inside: avoid;
  cursor: zoom-in;
}

.gallery-tile img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 52, 92, 0.75));
  pointer-events: none;
}

.gallery-tile span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  font-size: 0.9rem;
  font-weight: 800;
  pointer-events: none;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 20, 40, 0.93);
  backdrop-filter: blur(10px);
  animation: lbIn 220ms ease;
}

.lightbox[hidden] {
  display: none;
}

@keyframes lbIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.lightbox p {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); font-size: 2rem; }


.visit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  margin-top: 32px;
}

.reservation-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.reservation-form label,
.reservation-form .full {
  min-width: 0;
}

.reservation-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 800;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  width: 100%;
  min-height: 48px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
}

.reservation-form textarea {
  resize: vertical;
}

.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(34, 159, 192, 0.16);
}

.full {
  grid-column: 1 / -1;
}

.contact-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
}

.contact-panel img {
  width: 210px;
  margin-bottom: 8px;
}

.contact-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--soft);
  border-radius: 8px;
  font-weight: 900;
}

body.lang-ar .contact-panel a {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 6vw, 84px);
  color: #ffffff;
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffffff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 56px;
  height: 56px;
  color: #ffffff;
  background: var(--leaf);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(47, 143, 105, 0.3);
}

body.lang-ar .floating-whatsapp {
  right: auto;
  left: 18px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero,
  .visit-layout,
  .rates-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  body.lang-ar .hero-photo figcaption {
    flex-direction: row-reverse;
  }

  .feature-grid,
  .rate-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-masonry {
    columns: 2;
  }
}


@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding-inline: 14px;
  }

  .brand img {
    width: 94px;
    height: 46px;
  }

  .language-toggle {
    min-width: 76px;
    padding-inline: 10px;
  }

  .hero {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .quick-strip,
  .feature-grid,
  .rate-notes,
  .gallery-masonry {
    columns: 1;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Menu CTA Card & Standalone Page ── */
.menu-cta-container {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.menu-cta-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(8, 52, 92, 0.05);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.menu-cta-copy {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink-2);
  line-height: 1.6;
  font-weight: 600;
}

.menu-page-main {
  padding: 80px clamp(20px, 6vw, 84px) 40px;
  background: var(--paper);
}

.menu-page-title {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  color: var(--ink);
  margin-top: 12px;
}

.menu-page-footer-actions {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* Header link adjustment */
.header-back-btn {
  height: 38px !important;
  min-height: auto !important;
  padding: 0 14px !important;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-back-btn svg {
  width: 16px !important;
  height: 16px !important;
}

.menu-page-header-logo {
  margin-bottom: 40px;
}

.menu-page-logo {
  max-width: clamp(140px, 20vw, 210px);
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}
