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

:root {
  /* Colors */
  --color-background: #050814;
  --color-background-alt: #0b1022;
  --color-surface: #11172c;
  --color-surface-soft: rgba(17, 23, 44, 0.92);
  --color-text: #f5f5fb;
  --color-text-muted: #a5aac6;
  --color-primary: #ff3366;
  --color-primary-soft: rgba(255, 51, 102, 0.12);
  --color-primary-strong: #ff4b7f;
  --color-accent: #16ffe3;
  --color-success: #22c55e;
  --color-warning: #fbbf24;
  --color-danger: #ef4444;
  --color-border-subtle: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.16);
  --color-neutral-50: #f9fafb;
  --color-neutral-100: #f3f4f6;
  --color-neutral-200: #e5e7eb;
  --color-neutral-300: #d1d5db;
  --color-neutral-400: #9ca3af;
  --color-neutral-500: #6b7280;
  --color-neutral-600: #4b5563;
  --color-neutral-700: #374151;
  --color-neutral-800: #1f2933;
  --color-neutral-900: #111827;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Roboto", "Segoe UI", sans-serif;
  --font-display: "Poppins", "Inter", system-ui, -apple-system, sans-serif;

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

  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --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 */

  /* Radii */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-full: 999px;

  /* Shadows - nightlife / neon inspired */
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 20px 45px rgba(0, 0, 0, 0.8);
  --shadow-glow-primary: 0 0 0 1px rgba(255, 51, 102, 0.5), 0 0 25px rgba(255, 51, 102, 0.6);
  --shadow-glow-accent: 0 0 0 1px rgba(22, 255, 227, 0.4), 0 0 22px rgba(22, 255, 227, 0.6);

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

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

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

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-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%;
}

img {
  height: auto;
}

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

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

textarea {
  resize: vertical;
}

:focus {
  outline: none;
}

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

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

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  background: radial-gradient(circle at top left, #151b35 0, #050814 55%, #02030a 100%);
  color: var(--color-text);
  text-rendering: optimizeLegibility;
  -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: #ffffff;
}

h1 {
  font-size: clamp(var(--font-size-3xl), 2.6vw + 1.4rem, var(--font-size-5xl));
  letter-spacing: 0.03em;
}

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

h3 {
  font-size: clamp(var(--font-size-xl), 1.4vw + 0.9rem, var(--font-size-3xl));
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color var(--transition-base), text-shadow var(--transition-base);
}

a:hover {
  color: var(--color-accent);
  text-shadow: 0 0 12px rgba(22, 255, 227, 0.55);
}

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

strong {
  font-weight: 600;
}

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

hr {
  border: none;
  border-top: 1px solid var(--color-border-subtle);
  margin: var(--space-6) 0;
}

/* ==================================================================
   Accessibility Helpers
   ================================================================== */

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

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

/* ==================================================================
   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-16);
  padding-bottom: var(--space-16);
}

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

.section-title {
  margin-bottom: var(--space-6);
}

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

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

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

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

.justify-center {
  justify-content: center;
}

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

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

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

/* Grid helpers */

.grid {
  display: grid;
}

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

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

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

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

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

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

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-3); }
.mt-md { margin-top: var(--space-6); }
.mt-lg { margin-top: var(--space-10); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-3); }
.mb-md { margin-bottom: var(--space-6); }
.mb-lg { margin-bottom: var(--space-10); }

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

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

/* Buttons - primary CTA for rezerwacja, wydarzenia, poker etc. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  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);
  position: relative;
  isolation: isolate;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, #ff7aa2 0, #ff3366 40%, #d2143f 100%);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 10% 0, rgba(255, 255, 255, 0.22), transparent 60%);
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: var(--shadow-glow-primary);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-glow-primary);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text);
}

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

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

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

/* Form controls for rezerwacje, kontakt, poker zapisy */

.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background: rgba(5, 8, 20, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base),
              background-color var(--transition-base);
}

