/* ─── Reset & Base ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --bg: #0c0b09;
  --bg-alt: #111008;
  --text: #f5f0e8;
  --text-muted: #8a8478;
  --border: rgba(201, 168, 76, 0.18);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Navbar ─── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.75rem 3rem;
  transition: background 0.5s ease, padding 0.4s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(12, 11, 9, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 3rem;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.25s, color 0.25s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--gold);
}

.nav-cta {
  border: 1px solid rgba(201, 168, 76, 0.6) !important;
  color: var(--gold) !important;
  padding: 0.5rem 1.4rem;
  border-radius: 2px;
  opacity: 1 !important;
  transition: background 0.3s ease, color 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: rgba(201, 168, 76, 0.5);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.1);
  font-size: 0.73rem;
}

.btn-ghost:hover {
  color: var(--gold);
  border-color: rgba(201, 168, 76, 0.4);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10%;
  background-image: url('https://images.axios.com/6rWjN3Lpu8i4oOoL4Uk1LnEUqmo=/0x239:3841x2400/1920x1080/2023/07/19/1689805216406.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12, 11, 9, 0.55) 0%,
    rgba(12, 11, 9, 0.25) 45%,
    rgba(12, 11, 9, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 10rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-address {
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

.hero-content .btn {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(201, 168, 76, 0), var(--gold));
  margin: 0 auto;
  animation: scrollLine 2.2s ease-in-out infinite;
}

/* ─── Content Sections ─── */
.content-section {
  background: var(--bg-alt);
  padding: 9rem 3rem;
}

.content-section:nth-child(odd) {
  background: var(--bg);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-inner.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.section-inner.two-col.reverse {
  direction: rtl;
}

.section-inner.two-col.reverse > * {
  direction: ltr;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 2rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1px;
  background: var(--gold);
}

.section-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.75rem;
}

.section-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 2.25rem;
  max-width: 48ch;
}

.section-text em {
  color: var(--gold);
  font-style: italic;
}

/* Image frame */
.section-media {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.section-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-media:hover img {
  transform: scale(1.04);
}

.section-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  pointer-events: none;
  z-index: 1;
  transform: translate(14px, 14px);
  transition: transform 0.4s ease;
}

.section-media:hover::after {
  transform: translate(8px, 8px);
}

/* ─── Parallax Dividers ─── */
.parallax-divider {
  position: relative;
  height: 52vh;
  min-height: 320px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 7, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-label {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ─── Footer ─── */
footer {
  background: #070605;
  padding: 5rem 3rem 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.4;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

/* ─── Fade-in on scroll ─── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in--delay {
  transition-delay: 0.15s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top center;
    opacity: 1;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top center;
    opacity: 1;
  }
  55% {
    transform: scaleY(1);
    transform-origin: bottom center;
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom center;
    opacity: 0;
  }
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .section-inner.two-col {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .section-inner.two-col.reverse {
    direction: ltr;
  }

  .section-media {
    height: 340px;
  }

  .section-text p {
    max-width: 100%;
  }

  .content-section {
    padding: 6rem 1.75rem;
  }

  #navbar,
  #navbar.scrolled {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* CSS parallax doesn't work on iOS; fall back to scroll */
  .parallax-divider {
    background-attachment: scroll;
  }

  .hero-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 600px) {
  .nav-links li:not(:last-child) {
    display: none;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero-title {
    font-size: clamp(3.5rem, 18vw, 6rem);
  }

  .section-media {
    height: 260px;
  }

  footer {
    padding: 3.5rem 1.5rem 2rem;
  }
}
