/* ========================================================================
   Variables
   ======================================================================== */
:root {
  /* Colors - brand */
  --color-bg: #ffffff;
  --color-surface: #f9fafb;
  --color-surface-elevated: #ffffff;

  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-border-subtle: #e5e7eb;

  /* Brand palette: gold, burgundy, dark navy */
  --color-primary: #c38b2e; /* warm elegant gold */
  --color-primary-soft: #f8ecd3;
  --color-primary-dark: #9a6c22;

  --color-accent-burgundy: #7b1235;
  --color-accent-burgundy-soft: #f7e4ea;

  --color-accent-navy: #0b1b33;
  --color-accent-navy-soft: #e2e7f1;

  /* Semantic */
  --color-success: #15803d;
  --color-success-soft: #dcfce7;

  --color-warning: #c05621;
  --color-warning-soft: #fef3c7;

  --color-danger: #b91c1c;
  --color-danger-soft: #fee2e2;

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

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Playfair Display", "Times New Roman", serif;

  /* Font sizes (mobile-first) */
  --text-xs: 0.75rem;   /* 12px */
  --text-sm: 0.875rem;  /* 14px */
  --text-base: 1rem;    /* 16px */
  --text-lg: 1.125rem;  /* 18px */
  --text-xl: 1.25rem;   /* 20px */
  --text-2xl: 1.5rem;   /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem;  /* 36px */
  --text-5xl: 3rem;     /* 48px */

  /* Line heights */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* Spacing scale (px values) */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows - soft premium feel */
  --shadow-sm: 0 5px 15px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.18);

  /* Transitions */
  --duration-fast: 150ms;
  --duration-base: 220ms;
  --duration-slow: 360ms;
  --easing-standard: cubic-bezier(0.2, 0.6, 0.2, 1);

  /* Layout */
  --container-max-width: 1120px;
}

/* Larger viewport type scaling */
@media (min-width: 768px) {
  :root {
    --text-3xl: 2.25rem; /* 36px */
    --text-4xl: 2.75rem; /* 44px */
    --text-5xl: 3.5rem;  /* 56px */
  }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0.001ms;
    --duration-base: 0.001ms;
    --duration-slow: 0.001ms;
  }
}

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

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

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

ul[class],
ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

a {
  color: inherit;
}

/* Remove animations and smooth scroll if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

main {
  min-height: 60vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--leading-tight);
  color: var(--color-accent-navy);
}

h1 {
  font-size: var(--text-4xl);
  letter-spacing: 0.01em;
  margin-bottom: var(--space-4);
}

h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

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

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

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

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

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--duration-base) var(--easing-standard);
}

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

/* Focus-visible outlines for accessibility */
:focus-visible {
  outline: 3px solid rgba(195, 139, 46, 0.5);
  outline-offset: 2px;
}

/* ========================================================================
   Utilities
   ======================================================================== */

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

@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}

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

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

.grid {
  display: grid;
}

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

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

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

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

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

.w-full {
  width: 100%;
}

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

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

.mt-section {
  margin-top: var(--space-16);
}

.mb-section {
  margin-bottom: var(--space-16);
}

/* 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;
}

.sr-only-focusable:focus,
.sr-only-focusable:active {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

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

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--duration-base) var(--easing-standard),
    color var(--duration-base) var(--easing-standard),
    border-color var(--duration-base) var(--easing-standard),
    box-shadow var(--duration-base) var(--easing-standard),
    transform var(--duration-fast) var(--easing-standard);
}

.btn-primary {
  background: linear-gradient(135deg, #f5d395, #c38b2e);
  color: #151515;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f0c77a, #b27d29);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-accent-navy);
  border-color: rgba(195, 139, 46, 0.7);
}

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

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

.btn-ghost:hover {
  background-color: rgba(15, 23, 42, 0.16);
}

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

/* Inputs / Textareas / Selects */
.input,
.textarea,
.select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: var(--color-surface);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition:
    border-color var(--duration-fast) var(--easing-standard),
    box-shadow var(--duration-fast) var(--easing-standard),
    background-color var(--duration-fast) var(--easing-standard);
}

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

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  border-color: rgba(195, 139, 46, 0.7);
  box-shadow: 0 0 0 1px rgba(195, 139, 46, 0.35);
  background-color: #ffffff;
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

/* Card - for section boxes, testimonial blocks, FAQ items, etc. */
.card {
  background: var(--color-surface-elevated);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.03);
}

.card--accent-gold {
  border-top: 3px solid var(--color-primary);
}

.card--accent-burgundy {
  border-top: 3px solid var(--color-accent-burgundy);
}

/* Hero / slider specific wrappers (generic, used by hero sections) */
.hero {
  position: relative;
  color: #ffffff;
  background-color: #020617;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 27, 51, 0.88), rgba(123, 18, 53, 0.85));
}

.hero__content {
  position: relative;
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}
.hero__content h1,
.hero__content .btn-outline{
  color: #fff;
}
/* Simple grid utility for 3-column layouts on desktop */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Footer disclaimer styling helper */
.footer-disclaimer {
  font-size: var(--text-xs);
  line-height: var(--leading-relaxed);
  color: var(--gray-300);
}

/* Subtle divider */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.6), transparent);
  margin: var(--space-6) 0;
}

/* Tag / label for entertainment-only notices */
.badge-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(195, 139, 46, 0.35);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent-navy);
}

.badge-notice__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-primary);
}

/* Subtle fade-in animation for premium feel (used optionally) */
.fade-in-up {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp var(--duration-slow) var(--easing-standard) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
