/* ── Nile Crown Casino Hotel — Shared Styles ── */

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

:root {
  --sandstone:   #3D3429;
  --sandstone-2: #4A4034;
  --limestone:   #F5F0E8;
  --papyrus:     #E8DFD0;
  --papyrus-d:   #D4C9B8;
  --nile-deep:   #1A3340;
  --nile-twilight: #2A4A58;
  --nile-light:  #5B8FA8;
  --gold:        #C9A962;
  --gold-soft:   #D4BC82;
  --gold-d:      #A8893F;
  --obsidian:    #141210;
  --text:        #2C2620;
  --text-light:  #F5F0E8;
  --muted:       #7A7064;
  --border:      rgba(201, 169, 98, 0.22);
  --border-soft: rgba(61, 52, 41, 0.12);
  --shadow:      0 24px 64px rgba(26, 51, 64, 0.14);
  --shadow-soft: 0 8px 32px rgba(26, 51, 64, 0.08);
  --px: 20px;
  --section-y: 88px;
  --max-w: 1180px;
  --header-h: 72px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--limestone);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ── Top ribbon ── */
.top-ribbon {
  position: relative;
  z-index: 220;
  background: var(--sandstone);
  color: var(--papyrus);
  text-align: center;
  padding: 8px var(--px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.top-ribbon em { color: var(--gold-soft); font-style: normal; }
.top-ribbon span { opacity: 0.45; margin: 0 8px; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo-text {
  line-height: 1.15;
}

.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sandstone);
  letter-spacing: 0.04em;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-desk {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-desk a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}

.nav-desk a:hover,
.nav-desk a.active { color: var(--sandstone); }

.nav-desk a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: var(--sandstone);
}
.btn-gold:hover {
  background: var(--gold-d);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(245, 240, 232, 0.5);
}
.btn-outline:hover {
  background: rgba(245, 240, 232, 0.12);
  border-color: var(--text-light);
}

.btn-stone {
  background: var(--sandstone);
  color: var(--limestone);
}
.btn-stone:hover {
  background: var(--sandstone-2);
}

.header-cta { display: none; }

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 210;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sandstone);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  inset: 0;
  top: calc(var(--header-h) + 33px);
  background: rgba(61, 52, 41, 0.97);
  backdrop-filter: blur(12px);
  z-index: 190;
  padding: 32px var(--px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-drawer a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--papyrus);
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 169, 98, 0.15);
  transition: color var(--transition);
}
.nav-drawer a:hover { color: var(--gold-soft); }
.nav-drawer .btn { margin-top: 24px; align-self: flex-start; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 18, 16, 0.25) 0%, rgba(20, 18, 16, 0.15) 35%, rgba(26, 51, 64, 0.75) 100%),
    linear-gradient(90deg, rgba(20, 18, 16, 0.55) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px var(--px) 80px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  color: var(--text-light);
  max-width: 12ch;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(245, 240, 232, 0.85);
  max-width: 42ch;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Sections ── */
.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--sandstone);
  margin-bottom: 20px;
}

