/* ========================================================================
   VelenceHubb Base Styles
   Luxurious, modern, elegant, professional, dark casino-inspired theme
   ======================================================================== */

/* ========================================================================
   1. CSS Variables
   ======================================================================== */

:root {
  /* Color Palette - Dark Luxury Casino Theme */
  --color-bg: #050608; /* near-black background */
  --color-bg-alt: #0c0f16; /* section background */
  --color-bg-elevated: #121622; /* cards, headers */

  --color-text: #f5f5f7; /* primary text */
  --color-text-muted: #a0a3b2; /* secondary text */
  --color-border-subtle: rgba(255, 255, 255, 0.06);

  --color-primary: #caa44a; /* warm gold */
  --color-primary-soft: rgba(202, 164, 74, 0.16);
  --color-primary-strong: #f3c969;

  --color-accent-emerald: #1e8f6b; /* emerald green */
  --color-accent-burgundy: #7c2433; /* deep burgundy */

  --color-success: #24b47e;
  --color-warning: #f6a721;
  --color-danger: #ff4b5c;

  /* Neutral Grays tuned for dark UI */
  --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, sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-mono: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;

  /* Font Sizes (mobile-first scale) */
  --fs-xs: 0.75rem;   /* 12px */
  --fs-sm: 0.875rem;  /* 14px */
  --fs-base: 1rem;    /* 16px */
  --fs-md: 1.125rem;  /* 18px */
  --fs-lg: 1.25rem;   /* 20px */
  --fs-xl: 1.5rem;    /* 24px */
  --fs-2xl: 1.875rem; /* 30px */
  --fs-3xl: 2.25rem;  /* 36px */
  --fs-4xl: 3rem;     /* 48px */

  /* Line Heights */
  --lh-tight: 1.15;
  --lh-normal: 1.5;
  --lh-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-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-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-pill: 999px;

  /* Shadows (subtle, glossy, spotlight) */
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.4);
  --shadow-elevated: 0 18px 45px rgba(0, 0, 0, 0.7);
  --shadow-soft-gold: 0 0 0 1px rgba(202, 164, 74, 0.25),
    0 14px 35px rgba(0, 0, 0, 0.75);

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

  /* Layout */
  --container-width: 1120px;
  --container-padding-x: 1.25rem;

  /* Focus ring */
  --focus-ring-color: rgba(202, 164, 74, 0.9);
  --focus-ring-width: 2px;
  --focus-ring-offset: 2px;
}

@media (min-width: 768px) {
  :root {
    --fs-xl: 1.75rem;   /* 28px */
    --fs-2xl: 2.25rem;  /* 36px */
    --fs-3xl: 2.75rem;  /* 44px */
    --fs-4xl: 3.5rem;   /* 56px */

    --container-padding-x: 1.5rem;
  }
}

/* ========================================================================
   2. Reset & Normalize
   ======================================================================== */

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

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

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

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

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

body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Remove default focus outlines; we will restore via :focus-visible */
:focus {
  outline: none;
}

/* ========================================================================
   3. Base Styles
   ======================================================================== */

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  background-color: var(--color-bg);
  color: var(--color-text);
}

main {
  min-height: 60vh;
}

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

h1 {
  font-size: var(--fs-3xl);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-4);
}

h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-2);
}

h4 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2);
}

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

strong {
  font-weight: 600;
}

a {
  cursor: pointer;
  transition: color var(--transition-normal),
    text-shadow var(--transition-normal);
}

a:hover {
  color: var(--color-primary-strong);
  text-shadow: 0 0 12px rgba(202, 164, 74, 0.55);
}

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

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

::selection {
  background: rgba(202, 164, 74, 0.25);
  color: var(--gray-50);
}

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

/* Layout */

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

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

.section--dark {
  background: radial-gradient(circle at top, rgba(124, 36, 51, 0.18) 0,
      transparent 55%),
    radial-gradient(circle at bottom, rgba(30, 143, 107, 0.18) 0, transparent 55%),
    var(--color-bg-alt);
}

.section__heading {
  margin-bottom: 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-col {
  display: flex;
  flex-direction: column;
}

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

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

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

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

/* Grid Helpers */

.grid {
  display: grid;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  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 (limited, for layout tweaks) */

.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-6 { margin-top: var(--space-6) !important; }
.mt-8 { margin-top: var(--space-8) !important; }

.mb-0 { margin-bottom: 0 !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-8 { padding-top: var(--space-8) !important; }
.pb-8 { padding-bottom: var(--space-8) !important; }

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

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

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

/* Max-width text container for long paragraphs */

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--transition-normal),
    border-color var(--transition-normal),
    color var(--transition-normal),
    transform var(--transition-fast),
    box-shadow var(--transition-normal),
    text-shadow var(--transition-normal);
}

.btn--primary {
  background: linear-gradient(135deg, #f3c969, #caa44a 40%, #9a7425 100%);
  color: #120e05;
  box-shadow: var(--shadow-soft-gold);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

.btn--outline {
  background: rgba(5, 6, 8, 0.75);
  border-color: rgba(202, 164, 74, 0.6);
  color: var(--color-text);
}

.btn--outline:hover {
  background: linear-gradient(135deg,
      rgba(202, 164, 74, 0.18),
      rgba(5, 6, 8, 0.95));
  box-shadow: var(--shadow-soft);
}

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

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

.btn--sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.78rem;
}

.btn--lg {
  padding: 0.9rem 1.9rem;
  font-size: 0.95rem;
}

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

/* Form Inputs */

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

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

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(202, 164, 74, 0.6), 0 0 0 4px rgba(202, 164, 74, 0.18);
  background-color: rgba(12, 15, 22, 0.98);
}

.textarea {
  min-height: 7rem;
  resize: vertical;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--gray-200);
}

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

