/* ========================================================================
   Play Advisor Zone - Base Styles
   Modern, elegant, welcoming, premium, social, polished
   ======================================================================== */

/* ========================================================================
   1. CSS Variables
   ======================================================================== */
:root {
  /* Color Palette */
  --color-bg: #060709; /* deep, modern background */
  --color-surface: #101318; /* cards, panels */
  --color-surface-alt: #181c23;
  --color-text: #f5f5f6;
  --color-text-muted: #a7abb3;

  --color-primary: #e0b15b; /* warm gold, premium accent */
  --color-primary-soft: rgba(224, 177, 91, 0.14);
  --color-primary-strong: #f1c56e;

  --color-success: #44c477;
  --color-warning: #f3b44c;
  --color-danger: #f1555c;

  /* Neutral Grays */
  --gray-50: #f8fafc;
  --gray-100: #e4e7ec;
  --gray-200: #cbd0dd;
  --gray-300: #a7abb3;
  --gray-400: #7b808a;
  --gray-500: #555a64;
  --gray-600: #353945;
  --gray-700: #272a33;
  --gray-800: #16181f;
  --gray-900: #0c0d11;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-md: 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-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Spacing Scale (px) */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 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.35);
  --shadow-elevated: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.35);

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

  /* Layout */
  --container-max-width: 1120px;
  --header-height: 72px;
}

/* ========================================================================
   2. Reset / Normalize
   ======================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

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

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

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

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

/* Remove default focus styles; we'll use :focus-visible */
:focus {
  outline: none;
}

/* ========================================================================
   3. Base Styles
   ======================================================================== */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  background-color: var(--color-bg);
  color: var(--color-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  margin-bottom: var(--space-3);
}

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

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

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

strong {
  font-weight: 600;
}

small {
  font-size: 0.875em;
}

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

a:hover {
  color: var(--color-primary-strong);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-strong);
}

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

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

/* ========================================================================
   4. Utilities
   ======================================================================== */

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

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

.section--alt {
  background: radial-gradient(circle at top left, rgba(224, 177, 91, 0.08), transparent 55%),
              linear-gradient(to bottom, #050608, #050608 40%, #07090c 100%);
}

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

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

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

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

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

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

/* Grid Helpers */
.grid {
  display: grid;
  gap: var(--space-4);
}

.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 Alignment */
.text-center {
  text-align: center;
}

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

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

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

/* Spacing Helpers (margin / padding short set) */
.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); }

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

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

.px-4 {
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

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

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

/* ========================================================================
   5. Components
   ======================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal),
    border-color var(--transition-normal),
    transform var(--transition-fast),
    box-shadow var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
  color: #1b1206 !important;
  box-shadow: var(--shadow-soft);
}

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

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

.btn-outline {
  background-color: transparent;
  color: var(--color-primary-strong);
  border-color: rgba(224, 177, 91, 0.7);
  background-image: radial-gradient(circle at top left, rgba(224, 177, 91, 0.22), transparent 60%);
}

.btn-outline:hover {
  background-color: rgba(224, 177, 91, 0.08);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text);
  border-color: transparent;
}

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

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

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

/* Inputs & Forms */
.input,
.textarea,
.select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(15, 17, 23, 0.95);
  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-text-muted);
}

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(224, 177, 91, 0.6);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

label {
  display: inline-block;
  margin-bottom: var(--space-1);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

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

.form-helper {
  margin-top: 4px;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

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

/* Card Component (for sections, menu highlights, poker info, etc.) */
.card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.8));
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.card--subtle {
  background: var(--color-surface);
  box-shadow: var(--shadow-subtle);
}

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

.card-title {
  margin-bottom: var(--space-1);
}

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

/* Tag / Pill (e.g. for "Fine Dining", "Poker Esték") */
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(224, 177, 91, 0.5);
  background-color: rgba(224, 177, 91, 0.06);
  color: var(--color-primary-strong);
}

/* List for FAQs, details, etc. */
.list-soft {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-soft li {
  position: relative;
  padding-left: 18px;
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
}

.list-soft li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary-strong);
}

/* Quote / Testimonial */
.quote {
  position: relative;
  padding-left: var(--space-4);
  border-left: 2px solid rgba(224, 177, 91, 0.5);
  color: var(--color-text-muted);
  font-style: italic;
}

.quote-author {
  margin-top: var(--space-2);
  font-weight: 500;
  color: var(--color-text);
}

/* Navigation shell (basic, can be extended per page) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(6, 7, 9, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header-inner {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

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

.site-nav a[aria-current="page"],
.site-nav a.is-active {
  color: var(--color-primary-strong);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #050608;
  padding: var(--space-6) 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

/* Hero / Emphasis section helper */
.hero {
  padding-top: calc(var(--space-16));
  padding-bottom: calc(var(--space-14));
}

.hero-title {
  max-width: 18ch;
}

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

/* Media overlays for gallery */
.media-overlay {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.media-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.media-overlay:hover::after {
  opacity: 1;
}

/* Poker accent (for chips / cards themed highlights) */
.poker-accent {
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: radial-gradient(circle at 0 0, rgba(224, 177, 91, 0.4), transparent 60%),
              linear-gradient(135deg, #173726, #151725);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f5f5f6;
}

/* ========================================================================
   6. Accessibility & Motion
   ======================================================================== */

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

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ========================================================================
   7. Utility for Chips (Smoking / Dress code / Opening hours labels)
   ======================================================================== */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: var(--font-size-xs);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
}

.chip--success {
  background-color: rgba(68, 196, 119, 0.12);
  color: var(--color-success);
}

.chip--warning {
  background-color: rgba(243, 180, 76, 0.12);
  color: var(--color-warning);
}

.chip--danger {
  background-color: rgba(241, 85, 92, 0.12);
  color: var(--color-danger);
}

/* ========================================================================
   8. Responsive tweaks
   ======================================================================== */

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

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

  .site-header {
    height: auto;
  }

  .site-header-inner {
    flex-wrap: wrap;
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: var(--space-2);
  }
}
