/* ============================================================
   PUREUM — Global Design System (main.css) v3.0
   Ultra-Luxury: Midnight Black + Antique Gold + Forest Emerald
   NO external CDNs. All fonts self-hosted.
   ============================================================ */

/* --- Self-Hosted Fonts (woff2 only for modern browsers) --- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Color System */
  --black-1: #0A0A0A;
  --black-2: #0D0D0D;
  --black-3: #111111;
  --black-4: #141414;
  --black-5: #161616;
  --gold-1:  #C9A84C;
  --gold-2:  #D4AF37;
  --gold-3:  #F0D080;
  --gold-alpha-15: rgba(201,168,76,0.15);
  --gold-alpha-08: rgba(201,168,76,0.08);
  --gold-alpha-25: rgba(201,168,76,0.25);
  --green-1: #0A3622;
  --green-2: #14532D;
  --green-3: #1A5C3A;
  --white-1: #F5F0E8;
  --white-2: #EDE8DC;
  --grey-1:  #A89880;
  --grey-2:  #9C8E7A;
  --divider: rgba(201,168,76,0.2);
  --success: #4ade80;
  --danger:  #f87171;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-label: 'Jost', 'Trebuchet MS', sans-serif;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py:    100px;
  --section-py-sm: 64px;
  --container:     1280px;
  --container-md:  960px;
  --container-sm:  680px;

  /* Transitions */
  --tr:      0.3s ease;
  --tr-slow: 0.6s ease;

  /* Shadows */
  --shadow-gold: 0 8px 30px rgba(201,168,76,0.2);
  --shadow-dark: 0 16px 60px rgba(0,0,0,0.5);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  background-color: var(--black-1);
  color: var(--white-1);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-width: 0;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
.container-md { max-width: var(--container-md); }
.container-sm { max-width: var(--container-sm); }
@media (max-width: 900px)  { .container { padding: 0 24px; } }
@media (max-width: 600px)  { .container { padding: 0 16px; } }
@media (max-width: 400px)  { .container { padding: 0 12px; } }

/* --- Sections --- */
.section    { padding: var(--section-py)    0; overflow-x: clip; }
.section-sm { padding: var(--section-py-sm) 0; overflow-x: clip; }
.section-bg-black  { background: var(--black-1); }
.section-bg-dark   { background: var(--black-2); }
.section-bg-dark2  { background: var(--black-3); }
.section-bg-green  { background: var(--green-1); }

/* --- Section Labels & Headings --- */
.section-label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-1);
  display: block;
  margin-bottom: 14px;
}
.section-heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--white-1);
  line-height: 1.12;
}
.section-heading-xl { font-size: clamp(40px, 5.5vw, 60px); }
.section-heading-lg { font-size: clamp(32px, 4.5vw, 50px); }
.section-heading-md { font-size: clamp(24px, 3.5vw, 38px); }
.section-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--grey-1);
  line-height: 1.85;
  max-width: 560px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* --- Gold Accent Line --- */
.gold-line { width: 60px; height: 2px; background: var(--gold-1); margin: 18px 0; }
.gold-line-center { margin: 18px auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 38px;
  border-radius: 2px;
  transition: var(--tr);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-gold {
  background: var(--gold-1);
  color: var(--black-1);
}
.btn-gold:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  background: transparent;
  color: var(--gold-1);
  border: 1.5px solid var(--gold-1);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.08);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 24px; font-size: 11px; }
.btn-lg { padding: 18px 48px; font-size: 13px; }
.btn-full { width: 100%; }

/* --- Form Fields --- */
.field-group { margin-bottom: 24px; }
.field-label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-1);
  display: block;
  margin-bottom: 8px;
}
.field-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  color: var(--white-1);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 0;
  outline: none;
  transition: border-color var(--tr);
  appearance: none;
  -webkit-appearance: none;
}
.field-input::placeholder { color: var(--grey-2); }
.field-input:focus { border-bottom-color: var(--gold-1); }
.field-input option { background: var(--black-3); color: var(--white-1); }

/* --- Glassmorphism Panel --- */
.glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px;
}

/* --- Stars --- */
.stars { color: var(--gold-1); letter-spacing: 1px; font-size: 14px; }

/* --- Badge Chips --- */
.badge {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  display: inline-block;
}
.badge-gold  { background: var(--gold-1);  color: var(--black-1); }
.badge-green { background: var(--green-1); color: var(--gold-1); }
.badge-pop   { position: absolute; top: 14px; left: 14px; z-index: 2; }

/* --- Utility Classes --- */
.text-gold    { color: var(--gold-1); }
.text-muted   { color: var(--grey-1); }
.text-white   { color: var(--white-1); }
.text-serif   { font-family: var(--font-serif); }
.italic       { font-style: italic; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8   { gap: 8px; }
.gap-16  { gap: 16px; }
.gap-24  { gap: 24px; }
.gap-32  { gap: 32px; }
.mt-8    { margin-top: 8px; }
.mt-16   { margin-top: 16px; }
.mt-24   { margin-top: 24px; }
.mt-32   { margin-top: 32px; }
.mt-48   { margin-top: 48px; }
.mb-16   { margin-bottom: 16px; }
.mb-32   { margin-bottom: 32px; }
.mb-48   { margin-bottom: 48px; }
.w-full  { width: 100%; }

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }

/* --- Marquee / Ticker --- */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

/* --- Pulse Ring Animation (Map Markers) --- */
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 1; }
  80%  { transform: scale(2.8); opacity: 0; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* --- Slide Up Animation --- */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Nav Entry Animation --- */
@keyframes slideNavDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--black-3); }
::-webkit-scrollbar-thumb { background: var(--gold-1); border-radius: 3px; }

/* --- Selection --- */
::selection { background: var(--gold-1); color: var(--black-1); }

/* --- Divider Line --- */
.divider { height: 1px; background: var(--divider); border: none; margin: 0; }

/* --- Responsive Grid Utilities --- */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .grid-2col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .grid-3col {
    grid-template-columns: 1fr;
  }
  .grid-4col {
    grid-template-columns: 1fr;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) {
  .form-row, .form-row-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

html.lock-scroll, body.lock-scroll {
  overflow: hidden !important;
  height: 100vh !important;
}



