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

:root {
  /* Colors */
  --color-bg: #050509;
  --color-bg-elevated: #0c0c12;
  --color-bg-soft: #15151f;

  --color-text: #ffffff;
  --color-text-muted: #d4d4e0;

  --color-primary: #f97316; /* neon-ish urban accent (orange) */
  --color-primary-soft: rgba(249, 115, 22, 0.16);

  --color-success: #22c55e;
  --color-warning: #eab308;
  --color-danger: #ef4444;

  --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, "Inter", "SF Pro Text", sans-serif;
  --font-display: "Oswald", "Impact", system-ui, sans-serif; /* urban, condensed look */

  --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.1;
  --line-height-snug: 1.25;
  --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-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radii */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* Shadows (subtle neon/urban) */
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 22px 60px rgba(0, 0, 0, 0.8);
  --shadow-glow-primary: 0 0 0 1px rgba(249, 115, 22, 0.6), 0 0 30px rgba(249, 115, 22, 0.45);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-normal: 200ms ease-out;
  --transition-slow: 320ms ease-out;

  /* Layout */
  --container-max-width: 1120px;
  --container-padding-x: 20px;
}

/* Light mode support (optional, if needed later) */
@media (prefers-color-scheme: light) {
  :root {
    --color-bg: #f5f5f7;
    --color-bg-elevated: #ffffff;
    --color-bg-soft: #f3f4f6;

    --color-text: #111827;
    --color-text-muted: #4b5563;

    --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 24px 60px rgba(15, 23, 42, 0.16);
  }
}

/* ========================================================================== 
   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[class],
ol[class] {
  padding: 0;
  margin: 0;
  list-style: none;
}

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

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

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

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

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

/* Remove animations for users that prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

/* ========================================================================== 
   Base Styles
   ========================================================================== */

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

/* Headings – bold, urban, tight line-height */
h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: orangered;
}

h1 {
  font-size: clamp(2.4rem, 3vw + 1.2rem, var(--font-size-5xl));
  margin-bottom: var(--space-4);
  color: orangered;
}

@media (max-width: 768px) {
  h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.15;
    color: orangered;
  }
}

h2 {
  font-size: clamp(1.9rem, 2vw + 1rem, var(--font-size-4xl));
  margin-bottom: var(--space-3);
  color: orangered;
}

@media (max-width: 768px) {
  h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    line-height: 1.2;
    color: orangered;
  }
}

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

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

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

h6 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-1);
}

p {
  margin-bottom: var(--space-4);
  /* comfortable line length */
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
  }
}

strong,
 b {
  font-weight: 600;
}

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

/* Links – minimal, with underlines on hover only */
a {
  position: relative;
  color: var(--color-primary);
  transition: color var(--transition-normal);
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition-normal);
}

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

/* Lists */
ul,
 ol {
  padding-left: 1.1em;
  margin-bottom: var(--space-4);
}

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

li + li {
  margin-top: 0.25em;
}

/* Blockquotes – for testimonials */
blockquote {
  margin: 0 0 var(--space-4);
  padding: var(--space-4);
  border-left: 3px solid var(--color-primary);
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-md);
  color: #ffffff!important;
}

/* Code */
code,
 pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

pre {
  padding: var(--space-4);
  background: #02020a;
  border-radius: var(--radius-md);
  overflow-x: auto;
}

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

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

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

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

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

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

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

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

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

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

.justify-center {
  justify-content: center;
}

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

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

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

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

/* Text alignment */
.text-center {
  text-align: center;
}

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

/* Spacing utilities (a few common ones) */
.mt-0 {
  margin-top: 0;
}

.mt-4 {
  margin-top: var(--space-4);
}

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

.mb-0 {
  margin-bottom: 0;
}

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

.mb-6 {
  margin-bottom: var(--space-6);
}

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

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

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

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

/* Buttons – primary CTAs (e.g., Időpontfoglalás) */
.button {
  --btn-bg: var(--color-primary);
  --btn-bg-hover: #fb923c;
  --btn-text: #050509;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition-normal),
              color var(--transition-normal),
              box-shadow var(--transition-normal),
              transform var(--transition-fast),
              border-color var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.button:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

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

.button--ghost {
  --btn-bg: transparent;
  --btn-bg-hover: rgba(15, 23, 42, 0.85);
  --btn-text: orangered;
  border-color: rgba(148, 163, 184, 0.4);
}

.button--outline {
  --btn-bg: transparent;
  --btn-bg-hover: var(--color-primary-soft);
  --btn-text: var(--color-primary);
  border-color: var(--color-primary);
}

/* Inputs – booking forms, contact, etc. */
.input,
 textarea,
 select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background-color: rgba(15, 23, 42, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  outline: none;
  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(--color-text-muted);
}

.input:focus-visible,
 textarea:focus-visible,
 select:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.6);
}

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

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

label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

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

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

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

/* Card – portfolio items, artist bios, testimonials */
.card {
  position: relative;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), transparent 55%),
              radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.9), #020617);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(148, 163, 184, 0.06) 0, transparent 40%, transparent 60%, rgba(148, 163, 184, 0.06) 100%);
  opacity: 0.6;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.card__title {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-3);
}

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

.card--muted {
  background: rgba(15, 23, 42, 0.9);
}

/* Tag / badge – style labels, genres, etc. */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--color-text-muted);
}

.badge--primary {
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.8);
  color: var(--color-primary);
}

/* Hero overlay / image treatments – for strong visuals */
.hero-overlay {
  position: relative;
  isolation: isolate;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.7), transparent 60%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.8), #020617 80%);
  z-index: -1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.2);
}

/* Simple divider */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(148, 163, 184, 0.4), transparent);
  margin: var(--space-6) 0;
}

/* Toast-like status messages */
.alert {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert--success {
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.6);
  color: var(--color-success);
}

.alert--danger {
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.75);
  color: var(--color-danger);
}

.alert--info {
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.7);
}

/* Footer base */
.site-footer {
  padding: var(--space-10) 0 var(--space-6);
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

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

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

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