/* ========================================================================== 
   Variables
   ========================================================================== */
:root {
  /* Colors */
  --color-bg: #050608; /* near obsidian */
  --color-bg-elevated: #0b0e14;
  --color-bg-soft: #141821;

  --color-text: #f5f1e6; /* warm ivory */
  --color-text-muted: #b5b0a4;

  --color-primary: #c8a96a; /* antique gold */
  --color-primary-soft: rgba(200, 169, 106, 0.16);

  --color-success: #2f7f5b; /* deep emerald accent */
  --color-warning: #c58a3b;
  --color-danger: #b93b4b; /* royal burgundy accent */

  --color-neutral-50: #f9fafb;
  --color-neutral-100: #f3f4f6;
  --color-neutral-200: #e5e7eb;
  --color-neutral-300: #d1d5db;
  --color-neutral-400: #9ca3af;
  --color-neutral-500: #6b7280;
  --color-neutral-600: #4b5563;
  --color-neutral-700: #374151;
  --color-neutral-800: #1f2933;
  --color-neutral-900: #111827;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-md: 1.0625rem; /* 17px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */

  --line-height-tight: 1.1;
  --line-height-snug: 1.3;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Spacing scale (0–96px) */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Radius */
  --radius-sm: 0.25rem;  /* 4px */
  --radius-md: 0.5rem;   /* 8px */
  --radius-lg: 0.75rem;  /* 12px */
  --radius-xl: 1rem;     /* 16px */
  --radius-pill: 999px;

  /* Shadows (cinematic, soft) */
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-outline: 0 0 0 1px rgba(200, 169, 106, 0.4), 0 0 0 4px rgba(200, 169, 106, 0.18);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-normal: 200ms ease-out;
  --transition-slow: 320ms ease-out;
}

/* ========================================================================== 
   Reset / Normalize
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
  padding: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Remove default link underline while preserving accessibility */
a {
  text-decoration: none;
  color: inherit;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================================================== 
   Base Styles
   ========================================================================== */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: var(--line-height-tight);
  letter-spacing: 0.02em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.25rem, 3vw + 1.5rem, 3.25rem);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(1.8rem, 2.4vw + 1.1rem, 2.3rem);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

h3 {
  font-size: clamp(1.4rem, 1.6vw + 1rem, 1.8rem);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

h4 {
  font-size: 1.2rem;
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

strong,
b {
  font-weight: 600;
}

em,
i {
  font-style: italic;
}

small {
  font-size: 0.85em;
}

/* Links with cinematic gold accent on hover */
a {
  position: relative;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--color-primary);
}

a.underline,
.prose a {
  text-decoration: none;
}

a.underline::after,
.prose a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 169, 106, 0.2), var(--color-primary));
  transition: width var(--transition-normal);
}

a.underline:hover::after,
.prose a:hover::after {
  width: 100%;
}

/* Lists */
ul,
ol {
  padding-left: 1.25rem;
  margin-bottom: var(--space-4);
}

/* ========================================================================== 
   Accessibility & Focus States
   ========================================================================== */
:focus-visible {
  outline: none;
  box-shadow: var(--shadow-outline);
  border-radius: 2px;
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================================================== 
   Layout Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

.section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.section--soft {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

/* Flex helpers */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

/* Grid helpers */
.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Basic spacing utilities */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.py-12 {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: var(--color-text-muted);
}

/* Cinematic overlay helper for hero / full-screen blocks */
.overlay-gradient {
  position: relative;
}


/* ========================================================================== 
   Components
   ========================================================================== */

/* Buttons - luxurious, pill-shaped */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-normal),
              color var(--transition-normal),
              border-color var(--transition-normal),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.18), transparent 50%), linear-gradient(135deg, #b28d47, #e5c88b);
  color: #14130e !important;
  box-shadow: var(--shadow-subtle);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-subtle);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary) !important;
  border-color: rgba(200, 169, 106, 0.6);
  box-shadow: none;
}

.btn--outline:hover {
  background: rgba(200, 169, 106, 0.08);
}

.btn--ghost {
  background: rgba(10, 12, 18, 0.8);
  border-color: rgba(200, 169, 106, 0.4);
  color: var(--color-text) !important;
}

.btn--ghost:hover {
  background: rgba(20, 24, 32, 0.95);
}

/* Form controls */
.input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(8, 10, 16, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition: border-color var(--transition-normal),
              box-shadow var(--transition-normal),
              background-color var(--transition-normal);
}

.input::placeholder,
textarea::placeholder {
  color: rgba(181, 176, 164, 0.7);
}

.input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: rgba(200, 169, 106, 0.9);
  box-shadow: 0 0 0 1px rgba(200, 169, 106, 0.4);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.label {
  display: block;
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.field {
  margin-bottom: var(--space-4);
}

.field--inline {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field-error {
  margin-top: 0.25rem;
  font-size: var(--font-size-xs);
  color: var(--color-danger);
}

/* Card - for packages, timelines, testimonials */
.card {
  position: relative;
  background: radial-gradient(circle at top left, rgba(200, 169, 106, 0.08), transparent 55%),
              radial-gradient(circle at bottom right, rgba(185, 59, 75, 0.08), transparent 55%),
              var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(200, 169, 106, 0.12);
  mix-blend-mode: screen;
}

.card--soft {
  padding: var(--space-5);
}

.card-header {
  margin-bottom: var(--space-4);
}

.card-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-xl);
  margin-bottom: 0.35rem;
}

.card-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.card-body {
  font-size: var(--font-size-sm);
}

/* Age verification / modal base structure */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.96));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  z-index: 50;
}

.modal {
  max-width: 480px;
  width: 100%;
  background: linear-gradient(145deg, #06070b, #111319);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid rgba(200, 169, 106, 0.4);
  box-shadow: var(--shadow-soft);
}

.modal-title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
}

.modal-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

/* Tag / badge for 18+ and offline-only notices */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(200, 169, 106, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(10, 10, 10, 0.9);
}

.badge--danger {
  border-color: rgba(185, 59, 75, 0.85);
  color: #f9e4ea;
  background: rgba(37, 10, 18, 0.9);
}

/* Footer disclaimer emphasis */
.footer-disclaimer {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-relaxed);
  color: rgba(245, 241, 230, 0.8);
}

/* Responsible entertainment highlight box */
.responsible-box {
  background: rgba(15, 45, 32, 0.7);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  border: 1px solid rgba(47, 127, 91, 0.7);
}

.responsible-box__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.responsible-box__meta {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Gallery basics */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform var(--transition-slow), filter var(--transition-slow);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 45%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Timeline / editorial layout helper */
.timeline {
  position: relative;
  padding-left: 1.75rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.1rem;
  bottom: 0.1rem;
  width: 1px;
  background: linear-gradient(to bottom, rgba(200, 169, 106, 0.6), rgba(200, 169, 106, 0));
}

.timeline-step {
  position: relative;
  padding-bottom: var(--space-6);
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -1.05rem;
  top: 0.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: radial-gradient(circle, #fdf5cf, #b28d47);
  box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.15);
}

.timeline-step:last-child {
  padding-bottom: 0;
}

/* Hero full-height helper for cinematic sections */
.hero-full {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--color-text);
}

.hero-eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 230, 0.85);
  margin-bottom: var(--space-2);
}

.hero-lede {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
  max-width: 40rem;
}

/* Testimonials card variation */
.testimonial {
  font-style: italic;
}

.testimonial-author {
  margin-top: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.testimonial-role {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}
