/* =========================================================
   ELIJAH – stiluri globale (Bootstrap 5)
   Culorile și fonturile site-ului se schimbă din :root
   ========================================================= */

@font-face {
  font-family: "Verdana Elijah";
  src: local("Verdana"), local("Verdana Regular");  /* fontul instalat pe dispozitiv – nu redistribuim fișierul (licență Microsoft) */
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Verdana Elijah";
  src: local("Verdana Bold"), local("Verdana-Bold");
  font-weight: 700;
  font-display: swap;
}

:root {
  --el-red: #f90000;        /* roșu principal (butoane, accente) */
  --el-red-dark: #c10c0c;   /* roșu header */
  --el-maroon: #940707;     /* bordo */
  --el-pink: #fee5e5;       /* roz deschis */
  --el-grey-dark: #333333;  /* footer */
  --el-grey-light: #f2f2f2; /* fundal secțiuni gri */
  --el-text: #111111;
  --el-font: "Verdana Elijah", Verdana, Geneva, Tahoma, sans-serif;
  --bs-body-font-family: var(--el-font);
  --bs-body-color: var(--el-text);
  --bs-link-color: var(--el-red);
  --bs-link-color-rgb: 249, 0, 0;
  --bs-link-hover-color: var(--el-maroon);
  --bs-link-hover-color-rgb: 148, 7, 7;
}

body {
  font-family: var(--el-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--el-text);
  background: #fff;
}

/* ---------- Scară tipografică unică (fluidă, desktop -> mobil) ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--el-font);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 0;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); }
h4 { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); }
h5, h6 { font-size: 1rem; }
p, li { font-size: 1rem; line-height: 1.7; }
@media (max-width: 575.98px) { p, li { font-size: 0.95rem; } }
p { margin-bottom: 1rem; }

a { color: var(--el-red); }
a:hover { color: var(--el-maroon); }

.text-el-red { color: var(--el-red) !important; }
.text-el-maroon { color: var(--el-maroon) !important; }
.bg-el-red { background-color: var(--el-red) !important; color: #fff; }
.bg-el-red-dark { background-color: var(--el-red-dark) !important; color: #fff; }
.bg-el-maroon { background-color: var(--el-maroon) !important; color: #fff; }
.bg-el-pink { background-color: var(--el-pink) !important; }
.bg-el-grey { background-color: var(--el-grey-light) !important; }
.bg-el-dark { background-color: var(--el-grey-dark) !important; color: #fff; }

/* ---------- Butoane ---------- */
.btn-elijah {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--el-red);
  --bs-btn-border-color: var(--el-red);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--el-maroon);
  --bs-btn-hover-border-color: var(--el-maroon);
  --bs-btn-active-bg: var(--el-maroon);
  --bs-btn-active-border-color: var(--el-maroon);
  --bs-btn-active-color: #fff;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.875rem;
  padding: 0.7rem 2.6rem;
}
.btn-elijah-sm { padding: 0.4rem 1.4rem; font-size: 0.75rem; letter-spacing: 1px; }

/* ---------- Secțiuni cu imagine de fundal + umbrire ---------- */
.section-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.section-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.section-bg > * { position: relative; z-index: 1; }
.section-bg.shade-light::before { background: rgba(0, 0, 0, 0.3); }
.section-bg.shade-none::before { display: none; }

.section-pad { padding-top: 60px; padding-bottom: 60px; }

/* Hero de pagină (ex. "ARHIVĂ", "SIBIU") */
.page-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
  text-align: center;
}
.page-hero h1 { text-transform: uppercase; margin-bottom: .5rem; }
.page-hero p { text-transform: uppercase; font-size: 1rem; margin: 0; }

/* =========================================================
   HEADER / NAVBAR
   ========================================================= */