.section-lead {
  color: var(--muted);
  max-width: 56ch;
  font-size: 1.05rem;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-header.center .section-lead { margin: 0 auto; }

/* ── Split panel ── */
.split {
  display: grid;
  gap: 0;
  align-items: stretch;
}

.split-copy {
  background: var(--papyrus);
  padding: 48px var(--px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-copy p {
  color: var(--muted);
  margin-bottom: 16px;
}

.split-copy p:last-of-type { margin-bottom: 0; }

.split-image {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-image img { transform: scale(1.04); }

.card-body {
  padding: 28px 28px 32px;
}

.card-body h3 {
  font-size: 1.6rem;
  color: var(--sandstone);
  margin-bottom: 10px;
}

.card-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.amenity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.amenity-list li {
  font-size: 0.88rem;
  color: var(--sandstone);
  padding-left: 18px;
  position: relative;
}

.amenity-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── Image band ── */
.image-band {
  display: grid;
  gap: 4px;
}

.image-band-item {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.image-band-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.image-band-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px var(--px);
  background: linear-gradient(transparent, rgba(20, 18, 16, 0.8));
  color: var(--text-light);
}

.image-band-caption h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.image-band-caption p {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ── Dining block ── */
.dining-block {
  display: grid;
  gap: 40px;
  align-items: center;
}

.dining-image {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.dining-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.dining-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  pointer-events: none;
}

.dining-copy h3 {
  font-size: 2rem;
  color: var(--sandstone);
  margin-bottom: 16px;
}

.dining-copy p {
  color: var(--muted);
  margin-bottom: 14px;
}

.dining-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--papyrus);
  border-left: 3px solid var(--gold);
  font-size: 0.9rem;
  color: var(--sandstone);
}

/* ── Evening section ── */
.evening-section {
  background: var(--sandstone);
  color: var(--papyrus);
}

.evening-section .section-label { color: var(--gold-soft); }
.evening-section .section-title { color: var(--limestone); }
.evening-section .section-lead { color: rgba(232, 223, 208, 0.75); }

.evening-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.evening-image {
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.evening-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.evening-copy p {
  color: rgba(232, 223, 208, 0.8);
  margin-bottom: 16px;
}

.text-link {
  color: var(--gold-soft);
  font-weight: 600;
  border-bottom: 1px solid rgba(201, 169, 98, 0.4);
  transition: color var(--transition), border-color var(--transition);
}
.text-link:hover {
  color: var(--limestone);
  border-color: var(--limestone);
}

/* ── CTA band ── */
.cta-band {
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(201, 169, 98, 0.15) 0%, transparent 55%),
    linear-gradient(135deg, var(--papyrus) 0%, var(--papyrus-d) 100%);
  text-align: center;
  padding: 72px var(--px);
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--sandstone);
  margin-bottom: 16px;
}

.cta-band p {
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto 28px;
}

/* ── Footer ── */
.site-footer {
  background: var(--sandstone);
  color: var(--papyrus);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}

.footer-brand .logo-name { color: var(--limestone); }
.footer-brand .logo-sub { color: rgba(232, 223, 208, 0.5); }

.footer-tagline {
  margin-top: 16px;
  font-size: 0.92rem;
  color: rgba(232, 223, 208, 0.65);
  max-width: 28ch;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col li {
  font-size: 0.9rem;
  color: rgba(232, 223, 208, 0.7);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--limestone); }

.footer-base {
  padding: 24px var(--px);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(232, 223, 208, 0.45);
  letter-spacing: 0.04em;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero .hero-content {
  padding: 80px var(--px) 56px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  max-width: none;
}

/* ── Casino page theme ── */
.page-casino {
  background: var(--obsidian);
  color: var(--papyrus);
}

.page-casino .site-header {
  background: rgba(20, 18, 16, 0.94);
  border-bottom-color: rgba(201, 169, 98, 0.12);
}

.page-casino .logo-name { color: var(--limestone); }
.page-casino .logo-sub { color: rgba(232, 223, 208, 0.45); }
.page-casino .nav-desk a { color: rgba(232, 223, 208, 0.55); }
.page-casino .nav-desk a:hover,
.page-casino .nav-desk a.active { color: var(--limestone); }
.page-casino .burger span { background: var(--limestone); }

.page-casino .section-label { color: var(--gold-soft); }
.page-casino .section-title { color: var(--limestone); }
.page-casino .section-lead { color: rgba(232, 223, 208, 0.65); }

.casino-panel {
  background: rgba(61, 52, 41, 0.45);
  border: 1px solid rgba(201, 169, 98, 0.18);
  padding: 40px;
}

.casino-panel h3 {
  font-size: 1.5rem;
  color: var(--gold-soft);
  margin-bottom: 20px;
}

.casino-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.casino-panel li {
  font-size: 0.95rem;
  color: rgba(232, 223, 208, 0.75);
  padding-left: 20px;
  position: relative;
}

.casino-panel li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.policy-grid {
  display: grid;
  gap: 24px;
}

.policy-item {
  padding: 28px;
  background: rgba(61, 52, 41, 0.35);
  border: 1px solid rgba(201, 169, 98, 0.12);
}

.policy-item h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.policy-item p {
  font-size: 0.92rem;
  color: rgba(232, 223, 208, 0.7);
}

.casino-return {
  text-align: center;
  padding: 64px var(--px);
  border-top: 1px solid rgba(201, 169, 98, 0.12);
}

.casino-return p {
  color: rgba(232, 223, 208, 0.6);
  margin-bottom: 24px;
}

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

/* ── Contact page ── */
.page-contact .section { padding-top: 48px; }

.contact-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border-soft);
  padding: 40px 32px;
  box-shadow: var(--shadow-soft);
}

.contact-form-wrap h2 {
  font-size: 2rem;
  color: var(--sandstone);
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sandstone);
  margin-bottom: 8px;
}

.form-group label .optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--limestone);
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}

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

.form-row {
  display: grid;
  gap: 20px;
}

.form-error {
  display: none;
  font-size: 0.82rem;
  color: #9B3B3B;
  margin-top: 6px;
}

.form-group.invalid .form-error { display: block; }
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: #9B3B3B;
}

.form-success {
  display: none;
  padding: 20px 24px;
  background: rgba(91, 143, 168, 0.12);
  border-left: 3px solid var(--nile-light);
  color: var(--nile-deep);
  font-size: 0.95rem;
  margin-top: 20px;
}

.form-success.visible { display: block; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.detail-block {
  padding: 28px;
  background: var(--papyrus);
  border: 1px solid var(--border-soft);
}

.detail-block h3 {
  font-size: 1.3rem;
  color: var(--sandstone);
  margin-bottom: 16px;
}

.detail-block p,
.detail-block address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.7;
}

.detail-block a {
  color: var(--nile-twilight);
  font-weight: 600;
  transition: color var(--transition);
}
.detail-block a:hover { color: var(--gold-d); }

.guidance-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guidance-list li {
  font-size: 0.92rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.guidance-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover { transform: none; }
  .btn-gold:hover { transform: none; }
}

/* ── Responsive ── */
@media (min-width: 640px) {
  :root { --px: 32px; --section-y: 100px; }

  .form-row { grid-template-columns: 1fr 1fr; }
  .image-band { grid-template-columns: 1.2fr 1fr; }
  .policy-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .nav-desk { display: flex; }
  .header-cta { display: inline-flex; }
  .burger { display: none; }

  .split { grid-template-columns: 1fr 1.1fr; }
  .split.reverse { direction: rtl; }
  .split.reverse > * { direction: ltr; }

  .card-grid { grid-template-columns: 1fr 1fr; }
  .dining-block { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .evening-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .contact-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }

  .casino-experience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .hero-content { padding-bottom: 100px; }
}
