/* =========================================================
   MVJE 2026 - Mosonmagyaróvári Veteránjármű Találkozó
   ========================================================= */

:root {
  --mvje-red: #c0392b;
  --mvje-dark: #14141a;
  --mvje-warning: #f4b400;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Rubik', sans-serif;
}

* { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: #222;
  overflow-x: hidden;
}

h1, h2, h3, h4, .section-title, .section-title-light {
  font-family: var(--font-head);
}

.text-light-50 { color: rgba(255,255,255,.75); }

/* ===================== NAVBAR ===================== */
.mvje-navbar {
  background: rgba(20, 20, 26, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease, padding 0.3s ease;
  padding-top: .85rem;
  padding-bottom: .85rem;
}

.mvje-navbar.scrolled {
  background: rgba(20, 20, 26, 0.92);
  padding-top: .5rem;
  padding-bottom: .5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.navbar-brand {
  font-family: var(--font-head);
  letter-spacing: .5px;
  font-size: 1.4rem;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  letter-spacing: .5px;
  margin: 0 .35rem;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--mvje-warning);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.55) 0%, rgba(10,10,12,.45) 40%, rgba(10,10,12,.8) 100%);
  z-index: 1;
}

.hero-content {
  z-index: 2;
  padding: 0 1rem;
}

.hero-kicker {
  letter-spacing: 2px;
  font-size: .95rem;
}

.hero-title {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.15;
  text-shadow: 0 4px 18px rgba(0,0,0,.5);
}

.hero-date, .hero-place, .hero-gate {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  margin-bottom: .35rem;
  font-weight: 500;
}

.scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.6rem;
  z-index: 2;
  animation: bounce 2s infinite;
  opacity: .85;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* ===================== COUNTDOWN ===================== */
.countdown-section {
  background: linear-gradient(135deg, var(--mvje-red), #7a1f15);
}

.section-title-light {
  color: #fff;
  font-weight: 700;
}

.countdown-box {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: .75rem;
  padding: 1rem .25rem;
  display: flex;
  flex-direction: column;
}

.countdown-number {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
}

.countdown-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: .35rem;
  opacity: .85;
}

/* ===================== SECTION TITLES ===================== */
.section-title {
  font-weight: 700;
  color: var(--mvje-dark);
}

/* ===================== ESEMÉNY GALÉRIA ===================== */
.esemeny-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ===================== KILÁTOGATÓKNAK / TULAJDONOSOKNAK KÉPRÁCS ===================== */
.info-img-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.fact-box {
  text-align: center;
  background: #fff;
  border-radius: .6rem;
  padding: 1rem .5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* ===================== INFO CARDS ===================== */
.info-card {
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

/* ===================== DÍSZSOR / FILMES AUTÓK ===================== */
.diszsor-section {
  background-color: var(--mvje-dark);
}

.diszsor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(280deg, rgba(10,10,12,.82) 0%, rgba(10,10,12,.6) 45%, rgba(10,10,12,.15) 100%);
  z-index: 0;
}

.diszsor-textbox {
  background: rgba(20, 20, 26, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.1);
}

/* ===================== DÍJAK / SZÉPSÉGVERSENY ===================== */
.dijak-section {
  background-color: var(--mvje-dark);
}

.dijak-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(20,20,26,.82) 0%, rgba(20,20,26,.7) 100%);
  z-index: 0;
}

/* ===================== REGISZTRÁLT JÁRMŰVEK ===================== */
.reg-count {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--mvje-red);
  line-height: 1;
  margin: .25rem 0 .5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .3rem;
}

.reg-count-label {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: #777;
}

/* ===================== TIMELINE / PROGRAMOK ===================== */
.timeline {
  border-left: 2px solid var(--mvje-red);
  padding-left: 1.5rem;
}

.timeline-item {
  position: relative;
  padding: .6rem 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.62rem;
  top: 1rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mvje-red);
}

.timeline-time {
  font-family: var(--font-head);
  color: var(--mvje-red);
  font-weight: 700;
  font-size: 1.05rem;
}

.timeline-text {
  color: #444;
}

