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

:root {
  /* Color palette - luxury restaurant & casino-inspired */
  --color-bg: #f8f4ee; /* warm ivory backdrop */
  --color-bg-alt: #f2ebe2; /* subtle section contrast */
  --color-surface: #ffffff; /* cards, panels, modals */

  --color-text: #2e2620; /* deep espresso */
  --color-text-soft: #6e6054; /* muted body text */
  --color-muted: #a49382; /* soft captions, meta */

  --color-primary: #c9a066; /* champagne gold */
  --color-primary-soft: rgba(201, 160, 102, 0.12);
  --color-primary-strong: #b48947;

  --color-success: #4b8552;
  --color-warning: #b8873b;
  --color-danger: #b55252;

  --color-border-subtle: rgba(46, 38, 32, 0.08);
  --color-border-strong: rgba(46, 38, 32, 0.16);

  --color-neutral-50: #faf7f2;
  --color-neutral-100: #f2ebe2;
  --color-neutral-200: #e0d4c4;
  --color-neutral-300: #c4b29e;
  --color-neutral-400: #aa947c;
  --color-neutral-500: #8f7760;
  --color-neutral-600: #715b46;
  --color-neutral-700: #574333;
  --color-neutral-800: #3c2d23;
  --color-neutral-900: #271d17;

  /* Typography */
  --font-serif: "Playfair Display", "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Inter", "system-ui", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Base sizing scale (mobile-first, in rem for flexibility) */
  --font-size-xs: 0.75rem;   /* ~12px */
  --font-size-sm: 0.875rem;  /* ~14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-md: 1.0625rem; /* ~17px body accent */
  --font-size-lg: 1.25rem;   /* 20px */
  --font-size-xl: 1.5rem;    /* 24px */
  --font-size-2xl: 1.875rem; /* 30px */
  --font-size-3xl: 2.25rem;  /* 36px */
  --font-size-4xl: 3rem;     /* 48px – hero desktop */

  --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 – soft, cinematic */
  --shadow-soft: 0 12px 35px rgba(18, 10, 5, 0.12);
  --shadow-soft-high: 0 24px 80px rgba(13, 7, 3, 0.2);
  --shadow-subtle: 0 6px 20px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-normal: 220ms ease-out;
  --transition-slow: 380ms ease;

  /* Layout */
  --container-max-width: 1200px;
  --container-max-width-wide: 1440px;
  --header-height: 72px;
  --z-header: 1000;
  --z-overlay: 1100;
  --z-modal: 1200;
}

/* Reduce motion – users with motion sensitivity */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-normal: 0ms;
    --transition-slow: 0ms;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ========================================================================
   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,
 ol {
  margin: 0;
  padding: 0;
}

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

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

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

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

textarea {
  resize: vertical;
}

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

[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-relaxed);
  background-color: var(--color-bg);
  color: var(--color-text-soft);
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

/* Headings – editorial, cinematic hierarchy */

h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, var(--font-size-4xl));
  line-height: var(--line-height-tight);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, var(--font-size-3xl));
  line-height: var(--line-height-snug);
}

h3 {
  font-size: clamp(1.5rem, 2.6vw, var(--font-size-2xl));
  line-height: var(--line-height-snug);
}

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

h5 {
  font-size: var(--font-size-lg);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

p {
  margin-top: 0;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-md);
}

strong {
  font-weight: 600;
  color: var(--color-text);
}

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

/* Links – subtle luxury underline on hover */

a {
  position: relative;
  transition: color var(--transition-normal);
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1em;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 160, 102, 0.3), rgba(201, 160, 102, 1));
  transition: width var(--transition-normal);
}

a:hover::after,
 a:focus-visible::after {
  width: 100%;
}

/* Lists */

ul,
 ol {
  list-style: none;
}

/* Quotes */

blockquote {
  margin: var(--space-6) 0;
  padding-left: var(--space-5);
  border-left: 2px solid var(--color-primary-soft);
  color: var(--color-text-soft);
  font-style: italic;
}

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

:focus:not(:focus-visible) {
  outline: none;
}

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

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

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

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

.container--wide {
  max-width: var(--container-max-width-wide);
}

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

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

.section--divider {
  border-top: 1px solid var(--color-border-subtle);
}

/* Flex utilities */

.flex {
  display: flex;
}

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

.flex-row {
  flex-direction: row;
}

.flex-column {
  flex-direction: column;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

.flex-between {
  justify-content: space-between;
}

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

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

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

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

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

/* Grid utilities */

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

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Simple responsive behavior */

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

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

/* Alignment & text utilities */

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

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

.text-uppercase {
  text-transform: uppercase;
}

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

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

/* Spacing utilities (selected common ones) */

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

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

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

/* Width & layout helpers */

.w-100 {
  width: 100%;
}

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

/* Buttons – primary CTA for rezerwacje & VIP */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.9rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: var(--color-neutral-900);
  color: #fdfbf7;
  box-shadow: var(--shadow-soft);
  transition: background-color var(--transition-normal),
              color var(--transition-normal),
              border-color var(--transition-normal),
              box-shadow var(--transition-normal),
              transform var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft-high);
}

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

