/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  /* Color Palette */
  --color-bg: #050509;
  --color-bg-alt: #0c0c14;
  --color-surface: #11111b;
  --color-surface-elevated: #181825;

  --color-text: #f9fafb;
  --color-text-muted: #9ca3af;
  --color-text-soft: #6b7280;

  --color-primary: #f5c452; /* warm gold */
  --color-primary-soft: rgba(245, 196, 82, 0.15);
  --color-primary-strong: #ffdf7f;

  --color-accent: #b91c1c; /* deep burgundy red */
  --color-accent-soft: rgba(185, 28, 28, 0.16);

  --color-navy: #020617;

  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  --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-display: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

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

  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-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-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadows – subtle, luxurious glow */
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.5);
  --shadow-soft-gold: 0 0 40px rgba(245, 196, 82, 0.28);

  /* Transitions */
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition-fast: 120ms var(--ease-standard);
  --transition-med: 200ms var(--ease-standard);
  --transition-slow: 320ms var(--ease-standard);

  /* Layout */
  --container-max-width: 1200px;
  --navbar-height: 72px;
}

/* Motion-safe defaults */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms linear;
    --transition-med: 0ms linear;
    --transition-slow: 0ms linear;
  }
}

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

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

img {
  height: auto;
}

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

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

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

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

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

legend {
  padding: 0;
}

:focus {
  outline: none;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: radial-gradient(circle at top, #17172a 0, #050509 55%, #000000 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  min-height: calc(100vh - var(--navbar-height));
}

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

h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: 0.03em;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

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

strong {
  font-weight: 600;
}

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

a:hover {
  color: var(--color-primary-strong);
  text-shadow: 0 0 12px rgba(245, 196, 82, 0.5);
}

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

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

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

/* ==========================================================================
   Accessibility
   ========================================================================== */
: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.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

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

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

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

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

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

.section__heading {
  max-width: 40rem;
  margin-bottom: var(--space-8);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0.75rem;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, rgba(245, 196, 82, 0.18), rgba(185, 28, 28, 0.28));
  color: var(--color-primary-strong);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(245, 196, 82, 0.7);
}

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

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

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

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

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

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

.flex-column {
  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-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

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

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

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

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

/* Spacing utilities (common) */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

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

/* Width */
.w-full { width: 100%; }

/* Elevation / backgrounds */
.bg-surface {
  background-color: var(--color-surface);
}

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

.border-soft {
  border: 1px solid rgba(148, 163, 184, 0.22);
}

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

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }

/* Hero & overlay helpers for nightlife aesthetic */
.hero {
  position: relative;
  padding-top: calc(var(--space-16) + 1.5rem);
  padding-bottom: var(--space-16);
  color: var(--color-text);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0, rgba(245, 196, 82, 0.26), transparent 50%),
    radial-gradient(circle at 80% 0, rgba(185, 28, 28, 0.45), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.90;
  pointer-events: none;
}

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

.backdrop-blur {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-med),
    color var(--transition-med),
    box-shadow var(--transition-med),
    transform var(--transition-fast),
    border-color var(--transition-med);
}

.btn--primary {
  background: linear-gradient(135deg, #f5c452, #f59e0b);
  color: #0a0a0a;
  box-shadow: var(--shadow-sm), var(--shadow-soft-gold);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), 0 0 50px rgba(245, 196, 82, 0.5);
}

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

.btn--ghost {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--color-text);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 32px rgba(15, 23, 42, 0.9);
}

.btn--light {
  background: #f9fafb;
  color: #020617;
}

.btn--light:hover {
  background: #e5e7eb;
}

.btn--danger {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
  color: #fef2f2;
}

.btn--sm {
  padding: 0.5rem 1.3rem;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 0.9rem 1.9rem;
  font-size: var(--text-base);
}

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

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

/* Inputs & form controls */
.form-control {
  display: block;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background-color: rgba(15, 23, 42, 0.85);
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.4;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

.form-control::placeholder {
  color: var(--color-text-soft);
}

.form-control:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(245, 196, 82, 0.6);
  background-color: rgba(15, 23, 42, 0.98);
}

.form-control--textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.form-helper {
  margin-top: 0.2rem;
  font-size: var(--text-xs);
  color: var(--color-text-soft);
}

.form-error {
  margin-top: 0.2rem;
  font-size: var(--text-xs);
  color: var(--color-danger);
}

input[type="checkbox"],
input[type="radio"] {
  width: 1rem;
  height: 1rem;
  border-radius: 4px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background-color: rgba(15, 23, 42, 0.9);
}

/* Cards – for services, testimonials, FAQ, etc. */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: radial-gradient(circle at top left, rgba(245, 196, 82, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.85), rgba(2, 6, 23, 1));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 196, 82, 0.14), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med);
}

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

.card--soft {
  background: rgba(15, 23, 42, 0.85);
}

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

.card__title {
  font-size: var(--text-xl);
  margin-bottom: 0.25rem;
}

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

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

/* Badges – trust & certification visuals */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
  color: var(--color-text-soft);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.badge--success {
  border-color: rgba(34, 197, 94, 0.75);
  color: #bbf7d0;
}

.badge--gold {
  border-color: rgba(245, 196, 82, 0.8);
  color: var(--color-primary-strong);
}

/* Tag-like chips (for "firemní akce", "poker večer" etc.) */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at 0 0, rgba(245, 196, 82, 0.18), rgba(15, 23, 42, 0.96));
  color: var(--color-text-soft);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: rgba(148, 163, 184, 0.45);
}

.testimonial__text {
  font-size: var(--text-lg);
  color: var(--color-text);
}

.testimonial__meta {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}

/* FAQ */
.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.8);
  padding: var(--space-4) var(--space-5);
}

.faq-item__question {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text);
}

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

/* Tags to highlight "zábavné události" etc. */
.highlight {
  color: var(--color-primary-strong);
}

/* CTA bar – conversion focused ribbons */
.cta-bar {
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9)),
    radial-gradient(circle at 100% 0, rgba(245, 196, 82, 0.25), transparent 60%);
  border: 1px solid rgba(245, 196, 82, 0.32);
  box-shadow: var(--shadow-md);
}

/* Trust row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-soft);
}

.trust-row__logos {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  opacity: 0.85;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  background: #020617;
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}

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

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

/* ==========================================================================
   Helper classes for subtle entrance animations
   (respecting prefers-reduced-motion)
   ========================================================================== */
.motion-fade-up {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 600ms var(--ease-standard) forwards;
}

.motion-fade-up-delayed {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 700ms var(--ease-standard) 120ms forwards;
}

@media (prefers-reduced-motion: reduce) {
  .motion-fade-up,
  .motion-fade-up-delayed {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