.program-pill {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  border-radius: 2rem;
  padding: .65rem 1rem;
  font-size: .85rem;
  height: 100%;
  color: #333;
}

.program-pill i { color: var(--mvje-red); margin-right: .4rem; }

/* ===================== VEHICLE CARDS ===================== */
.vehicle-card {
  background: #fff;
  border-left: 4px solid var(--mvje-red);
  border-radius: .5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: transform .2s ease;
}

.vehicle-card:hover { transform: translateY(-4px); }

/* ===================== LOCATION ===================== */
.location-list li {
  margin-bottom: .9rem;
  font-size: 1rem;
}

.location-list i { margin-right: .5rem; width: 1.2rem; }

/* ===================== CONTACT ===================== */
.contact-card {
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
}

.mvje-logo-inline {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ===================== GALÉRIA / MOZAIK MARQUEE ===================== */
.gallery-section {
  overflow: hidden;
}

.marquee-row {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: .75rem;
  padding: .4rem 0;
  will-change: transform;
}

.marquee-track-left {
  animation: marquee-left 110s linear infinite;
}

.marquee-track-right {
  animation: marquee-right 110s linear infinite;
}

.marquee-item {
  flex: 0 0 auto;
  width: 132px;
  height: 90px;
  border-radius: .4rem;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,.35);
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@media (max-width: 575.98px) {
  .marquee-item { width: 90px; height: 63px; }
}

/* ===================== VIDEÓK ===================== */
.video-section {
  background: linear-gradient(150deg, #131a2a 0%, #0d1320 100%);
}

.yt-facade {
  position: relative;
  cursor: pointer;
  background: #000;
  max-width: 360px;
  margin: 0 auto;
  transition: transform .25s ease, box-shadow .25s ease;
}

.yt-facade:hover,
.yt-facade:focus-visible {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 14px 30px rgba(0,0,0,.45);
}

.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .85;
  transition: opacity .2s ease;
}

.yt-facade:hover img,
.yt-facade:focus-visible img { opacity: 1; }

.yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.6rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
  pointer-events: none;
}

.yt-facade iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===================== REGISZTRÁCIÓ OLDAL ===================== */
.reg-header {
  background: linear-gradient(135deg, var(--mvje-dark), #2a1a16);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.reg-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--mvje-red), transparent 70%);
  opacity: .25;
}

.reg-package-table {
  background: #fff;
}

.reg-package-row {
  cursor: pointer;
  transition: background-color .15s ease;
}

.reg-package-row:hover > td {
  background-color: rgba(192, 57, 43, .06);
}

.reg-package-row.selected > td {
  background-color: rgba(192, 57, 43, .1) !important;
}

.reg-package-row.selected:hover > td {
  background-color: rgba(192, 57, 43, .14) !important;
}

.reg-package-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.reg-package-list li {
  position: relative;
  padding-left: 1.25rem;
}

.reg-package-list li:not(:last-child) {
  margin-bottom: .2rem;
}

.reg-package-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #1e7e34;
  font-weight: bold;
  font-size: .8rem;
}

.reg-payment-note {
  background-color: rgba(192, 57, 43, .08);
  border: 1px solid rgba(192, 57, 43, .2);
  border-radius: .5rem;
  color: #222;
}

.reg-category-card {
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: .5rem;
  background-color: #fff;
  transition: background-color .15s ease, border-color .15s ease;
  padding-left: 2.5rem;
}

.reg-category-card:hover {
  background-color: rgba(192, 57, 43, .06);
}

.reg-category-card.checked {
  border-color: #c0392b;
  background-color: rgba(192, 57, 43, .1);
}

.reg-category-card .form-check-input {
  margin-top: .3rem;
}

/* ===================== FOOTER ===================== */
.bg-black { background-color: #0a0a0d; }
footer.bg-black .text-muted { color: #b9bcc2 !important; }
footer.bg-black .text-light { color: #f1f1f1 !important; }
footer.bg-black .social-icons a { color: #f1f1f1 !important; }
footer.bg-black .social-icons a:hover { color: #ffc107 !important; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 575.98px) {
  .hero-title { font-size: 1.8rem; }
}
