:root {
  --bg: #0e0c0a;
  --surface: #17120e;
  --surface-2: #1f1711;
  --text: #f6f2e9;
  --muted: #d8c8ab;
  --gold: #c9972f;
  --gold-2: #f2d18b;
  --logo-cyan: #4bc0e6;
  --logo-pink: #d35a86;
  --line: #392a1c;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Cairo", "Tajawal", sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 8, 6, 0.78);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--gold-2);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--gold-2);
}

.btn {
  border: 1px solid transparent;
  padding: 0.72rem 1.24rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-gold {
  background: linear-gradient(90deg, #b88623, var(--gold-2));
  color: #1f1408;
  box-shadow: 0 10px 24px rgba(201, 151, 47, 0.32);
}

.btn-gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-outline {
  border-color: rgba(212, 175, 55, 0.6);
  color: var(--gold-2);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold-2);
  background: rgba(212, 175, 55, 0.1);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 25% 18%, rgba(75, 192, 230, 0.18), transparent 32%),
    radial-gradient(circle at 68% 22%, rgba(211, 90, 134, 0.12), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(201, 151, 47, 0.26), transparent 35%),
    linear-gradient(118deg, #110d09 10%, #2a1e12 46%, #0e0c0a 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 12, 10, 0.96), rgba(14, 12, 10, 0.36));
}

.hero-content {
  position: relative;
  width: 100%;
  min-height: 64vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  isolation: isolate;
}

.hero-logo-watermark {
  position: absolute;
  top: 46%;
  left: 50%;
  width: min(540px, 86vw);
  transform: translate(-50%, -50%);
  opacity: 0.38;
  filter: saturate(1.28) contrast(1.06) drop-shadow(0 18px 34px rgba(0, 0, 0, 0.62));
  pointer-events: none;
  z-index: -1;
}

.hero-copy {
  max-width: 560px;
  text-align: right;
  padding: 1.2rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(7, 6, 5, 0.54), rgba(7, 6, 5, 0.2));
  border: 1px solid rgba(242, 209, 139, 0.14);
  backdrop-filter: blur(4px);
}

.kicker {
  color: var(--gold-2);
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.25;
  max-width: 920px;
}