.el-navbar {
  background-color: var(--el-red-dark);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
@media (min-width: 992px) {
  .el-navbar { min-height: 124px; padding-top: 16px; padding-bottom: 16px; }
  .el-navbar .nav-link { font-size: 1rem; }
}
.el-navbar .navbar-brand img { height: 79px; width: auto; }
.el-navbar .nav-link {
  color: #fff !important;
  font-size: 0.9375rem;
  padding: 0.5rem 0.45rem !important;
  white-space: nowrap;
}
.el-navbar .nav-link:hover,
.el-navbar .nav-link:focus { color: #ffd0d0 !important; }
.el-navbar .dropdown-toggle::after {
  border: none;
  content: "";
  width: 7px; height: 7px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg) translateY(-3px);
  margin-left: 0.6rem;
  vertical-align: middle;
  opacity: 0.8;
}
.el-navbar .dropdown-menu {
  background-color: var(--el-maroon);
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 0;
  min-width: 190px;
}
.el-navbar .dropdown-item {
  color: #fff;
  font-size: 0.9375rem;
  padding: 0.65rem 1.25rem;
}
.el-navbar .dropdown-item:hover,
.el-navbar .dropdown-item:focus { background-color: var(--el-red); color: #fff; }

.el-social { display: flex; align-items: center; gap: 12px; }
.el-social a {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #000; color: #fff;
}
.el-social a.tiktok { background: transparent; color: #000; }
.el-social svg { width: 14px; height: 14px; fill: currentColor; }
.el-social a.tiktok svg { width: 20px; height: 20px; }
.el-flag img { width: 40px; height: auto; display: block; }

.el-navbar .navbar-toggler { border-color: rgba(255,255,255,.6); }
.el-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown la hover pe desktop */
@media (min-width: 992px) {
  .el-navbar .dropdown:hover > .dropdown-menu { display: block; }
}
@media (max-width: 991.98px) {
  .el-navbar .navbar-brand img { height: 56px; }
  .el-navbar .navbar-collapse { padding: 1rem 0; }
  .el-navbar .dropdown-menu { background: rgba(0,0,0,.15); }
}

/* =========================================================
   FOOTER
   ========================================================= */
.el-footer {
  background-color: var(--el-grey-dark);
  color: #fff;
  text-align: center;
  font-size: 0.875rem;
  padding: 30px 0 40px;
}
.el-footer strong { font-size: 1rem; }
.el-footer a { color: #fff; }

/* =========================================================
   COOKIES
   ========================================================= */
.el-cookies {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1080;
  background: var(--el-grey-dark);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  display: none;
}
.el-cookies.show { display: block; }
.el-cookies h3 { font-size: 1.875rem; margin: 0 0 1rem; }
.el-cookies p { font-size: 0.875rem; margin: 0 auto 1rem; max-width: 1000px; }

/* =========================================================
   UTILE
   ========================================================= */
.object-fit-cover { object-fit: cover; }
.ratio-img { width: 100%; height: 100%; object-fit: cover; }
.lead-sm { font-size: 0.875rem; }
.fs-18 { font-size: 1.125rem; }
.ls-1 { letter-spacing: 1px; }
.uppercase { text-transform: uppercase; }

/* =========================================================
   REFRESH 2026 – consistență vizuală
   ========================================================= */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--el-red); color: #fff; }
img { max-width: 100%; }

/* Header mai suplu, cu umbră discretă */
.el-navbar { box-shadow: 0 2px 16px rgba(0,0,0,.18); }
@media (min-width: 992px) {
  .el-navbar { min-height: 88px; padding-top: 10px; padding-bottom: 10px; }
  .el-navbar .nav-link { font-size: .95rem; position: relative; }
  .el-navbar .nav-item:not(.dropdown) > .nav-link::after {
    content: ""; position: absolute; left: .45rem; right: .45rem; bottom: .2rem; height: 2px;
    background: #fff; transform: scaleX(0); transition: transform .25s; transform-origin: left;
  }
  .el-navbar .nav-item > .nav-link:hover::after { transform: scaleX(1); }
  .el-navbar .dropdown-menu { border-radius: 0 0 10px 10px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
}
.el-navbar .navbar-brand img { height: 62px; }
@media (max-width: 991.98px) { .el-navbar .navbar-brand img { height: 50px; } }
.el-social a { transition: transform .2s; }
.el-social a:hover { transform: translateY(-2px); }
.el-flag img { width: 34px; border-radius: 3px; }

/* Butoane unitare */
.btn { transition: all .25s ease; }
.btn-elijah { letter-spacing: 1.5px; padding: .75rem 2rem; box-shadow: 0 6px 18px rgba(249,0,0,.25); }
.btn-elijah:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(148,7,7,.3); }
.btn-elijah-sm { padding: .5rem 1.4rem; }

/* Secțiuni cu fundal: umbrire în degrade, mai elegantă */
.section-bg::before { background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 100%); }
.section-bg h1, .section-bg h2, .section-bg h3 { text-shadow: 0 2px 12px rgba(0,0,0,.35); }

/* Imagini de conținut: colțuri ușor rotunjite */
main img.img-fluid, section .container img.img-fluid:not([src$=".png"]) { border-radius: 10px; }

/* Footer */
.el-footer { padding: 48px 0 56px; line-height: 1.8; border-top: 4px solid var(--el-red); }
.el-footer p { font-size: .9rem; color: rgba(255,255,255,.85); }
.el-footer strong { color: #fff; }

/* Cookie-uri: card discret în colț în loc de bandă uriașă */
.el-cookies {
  left: auto; right: 20px; bottom: 20px; max-width: 460px; padding: 22px 24px;
  border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.35); text-align: left;
}
.el-cookies h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.el-cookies p { font-size: .8rem; line-height: 1.55; margin-bottom: .9rem; }
@media (max-width: 575.98px) { .el-cookies { left: 12px; right: 12px; bottom: 12px; } }
@media (max-width: 575.98px) {
  .el-cookies { padding: 14px 16px; }
  .el-cookies h3 { font-size: .95rem; }
  .el-cookies p { font-size: .7rem; line-height: 1.45; margin-bottom: .6rem; }
}

/* =========================================================
   ELIJAH 2026 – SISTEM DE DESIGN (v3)
   Componente comune, folosite pe toate paginile.
   ========================================================= */
:root {
  --el-warm: #faf5f3;        /* fundal cald alternativ */
  --el-ink: #1d1d1f;         /* text titluri */
  --el-muted: #5f5f66;       /* text secundar */
  --el-radius: 18px;
  --el-radius-sm: 12px;
  --el-shadow: 0 10px 30px rgba(20, 0, 0, .08);
  --el-shadow-lg: 0 24px 60px rgba(20, 0, 0, .16);
  --el-sec-y: clamp(64px, 8vw, 112px);
}
body { color: #2a2a2e; }
h1, h2, h3 { color: inherit; }

/* ---------- Secțiuni ---------- */
.sec { padding-top: var(--el-sec-y); padding-bottom: var(--el-sec-y); position: relative; }
.sec-tight { padding-top: calc(var(--el-sec-y) * .6); padding-bottom: calc(var(--el-sec-y) * .6); }
.sec-warm { background: var(--el-warm); }
.sec-dark { background: #1d1416; color: #fff; }
.sec-red { background: var(--el-red-dark); color: #fff; }
.sec-red a:not(.btn), .sec-dark a:not(.btn) { color: #fff; }
.sec-head { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; }
.sec-head h2 { margin-bottom: 1rem; }
.sec-head p { color: var(--el-muted); font-size: 1.05rem; margin: 0; }
.sec-red .sec-head p, .sec-dark .sec-head p, .section-bg .sec-head p { color: rgba(255,255,255,.85); }
.sec-head.text-start { margin-left: 0; text-align: left; }
/* linie roșie scurtă sub titluri */
.title-accent::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 4px;
  background: var(--el-red); margin: 18px auto 0;
}
.text-start .title-accent::after, .title-accent.text-start::after { margin-left: 0; }
.sec-red .title-accent::after { background: #fff; }

/* ---------- Hero de pagină (identic pe toate paginile) ---------- */
.hero {
  position: relative; min-height: clamp(460px, 72vh, 760px);
  display: flex; align-items: flex-end; color: #fff;
  background-size: cover; background-position: center; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.78) 100%);
}
.hero > .container { position: relative; z-index: 1; padding-bottom: clamp(48px, 7vw, 96px); padding-top: 120px; }
.hero h1 { max-width: 860px; margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero p { max-width: 680px; font-size: clamp(1rem, .95rem + .25vw, 1.15rem); color: rgba(255,255,255,.92); }
.hero .hero-tag {
  display: inline-block; background: var(--el-red); color: #fff; font-weight: 700; font-size: .75rem;
  letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px; border-radius: 50px; margin-bottom: 1.1rem;
}
.hero.hero-center { align-items: center; text-align: center; }
.hero.hero-center h1, .hero.hero-center p { margin-left: auto; margin-right: auto; }
.hero.hero-short { min-height: clamp(360px, 52vh, 560px); }

/* ---------- Split: imagine + text, de la margine la margine ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split-media { position: relative; min-height: 420px; background-size: cover; background-position: center; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body { padding: clamp(40px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.split-body > :last-child { margin-bottom: 0; }
.split.reverse .split-media { order: 2; }
@media (max-width: 991.98px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { min-height: 300px; }
}

/* ---------- Imagini ---------- */
.media { border-radius: var(--el-radius); overflow: hidden; box-shadow: var(--el-shadow); background: #eee; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.media:hover img { transform: scale(1.04); }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-11 { aspect-ratio: 1 / 1; }
.ratio-34 { aspect-ratio: 3 / 4; }

/* Galerie uniformă: toate pozele aceeași mărime */
.gallery { display: grid; gap: clamp(10px, 1.4vw, 18px); grid-template-columns: repeat(3, 1fr); }
.gallery.g-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.g-4 { grid-template-columns: repeat(4, 1fr); }
.gallery > * { border-radius: var(--el-radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: #eee; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.gallery > *:hover img { transform: scale(1.05); }
.gallery .wide { grid-column: span 2; aspect-ratio: auto; }
.gallery .tall { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 767.98px) {
  .gallery, .gallery.g-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery.g-2 { grid-template-columns: 1fr 1fr; }
}

/* ---------- Carduri ---------- */
.card-el {
  background: #fff; border-radius: var(--el-radius); overflow: hidden; box-shadow: var(--el-shadow);
  height: 100%; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.card-el:hover { transform: translateY(-6px); box-shadow: var(--el-shadow-lg); }
.card-el .card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-el .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-el .card-body { padding: 26px 28px 30px; }
.card-el .card-body > :last-child { margin-bottom: 0; }
.card-el h3, .card-el h4 { color: var(--el-red); }

/* Panou peste imagine (text pe fundal foto) */
.panel {
  background: rgba(255,255,255,.94); color: var(--el-ink); border-radius: var(--el-radius);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--el-shadow-lg); max-width: 620px;
}
.panel-dark { background: rgba(20,10,10,.72); color: #fff; backdrop-filter: blur(6px); }

/* Bandă foto cu text (full-bleed) */
.band {
  position: relative; min-height: clamp(420px, 60vh, 640px); display: flex; align-items: center;
  background-size: cover; background-position: center; color: #fff;
}
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15) 100%); }
.band > .container { position: relative; z-index: 1; }
.band .band-text { max-width: 620px; }
.band.band-center { text-align: center; }
.band.band-center::before { background: rgba(0,0,0,.5); }
.band.band-center .band-text { margin: 0 auto; }

/* Carousel uniform (rotunjit, în container) */
.carousel-el { border-radius: var(--el-radius); overflow: hidden; box-shadow: var(--el-shadow-lg); }
.carousel-el .carousel-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.carousel-el .carousel-control-prev-icon, .carousel-el .carousel-control-next-icon {
  background-color: rgba(0,0,0,.45); border-radius: 50%; background-size: 50%; width: 3rem; height: 3rem;
}

/* Persoane (echipa) */
.person { text-align: center; }
.person img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px #fff, 0 10px 26px rgba(0,0,0,.15); transition: transform .3s; }
.person:hover img { transform: translateY(-4px) scale(1.03); }
.person h4 { margin: 18px 0 2px; font-size: 1rem; }
.person p { font-size: .85rem; color: var(--el-muted); margin: 0; }
.sec-red .person p, .sec-dark .person p { color: rgba(255,255,255,.8); }
@media (max-width: 575.98px) { .person img { width: 120px; height: 120px; } }

/* Eticheta roșie de locație (badge) */
.loc-badge {
  display: inline-block; background: var(--el-red); color: #fff; font-weight: 700; font-size: .75rem;
  letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px; border-radius: 50px;
}

/* Link cu săgeată */
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Animație discretă la apariție (activată din main.js) */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
/* fără JS (ex. în editorul Bootstrap Studio) totul rămâne vizibil */
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   ECRANE MARI (2K / 4K) – conținutul se lărgește proporțional
   ========================================================= */
@media (min-width: 1600px) { .container { max-width: 1500px; } }
@media (min-width: 2000px) { html { font-size: 18px; } .container { max-width: 1800px; } }
@media (min-width: 2600px) { html { font-size: 21px; } .container { max-width: 2300px; } }
@media (min-width: 3400px) { html { font-size: 26px; } .container { max-width: 3000px; } }
@media (min-width: 2000px) {
  .sec-head { max-width: 1000px; }
  .hero h1 { max-width: 1200px; } .hero p { max-width: 900px; }
  .band .band-text, .panel { max-width: 820px; }
  .el-navbar .navbar-brand img { height: 4rem; }
}

/* =========================================================
   ETICHETA FIXĂ DE CENTRU („Unde suntem”) – rămâne vizibilă la scroll
   ========================================================= */
.loc-pin {
  position: fixed; left: 0; top: 50%; z-index: 1030;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  background: var(--el-red); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .78rem; letter-spacing: 3px; text-transform: uppercase;
  padding: 22px 10px; border-radius: 12px 0 0 12px; /* rotit 180° => colțurile rotunde apar spre dreapta */
  box-shadow: 0 8px 24px rgba(0,0,0,.3); border: 2px solid #fff; border-right: 0;
  display: flex; align-items: center; gap: 10px;
}
.loc-pin::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.3); }
.loc-pin:hover { background: var(--el-maroon); color: #fff; }
@media (max-width: 767.98px) {
  .loc-pin { writing-mode: horizontal-tb; border: 2px solid #fff; top: auto; bottom: 16px; left: 16px; transform: none;
             padding: 9px 16px; border-radius: 50px; font-size: .7rem; letter-spacing: 2px; }
}

/* Container lat pentru galerii – pozele au loc să „spună ceva” */
.container-wide { max-width: 1760px; }
@media (min-width: 2000px) { .container-wide { max-width: 2200px; } }
@media (min-width: 2600px) { .container-wide { max-width: 2900px; } }
@media (min-width: 3400px) { .container-wide { max-width: 3600px; } }

/* =========================================================
   v4: de la Full HD în sus (desktop), hero-urile ocupă tot ecranul
   ========================================================= */
@media (min-width: 1400px) {
  .hero, .hero.hero-short { min-height: calc(100vh - 88px); }
}

/* v4.1: de la Full HD în sus, benzile foto și sliderele din secțiuni ocupă tot ecranul */
@media (min-width: 1400px) {
  .band { min-height: calc(100vh - 88px); }
  .split-media { min-height: calc(100vh - 88px); }
}

/* Săgeți carusel pe mobil: vizibile, compacte */
@media (max-width: 767.98px) {
  .carousel-control-prev, .carousel-control-next { width: 14%; }
  .carousel-control-prev-icon, .carousel-control-next-icon {
    width: 2.2rem !important; height: 2.2rem !important; background-color: rgba(0,0,0,.4); border-radius: 50%; background-size: 50%;
  }
}

/* ===== Consimțământ cookie-uri (v4) ===== */
.el-cookies { max-width: 520px; }
.el-cookies p a { color: #fff; text-decoration: underline; }
.el-cookie-prefs { display: grid; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.07); }
.el-switch { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; line-height: 1.45; cursor: pointer; }
.el-switch input { margin-top: 3px; accent-color: var(--el-red); width: 16px; height: 16px; flex-shrink: 0; }
.el-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.el-cookie-actions .btn { margin: 0; }
.el-cookie-btn { border-radius: 50px; font-weight: 700; font-size: .75rem; padding: .45rem 1.2rem; }
.el-cookie-link { color: rgba(255,255,255,.85); font-size: .8rem; text-decoration: underline; }
.el-footer-legal { margin-top: 18px; font-size: .8rem; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.el-footer-legal a, .el-link-btn { color: rgba(255,255,255,.75); text-decoration: underline; }
.el-link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.el-footer-legal a:hover, .el-link-btn:hover { color: #fff; }
/* Locul unui video/hartă blocat până la acord */
.consent-ph {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 20px; background: #2a2224; color: #fff; font-size: .9rem;
}
.consent-ph .btn { margin: 0; }
/* „Refuz” la fel de vizibil ca „Accept” (cerință ghiduri UE/ANSPDCP) */
.el-cookies .el-cookie-btn { background: #fff; color: var(--el-ink); border: 0; padding: .5rem 1.4rem; font-size: .75rem; letter-spacing: 1px; text-transform: uppercase; box-shadow: none; }
.el-cookies .el-cookie-btn:hover { background: #f1f1f1; color: var(--el-ink); }

/* Video blocat până la acord (pagina Dansul Corbilor): buton peste poză */
.corbi-video .consent-ph { background: rgba(0,0,0,.45); z-index: 3; }

/* v6: titlul hero-urilor centrate stă jos, ca fețele din poză să rămână libere */
.hero.hero-center { align-items: flex-end; }

/* ===== v8: încadrare separată pentru telefon =====
   Dacă o poză arată bine pe desktop dar e tăiată pe telefon, adaugi în style-ul ei:
   --pos-m: 80% 30%;   (procentele: stânga→dreapta, sus→jos)
   Pe telefon (sub 768px) se folosește --pos-m; pe desktop rămâne
   object-position / background-position obișnuit. */
@media (max-width: 767.98px) {
  [style*="--pos-m"] { background-position: var(--pos-m) !important; }
  img[style*="--pos-m"] { object-position: var(--pos-m) !important; }
}

/* ===== Ninsoare: clasa .ninge (scriptul e în main.js) ===== */
.snow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.ninge { position: relative; overflow: hidden; }
.ninge > :not(.snow-canvas) { position: relative; z-index: 2; }

/* ===== Animații gata făcute – pui clasa pe orice element =====
   .anim-puls      – crește și scade ușor (ex. un buton, o dată importantă)
   .anim-plutire   – urcă și coboară ușor (ex. o siglă, o iconiță)
   .anim-stralucire – strălucire aurie care pulsează (ca datele concertelor de Crăciun)
   .anim-clipire   – apare și dispare ușor (ex. o steluță)
   .reveal         – apare frumos când ajungi la el cu scroll-ul (exista deja)
   Viteza se schimbă cu --anim-viteza în style (ex. --anim-viteza: 5s;). */
@keyframes elPuls { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes elPlutire { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes elStralucire { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,194,122,0); } 50% { box-shadow: 0 0 30px 6px rgba(232,194,122,.55); } }
@keyframes elClipire { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.anim-puls { animation: elPuls var(--anim-viteza, 2.4s) ease-in-out infinite; }
.anim-plutire { animation: elPlutire var(--anim-viteza, 3.5s) ease-in-out infinite; }
.anim-stralucire { animation: elStralucire var(--anim-viteza, 3s) ease-in-out infinite; }
.anim-clipire { animation: elClipire var(--anim-viteza, 1.8s) ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .anim-puls, .anim-plutire, .anim-stralucire, .anim-clipire { animation: none; } }

/* ===== Overlay (strat colorat) peste o poză =====
   Pui clasa pe CUTIA care conține poza (div.media, div.split-media, un div cu fundal etc.),
   nu pe <img>.
   .overlay        – întunecă poza (negru 40%)
   .overlay-rosu   – strat roșu ELIJAH
   .overlay-jos    – degrade: sus curat, jos închis (bun pentru text scris jos)
   Culoarea/intensitatea o schimbi în style:  --overlay: rgba(0,0,0,.6);  */
.overlay, .overlay-rosu, .overlay-jos { position: relative; }
.overlay::after, .overlay-rosu::after, .overlay-jos::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; border-radius: inherit;
  background: var(--overlay, rgba(0,0,0,.4));
}
.overlay-rosu::after { background: var(--overlay, rgba(193,12,12,.55)); }
.overlay-jos::after { background: var(--overlay, linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75) 100%)); }
.overlay > :not(img):not(picture):not(.snow-canvas),
.overlay-rosu > :not(img):not(picture):not(.snow-canvas),
.overlay-jos > :not(img):not(picture):not(.snow-canvas) { position: relative; z-index: 2; }

/* =========================================================
   v8.3: hero cu video YouTube de fundal, pe tot ecranul (.hero-video)
   Pui clasa „hero-video” pe secțiunea hero + un div „hero-yt” cu iframe-ul.
   Poza de fundal rămâne ca rezervă până pornește video-ul.
   ========================================================= */
.hero.hero-video { min-height: calc(100vh - 92px); min-height: calc(100svh - 92px); }
@media (max-width: 767.98px) { .hero.hero-video { min-height: calc(100vh - 79px); min-height: calc(100svh - 79px); } }
.hero-video .hero-yt { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; container-type: size; }
.hero-video .hero-yt iframe {
  position: absolute; top: 50%; left: 50%; border: 0;
  /* clipul are benzi negre în el (format cinema ~2,35:1), așa că îl mărim până dispar */
  width: max(134cqw, 242cqh); height: max(75.4cqw, 136cqh);
  transform: translate(-50%, -50%);
}
.hero-video::before { z-index: 1; }
.hero-video > .container { z-index: 2; }
.hero-video-btn { margin-top: 1.25rem; }