.form-hint {
  font-size: var(--fs-xs);
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--color-danger);
  margin-top: 0.25rem;
}

/* Cards (for product highlights, testimonials, FAQ, etc.) */

.card {
  position: relative;
  background: radial-gradient(circle at top left,
        rgba(243, 201, 105, 0.05) 0,
        transparent 45%),
    radial-gradient(circle at bottom right,
        rgba(30, 143, 107, 0.05) 0,
        transparent 45%),
    var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: var(--space-5);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card--soft {
  background: rgba(12, 15, 22, 0.9);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.85);
}

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

.card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-1);
}

.card__meta {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gray-500);
  margin-bottom: var(--space-2);
}

.card__body {
  font-size: var(--fs-sm);
}

/* Casino-style image wrapper (for product & gallery visuals) */

.media-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(202, 164, 74, 0.3);
  box-shadow: var(--shadow-elevated);
  background: radial-gradient(circle at 10% 0,
        rgba(243, 201, 105, 0.24) 0,
        transparent 36%),
    radial-gradient(circle at 100% 120%,
        rgba(124, 36, 51, 0.35) 0,
        transparent 55%),
    #050608;
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0,
    transparent 40%,
    transparent 70%,
    rgba(255, 255, 255, 0.12) 100%
  );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* Badge for labels like "Prémium", "Egyedi gyártás" */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(202, 164, 74, 0.7);
  background: rgba(0, 0, 0, 0.45);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-strong);
}

.badge--emerald {
  border-color: rgba(30, 143, 107, 0.7);
  color: #43d1a2;
}

.badge--burgundy {
  border-color: rgba(124, 36, 51, 0.7);
  color: #ff90a4;
}

/* Hero text helpers (for Hungarian headlines & lead copy) */

.hero-kicker {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gray-400);
  margin-bottom: var(--space-3);
}

.hero-title {
  font-size: var(--fs-3xl);
  line-height: 1.05;
  margin-bottom: var(--space-4);
}

.hero-subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  max-width: 38rem;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: var(--fs-4xl);
  }

  .hero-subtitle {
    font-size: var(--fs-lg);
  }
}

/* CTA group */

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

/* Basic page section divider for multi-page structure */

.page-header {
  padding-top: var(--space-10);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: radial-gradient(circle at top,
        rgba(243, 201, 105, 0.12) 0,
        transparent 45%),
    var(--color-bg);
}

.page-header__title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-2);
}

.page-header__subtitle {
  max-width: 48rem;
}

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

:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

button:focus-visible,
[role='button']:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px #000,
    0 0 0 3px var(--focus-ring-color);
  border-radius: var(--radius-md);
}

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

/* ========================================================================
   7. Navigation (basic, shared across pages)
   ======================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 0.92),
    rgba(5, 6, 8, 0.82),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.navbar__brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.7rem;
  background: radial-gradient(circle at 30% 0,
        rgba(243, 201, 105, 0.85) 0,
        #9a7425 28%,
        #050608 100%);
  border: 1px solid rgba(243, 201, 105, 0.6);
  box-shadow: 0 0 20px rgba(243, 201, 105, 0.6);
}

.navbar__menu {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.navbar__link {
  position: relative;
  color: var(--gray-300);
  padding-block: 0.25rem;
}

.navbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #f3c969, #7c2433);
  transition: width var(--transition-normal);
}

.navbar__link:hover {
  color: var(--gray-50);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__cta {
  display: none;
}

.navbar__toggle {
  display: inline-flex;
}

@media (min-width: 992px) {
  .navbar__menu {
    display: flex;
  }

  .navbar__cta {
    display: inline-flex;
  }

  .navbar__toggle {
    display: none;
  }
}

/* ========================================================================
   8. Footer (shared base)
   ======================================================================== */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top,
        rgba(124, 36, 51, 0.25) 0,
        transparent 55%),
    #050608;
  padding-top: var(--space-8);
  padding-bottom: var(--space-6);
  font-size: var(--fs-sm);
}

.site-footer__legal {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--gray-500);
}

.site-footer a {
  color: var(--gray-300);
}

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

/* ========================================================================
   9. Helpful semantic accents for this project
   ======================================================================== */

/* Highlight keywords like "póker asztal", "blackjack asztal" in copy */

.keyword-highlight {
  color: var(--color-primary-strong);
  font-weight: 600;
}

.keyword-highlight--emerald {
  color: #5be4b7;
}

/* Trust indicators / checklist bullets */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: radial-gradient(circle,
      #43d1a2 0,
      #1e8f6b 55%,
      #050608 100%);
  box-shadow: 0 0 0 2px rgba(30, 143, 107, 0.45);
}

/* Testimonial base styling */

.testimonial-quote {
  font-style: italic;
  color: var(--gray-100);
}

.testimonial-author {
  margin-top: var(--space-3);
  font-weight: 500;
  color: var(--gray-300);
  font-size: var(--fs-sm);
}

.testimonial-role {
  font-size: var(--fs-xs);
  color: var(--gray-500);
}