.form-control::placeholder {
  color: rgba(165, 170, 198, 0.7);
}

.form-control:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(255, 51, 102, 0.4), 0 0 18px rgba(255, 51, 102, 0.5);
}

.form-control[disabled],
.form-control:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

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

/* Card - for menu sekcje, poker info, wydarzenia, oferty specjalne */

.card {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(17, 23, 44, 0.96), rgba(7, 10, 26, 0.96));
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(255, 51, 102, 0.08), transparent 60%),
              radial-gradient(circle at 100% 100%, rgba(22, 255, 227, 0.06), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

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

.card--soft {
  background: rgba(5, 8, 20, 0.8);
  box-shadow: none;
}

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

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

.card-meta {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
}

/* Tag / pill - for "Poker Night", "Transmisja Live", "Happy Hour" */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 8, 20, 0.8);
  color: var(--color-text-muted);
}

.pill--primary {
  border-color: rgba(255, 51, 102, 0.8);
  background: var(--color-primary-soft);
  color: var(--color-primary-strong);
}

.pill--accent {
  border-color: rgba(22, 255, 227, 0.7);
  background: rgba(22, 255, 227, 0.12);
  color: var(--color-accent);
}

/* Media wrappers - for interior gallery, sports screens, video */

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

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

/* Badge for status (np. "Dziś gramy", "Nowa karta drinków") */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
}

.badge--success {
  background: rgba(34, 197, 94, 0.18);
  color: var(--color-success);
}

.badge--warning {
  background: rgba(251, 191, 36, 0.18);
  color: var(--color-warning);
}

.badge--danger {
  background: rgba(239, 68, 68, 0.18);
  color: var(--color-danger);
}

/* Header navigation basics */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 8, 20, 0.95), rgba(5, 8, 20, 0.7));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

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

.nav-link {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
}

.nav-link:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.nav-link--active {
  color: var(--color-accent);
  border-bottom-color: rgba(22, 255, 227, 0.7);
}

/* Footer base */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 100% 0, rgba(255, 51, 102, 0.12), transparent 60%),
              radial-gradient(circle at 0 100%, rgba(22, 255, 227, 0.1), transparent 55%),
              #050814;
  padding-top: var(--space-10);
  padding-bottom: var(--space-6);
}

.site-footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  align-items: center;
}

/* Hero overlay - for strong first impression / nightlife mood */

.hero {
  position: relative;
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0, rgba(255, 51, 102, 0.24), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(22, 255, 227, 0.2), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

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

.hero-title {
  max-width: 15ch;
  margin-bottom: var(--space-4);
}

.hero-subtitle {
  max-width: 36rem;
  color: var(--color-text-muted);
}

/* Tables - for poker house rules, godziny otwarcia, menu listing */

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

thead {
  background: rgba(5, 8, 20, 0.96);
}

th, td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

th {
  font-weight: 500;
  text-align: left;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Chips-like list for poker tables / oferty specjalne */

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-muted);
}

.chip--highlight {
  background: linear-gradient(120deg, rgba(255, 51, 102, 0.22), rgba(22, 255, 227, 0.18));
  color: #ffffff;
}

/* Map / contact card wrapper */

.map-shell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-soft);
}

iframe {
  border: 0;
}

/* ==================================================================
   Helper classes specific to Vibe Party Club vibe
   ================================================================== */

.text-glow-primary {
  color: var(--color-primary);
  text-shadow: 0 0 15px rgba(255, 51, 102, 0.8);
}

.text-glow-accent {
  color: var(--color-accent);
  text-shadow: 0 0 12px rgba(22, 255, 227, 0.8);
}

.bg-blur-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(17, 23, 44, 0.9), rgba(5, 8, 20, 0.85));
  backdrop-filter: blur(18px);
}

.badge-night {
  background: rgba(5, 8, 20, 0.7);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.55rem;
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px dashed rgba(255, 255, 255, 0.26);
}

/* End base.css */