.hero-title {
  font-family: "Tajawal", "Cairo", sans-serif;
  font-weight: 800;
  letter-spacing: 1.4px;
  background: linear-gradient(90deg, var(--logo-cyan), var(--gold-2), var(--logo-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  margin-inline: auto;
  text-shadow: 0 8px 26px rgba(201, 151, 47, 0.24);
}

.lead {
  width: min(820px, 100%);
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  justify-content: flex-start;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.milestone-bar {
  border-block: 1px solid rgba(212, 175, 55, 0.24);
  background: linear-gradient(180deg, rgba(201, 151, 47, 0.09), rgba(201, 151, 47, 0.03));
}

.milestones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 1.4rem 0;
}

.milestones article {
  text-align: center;
}

.milestones h3 {
  margin: 0;
  color: var(--gold-2);
  font-size: 1.5rem;
}

.milestones p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.section {
  padding: 5.2rem 0;
}

.section-dark {
  background: linear-gradient(180deg, #18120d 0%, #120e0a 100%);
  border-block: 1px solid rgba(212, 175, 55, 0.15);
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.title-icon {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(242, 209, 139, 0.55);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.7rem;
}

.section-head h2 {
  margin: 0;
  color: var(--gold-2);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-head p {
  color: var(--muted);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.story-section {
  background:
    radial-gradient(circle at 15% 10%, rgba(201, 151, 47, 0.14), transparent 30%),
    linear-gradient(180deg, #130f0b 0%, #0e0c0a 100%);
}

.eyebrow {
  color: var(--gold-2);
  letter-spacing: 1.3px;
  font-weight: 700;
  font-size: 0.9rem;
}

.story-text h2 {
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
  color: var(--text);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.story-text p {
  color: var(--muted);
  line-height: 1.8;
}

.story-panel {
  display: grid;
  gap: 0.7rem;
}

.story-card {
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 16px;
  background: var(--surface);
  padding: 1rem 1.1rem;
  color: var(--muted);
  transition: all 0.25s ease;
}

.story-card h3 {
  margin: 0 0 0.4rem;
  color: var(--gold-2);
}

.story-card.active {
  border-color: var(--gold-2);
  background: linear-gradient(180deg, rgba(201, 151, 47, 0.14), rgba(201, 151, 47, 0.04));
  transform: translateY(-2px);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.exp-card {
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 16px;
  padding: 1rem;
  background: var(--surface);
}

.exp-card h3 {
  margin-top: 0;
  color: var(--gold-2);
}

.exp-card p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: linear-gradient(180deg, rgba(201, 151, 47, 0.09), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card-media {
  margin: -0.45rem -0.45rem 0.9rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card h3 {
  margin-top: 0;
  color: var(--gold-2);
}

.card-subtitle {
  margin: -0.2rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card li:last-child {
  border-bottom: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.billiards-image {
  margin: 0 0 1rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: var(--shadow);
}

.billiards-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.price-card {
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 18px;
  padding: 1.4rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: var(--gold-2);
  box-shadow: 0 14px 26px rgba(212, 175, 55, 0.2);
}

.price {
  font-size: 1.5rem;
  color: var(--gold-2);
  margin: 0.8rem 0;
  font-weight: 800;
}

.price span {
  font-size: 0.9rem;
  color: var(--muted);
}

.reservation-wrap {
  max-width: 760px;
}

.reservation-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.reservation-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
}

.reservation-form input,
.reservation-form select {
  border: 1px solid var(--line);
  background: #120f0b;
  color: var(--text);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.reservation-form button,
.form-message {
  grid-column: 1 / -1;
}

.form-message {
  min-height: 1.4rem;
  margin: 0;
  color: var(--gold-2);
}

.qr-wrap {
  max-width: 760px;
}

.qr-box {
  display: grid;
  place-items: center;
  gap: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: linear-gradient(180deg, rgba(25, 20, 15, 0.95), rgba(15, 12, 9, 0.95));
  border-radius: 18px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.qr-url-config {
  width: min(600px, 100%);
  display: grid;
  gap: 0.45rem;
}

.qr-url-config label {
  color: var(--gold-2);
  font-weight: 700;
}

.qr-url-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.qr-url-row input {
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
}

.qr-status-message {
  margin: 0;
  min-height: 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

#qrImage {
  width: 240px;
  height: 240px;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.qr-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.qr-target-url {
  max-width: 100%;
  color: var(--gold-2);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
  text-align: center;
}

.quick-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.quick-links button {
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--muted);
  background: transparent;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
}

.quick-links button:hover {
  color: var(--gold-2);
}

.upload-box {
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 18px;
  padding: 1rem;
  background: var(--surface);
}

.upload-control {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  color: var(--gold-2);
  cursor: pointer;
}

.upload-control input {
  display: none;
}

.upload-hint {
  color: var(--muted);
  margin: 0.7rem 0 1rem;
}

.uploaded-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.uploaded-gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: #0b0907;
}

.uploaded-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.uploaded-gallery figcaption {
  padding: 0.55rem 0.7rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  color: var(--gold-2);
  margin-top: 0;
}

.contact-card a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  padding: 1.2rem 0;
  text-align: center;
  color: var(--muted);
  background: #0a0806;
}

@media (max-width: 900px) {
  .story-grid,
  .experience-grid,
  .milestones,
  .cards,
  .pricing-grid,
  .contact-grid,
  .uploaded-gallery {
    grid-template-columns: 1fr;
  }

  .nav {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
  }
}

@media (max-width: 640px) {
  .hero-content {
    justify-content: center;
    min-height: 72vh;
  }

  .hero-copy {
    text-align: center;
    padding: 1rem 0.8rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-logo-watermark {
    width: min(430px, 94vw);
    opacity: 0.3;
  }

  .qr-url-row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  .reservation-form {
    grid-template-columns: 1fr;
  }

  .site-header .btn {
    display: none;
  }
}
