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

:root {
  /* Colors */
  --color-bg: #050814;
  --color-surface: #0e1222;
  --color-surface-alt: #15192a;
  --color-text: #f5f5fb;
  --color-text-muted: #a6adc9;
  --color-primary: #f5b417;
  --color-primary-soft: rgba(245, 180, 23, 0.12);
  --color-success: #3dd68c;
  --color-warning: #ffcc66;
  --color-danger: #ff5c7a;

  --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, "Segoe UI", sans-serif;
  --font-heading: 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 */

  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --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: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.24);
  --shadow-subtle: 0 6px 20px rgba(0, 0, 0, 0.16);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-normal: 180ms ease-out;
  --transition-slow: 260ms ease-out;
}

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

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

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
figure,
figcaption,
footer,
header,
menu,
nav,
section,
main,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1;
}

article,
aside,
footer,
header,
nav,
section,
main {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border-radius: 0;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

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

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  background: radial-gradient(circle at top, #192135 0, var(--color-bg) 55%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1 {
  font-size: clamp(2.4rem, 2.3rem + 1vw, 3rem);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(1.9rem, 1.8rem + 0.6vw, 2.3rem);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: clamp(1.5rem, 1.45rem + 0.4vw, 1.8rem);
  margin-bottom: var(--space-2);
}

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

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: #ffd666;
}

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

strong,
b {
  font-weight: 600;
}

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

/* ========================================================================
   Accessibility & Motion
   ======================================================================== */

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

@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
   ======================================================================== */

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

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

/* Layout 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-col {
  display: flex;
  flex-direction: column;
}

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

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

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }

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

.section--alt {
  background: linear-gradient(135deg, rgba(12, 19, 40, 0.95), rgba(8, 14, 33, 0.98));
}

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

.btn {
  --btn-bg: var(--color-primary);
  --btn-color: #111;
  --btn-border: transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--btn-border);
  background-color: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 600;
  font-size: var(--font-size-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--transition-normal),
              color var(--transition-normal),
              box-shadow var(--transition-normal),
              transform var(--transition-fast),
              border-color var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  background-color: #ffd666;
}

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

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-color: var(--color-text);
  --btn-border: rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.08);
}

.btn--secondary {
  --btn-bg: var(--color-surface-alt);
  --btn-color: var(--color-text);
  --btn-border: rgba(255, 255, 255, 0.18);
}

.btn--secondary:hover {
  --btn-bg: #1d2236;
}

.btn--block {
  width: 100%;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

/* Form elements */

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: var(--space-4);
}

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

.field__hint {
  font-size: var(--font-size-xs);
  color: var(--gray-400);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
textarea,
select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(6, 10, 25, 0.95);
  color: var(--color-text);
  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 {
  color: var(--gray-500);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary-soft);
  background-color: rgba(10, 14, 32, 0.98);
}

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

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

/* Cards (for packages, events, testimonials) */

.card {
  background: radial-gradient(circle at top left, rgba(245, 180, 23, 0.03), transparent 55%),
              var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-normal),
              box-shadow var(--transition-normal),
              border-color var(--transition-normal),
              background-color var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 180, 23, 0.35);
  box-shadow: var(--shadow-soft);
}

.card__header {
  margin-bottom: var(--space-3);
}

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

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

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

.card__footer {
  margin-top: var(--space-4);
}

/* Tag / pill for event types, rules, etc. */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  background-color: rgba(245, 180, 23, 0.14);
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag--soft {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--color-text-muted);
}

/* Badge for status (upcoming / full / limited) */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: 500;
}

.badge--success {
  background-color: rgba(61, 214, 140, 0.14);
  color: var(--color-success);
}

.badge--warning {
  background-color: rgba(255, 204, 102, 0.16);
  color: var(--color-warning);
}

.badge--danger {
  background-color: rgba(255, 92, 122, 0.18);
  color: var(--color-danger);
}

/* CTA band / highlight section */

.cta-band {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: radial-gradient(circle at top right, rgba(245, 180, 23, 0.26), rgba(245, 180, 23, 0.08));
  color: #111;
}

.cta-band__title {
  color: #111;
}

.cta-band__text {
  color: rgba(17, 17, 17, 0.72);
}

@media (max-width: 768px) {
  .cta-band {
    padding: var(--space-5);
  }
}

/* Info list (rules, opening hours, location, FAQ short) */

.info-list {
  display: grid;
  gap: var(--space-4);
}

.info-list__item-title {
  font-weight: 500;
  margin-bottom: 0.15rem;
}

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

/* FAQ accordion base shell (behavior via JS) */

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(11, 16, 32, 0.96);
  padding: var(--space-4);
}

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

.faq-item__question-text {
  font-weight: 500;
}

.faq-item__answer {
  margin-top: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Testimonial snippet */

.testimonial {
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: linear-gradient(145deg, rgba(21, 25, 45, 0.98), rgba(10, 14, 32, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial__quote {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-3);
}

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

/* Gallery grid base */

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

.gallery-grid__item {
  overflow: hidden;
  border-radius: var(--radius-md);
}

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

.gallery-grid__item:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}
