/* ==========================================================================
   Variables
   ======================================================================= */
:root {
  /* Colors */
  --color-bg: #05060a;
  --color-bg-elevated: #0c0f17;
  --color-bg-soft: #141824;
  --color-surface: #111525;

  --color-text: #f5f5f7;
  --color-text-soft: #c7cad4;
  --color-text-muted: #8c90a0;

  --color-primary: #d4af37; /* gold */
  --color-primary-soft: rgba(212, 175, 55, 0.12);
  --color-primary-strong: #f1c94a;

  --color-accent-burgundy: #7b1237;
  --color-accent-burgundy-soft: rgba(123, 18, 55, 0.22);
  --color-accent-navy: #111b3a;

  --color-success: #37cc8a;
  --color-success-soft: rgba(55, 204, 138, 0.15);
  --color-warning: #ffb547;
  --color-warning-soft: rgba(255, 181, 71, 0.18);
  --color-danger: #ff4f5e;
  --color-danger-soft: rgba(255, 79, 94, 0.18);

  --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, Arial, sans-serif;
  --font-display: "Poppins", "SF Pro Display", 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.1;
  --line-height-snug: 1.25;
  --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-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: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadows (subtle glow for nightlife aesthetic) */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-medium: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-strong: 0 28px 80px rgba(0, 0, 0, 0.75);
  --shadow-gold-glow: 0 0 0 1px rgba(212, 175, 55, 0.5), 0 0 18px rgba(212, 175, 55, 0.35);

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

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

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

ul,
ol {
  margin: 0;
  padding: 0;
}

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

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

textarea {
  resize: vertical;
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   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, #15192b 0, #05060a 55%, #000 100%);
  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);
  letter-spacing: 0.02em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: var(--space-2);
}

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

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

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

strong {
  font-weight: 600;
}

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

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

a:active {
  opacity: 0.85;
}

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-strong);
  outline-offset: 3px;
}

:focus {
  outline: none;
}

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

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

@media (min-width: 1200px) {
  .container {
    max-width: 1240px;
  }
}

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

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

.section--contrast {
  background: radial-gradient(circle at top left, #1e1030 0, #05060a 50%, #05060a 100%);
}

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

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

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

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

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

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

.gap-xl {
  gap: var(--space-8);
}

/* Grid utilities */
.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);
  }
}

/* Spacing utilities */
.mt-0 { margin-top: 0 !important; }
.mt-xs { margin-top: var(--space-1) !important; }
.mt-sm { margin-top: var(--space-2) !important; }
.mt-md { margin-top: var(--space-4) !important; }
.mt-lg { margin-top: var(--space-6) !important; }
.mt-xl { margin-top: var(--space-8) !important; }

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

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

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

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

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

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

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--color-primary-strong);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.12), rgba(123, 18, 55, 0.45));
}

/* 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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.7rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--font-size-sm);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast), border-color var(--transition-base), opacity var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f1c94a, #d4af37);
  color: #120d05;
  box-shadow: var(--shadow-medium);
}

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

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-strong);
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.06);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background: rgba(10, 10, 16, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-soft);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

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

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

.btn-icon {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border-radius: 50%;
}

/* Form elements */
.input,
.select,
.textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(3, 5, 15, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: 1.4;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-fast);
}

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

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  outline: none;
  border-color: var(--color-primary-strong);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.75);
  background-color: rgba(6, 8, 20, 0.98);
}

.input--error,
.textarea--error {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 1px rgba(255, 79, 94, 0.75);
}

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

.label {
  display: block;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

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

.form-hint {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

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

/* Card component (for services, testimonials, FAQ items, etc.) */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.12) 0, rgba(17, 21, 37, 0.9) 35%, rgba(5, 6, 10, 0.98) 100%);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(123, 18, 55, 0.5), transparent 55%);
  opacity: 0.18;
}

.card__content {
  position: relative;
  z-index: 1;
}

.card--soft {
  background: rgba(10, 12, 24, 0.96);
}

.card--outlined {
  background: rgba(6, 10, 24, 0.85);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.15);
}

/* Simple chip / tag (e.g., for keywords like "firemní akce") */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
  background: rgba(20, 24, 40, 0.8);
}

/* Tag variants to hint at popular Czech queries visually */
.chip--primary {
  border-color: rgba(212, 175, 55, 0.65);
  color: var(--color-primary-strong);
  background: rgba(212, 175, 55, 0.08);
}

/* Trust badges (e.g., "Legální zábavní casino", "Bez skutečného hazardu") */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(55, 204, 138, 0.65);
  font-size: var(--font-size-xs);
  color: var(--color-success);
  background: var(--color-success-soft);
}

.trust-badge__icon {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--color-success);
}

/* Hero-specific utilities (nightlife gradient overlay) */
.hero-bg {
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 10% 0, rgba(212, 175, 55, 0.30), transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(123, 18, 55, 0.75), transparent 60%),
    radial-gradient(circle at 50% 110%, rgba(17, 27, 58, 0.9), transparent 70%);
  opacity: 0.9;
  z-index: 0;
}

.hero-bg > * {
  position: relative;
  z-index: 1;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #000;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 30%);
  opacity: 0.8;
  transition: opacity var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  opacity: 0.5;
}

/* Testimonials */
.testimonial {
  position: relative;
  padding-top: var(--space-4);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  left: -2px;
  top: -8px;
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(212, 175, 55, 0.3);
}

.testimonial__name {
  font-weight: 500;
  color: var(--color-text);
}

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

/* FAQ (accordion-ready base) */
.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 22, 0.95);
  padding: var(--space-4);
}

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

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

/* Header & navigation basics */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.95), rgba(5, 6, 10, 0.75));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
}

.nav-link a {
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
}

.nav-link a:hover {
  color: var(--color-primary-strong);
}

@media (max-width: 840px) {
  .nav-links {
    display: none;
  }
}

/* Footer basics */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, #15192b 0, #05060a 55%, #000 100%);
  padding-top: var(--space-8);
  padding-bottom: var(--space-6);
  font-size: var(--font-size-sm);
}

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

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

/* ==========================================================================
   Responsive tweaks
   ======================================================================= */
@media (max-width: 640px) {
  .section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }

  .card {
    padding: var(--space-4);
  }
}
