/* ==========================================================================   
   Variables
   ========================================================================== */

:root {
  /* Colors */
  --color-bg: #050816;
  --color-bg-elevated: #0b1020;
  --color-bg-soft: #111827;
  --color-surface: #111827;
  --color-text: #f9fafb;
  --color-text-muted: #9ca3af;
  --color-primary: #f97316; /* vibrant warm accent for CTAs */
  --color-primary-soft: rgba(249, 115, 22, 0.16);
  --color-primary-strong: #ff7b1f;
  --color-success: #22c55e;
  --color-warning: #facc15;
  --color-danger: #ef4444;

  /* 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: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, 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.1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Spacing scale (px) */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-11: 44px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-soft: 0 10px 35px rgba(15, 23, 42, 0.5);
  --shadow-soft-up: 0 -10px 35px rgba(15, 23, 42, 0.45);
  --shadow-strong: 0 22px 65px rgba(0, 0, 0, 0.7);
  --shadow-outline: 0 0 0 1px rgba(249, 115, 22, 0.4), 0 0 0 4px rgba(249, 115, 22, 0.3);

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

/* Motion reduction */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
  }
}


/* ==========================================================================   
   Reset / Normalize
   ========================================================================== */

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

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

body {
  margin: 0;
}

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

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

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

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

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

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

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

legend {
  padding: 0;
}

:focus {
  outline: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}


/* ==========================================================================   
   Base Styles
   ========================================================================== */

body {
  min-height: 100vh;
  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;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, var(--font-size-5xl));
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, var(--font-size-4xl));
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.5rem, 2.8vw, var(--font-size-3xl));
  letter-spacing: -0.03em;
}

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

em, i {
  font-style: italic;
}

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

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

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

pre {
  white-space: pre-wrap;
}

hr {
  border: none;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin-block: var(--space-8);
}


/* ==========================================================================   
   Accessibility & Focus
   ========================================================================== */

:focus-visible {
  outline: none;
}

:where(a, button, input, textarea, select, summary):focus-visible {
  box-shadow: var(--shadow-outline);
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


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

/* Layout containers */

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--space-4);
  max-width: 1200px;
}

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

.section {
  padding-block: var(--space-12);
}

.section--tight {
  padding-block: var(--space-8);
}

.section--spacious {
  padding-block: var(--space-16);
}

/* Flex helpers */

.flex {
  display: flex;
}

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

.flex-col {
  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-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-6);
}

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

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

/* Alignment & text */

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

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

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

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

.text-accent {
  color: var(--color-primary);
}

/* Spacing utilities (margin / padding blocks) */

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

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

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.pt-md { padding-top: var(--space-4); }
.pb-md { padding-bottom: var(--space-4); }
.pt-lg { padding-top: var(--space-6); }
.pb-lg { padding-bottom: var(--space-6); }

/* Visual helpers */

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

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

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

.bg-soft {
  background: radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.12), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.18), transparent 55%),
              var(--color-bg);
}

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


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

/* Buttons */

.button,
button.button,
input[type="submit"].button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding-inline: var(--space-5);
  padding-block: var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  background: radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.4), transparent 60%),
              linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-strong) 55%, #facc15 100%);
  color: #0b0b0f;
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-base),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-strong);
}

.button:active {
  transform: translateY(0) scale(0.99);
  box-shadow: var(--shadow-soft);
}

.button--ghost {
  background: rgba(15, 23, 42, 0.9);
  color: var(--color-text);
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25);
}

.button--ghost:hover {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(249, 115, 22, 0.7);
}

.button--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(249, 115, 22, 0.7);
  box-shadow: none;
}

.button--outline:hover {
  background: rgba(249, 115, 22, 0.08);
}

.button--sm {
  padding-inline: var(--space-4);
  padding-block: var(--space-2);
  font-size: var(--font-size-xs);
}

.button--lg {
  padding-inline: var(--space-6);
  padding-block: var(--space-4);
  font-size: var(--font-size-base);
}

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

.button--pill-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Inputs & form fields */

