/* ============================================
   HIKAYA VOYAGES — CORE / DESIGN TOKENS
   Palette: deep navy (#0A0039) + white, champagne-gold accent
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@200;300;400;500&display=swap');

:root {
  /* Light scale (whites → soft blues) */
  --white:       #FFFFFF;
  --mist:        #EEF1F9;
  --cloud:       #E3E7F4;
  --silver:      #CBD1E8;
  --steel:       #A7AECB;

  /* Navy / ink scale (dark) */
  --slate-soft:  #8990B0;   /* subtle text */
  --slate:       #565C82;   /* secondary text */
  --indigo:      #241F66;   /* deep accent */
  --navy:        #0A0039;   /* primary brand dark */
  --navy-deep:   #05001F;   /* darkest — footer */

  /* Semantic */
  --bg:          var(--white);
  --text-main:   var(--navy);
  --text-light:  var(--slate);
  --text-subtle: var(--slate-soft);
  --accent:      var(--indigo);

  /* Champagne-gold accent */
  --gold:        #BD9B4E;
  --gold-light:  #DCC07F;

  --divider:     rgba(36, 31, 102, 0.18);

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  /* Spacing / motion */
  --section-pad: clamp(80px, 10vw, 140px);
  --container:   1280px;
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

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

input, textarea, select,
input[type="checkbox"],
input[type="radio"],
label,
.checkbox-item,
.checkbox-item * {
  cursor: pointer !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
textarea,
select {
  cursor: text !important;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

/* Custom cursor */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--indigo);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease-smooth), opacity 0.2s;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(36, 31, 102, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-smooth), width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), opacity 0.2s;
}

.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--gold);
  background: rgba(189, 155, 78, 0.08);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

/* Type scale */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 120px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
}

.display-sm {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.2;
}

.label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.body-lg {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--slate);
}

.body-sm {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-light);
}

.ornament-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
}

.ornament-divider span { color: var(--gold); font-size: 18px; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.35s; }
.reveal-delay-4 { transition-delay: 0.5s; }
.reveal-delay-5 { transition-delay: 0.65s; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 36px;
  position: relative;
  overflow: hidden;
  transition: color 0.3s var(--ease-smooth);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--slate);
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}
.btn-outline:hover { color: var(--white); }
.btn-outline:hover::before { transform: scaleX(1); }
.btn-outline span { position: relative; z-index: 1; }

.btn-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}
.btn-light:hover { color: var(--navy); }
.btn-light:hover::before { transform: scaleX(1); }
.btn-light span { position: relative; z-index: 1; }

/* Gold fill button — chauffeur "Reserve" accent */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}
.btn-gold:hover::before { transform: scaleX(1); }
.btn-gold span { position: relative; z-index: 1; }

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--gold);
  position: relative;
  padding-bottom: 4px;
}
.btn-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-smooth);
}
.btn-arrow:hover::after { width: 100%; }

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

section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header { margin-bottom: clamp(48px, 6vw, 80px); }
.section-header .label { display: block; margin-bottom: 16px; }

.img-placeholder {
  background: linear-gradient(135deg, var(--cloud) 0%, var(--silver) 50%, var(--steel) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.img-placeholder::after {
  content: '✦';
  font-size: 32px;
  color: rgba(36, 31, 102, 0.2);
}

.gold-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  pointer-events: none;
  opacity: 1;
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1), opacity 0s 0.6s;
}
.page-transition.is-visible { transform: scaleY(0); opacity: 0; }
.page-transition.is-leaving {
  transform: scaleY(1);
  transform-origin: bottom;
  opacity: 1;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

/* Forms */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--indigo);
}
.form-group label .required { color: var(--gold); margin-left: 2px; }

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  background: rgba(238, 241, 249, 0.7);
  border: 1px solid var(--divider);
  border-bottom: 1px solid var(--silver);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--slate);
  background: rgba(255, 255, 255, 0.95);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23565C82' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

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

.checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-item { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 1px solid var(--silver);
  background: transparent;
  cursor: pointer;
  accent-color: var(--indigo);
  flex-shrink: 0;
}
.checkbox-item span,
.checkbox-item label {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--text-light);
  cursor: pointer;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: var(--silver); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--steel); }

@media (max-width: 768px) { .hide-mobile { display: none !important; } }
@media (min-width: 769px) { .hide-desktop { display: none !important; } }

@media (max-width: 860px) {
  .container { padding: 0 clamp(16px, 4vw, 40px); }
  .section-header { margin-bottom: clamp(32px, 5vw, 56px); }
  .display-xl { font-size: clamp(40px, 10vw, 72px); }
  .display-lg { font-size: clamp(32px, 7vw, 56px); }
  .display-md { font-size: clamp(26px, 6vw, 42px); }
  .display-sm { font-size: clamp(20px, 4.5vw, 30px); }
  .btn { font-size: 10px; padding: 16px 28px; }
  .gold-line { display: none; }
}

@media (max-width: 600px) {
  .display-xl { font-size: clamp(34px, 10vw, 56px); }
  .display-lg { font-size: clamp(28px, 8vw, 44px); }
  .display-md { font-size: clamp(22px, 6vw, 34px); }
  body { overflow-x: hidden; }
  .btn, a { min-height: 44px; display: inline-flex; align-items: center; }
  .nav-links a { min-height: unset; display: inline; }
}
