/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  /* Colors */
  --color-background: #050608; /* near black, cinematic backdrop */
  --color-surface: #0c0f14; /* elevated panels */
  --color-surface-alt: #141824;
  --color-text: #f5f1e8; /* soft ivory */
  --color-text-muted: #b8b2a6;

  --color-primary: #0e7c5b; /* deep emerald green */
  --color-primary-soft: rgba(14, 124, 91, 0.16);
  --color-accent: #d4af37; /* royal gold */
  --color-accent-soft: rgba(212, 175, 55, 0.12);

  --color-success: #12b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  --color-navy: #0b1a33; /* dark navy */
  --color-burgundy: #641b30; /* rich burgundy */

  --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: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", "Cormorant Garamond", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Monaco, Consolas, 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 */
  --font-size-6xl: 3.75rem;  /* 60px */

  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

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

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 999px;

  /* Shadows - cinematic, soft but pronounced */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-medium: 0 18px 40px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 26px 70px rgba(0, 0, 0, 0.7);

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

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0s;
    --transition-medium: 0s;
    --transition-slow: 0s;
  }

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

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

html,
body {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
pre,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding-left: 1.25rem;
}

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

img {
  height: auto;
}

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

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

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background: radial-gradient(circle at top, rgba(14, 124, 91, 0.25), transparent 55%),
              radial-gradient(circle at bottom, rgba(100, 27, 48, 0.3), transparent 60%),
              var(--color-background);
  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);
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(var(--font-size-3xl), 3vw + 1.5rem, var(--font-size-6xl));
  margin-bottom: var(--space-12);
}

h2 {
  font-size: clamp(var(--font-size-2xl), 2.2vw + 1rem, var(--font-size-4xl));
  margin-bottom: var(--space-10);
}

h3 {
  font-size: clamp(var(--font-size-xl), 1.6vw + 0.8rem, var(--font-size-3xl));
  margin-bottom: var(--space-8);
}

h4 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-6);
}

h5 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
}

h6 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

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

strong {
  font-weight: 600;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-medium),
              text-shadow var(--transition-medium);
}

a:hover,
a:focus-visible {
  color: #f4d472;
  text-shadow: 0 0 12px rgba(244, 212, 114, 0.5);
}

code,
pre {
  font-family: var(--font-mono);
}

hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: var(--space-16) 0;
}

/* Focus styles (accessibility) */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

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

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

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

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

@media (min-width: 768px) {
  .section-pad {
    padding-top: var(--space-40);
    padding-bottom: var(--space-40);
  }
}

/* Flex */
.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-sm {
  gap: var(--space-6);
}

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

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

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

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

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

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

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

/* Alignment & Text */
.text-center {
  text-align: center;
}

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

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

.uppercase {
  text-transform: uppercase;
}

/* Visibility (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:focus-visible {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Elevation / Backdrops */
.backdrop-soft {
  background: radial-gradient(circle at top left, rgba(14, 124, 91, 0.16), transparent 55%),
              radial-gradient(circle at bottom right, rgba(100, 27, 48, 0.2), transparent 60%),
              rgba(5, 6, 8, 0.92);
}

.glass-soft {
  background: linear-gradient(135deg, rgba(20, 24, 36, 0.85), rgba(5, 6, 8, 0.75));
  backdrop-filter: blur(16px);
}

/* Spacing utilities (vertical rhythm helpers) */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.mt-xs { margin-top: var(--space-4); }
.mt-sm { margin-top: var(--space-8); }
.mt-md { margin-top: var(--space-12); }
.mt-lg { margin-top: var(--space-20); }

.mb-xs { margin-bottom: var(--space-4); }
.mb-sm { margin-bottom: var(--space-8); }
.mb-md { margin-bottom: var(--space-12); }
.mb-lg { margin-bottom: var(--space-20); }

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

/* Buttons - primary actions for booking, viewing packages, etc. */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color var(--transition-medium),
              color var(--transition-medium),
              box-shadow var(--transition-medium),
              transform var(--transition-fast),
              border-color var(--transition-medium);
  will-change: transform, box-shadow;
}

.btn-primary {
  background: radial-gradient(circle at 10% 0%, #1aa77a, #0e7c5b 60%, #064027 100%);
  color: #0b0e13;
  box-shadow: 0 8px 22px rgba(14, 124, 91, 0.5);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(14, 124, 91, 0.7);
  background: radial-gradient(circle at 10% 0%, #27c58f, #13936c 55%, #075235 100%);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(244, 212, 114, 0.5);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(244, 212, 114, 0.04);
  box-shadow: 0 0 0 1px rgba(244, 212, 114, 0.7), 0 12px 30px rgba(0, 0, 0, 0.5);
}

.btn-outline {
  background: rgba(12, 15, 20, 0.9);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: rgba(244, 212, 114, 0.8);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.7);
}

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

/* Inputs - booking forms, guest counts, date selectors */
.input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(9, 11, 16, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: 1.4;
  transition: border-color var(--transition-medium),
              box-shadow var(--transition-medium),
              background-color var(--transition-medium);
}

.input::placeholder,
textarea::placeholder {
  color: rgba(184, 178, 166, 0.7);
}

.input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.7), 0 10px 30px rgba(0, 0, 0, 0.7);
  background-color: #05060a;
}

.input[aria-invalid="true"],
.input--error {
  border-color: rgba(239, 68, 68, 0.8);
}

.form-label {
  display: block;
  margin-bottom: var(--space-3);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
}

.form-helper {
  margin-top: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.form-error {
  margin-top: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-danger);
}

/* Card - package tiles, testimonials, event highlights */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-16);
  background: radial-gradient(circle at top, rgba(244, 212, 114, 0.06), transparent 55%),
              linear-gradient(135deg, rgba(20, 24, 36, 0.95), rgba(5, 6, 8, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(14, 124, 91, 0.2), transparent 50%),
              radial-gradient(circle at 100% 100%, rgba(100, 27, 48, 0.3), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.6;
  pointer-events: none;
}

.card-content {
  position: relative;
  z-index: 1;
}

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

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

.card-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* Tag / pill - for package labels, table limits, etc. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(244, 212, 114, 0.6);
  background: rgba(5, 6, 8, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Media frame - event photography, galleries */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: #000;
}

.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 6, 8, 0.55), transparent 45%);
  pointer-events: none;
}

/* Badge - small count or highlight (e.g., "VIP", "Most Popular") */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(244, 212, 114, 0.12);
  color: #f4d472;
}

.badge-emerald {
  background: rgba(14, 124, 91, 0.18);
  color: #4be0a7;
}

/* Toast / notice - promotional banners, limited offers */
.notice {
  border-radius: var(--radius-md);
  padding: var(--space-8) var(--space-12);
  background: linear-gradient(120deg, rgba(14, 124, 91, 0.28), rgba(100, 27, 48, 0.45));
  border: 1px solid rgba(244, 212, 114, 0.28);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.notice-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: var(--space-3);
}

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

/* Simple rating stars wrapper for testimonials */
.rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: #f4d472;
  font-size: 0.9rem;
}

.rating span {
  display: inline-block;
}

/* End of base.css */
