/* ===========================================================================
   Variables
   =========================================================================== */
:root {
  /* Colors */
  --color-bg-primary: #101827; /* rich dark navy */
  --color-bg-secondary: #F4F5F7; /* warm light gray */
  --color-bg-card: #FFFFFF; /* pure white */

  --color-text-dark: #222222; /* primary text on light backgrounds */
  --color-text-light: #F7F5F0; /* primary text on dark backgrounds */

  --color-heading: #18453B; /* deep emerald */

  --color-primary: #D98A1D; /* vibrant amber */
  --color-primary-hover: #9A5D12; /* dark bronze */

  --color-accent: #7C1F2D; /* elegant burgundy */

  --color-success: #1C7C54;
  --color-warning: #D98A1D;
  --color-danger: #D60000; /* also used for 21+ badge */

  --color-21plus-bg: #D60000;
  --color-21plus-text: #FFFFFF;

  --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, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-serif: "Playfair Display", "Times New Roman", Georgia, 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.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* 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-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.12), 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-normal: 250ms ease-out;
  --transition-slow: 350ms ease-out;
}

/* Respect prefers-reduced-motion */
@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;
}

* {
  margin: 0;
}

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

body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

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

ul[role="list"], ol[role="list"] {
  list-style: none;
}

body {
  -webkit-font-smoothing: antialiased;
}

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

/* ===========================================================================
   Base Styles
   =========================================================================== */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background-color: var(--color-bg-primary);
  color: var(--color-text-light);
}

main {
  display: block;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-heading);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-3);
}

h1 {
  font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
}

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

h3 {
  font-size: var(--font-size-2xl);
}

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

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

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

section {
  padding-block: var(--space-12);
}

@media (min-width: 768px) {
  section {
    padding-block: var(--space-16);
  }
}

strong {
  font-weight: 600;
}

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

/* Links - subtle but clear CTA styling */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

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

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

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

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

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

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

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

.flex-col {
  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(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: 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); }
.mt-12 { margin-top: var(--space-12); }

.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); }
.mb-12 { margin-bottom: var(--space-12); }

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

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

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

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

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

.bg-dark {
  background-color: var(--color-bg-primary);
  color: var(--color-text-light);
}

.bg-light {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-dark);
}

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

/* Visually hidden (for screen readers) */
.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;
}

/* 21+ fixed badge utility (used in header) */
.badge-21plus {
  right: var(--space-4);
  width: 100%;
  z-index: 40;
  background-color: var(--color-21plus-bg);
  text-align: center;
  color: var(--color-21plus-text);
  padding: 6px 12px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

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

/* Buttons - primary CTA: "Ingyenes ajánlatot kérek" and contact buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light) !important;
  box-shadow: var(--shadow-md);
}

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

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

.btn-outline-light {
  background-color: transparent;
  color: var(--color-text-light);
  border-color: rgba(247, 245, 240, 0.4);
}

.btn-outline-light:hover {
  background-color: rgba(247, 245, 240, 0.08);
}

.btn-ghost-dark {
  background-color: rgba(15, 23, 42, 0.4);
  color: var(--color-text-light);
}

.btn-ghost-dark:hover {
  background-color: rgba(15, 23, 42, 0.7);
}

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

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

/* Hero filter buttons like "Rendezvény típusa", "Város", "Telefonszám" */
.btn-filter {
  border-radius: var(--radius-md);
  padding: 10px 14px;
  background-color: rgba(15, 23, 42, 0.75);
  color: var(--color-text-light);
  border: 1px solid rgba(229, 231, 235, 0.18);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.btn-filter:hover {
  background-color: rgba(15, 23, 42, 0.9);
}

/* Form inputs */
.input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-300);
  background-color: #FFFFFF;
  color: var(--color-text-dark);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-snug);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

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

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

.input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--color-danger);
}

.field-label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--gray-700);
}

.field-help {
  margin-top: 4px;
  font-size: var(--font-size-xs);
  color: var(--gray-500);
}

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

/* Card component - used for offers, testimonials, FAQ items, etc. */
.card {
  background-color: var(--color-bg-card);
  color: var(--color-text-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}

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

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

.card-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-xl);
  color: var(--color-heading);
}

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

/* Offer wall / pricing highlight style */
.offer-highlight {
  border: 1px solid rgba(217, 138, 29, 0.3);
  box-shadow: var(--shadow-lg);
}

/* Conversion strip before footer */
.convert-strip {
  background: linear-gradient(135deg, #101827 0%, #18453B 45%, #7C1F2D 100%);
  color: var(--color-text-light);
  padding-block: var(--space-10);
}

/* Header & navigation basics (for premium event-agency style) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(16, 24, 39, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-serif);
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
}

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

.nav-link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: rgba(247, 245, 240, 0.85);
  position: relative;
  padding-block: 6px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  width: 100%;
}

/* Hero base styling (above the fold with offer wall) */
.hero {
  padding-block: var(--space-16) var(--space-12);
  background: radial-gradient(circle at top, rgba(217, 138, 29, 0.18) 0%, transparent 45%),
              radial-gradient(circle at bottom right, rgba(124, 31, 45, 0.3) 0%, transparent 50%),
              #101827;
  color: var(--color-text-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-8);
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-eyebrow {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(248, 250, 252, 0.7);
  margin-bottom: var(--space-2);
}

.hero-subtitle {
  margin-top: var(--space-4);
  font-size: var(--font-size-lg);
  max-width: 34rem;
}

.hero-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.hero-offer-wall {
  background-color: rgba(15, 23, 42, 0.8);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}

.hero-offer-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
}

.hero-offer-item-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-light);
}

.hero-offer-item-meta {
  font-size: var(--font-size-xs);
  color: rgba(209, 213, 219, 0.9);
}

/* Testimonials carousel / quotes */
.quote {
  font-style: italic;
  font-size: var(--font-size-lg);
}

.quote-author {
  margin-top: var(--space-3);
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
}

/* FAQ accordion base */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding-block: var(--space-4);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--font-size-base);
}

.faq-answer {
  margin-top: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--gray-600);
}

/* Gallery grid basics */
.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-lg);
  box-shadow: var(--shadow-md);
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
}

/* Footer base including legal disclaimer area */
.site-footer {
  background-color: #050814;
  color: rgba(249, 250, 251, 0.8);
  padding-block: var(--space-10);
}

.footer-top {
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(55, 65, 81, 0.8);
}

.footer-bottom {
  padding-top: var(--space-6);
  font-size: var(--font-size-xs);
  color: var(--gray-400);
}

.footer-disclaimer {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-relaxed);
  max-width: 72ch;
}

/* ===========================================================================
   Accessibility / Focus
   =========================================================================== */

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

[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* High-contrast helper for critical responsible-entertainment notice */
.notice-responsible {
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
  padding: var(--space-4);
  background-color: rgba(15, 23, 42, 0.9);
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
}

.notice-responsible strong {
  color: var(--color-primary);
}

/* ===========================================================================
   End of base.css
   =========================================================================== */
