/* ===== Achelias Luxury Hotel & Casino — sales site ===== */
:root {
  --navy: #0c1a2a;
  --navy-2: #12253a;
  --gold: #c9a35c;
  --gold-light: #e0c088;
  --ink: #1b2733;
  --muted: #5c6b7a;
  --line: #e3e8ee;
  --bg: #ffffff;
  --tint: #f5f7f9;
  --serif: 'Playfair Display', 'Cairo', 'Heebo', serif;
  --sans: 'Inter', 'Cairo', 'Heebo', system-ui, sans-serif;
}

html[lang="ar"] { --serif: 'Cairo', serif; --sans: 'Cairo', sans-serif; }
html[lang="he"] { --serif: 'Heebo', serif; --sans: 'Heebo', sans-serif; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }

.container { max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.center { text-align: center; }
.section { padding-block: 96px; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #e9eef4; }
.section-dark h2 { color: #fff; }
.section-sub { max-width: 640px; margin-inline: auto; color: var(--muted); margin-bottom: 2.5rem; }
.section-dark .section-sub { color: #a9b8c6; }

.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: .9rem;
}
.eyebrow.center { text-align: center; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  transition: background .3s, box-shadow .3s;
  background: linear-gradient(rgba(12,26,42,.75), transparent);
}
.site-header.scrolled { background: rgba(12,26,42,.97); box-shadow: 0 2px 18px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  width: 42px; height: 42px; border: 1.5px solid var(--gold); color: var(--gold);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { letter-spacing: .18em; font-size: .95rem; }
.brand-text small { font-size: .68rem; color: #b9c5d1; letter-spacing: .06em; }
.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav a { color: #dfe7ef; font-size: .88rem; font-weight: 500; transition: color .2s; }
.main-nav a:hover { color: var(--gold-light); }
.nav-cta { border: 1px solid var(--gold); color: var(--gold-light) !important; padding: 8px 18px; }
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }
.header-right { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.25); }
.lang-switch button {
  background: none; border: none; color: #cfd9e3; padding: 7px 11px; cursor: pointer;
  font-size: .78rem; font-weight: 600; font-family: var(--sans); transition: background .2s, color .2s;
}
.lang-switch button.active { background: var(--gold); color: var(--navy); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; display: block; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,26,42,.55) 0%, rgba(12,26,42,.35) 45%, rgba(12,26,42,.82) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; padding-block: 140px 120px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 1.4rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,163,92,.25); }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: .04em; margin-bottom: 1.2rem; }
.hero-title span { color: var(--gold-light); font-size: .55em; letter-spacing: .08em; font-weight: 500; display: inline-block; margin-block-start: .3rem; }
.hero-sub { max-width: 620px; font-size: 1.06rem; color: #dbe4ec; margin-bottom: 2.2rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 14px 30px; font-weight: 600; font-size: .92rem;
  letter-spacing: .04em; cursor: pointer; transition: all .25s; border: 1.5px solid transparent; text-align: center;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }

.hero-strip { position: relative; z-index: 2; background: rgba(9,19,31,.85); border-top: 1px solid rgba(201,163,92,.35); backdrop-filter: blur(6px); }
.strip-inner { display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; padding-block: 16px; }
.strip-inner span { color: #d8e1ea; font-size: .86rem; font-weight: 500; }

/* ===== Split sections ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-text p { color: var(--muted); margin-bottom: 1rem; }
.split-media { position: relative; }
.split-media img { box-shadow: 0 24px 60px rgba(12,26,42,.18); }
.split-media img.offset {
  position: absolute; width: 55%; inset-inline-end: -6%; inset-block-end: -14%;
  border: 6px solid #fff;
}
.text-link { color: var(--gold); font-weight: 600; font-size: .92rem; }
.text-link:hover { color: var(--navy); }

/* ===== Facts ===== */
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-block-start: 3rem; }
.fact {
  border: 1px solid rgba(201,163,92,.3); padding: 30px 24px; background: rgba(255,255,255,.03);
  display: flex; flex-direction: column; gap: 8px; transition: border-color .25s, transform .25s;
}
.fact:hover { border-color: var(--gold); transform: translateY(-4px); }
.fact-num { font-family: var(--serif); font-size: 2rem; color: var(--gold-light); font-weight: 600; }
.fact-label { font-size: .88rem; color: #b7c4d1; }
.facts-note { margin-block-start: 2.4rem; text-align: center; color: #a9b8c6; max-width: 760px; margin-inline: auto; font-size: .95rem; }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block-start: 2.6rem; }
.g-item { overflow: hidden; cursor: zoom-in; position: relative; }
.g-item.wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; transition: transform .5s; }
.g-item:hover img { transform: scale(1.05); }

/* ===== Plans ===== */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card { background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(12,26,42,.07); cursor: zoom-in; }
.plan-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.plan-card figcaption { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.plan-card strong { font-family: var(--serif); font-size: 1.08rem; color: var(--navy); }
.plan-card span { font-size: .85rem; color: var(--muted); }

/* ===== Location ===== */
.loc-list { list-style: none; margin-block-start: 1.2rem; display: flex; flex-direction: column; gap: 12px; }
.loc-list li { padding-inline-start: 30px; position: relative; color: var(--muted); }
.loc-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 9px;
  width: 16px; height: 2px; background: var(--gold);
}

/* ===== Investment ===== */
.invest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-block-start: 3rem; }
.invest-card { border: 1px solid rgba(201,163,92,.3); padding: 34px 30px; transition: border-color .25s; }
.invest-card:hover { border-color: var(--gold); }
.invest-card h3 { color: var(--gold-light); font-size: 1.2rem; margin-bottom: .8rem; }
.invest-card p { color: #b7c4d1; font-size: .94rem; }

/* ===== Contact ===== */
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.contact-form { max-width: 680px; margin-inline: auto; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: var(--tint);
  font-family: var(--sans); font-size: .95rem; color: var(--ink); transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; }
.hp-field { position: absolute !important; inset-inline-start: -9999px; height: 0; width: 0; opacity: 0; pointer-events: none; }
.form-alert { max-width: 680px; margin: 0 auto 24px; padding: 16px 20px; font-weight: 600; font-size: .95rem; text-align: center; }
.form-alert.ok { background: #eaf6ee; color: #1e6b3a; border: 1px solid #bfe3cc; }
.form-alert.fail { background: #fdefef; color: #9c2b2b; border: 1px solid #f0c9c9; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #9fb0c0; padding-block: 34px; font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.site-footer strong { color: var(--gold-light); letter-spacing: .14em; }
.footer-small { font-size: .78rem; color: #6f8093; max-width: 520px; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; background: rgba(8,15,24,.94); z-index: 200;
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; box-shadow: 0 20px 80px rgba(0,0,0,.6); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: none; border: none; color: #fff; cursor: pointer; opacity: .75; transition: opacity .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close { top: 18px; inset-inline-end: 26px; font-size: 2.6rem; line-height: 1; }
.lb-prev { inset-inline-start: 20px; top: 50%; transform: translateY(-50%); font-size: 2rem; padding: 16px; }
.lb-next { inset-inline-end: 20px; top: 50%; transform: translateY(-50%); font-size: 2rem; padding: 16px; }

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

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-media img.offset { display: none; }
  .main-nav {
    position: fixed; inset-block-start: 74px; inset-inline: 0; background: var(--navy-2);
    flex-direction: column; padding: 24px; gap: 18px; display: none; box-shadow: 0 20px 40px rgba(0,0,0,.35);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .g-item.wide { grid-column: span 2; }
  .plans-grid { grid-template-columns: 1fr; }
  .invest-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding-block: 64px; }
  .facts-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-item.wide { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { padding-block: 120px 90px; }
  .brand-text small { display: none; }
}
