/* APEX by Ibrahim: white, gold and black. One font: Poppins. */
:root {
  --white: #ffffff;
  --soft: #f8f6f1;
  --black: #111111;
  --ink: #2b2b2b;
  --muted: #6b6760;
  --line: #e7e1d6;
  --gold: #b8955a;       /* fills, rules, large text */
  --gold-text: #8a6a34;  /* small gold text on white (readable contrast) */
  --radius: 4px;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { color: var(--black); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; }
.gold { color: var(--gold); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 34rem; margin-top: 20px; }
.muted { color: var(--muted); }
.small { font-size: 0.8rem; margin-top: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius);
  font: 500 0.9rem/1 "Poppins", sans-serif; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--black); color: var(--white); }
.btn--line { border-color: var(--black); color: var(--black); background: transparent; }
.btn--line:hover { background: var(--black); color: var(--white); }
.btn--full { width: 100%; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--black); color: var(--gold); font-weight: 600; font-size: 1.05rem; box-shadow: inset 0 0 0 2px var(--gold);
}
.logo__text { font-weight: 600; font-size: 1.25rem; letter-spacing: 0.22em; color: var(--black); line-height: 1; }
.logo__text small { display: block; margin-top: 4px; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.3em; color: var(--gold-text); text-transform: uppercase; }
.logo--light .logo__text { color: var(--white); }
.logo--light .logo__text small { color: var(--gold); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav a:hover::after { transform: scaleX(1); }
.header__cta { padding: 11px 18px; font-size: 0.82rem; }
.menu { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.menu span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--black); transition: transform .25s; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Photos: a dark gold-toned panel shows if an image fails to load */
.photo { width: 100%; height: 100%; object-fit: cover; background: linear-gradient(135deg, #1b1b1b, #2c2418); border-radius: var(--radius); }
.photo.is-missing { min-height: 200px; }

/* Hero */
.hero { padding: 56px 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__media { position: relative; aspect-ratio: 5 / 6; }
.hero__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.hero__media figcaption {
  position: absolute; left: 20px; bottom: -14px; background: var(--black); color: var(--white);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; padding: 8px 14px;
}
.prices { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prices div { padding: 22px 0 22px 22px; border-left: 1px solid var(--line); }
.prices div:first-child { border-left: 0; padding-left: 0; }
.prices dt { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.prices dd { font-size: 1.5rem; font-weight: 600; color: var(--black); font-variant-numeric: tabular-nums; }

/* Sections */
.section { padding: 100px 0; }
.section--soft { background: var(--soft); }
.head { max-width: 640px; margin-bottom: 48px; }
.head .muted { margin-top: 12px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about__media { aspect-ratio: 4 / 5; }
.about__copy > p { color: var(--muted); margin-top: 18px; }
.points { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.points li { padding: 16px 18px; border-left: 3px solid var(--gold); background: var(--soft); color: var(--muted); font-size: 0.92rem; }
.points strong { display: block; color: var(--black); font-weight: 600; }

/* Services */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 26px 24px; }
.card h3 { margin-bottom: 14px; }
.card__note { font-size: 0.8rem; color: var(--gold-text); margin: -8px 0 10px; }
.list { list-style: none; }
.list li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 0.9rem; }
.list li:last-child { border-bottom: 0; }
.list span { color: var(--ink); }
.list b { color: var(--black); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Groom band */
.groom { background: var(--black); color: #d9d4ca; padding: 72px 0; }
.groom h2 { color: var(--white); }
.groom .eyebrow { color: var(--gold); }
.groom__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.groom__inner p:not(.eyebrow) { margin-top: 10px; max-width: 34rem; }
.groom .btn--gold:hover { background: var(--white); color: var(--black); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.g1 { grid-column: span 2; grid-row: span 2; }
.g2 { grid-row: span 2; }
.g5 { grid-column: span 4; }

/* Booking */
.book { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.book__copy p:not(.eyebrow) { color: var(--muted); margin-top: 16px; }
.book__phone a { color: var(--black); font-weight: 600; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.82rem; font-weight: 500; color: var(--black); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 0.95rem "Poppins", sans-serif; color: var(--black);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,149,90,.18); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form__error { color: #b3261e; font-size: 0.85rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
.info { list-style: none; margin: 26px 0 30px; }
.info li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.info span { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.info a { color: var(--black); }
.map { min-height: 380px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.4); }

/* Footer */
.footer { background: var(--black); color: #a9a397; padding: 36px 0; border-top: 3px solid var(--gold); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 0.85rem; }

/* Floating WhatsApp */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--black); color: var(--gold);
  box-shadow: 0 10px 30px rgba(0,0,0,.25), inset 0 0 0 2px var(--gold); transition: transform .25s;
}
.wa:hover { transform: scale(1.06); }

/* Reveal on scroll (only when JS runs and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .wa { transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .hero__grid, .about, .book, .contact { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { aspect-ratio: 4 / 3; max-width: 640px; }
  .about__media { aspect-ratio: 16 / 10; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g1 { grid-column: span 2; grid-row: span 2; }
  .g2 { grid-row: span 1; }
  .g5 { grid-column: span 1; }
}
@media (max-width: 760px) {
  .header__cta { display: none; }
  .menu { display: block; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .hero { padding-top: 32px; }
  .prices { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .prices div:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .prices div:nth-child(4) { border-top: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .menu-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
}