.input,
textarea,
select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="search"] {
  width: 100%;
  padding-inline: var(--space-4);
  padding-block: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background-color: rgba(15, 23, 42, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

.input::placeholder,
textarea::placeholder,
input::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.input:focus-visible,
textarea:focus-visible,
select:focus-visible,
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="url"]:focus-visible,
input[type="number"]:focus-visible,
input[type="password"]:focus-visible,
input[type="search"]:focus-visible {
  border-color: rgba(249, 115, 22, 0.8);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.7);
  background-color: rgba(15, 23, 42, 0.98);
}

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

label {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

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

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

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

/* Cards (used for event types, packages, blog items, etc.) */

.card {
  position: relative;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
  overflow: hidden;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    background var(--transition-base);
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0;
  background: radial-gradient(circle at 10% 0, rgba(249, 115, 22, 0.2), transparent 60%),
              radial-gradient(circle at 90% 100%, rgba(59, 130, 246, 0.25), transparent 60%);
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(249, 115, 22, 0.7);
}

.card:hover::before {
  opacity: 1;
}

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

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

.card-eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.card-actions {
  margin-top: var(--space-5);
}

/* Tag / pill (for event categories, themes, locations) */

.tag {
  display: inline-flex;
  align-items: center;
  padding-inline: var(--space-3);
  padding-block: calc(var(--space-1));
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background-color: rgba(15, 23, 42, 0.8);
  color: var(--color-text-muted);
}

.tag--accent {
  border-color: rgba(249, 115, 22, 0.6);
  background-color: rgba(249, 115, 22, 0.08);
  color: var(--color-primary);
}

/* Media wrapper for gallery and atmosphere imagery */

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: #020617;
  box-shadow: var(--shadow-soft);
}

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

.media-frame--tilt {
  transform: rotate(-1.5deg);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.media-frame--tilt:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: var(--shadow-strong);
}

/* Hero-specific utility for immersive gradients */

.hero-gradient {
  position: relative;
  isolation: isolate;
}

.hero-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.26), transparent 60%),
    radial-gradient(circle at 100% 20%, rgba(59, 130, 246, 0.3), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.3), transparent 60%);
  opacity: 0.65;
  pointer-events: none;
  z-index: -1;
}

.hero-gradient::after {
  content: "";
  position: absolute;
  inset-inline: 10%;
  bottom: 0;
  height: 72px;
  background: linear-gradient(to bottom, transparent, rgba(5, 8, 22, 0.95));
  z-index: -1;
}

/* Badge used for testimonials, ratings, AU-specific cues */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding-inline: var(--space-3);
  padding-block: calc(var(--space-1));
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: var(--color-text);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-success));
}

/* CTA strip (for booking / enquiry ribbons) */

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.16), rgba(59, 130, 246, 0.16));
  border: 1px solid rgba(249, 115, 22, 0.5);
  box-shadow: var(--shadow-soft);
}

.cta-strip__title {
  font-size: var(--font-size-lg);
  font-family: var(--font-heading);
}

.cta-strip__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

@media (max-width: 767px) {
  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* FAQ accordion structural base (no JS-specific styles here) */

.faq-item {
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  padding-block: var(--space-4);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  font-weight: 500;
}

.faq-answer {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
}

/* Blog / meta chips */

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Table basics (for pricing / packages) */

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

th,
td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
}

th {
  font-weight: 600;
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
}

tbody tr:nth-child(even) {
  background-color: rgba(15, 23, 42, 0.7);
}

/* Toast / notification (for form success / error) */

.toast {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  max-width: 360px;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background-color: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-strong);
  font-size: var(--font-size-sm);
  display: flex;
  gap: var(--space-3);
  z-index: 50;
}

.toast--success {
  border-color: rgba(34, 197, 94, 0.8);
}

.toast--error {
  border-color: rgba(239, 68, 68, 0.8);
}

.toast-icon {
  font-size: 1.1em;
}

.toast-close {
  margin-left: auto;
  cursor: pointer;
  font-size: 1.1em;
}

/* Footer basics */

.site-footer {
  padding-block: var(--space-8);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(to top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
}

.site-footer__meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--font-size-xs);
}

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