.btn-primary {
  background: radial-gradient(circle at 20% 0, #ffe9c5 0, #c9a066 40%, #8b6734 100%);
  color: #201710;
}

.btn-primary:hover {
  background: radial-gradient(circle at 10% 0, #fff1d5 0, #d3aa6f 38%, #946f38 100%);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border-color: rgba(201, 160, 102, 0.55);
  box-shadow: none;
}

.btn-outline:hover {
  background-color: rgba(201, 160, 102, 0.08);
  box-shadow: var(--shadow-subtle);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  border-color: transparent;
  box-shadow: none;
}

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

.btn-sm {
  padding: 0.55rem 1.4rem;
  font-size: var(--font-size-xs);
}

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

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

.btn-icon {
  padding-inline: 1rem;
}

/* Inputs & form controls – rezerwacje, zapytania eventowe */

.input,
.select,
.textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  transition: border-color var(--transition-normal),
              box-shadow var(--transition-normal),
              background-color var(--transition-fast);
}

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

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  outline: none;
  border-color: rgba(201, 160, 102, 0.9);
  box-shadow: 0 0 0 1px rgba(201, 160, 102, 0.4);
  background-color: #ffffff;
}

.input[disabled],
.select[disabled],
.textarea[disabled] {
  background-color: rgba(242, 235, 226, 0.7);
  cursor: not-allowed;
}

.label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
}

.field-description {
  margin-top: var(--space-1);
  font-size: var(--font-size-xs);
  color: var(--color-muted);
}

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

/* Cards – menu highlight, VIP strefy, eventy */

.card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 238, 0.98));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-subtle);
  padding: var(--space-6);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(201, 160, 102, 0.18), transparent 52%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

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

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

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

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

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

.card-body {
  font-size: var(--font-size-sm);
}

/* Luxury divider – inspired by casino glamour */

.lux-divider {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.lux-divider::before,
.lux-divider::after {
  content: "";
  flex: 1 1 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 160, 102, 0), rgba(201, 160, 102, 0.6));
}

.lux-divider::after {
  transform: scaleX(-1);
}

.lux-divider__icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(201, 160, 102, 0.65);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
  background: radial-gradient(circle at 30% 0, #fff7e9 0, #c9a066 55%, #7f5a2c 100%);
}

/* Glassmorphism header shell (for floating navigation) */

.glass-surface {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 244, 238, 0.86));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(22, 13, 7, 0.16);
}

/* Badges – for special evenings, VIP highlights */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid rgba(201, 160, 102, 0.6);
  background: rgba(201, 160, 102, 0.08);
  color: var(--color-neutral-800);
}

.badge--soft {
  border-style: dashed;
  border-color: rgba(201, 160, 102, 0.4);
  background: rgba(201, 160, 102, 0.06);
}

/* Media wrapper – cinematic photography */

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: var(--color-neutral-900);
}

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

.media-frame--soft-shadow {
  box-shadow: var(--shadow-soft-high);
}

/* Footer base styling helper */

.footer-base {
  border-top: 1px solid rgba(201, 160, 102, 0.24);
  background: linear-gradient(180deg, #fbf7f1 0%, #f5ebde 45%, #eee0d0 100%);
  color: var(--color-neutral-800);
}

.footer-base a {
  color: inherit;
}

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

/* ========================================================================
   Page-level helpers for this project
   ======================================================================== */

/* Hero layout helper */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

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

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

.hero__headline {
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
}

.hero__subcopy {
  max-width: 34rem;
}

.hero__actions {
  margin-top: var(--space-6);
}

/* Top info bar helper (promocja wieczorów specjalnych) */

.top-bar {
  width: 100%;
  background: linear-gradient(90deg, #2a211a 0%, #3a2a1d 34%, #4a3421 100%);
  color: #f7efe4;
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 1.5rem;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.top-bar__accent {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff6d9 0, #f1c46d 45%, #bb7b25 100%);
  box-shadow: 0 0 0 3px rgba(251, 233, 189, 0.25);
}

/* Reservation highlight strip */

.reservation-strip {
  padding: var(--space-4) var(--space-4);
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(201, 160, 102, 0.18), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(201, 160, 102, 0.4);
}

.reservation-strip__label {
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-neutral-800);
}

.reservation-strip__info {
  font-size: var(--font-size-sm);
  color: var(--color-neutral-800);
}

@media (max-width: 767px) {
  .hero {
    flex-direction: column;
    text-align: left;
    padding-top: var(--space-8);
    padding-bottom: var(--space-10);
  }

  .hero__subcopy {
    max-width: 100%;
  }

  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
  }
}
