/* =====================================
   Variables
   ===================================== */
:root {
  /* Colors - Core Theme */
  --color-bg: #050816; /* deep, immersive background */
  --color-bg-elevated: #0b1020;
  --color-surface: #12172a;

  --color-text: #f5f5f7;
  --color-text-muted: #a3a9c2;
  --color-text-soft: #7c8198;

  --color-primary: #e6b35c; /* warm gold accent */
  --color-primary-soft: rgba(230, 179, 92, 0.18);
  --color-primary-strong: #f7c869;

  --color-success: #3ac781;
  --color-warning: #ffb74d;
  --color-danger: #ff4b5c;

  /* Neutral grays (cool / luxurious) */
  --gray-50: #f7f7fb;
  --gray-100: #e1e3ef;
  --gray-200: #c4c6d8;
  --gray-300: #a5a8c0;
  --gray-400: #878aab;
  --gray-500: #6a6d91;
  --gray-600: #545676;
  --gray-700: #3e4159;
  --gray-800: #27293a;
  --gray-900: #151624;

  /* Overlays / borders */
  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-border-strong: rgba(255, 255, 255, 0.16);
  --color-overlay-soft: rgba(5, 8, 22, 0.7);

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --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.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* 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-7: 1.75rem;  /* 28px */
  --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-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows (subtle, premium) */
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.35);
  --shadow-elevated: 0 26px 80px rgba(0, 0, 0, 0.55);
  --shadow-focus: 0 0 0 1px rgba(230, 179, 92, 0.6), 0 0 0 6px rgba(230, 179, 92, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-base: 220ms ease-out;
  --transition-slow: 320ms ease-out;
}

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

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol,
fieldset,
legend {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
}

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

img {
  height: auto;
}

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

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

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

textarea {
  resize: vertical;
}

/* Remove animations for users preferring reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !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-display);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

h1 {
  font-size: var(--font-size-5xl);
  letter-spacing: 0.02em;
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

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

strong,
b {
  font-weight: 600;
}

a {
  position: relative;
  transition: color var(--transition-base), opacity var(--transition-base);
}

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

/* Subtle underline style available via utility class */
.a-underline {
  text-decoration: none;
}

.a-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-strong));
  transition: width var(--transition-base);
}

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

small {
  font-size: var(--font-size-sm);
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

:focus {
  outline: none;
}

@supports not selector(:focus-visible) {
  :focus {
    outline: none;
    box-shadow: var(--shadow-focus);
  }
}

/* Screen-reader only */
.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;
}

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

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

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

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

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

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

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

.gap-sm {
  gap: var(--space-3);
}

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

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

.gap-xl {
  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: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

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

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

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

.bg-surface {
  background-color: var(--color-surface);
}

.bg-elevated {
  background-color: var(--color-bg-elevated);
}

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-3); }
.mt-md { margin-top: var(--space-6); }
.mt-lg { margin-top: var(--space-8); }
.mt-xl { margin-top: var(--space-12); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-3); }
.mb-md { margin-bottom: var(--space-6); }
.mb-lg { margin-bottom: var(--space-8); }
.mb-xl { margin-bottom: var(--space-12); }

.rounded-sm {
  border-radius: var(--radius-sm);
}

.rounded-md {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-elevated {
  box-shadow: var(--shadow-elevated);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons - primary, subtle, ghost */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
  color: #050816;
  box-shadow: 0 14px 35px rgba(230, 179, 92, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(230, 179, 92, 0.65);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 24px rgba(230, 179, 92, 0.45);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border-color: rgba(230, 179, 92, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.btn-outline:hover {
  background-color: var(--color-primary-soft);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text-muted);
}

.btn-ghost:hover {
  color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.03);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: var(--font-size-xs);
}

.btn-lg {
  padding: 0.85rem 1.9rem;
  font-size: var(--font-size-base);
}

.btn[disabled],
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Form Controls */
.input,
.select,
.textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(7, 10, 26, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base),
    transform var(--transition-fast);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--color-text-soft);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(230, 179, 92, 0.6);
  box-shadow: var(--shadow-focus);
  background-color: rgba(10, 14, 34, 0.98);
}

.input[disabled],
.select[disabled],
.textarea[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Card - used for rooms, offers, testimonials, etc. */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(230, 179, 92, 0.08), transparent 55%),
              linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(5, 8, 22, 0.96));
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    background-color var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--color-border-strong);
}

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

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

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

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

.card-footer {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Tag / badge for offers, loyalty, etc. */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(230, 179, 92, 0.5);
  background-color: rgba(16, 12, 4, 0.9);
  color: var(--color-primary-strong);
}

.badge-soft {
  border-color: transparent;
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--color-text-soft);
}

/* Hero overlay helper (for immersive imagery) */
.hero-overlay {
  position: relative;
  isolation: isolate;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(230, 179, 92, 0.26), transparent 55%),
              linear-gradient(to bottom, rgba(5, 8, 22, 0.2), rgba(5, 8, 22, 0.95));
  z-index: -1;
}

/* =====================================
   Page-Level Helpers (Hotel Fun Zone)
   ===================================== */

/* Section titles commonly used across pages */
.section-heading {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-3);
}

.section-kicker {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-primary-strong);
  margin-bottom: var(--space-2);
}

.section-description {
  max-width: 640px;
  color: var(--color-text-muted);
}

/* Simple layout helpers for FAQs, offers, etc. */
.list-bordered > * + * {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-4);
  margin-top: var(--space-4);
}

.faq-item {
  padding: var(--space-4) 0;
}

.faq-question {
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.faq-answer {
  color: var(--color-text-soft);
}

/* Contact / info blocks for practical visitor information */
.info-block {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--space-8);
}

@media (max-width: 960px) {
  .info-block {
    grid-template-columns: minmax(0, 1fr);
  }
}

.info-label {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-soft);
  margin-bottom: var(--space-1);
}

.info-value {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

/* Testimonials layout */
.testimonial-quote {
  font-style: italic;
  color: var(--color-text);
}

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

/* Offers & loyalty emphasis */
.highlight-strip {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(230, 179, 92, 0.16), transparent);
  border: 1px solid rgba(230, 179, 92, 0.35);
}

.highlight-strip strong {
  color: var(--color-primary-strong);
}

/* Booking callout */
.booking-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(230, 179, 92, 0.22), transparent 55%),
              linear-gradient(135deg, #070b18, #03030a);
  border: 1px solid rgba(230, 179, 92, 0.4);
  box-shadow: var(--shadow-elevated);
}

.booking-callout-text {
  max-width: 520px;
}

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

.booking-callout-subtitle {
  color: var(--color-text-soft);
  font-size: var(--font-size-sm);
}
