/* =========================================
   Variables
   ========================================= */
:root {
  /* Color Palette */
  --color-background: #ffffff;
  --color-background-alt: #f7f4ef;
  --color-surface: #ffffff;
  --color-surface-elevated: #fdfbf7;

  --color-text: #101322;
  --color-text-soft: #4b5063;
  --color-text-muted: #7b8194;

  --color-primary: #b8860b; /* warm elegant gold */
  --color-primary-soft: rgba(184, 134, 11, 0.12);
  --color-primary-dark: #8c6808;

  --color-accent: #f2a65a; /* warm accent */
  --color-accent-soft: rgba(242, 166, 90, 0.12);

  --color-brand-dark: #0b1a33; /* deep elegant blue */
  --color-brand-dark-soft: rgba(11, 26, 51, 0.9);

  --color-success: #2f9d69;
  --color-success-soft: rgba(47, 157, 105, 0.12);

  --color-warning: #f3b33d;
  --color-warning-soft: rgba(243, 179, 61, 0.14);

  --color-danger: #d64545;
  --color-danger-soft: rgba(214, 69, 69, 0.12);

  --color-border-subtle: #e4e0d8;
  --color-border-soft: rgba(11, 26, 51, 0.08);

  /* Neutral Grays */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5f5;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Typography */
  --font-sans: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Playfair Display", "Times New Roman", 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.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* 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-9: 2.25rem;  /* 36px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-14: 3.5rem;  /* 56px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

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

  /* Shadows (soft luxury feel) */
  --shadow-sm: 0 4px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 55px rgba(15, 23, 42, 0.16);

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

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

* {
  margin: 0;
  padding: 0;
}

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

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

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

picture {
  display: block;
}

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

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

ul,
ol {
  list-style: none;
}

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

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

textarea {
  resize: vertical;
}

:focus {
  outline: none;
}

/************************************
  Base Styles
*************************************/
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background-color: var(--color-background);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 60vh;
}

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

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

h2 {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
}

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

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

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

strong {
  font-weight: 600;
}

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

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

a:not(.btn):hover {
  color: var(--color-primary-dark);
}

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

/************************************
  Accessibility & Motion
*************************************/
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

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

/************************************
  Utilities
*************************************/
/* Layout container */
.container {
  width: 100%;
  max-width: 1200px;
  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);
  }
}

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

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

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

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

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

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

/* Spacing utilities (common subset) */
.section {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.section--alt {
  background: linear-gradient(180deg, #ffffff 0%, #faf7f1 100%);
}

.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: var(--space-2) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }

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

.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

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

/************************************
  Basic Components
*************************************/
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  background-image: linear-gradient(135deg, #c6993f, #b8860b);
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-fast),
              border-color var(--transition-base),
              color var(--transition-base);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  background-image: linear-gradient(135deg, #d0a756, #c19116);
}

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

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}
.site-header__nav-link{
  font-size: 12px;
}
.btn--outline {
  background: transparent;
  color: #b3db67;
  border-color: rgba(184, 134, 11, 0.6);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--color-primary-soft);
  box-shadow: var(--shadow-sm);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

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

/* Inputs & form controls */
.input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: var(--color-surface);
  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);
}

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

.input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: rgba(184, 134, 11, 0.9);
  box-shadow: 0 0 0 1px rgba(184, 134, 11, 0.25);
}

.input[disabled],
select[disabled],
textarea[disabled] {
  background-color: var(--gray-100);
  cursor: not-allowed;
  opacity: 0.75;
}

label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-brand-dark);
}

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

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

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

/* Card */
.card {
  background-color: var(--color-surface-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 55%),
              radial-gradient(circle at bottom right, rgba(184, 134, 11, 0.12), transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}

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

.card--ghost {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.card--dark {
  background: radial-gradient(circle at top left, #1f2937, #020617);
  color: #f9fafb;
  border-color: rgba(248, 250, 252, 0.14);
}

.card--dark::before {
  background: radial-gradient(circle at top left, rgba(184, 134, 11, 0.5), transparent 55%),
              radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.7), transparent 55%);
}

/* Elevated hero-like panel (for slider captions, CTAs etc.) */
.surface-elevated {
  background: rgba(11, 26, 51, 0.76);
  color: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.surface-elevated--light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
}

/* Badges (for categories like VIP, Csapatépítés, stb.) */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background-color: var(--color-primary-soft);
  color: var(--color-brand-dark);
}

.badge--outline {
  background: transparent;
  border: 1px solid rgba(184, 134, 11, 0.65);
}

.badge--soft-dark {
  background-color: rgba(11, 26, 51, 0.08);
  color: var(--color-brand-dark);
}

/* Sections with subtle top border for separation */
.section-divider {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
