/* =========================================================
   VARIABILE
========================================================= */

:root {
  --culoare-principala: #43362d;
  --culoare-secundara: #b68d52;
  --fundal: #f4efe7;
  --text: #29241f;
  --alb: #ffffff;
}


/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  min-height: 100vh;

  font-family: "Times New Roman", Times, serif;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.6;

  background-color: var(--fundal);
  background-image: url("./fundal-conac(2).png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

button,
input,
select,
textarea {
  font-family: "Times New Roman", Times, serif;
}

body::before {
  content: "";

  position: fixed;
  inset: 0;
  z-index: -1;

  pointer-events: none;

  background-color: rgba(255, 255, 255, 0.08);
}

img {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}


/* =========================================================
   HEADER
========================================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  width: 100%;

  background-color: rgba(67, 54, 45, 0.96);

  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navbar {
  width: min(1380px, 90%);
  min-height: 58px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--alb);

  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.site-emblem {
  position: relative;

  width: 68px;
  height: 46px;

  flex: 0 0 auto;

  overflow: hidden;

  background-color: transparent;

  border: 1px solid rgba(214, 176, 113, 0.5);
  border-radius: 9px;

  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.24);
}

.site-emblem-image {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 210px;
  max-width: none;
  height: auto;

  transform: translate(-50%, -50%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  position: relative;

  padding: 8px 0;

  color: var(--alb);

  font-size: 1.15rem;

  transition: color 0.3s ease;
}

.nav-links .nav-info-link {
  padding: 7px 10px;

  display: flex;
  align-items: center;
  gap: 5px;

  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;

  font-size: 0.87rem;
  white-space: nowrap;
}

.nav-info-icon {
  font-size: 0.82rem;
}

.nav-schedule span + span::before {
  content: "·";
  margin-right: 5px;

  color: var(--culoare-secundara);
}

.nav-schedule .nav-info-icon + span::before {
  content: none;
  margin: 0;
}

.nav-links .nav-info-link::after {
  display: none;
}

.nav-links a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 2px;

  width: 0;
  height: 2px;

  background-color: var(--culoare-secundara);

  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-link--active {
  color: var(--culoare-secundara);
}

.nav-links a:hover::after,
.nav-link--active::after {
  width: 100%;
}

.nav-links .nav-facebook,
.nav-links .nav-city {
  width: 34px;
  height: 34px;
  padding: 0;

  display: grid;
  place-items: center;

  color: #8ab7f7;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.nav-facebook svg {
  width: 21px;
  height: 21px;
}

.nav-city img {
  width: 23px;
  height: 27px;

  object-fit: contain;
}

.nav-links .nav-facebook::after,
.nav-links .nav-city::after {
  display: none;
}

.nav-links .nav-facebook:hover {
  color: var(--alb);
  background-color: #1877f2;
  border-color: #1877f2;
}

.nav-links .nav-city {
  background-color: rgba(255, 255, 255, 0.9);
}

.nav-links .nav-city:hover {
  background-color: var(--alb);
  border-color: var(--culoare-secundara);
  transform: translateY(-2px);
}

.menu-button {
  display: none;

  border: none;
  background: transparent;

  color: var(--alb);

  font-size: 1.8rem;

  cursor: pointer;
}


/* =========================================================
   SELECTAREA LIMBII
========================================================= */

.language-switcher {
  position: fixed;
  top: 50%;
  left: 7px;
  z-index: 910;

  padding: 5px;

  display: flex;
  flex-direction: column;
  gap: 5px;

  background-color: rgba(67, 54, 45, 0.8);
  border: 1px solid rgba(214, 176, 113, 0.42);
  border-radius: 12px;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);

  transform: translateY(-50%);

  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.language-button {
  width: 42px;
  min-height: 42px;
  padding: 3px;

  display: grid;
  place-items: center;
  gap: 0;

  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;

  cursor: pointer;

  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.language-flag {
  width: 25px;
  height: 16px;

  overflow: hidden;

  border-radius: 2px;

  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.language-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.language-button small {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.language-button:hover,
.language-button--active {
  color: var(--alb);
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(214, 176, 113, 0.6);
}

.language-button:focus-visible {
  outline: 2px solid var(--culoare-secundara);
  outline-offset: 2px;
}

.hero-audio-button {
  position: fixed;
  top: 68px;
  left: 7px;
  z-index: 910;

  min-width: 54px;
  min-height: 50px;
  padding: 6px 8px;

  display: grid;
  place-items: center;
  gap: 1px;

  color: var(--alb);
  background-color: rgba(67, 54, 45, 0.8);
  border: 1px solid rgba(214, 176, 113, 0.52);
  border-radius: 11px;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);

  cursor: pointer;

  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background-color 0.2s ease;
}

.hero-audio-button:hover,
.hero-audio-button--active {
  background-color: rgba(67, 54, 45, 0.95);
}

.hero-audio-button--hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-18px);
  pointer-events: none;
}

.hero-audio-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.hero-audio-button small {
  color: #ddb36f;

  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.hero-audio-button:focus-visible {
  outline: 2px solid var(--culoare-secundara);
  outline-offset: 2px;
}


/* =========================================================
   INFORMAȚII UTILE FIXATE ÎN DREAPTA
========================================================= */

.quick-info {
  position: fixed;
  top: 68px;
  right: 7px;
  z-index: 900;

  width: 228px;
  max-width: calc(100vw - 36px);

  display: flex;
  flex-direction: column;
  gap: 8px;

  pointer-events: none;
}

.quick-info-card {
  position: relative;

  min-height: 46px;

  color: var(--alb);
  background-color: rgba(67, 54, 45, 0.82);
  border: 1px solid rgba(214, 176, 113, 0.42);
  border-radius: 9px;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);

  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);

  pointer-events: auto;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background-color 0.25s ease,
    visibility 0.35s ease;
}

.quick-info-link {
  min-height: 46px;
  padding: 7px 27px 7px 11px;

  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
}

.quick-info-card:hover {
  background-color: rgba(67, 54, 45, 0.94);
  transform: translateX(-4px);
}

.quick-info-card--hidden {
  display: none;

  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  pointer-events: none;
}

.quick-info-close {
  position: absolute;
  top: 3px;
  right: 5px;
  z-index: 2;

  width: 20px;
  height: 20px;

  display: grid;
  place-items: center;

  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 0;
  border-radius: 50%;

  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1;

  cursor: pointer;

  transition: color 0.2s ease, background-color 0.2s ease;
}

.quick-info-close:hover,
.quick-info-close:focus-visible {
  color: var(--alb);
  background-color: rgba(255, 255, 255, 0.14);
  outline: none;
}

.quick-info-icon {
  font-size: 1rem;
  text-align: center;
}

.quick-info-card strong,
.quick-info-card small {
  display: block;
}

.quick-info-card strong {
  color: #ddb36f;

  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.quick-info-card small {
  margin-top: 1px;

  color: rgba(255, 255, 255, 0.94);

  font-size: 0.7rem;
  line-height: 1.25;
  white-space: nowrap;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  min-height: 100vh;
  min-height: 100svh;

  padding: 74px 18px 28px;

  overflow: hidden;
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background-color: rgba(255, 255, 255, 0.25);

  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;

  width: 100%;
  min-height: calc(100vh - 102px);
  min-height: calc(100svh - 102px);

  display: flex;
  flex-direction: column;
  align-items: center;
}


/* =========================================================
   VIDEO HERO
========================================================= */

.hero-video-container {
  position: relative;

  width: auto;
  max-width: 100%;
  height: calc(100vh - 102px);
  height: calc(100svh - 102px);
  min-height: 540px;

  aspect-ratio: 2184 / 1440;

  margin: 0 auto;

  overflow: hidden;

  background-color: #000000;

  border-radius: 22px;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.hero-video {
  display: block;

  width: 100%;
  height: 100%;

  /* Afișează întregul cadru, inclusiv partea de sus și subtitrările. */
  object-fit: contain;
  object-position: center;

  background-color: #000000;
}

.hero-video-container::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(to bottom, rgba(20, 15, 12, 0.1), rgba(20, 15, 12, 0.28)),
    linear-gradient(to right, rgba(20, 15, 12, 0.06), transparent 35%, transparent 65%, rgba(20, 15, 12, 0.06));

  pointer-events: none;
}

.hero-video-ornaments {
  position: absolute;
  inset: 0;
  z-index: 2;

  overflow: hidden;

  pointer-events: none;
}

.hero-ornament {
  position: absolute;

  width: clamp(86px, 9vw, 138px);
  aspect-ratio: 1;

  background: url("../images/ornament-colt-auriu.png") center / contain no-repeat;

  opacity: 0.92;
}

.hero-ornament--top-left {
  top: 8px;
  left: 8px;
}

.hero-ornament--top-right {
  top: 8px;
  right: 8px;

  transform: rotate(90deg);
}

.hero-ornament--bottom-right {
  right: 8px;
  bottom: 8px;

  transform: rotate(180deg);
}

.hero-ornament--bottom-left {
  bottom: 8px;
  left: 8px;

  transform: rotate(270deg);
}

.video-message {
  position: absolute;
  inset: 0;
  z-index: 3;

  padding: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--alb);
  background-color: rgba(35, 28, 23, 0.94);

  text-align: center;
  font-size: 1.15rem;
}

.video-message[hidden] {
  display: none;
}


/* =========================================================
   CONȚINUT PESTE VIDEO
========================================================= */

.hero-content {
  position: absolute;
  /* Titlul începe sus, iar butonul ajunge în centrul filmării. */
  top: 3%;
  left: 50%;
  z-index: 3;

  width: min(1100px, calc(100% - 48px));

  padding: 48px 24px;

  color: var(--alb);

  text-align: center;

  transform: translateX(-50%);
}

.hero-welcome {
  margin-bottom: 12px;

  color: #d2a45f;

  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-style: italic;
  line-height: 1.2;

  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.85);
}

.section-label {
  margin-bottom: 18px;

  color: var(--culoare-secundara);

  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.hero-title {
  max-width: 1100px;

  margin: 0 auto 46px;

  color: var(--alb);

  font-family: "Times New Roman", Times, serif;
  font-size: clamp(3rem, 4.5vw, 4.9rem);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.02;

  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.88);
}

.hero-title > span {
  display: block;
}

.hero-title-name {
  white-space: nowrap;
}

.hero-title-character {
  display: inline-block;

  opacity: 0;

  transform: translateY(18px);

  animation: hero-character-reveal 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--character-delay, 0ms);
}

@keyframes hero-character-reveal {
  0% {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(18px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-character {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.hero-button {
  min-width: 210px;
  padding: 14px 30px;

  background-color: rgba(39, 31, 26, 0.5);
  border-radius: 0;

  text-transform: uppercase;
  letter-spacing: 0.06em;

  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.hero-button:hover {
  background-color: var(--culoare-secundara);
}

.hero-divider {
  width: min(280px, 70%);
  height: 24px;

  margin: 0 auto 22px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-divider::before,
.hero-divider::after {
  content: "";

  flex: 1;

  height: 1px;

  background: linear-gradient(
    to right,
    transparent,
    var(--culoare-secundara)
  );
}

.hero-divider::after {
  background: linear-gradient(
    to left,
    transparent,
    var(--culoare-secundara)
  );
}

.hero-divider span {
  width: 12px;
  height: 12px;

  margin: 0 12px;

  border: 2px solid var(--culoare-secundara);

  transform: rotate(45deg);
}

.hero-logo {
  width: 220px;
  height: auto;
  max-height: 150px;

  margin: 8px auto 22px;
  padding: 5px;

  object-fit: contain;

  background-color: rgba(255, 255, 255, 0.96);

  border-radius: 12px;

  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.hero-logo:hover {
  transform: translateY(-3px);

  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.hero-description {
  max-width: 720px;

  margin: 0 auto 30px;

  color: rgba(255, 255, 255, 0.96);

  font-family: "Times New Roman", Times, serif;
  font-size: 1.3rem;
  line-height: 1.75;
}

.button {
  display: inline-block;

  padding: 13px 27px;

  border: 2px solid var(--culoare-secundara);
  border-radius: 6px;

  background-color: var(--culoare-secundara);
  color: var(--alb);

  font-weight: 700;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
}

.button:hover {
  color: var(--alb);
  background-color: transparent;

  transform: translateY(-3px);
}


/* =========================================================
   SECȚIUNI
========================================================= */

.section {
  position: relative;

  padding: 120px 5%;

  background-color: transparent;
}

.container {
  position: relative;
  z-index: 2;

  width: min(980px, 100%);

  margin: 0 auto;
  padding: 64px;

  background-color: rgba(255, 255, 255, 0.62);

  border: 1px solid rgba(67, 54, 45, 0.14);
  border-radius: 22px;

  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.17);

  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

/* Ornament inspirat de colturile paginilor cu legende. */
.container::before,
.container::after {
  content: "";

  position: absolute;
  z-index: 3;

  width: clamp(82px, 10vw, 132px);
  aspect-ratio: 1;

  background: url("../images/ornament-colt-auriu.png") center / contain no-repeat;

  pointer-events: none;
}

.container::before {
  top: 5px;
  left: 5px;
}

.container::after {
  right: 5px;
  bottom: 5px;

  transform: rotate(180deg);
}

.section h2 {
  margin-bottom: 24px;

  color: var(--culoare-principala);

  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.section p {
  max-width: 860px;

  margin-bottom: 18px;

  font-size: 1.2rem;
  line-height: 1.85;
}

.section p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   SECȚIUNI ÎNTUNECATE
========================================================= */

.section-dark {
  color: var(--alb);
}

.section-dark .container {
  background-color: rgba(67, 54, 45, 0.7);

  border-color: rgba(255, 255, 255, 0.12);
}

.section-dark h2 {
  color: var(--alb);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.92);
}

.section-dark .section-label {
  color: #d7b782;
}


/* =========================================================
   SECȚIUNI ACCENTUATE
========================================================= */

.section-accent .container {
  background-color: rgba(229, 215, 195, 0.68);
}


/* =========================================================
   LOCATIE SI PROGRAM
========================================================= */

.location-address {
  margin: 24px 0;

  color: var(--culoare-principala);

  font-size: 1.2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.7;
}

.location-button {
  margin-top: 4px;
}

.visit-schedule {
  overflow: hidden;

  margin: 30px 0 22px;

  border: 1px solid rgba(67, 54, 45, 0.16);
  border-radius: 14px;
}

.visit-schedule div {
  padding: 18px 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  background-color: rgba(255, 255, 255, 0.54);
}

.visit-schedule div + div {
  border-top: 1px solid rgba(67, 54, 45, 0.13);
}

.visit-schedule dt {
  color: var(--culoare-principala);
  font-weight: 700;
}

.visit-schedule dd {
  margin: 0;

  color: var(--culoare-secundara);
  font-weight: 800;
}

.visit-note {
  margin-bottom: 0;

  color: rgba(67, 54, 45, 0.76);
  font-size: 1.1rem;
}

.visit-container,
.visit-container button,
.visit-container input,
.visit-container select,
.visit-container textarea {
  font-family: "Times New Roman", Times, serif;
}


/* =========================================================
   TARIFE INTERACTIVE
========================================================= */

.pricing-container {
  width: min(1180px, 100%);
  overflow: hidden;

  font-family: "Times New Roman", Times, serif;
}

.pricing-container button,
.pricing-container input,
.pricing-container select,
.pricing-container textarea,
.pricing-container summary {
  font-family: "Times New Roman", Times, serif;
}

.pricing-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.pricing-heading h2 {
  margin-bottom: 12px;
}

.pricing-heading p {
  margin-bottom: 0;
}

.pricing-badge {
  flex: 0 0 auto;

  padding: 9px 14px;

  border: 1px solid rgba(128, 91, 44, 0.22);
  border-radius: 999px;

  background-color: rgba(255, 255, 255, 0.58);
  color: var(--culoare-principala);

  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.pricing-tabs {
  margin: 34px 0 30px;
  padding: 6px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;

  background-color: rgba(67, 54, 45, 0.1);
  border-radius: 15px;
}

.pricing-tab {
  padding: 13px 16px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border: 0;
  border-radius: 11px;

  background-color: transparent;
  color: rgba(67, 54, 45, 0.72);

  font-family: "Times New Roman", Times, serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;

  cursor: pointer;

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.pricing-tab:hover {
  color: var(--culoare-principala);
  transform: translateY(-1px);
}

.pricing-tab--active {
  background-color: var(--culoare-principala);
  color: var(--alb);
  box-shadow: 0 8px 20px rgba(67, 54, 45, 0.2);
}

.pricing-tab--active:hover {
  color: var(--alb);
}

.pricing-tab:focus-visible {
  outline: 3px solid var(--culoare-secundara);
  outline-offset: 3px;
}

.pricing-tab-icon {
  display: block;
  flex: 0 0 auto;
}

.pricing-panel {
  animation: pricing-panel-in 0.38s ease both;
}

.pricing-panel[hidden] {
  display: none;
}

@keyframes pricing-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ticket-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 24px;
}

.price-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.price-card {
  position: relative;
  overflow: hidden;

  min-height: 245px;
  padding: 28px;

  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;

  border: 1px solid rgba(67, 54, 45, 0.13);
  border-radius: 18px;

  background:
    radial-gradient(circle at 90% 10%, rgba(190, 144, 75, 0.2), transparent 42%),
    rgba(255, 255, 255, 0.68);

  box-shadow: 0 12px 28px rgba(67, 54, 45, 0.1);

  text-align: center;
}

.price-card--featured {
  background:
    radial-gradient(circle at 90% 10%, rgba(215, 183, 130, 0.3), transparent 42%),
    var(--culoare-principala);
  color: var(--alb);
}

.price-card-icon {
  position: static;

  width: 66px;
  height: 66px;
  margin-bottom: 25px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(67, 54, 45, 0.12);
  border-radius: 50%;

  background-color: rgba(255, 255, 255, 0.55);

  font-size: 2rem;
  opacity: 0.9;
}

.price-card--featured .price-card-icon {
  border-color: rgba(255, 255, 255, 0.16);
  background-color: rgba(255, 255, 255, 0.1);
}

.price-card .price-card-label,
.price-card .price-card-value,
.price-card .price-card-detail {
  margin-bottom: 0;
}

.price-card-label {
  color: inherit;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(1.55rem, 2.15vw, 1.95rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
}

.price-card-value {
  margin-top: 8px;

  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 11px;
  flex-wrap: wrap;

  color: var(--culoare-principala);
  font-size: clamp(2.7rem, 5vw, 4.2rem) !important;
  font-weight: 800;
  line-height: 1 !important;
}

.price-card--featured .price-card-value {
  color: var(--alb);
}

.price-card-value small {
  font-size: 1rem;
  font-weight: 600;
}

.price-card-detail {
  margin-top: 13px;

  max-width: 290px;

  color: rgba(67, 54, 45, 0.7);
  font-size: 1rem !important;
  line-height: 1.5 !important;
}

.ticket-calculator {
  padding: 27px;

  border: 1px solid rgba(67, 54, 45, 0.13);
  border-radius: 18px;

  background-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(67, 54, 45, 0.1);
}

.ticket-calculator .calculator-eyebrow {
  margin-bottom: 5px;

  color: var(--culoare-secundara);
  font-size: 0.87rem;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.ticket-calculator h3 {
  margin-bottom: 22px;

  color: var(--culoare-principala);
  font-size: 1.45rem;
}

.calculator-row {
  padding: 13px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  border-bottom: 1px solid rgba(67, 54, 45, 0.1);

  color: var(--culoare-principala);
  font-weight: 700;
}

.calculator-row small {
  display: block;

  margin-top: 2px;

  color: rgba(67, 54, 45, 0.58);
  font-weight: 500;
}

.calculator-row input {
  width: 66px;
  padding: 9px 8px;

  border: 1px solid rgba(67, 54, 45, 0.22);
  border-radius: 9px;

  background-color: #ffffff;
  color: var(--culoare-principala);

  font: inherit;
  font-weight: 800;
  text-align: center;
}

.calculator-row input:focus {
  outline: 3px solid rgba(190, 144, 75, 0.32);
  border-color: var(--culoare-secundara);
}

.calculator-total {
  margin-top: 22px;
  padding-top: 18px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;

  color: var(--culoare-principala);
}

.calculator-total strong {
  color: var(--culoare-secundara);
  font-size: 1.65rem;
}

.free-access {
  margin-top: 20px;

  border: 1px solid rgba(67, 54, 45, 0.13);
  border-radius: 14px;

  background-color: rgba(255, 255, 255, 0.5);
}

.free-access summary {
  padding: 17px 20px;

  color: var(--culoare-principala);
  font-weight: 800;

  cursor: pointer;
}

.free-access ul {
  padding: 0 42px 20px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 30px;

  color: rgba(67, 54, 45, 0.8);
}

.free-access li {
  list-style: disc;
}

.price-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-price-card {
  padding: 24px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 17px;

  border: 1px solid rgba(67, 54, 45, 0.13);
  border-radius: 16px;

  background-color: rgba(255, 255, 255, 0.67);
  box-shadow: 0 10px 24px rgba(67, 54, 45, 0.08);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(67, 54, 45, 0.14);
}

.service-price-card > span {
  font-size: 1.8rem;
}

.service-price-card h3,
.event-price-list h3 {
  margin-bottom: 4px;

  color: var(--culoare-principala);
  font-size: 1rem;
}

.service-price-card p,
.event-price-list p {
  margin-bottom: 0;

  color: rgba(67, 54, 45, 0.62);
  font-size: 0.95rem;
  line-height: 1.4;
}

.service-price-card strong,
.event-price-list strong {
  color: var(--culoare-secundara);
  font-size: 1.35rem;
  white-space: nowrap;
}

.service-price-card strong small,
.event-price-list strong small {
  font-size: 0.87rem;
}

.event-price-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.event-price-list article {
  padding: 20px 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  border: 1px solid rgba(67, 54, 45, 0.13);
  border-radius: 15px;

  background-color: rgba(255, 255, 255, 0.67);
}

.event-price-list article > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
}

.event-price-list article > div > span {
  grid-row: 1 / 3;

  font-size: 1.6rem;
}

.event-price-highlight {
  grid-column: 1 / -1;

  background:
    linear-gradient(110deg, rgba(67, 54, 45, 0.98), rgba(105, 82, 63, 0.94)) !important;
}

.event-price-highlight h3,
.event-price-highlight p {
  color: var(--alb);
}

.pricing-container .pricing-note {
  max-width: none;
  margin: 24px 0 0;
  padding-top: 18px;

  border-top: 1px solid rgba(67, 54, 45, 0.13);

  color: rgba(67, 54, 45, 0.64);
  font-size: 0.97rem;
  line-height: 1.55;
  text-align: center;
}


/* =========================================================
   GALERIE
========================================================= */

.gallery-section {
  width: min(1500px, 100%);
  padding: 52px;
}

.gallery {
  display: flex;
  gap: 20px;

  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery a {
  flex: 0 0 calc((100% - 40px) / 3);

  scroll-snap-align: start;
}

.gallery img {
  display: block;

  width: 100%;
  height: 280px;

  object-fit: cover;

  border-radius: 12px;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: translateY(-7px) scale(1.015);

  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.3);
}

.gallery-carousel {
  position: relative;

  margin-top: 35px;
  padding: 0 58px;
}

.gallery-button {
  position: absolute;
  top: 50%;
  z-index: 3;

  width: 44px;
  height: 44px;

  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;

  background-color: var(--culoare-secundara);
  color: var(--alb);

  font-size: 1.25rem;

  cursor: pointer;
  transform: translateY(-50%);

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.gallery-button:hover {
  background-color: var(--culoare-principala);
  transform: translateY(-50%) scale(1.08);
}

.gallery-button:focus-visible {
  outline: 3px solid var(--alb);
  outline-offset: 3px;
}

.gallery-button--previous {
  left: 0;
}

.gallery-button--next {
  right: 0;
}


/* =========================================================
   VIDEO SI CARUSELUL CU LEGENDE
========================================================= */

.legends-layout {
  margin-top: 36px;

  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.55fr);
  align-items: start;
  gap: 54px;
}

.emblem-video-wrapper {
  overflow: hidden;

  background-color: #000000;
  border-radius: 16px;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.emblem-video {
  display: block;

  width: 100%;
  max-height: 680px;

  object-fit: contain;
}

.legend-carousel {
  width: 100%;
  max-width: 440px;
  min-width: 0;

  justify-self: center;
}

.legend-frame {
  overflow: hidden;

  aspect-ratio: 0.707 / 1;

  background-color: #ffffff;
  border-radius: 16px;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.legend-frame img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

.legend-controls {
  margin-top: 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.legend-button {
  width: 46px;
  height: 46px;

  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;

  background-color: var(--culoare-secundara);
  color: var(--alb);

  font-size: 1.35rem;
  line-height: 1;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.legend-button:hover {
  transform: scale(1.08);
  background-color: transparent;
}

.legend-button:focus-visible {
  outline: 3px solid var(--alb);
  outline-offset: 3px;
}

.legend-counter {
  min-width: 76px;
  margin: 0;

  color: var(--alb);
  text-align: center;
  font-weight: 700;
}

.gallery-heading {
  margin-top: 52px;
}


/* =========================================================
   LIGHTBOX GALERIE FOTO
========================================================= */

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2200;

  padding: 42px 82px 28px;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;

  color: var(--alb);
  background-color: rgba(15, 12, 10, 0.93);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  min-width: 0;
  height: calc(100vh - 70px);
  height: calc(100svh - 70px);

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

.lightbox-figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100% - 40px);

  object-fit: contain;

  border-radius: 10px;

  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.5);
}

.lightbox-figure figcaption {
  min-height: 28px;

  color: rgba(255, 255, 255, 0.88);

  font-size: 1rem;
  text-align: center;
}

.lightbox-button,
.lightbox-close {
  display: grid;
  place-items: center;

  color: var(--alb);
  background-color: rgba(182, 141, 82, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;

  cursor: pointer;

  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-button {
  width: 52px;
  height: 52px;

  font-size: 1.8rem;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;

  width: 42px;
  height: 42px;

  background-color: rgba(255, 255, 255, 0.12);

  font-size: 1.8rem;
}

.lightbox-button:hover,
.lightbox-close:hover {
  background-color: var(--culoare-secundara);
  transform: scale(1.08);
}

.lightbox-button:focus-visible,
.lightbox-close:focus-visible {
  outline: 2px solid var(--alb);
  outline-offset: 3px;
}


/* =========================================================
   GENEALOGIE
========================================================= */

.genealogy-container {
  width: min(1380px, 100%);
}

.genealogy-link {
  display: block;
  overflow: hidden;

  margin-top: 34px;

  border-radius: 16px;

  box-shadow: 0 12px 30px rgba(67, 54, 45, 0.2);
}

.genealogy-image {
  display: block;

  width: 100%;
  height: auto;

  transition: transform 0.35s ease;
}

.genealogy-link:hover .genealogy-image {
  transform: scale(1.012);
}

.genealogy-hint {
  margin-top: 16px;
  margin-bottom: 0;

  color: rgba(67, 54, 45, 0.76);
  text-align: center;
  font-size: 1.05rem;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  padding: 14px 20px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;

  background-color: rgba(36, 29, 24, 0.96);
  color: var(--alb);

  text-align: center;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.footer p {
  margin: 0;
  font-size: 1.03rem;
}

.facebook-link {
  padding: 6px 11px;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: var(--alb);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;

  font-size: 0.92rem;

  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.facebook-link svg {
  width: 20px;
  height: 20px;

  color: #71a7f5;
}

.facebook-link:hover {
  color: var(--culoare-secundara);
  border-color: var(--culoare-secundara);
  transform: translateY(-2px);
}

.facebook-link:focus-visible {
  outline: 2px solid var(--culoare-secundara);
  outline-offset: 2px;
}


/* =========================================================
   CLASE JAVASCRIPT
========================================================= */

.nav-links--open {
  display: flex;
}

.reveal {
  opacity: 0;

  transform: translateY(30px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal--visible {
  opacity: 1;

  transform: translateY(0);
}


/* =========================================================
   TABLETĂ
========================================================= */

@media (max-width: 1000px) {
  .quick-info {
    right: 5px;
    max-width: calc(100vw - 20px);
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 58px;
    left: 0;

    width: 100%;
    padding: 24px;

    display: none;
    flex-direction: column;
    gap: 18px;

    background-color: rgba(67, 54, 45, 0.98);

    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.18);
  }

  .nav-info-item {
    width: min(420px, 100%);
  }

  .nav-links .nav-info-link {
    width: 100%;

    justify-content: center;
    flex-wrap: wrap;

    font-size: 0.97rem;
  }

  .nav-links--open {
    display: flex;
  }

  .hero {
    padding: 70px 10px 24px;
  }

  .hero-video-container {
    width: auto;
    max-width: 100%;
    height: calc(100svh - 94px);
    min-height: 520px;
    border-radius: 18px;
  }

  .hero-content {
    width: min(900px, calc(100% - 40px));
    padding: 40px 20px;
  }

  .hero-title {
    font-size: clamp(2.7rem, 6.7vw, 4.5rem);
  }

  .section {
    padding: 90px 5%;
  }

  .container {
    padding: 54px;
  }

  .gallery a {
    flex-basis: calc((100% - 20px) / 2);
  }

  .gallery img {
    height: 320px;
  }

  .legends-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gallery-section {
    padding: 40px 34px;
  }

  .emblem-video-wrapper,
  .legend-carousel {
    width: min(720px, 100%);
    margin: 0 auto;
  }

  .legend-frame {
    max-height: 760px;
  }

  .ticket-layout {
    grid-template-columns: 1fr;
  }

  .price-list-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   TELEFON
========================================================= */

@media (max-width: 600px) {
  body {
    background-attachment: scroll;
  }

  html {
    scroll-padding-top: 54px;
  }

  .navbar {
    min-height: 54px;
  }

  .logo {
    font-size: 1.15rem;
  }

  .site-emblem {
    width: 56px;
    height: 38px;

    border-radius: 7px;
  }

  .site-emblem-image {
    width: 174px;
  }

  .nav-links {
    top: 54px;
  }

  .language-switcher {
    top: auto;
    bottom: 10px;
    left: 5px;

    padding: 4px;

    transform: none;
  }

  .hero-audio-button {
    top: 62px;
    left: 5px;

    min-width: 46px;
    min-height: 43px;
    padding: 5px 6px;
  }

  .hero-audio-button small {
    font-size: 0.62rem;
  }

  .language-button {
    width: 36px;
    min-height: 36px;
  }

  .language-flag {
    width: 22px;
    height: 14px;
  }

  .quick-info {
    top: 62px;
    right: 6px;
    bottom: auto;

    width: min(218px, calc(100vw - 12px));
    max-width: none;
    gap: 5px;

    transform: none;
  }

  .quick-info-card {
    min-width: 0;

    border-radius: 10px;
  }

  .quick-info-link {
    min-height: 42px;
    padding: 6px 25px 6px 8px;

    grid-template-columns: 20px minmax(0, 1fr);
    gap: 5px;
  }

  .quick-info-icon {
    font-size: 1rem;
  }

  .quick-info-card strong {
    font-size: 0.82rem;
  }

  .quick-info-card small {
    overflow: hidden;

    font-size: 0.64rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 100svh;
    padding: 62px 6px 18px;
  }

  .hero-video-container {
    width: auto;
    max-width: 100%;
    height: calc(100svh - 80px);
    min-height: 480px;
    border-radius: 14px;
  }

  .hero-content {
    width: calc(100% - 24px);
    padding: 32px 10px;
    top: 17%;
    transform: translateX(-50%);
  }

  .hero-welcome {
    margin-bottom: 10px;
    font-size: 1.35rem;
  }

  .hero-title {
    margin-bottom: 34px;
    font-size: clamp(2.25rem, 11vw, 3.6rem);
    letter-spacing: 0.015em;
  }

  .hero-title-name {
    white-space: normal;
  }

  .hero-ornament {
    width: 72px;
  }

  .button {
    padding: 12px 22px;
  }

  .section {
    padding: 60px 18px;
  }

  .container {
    padding: 42px 30px;

    border-radius: 15px;

    background-color: rgba(255, 255, 255, 0.66);
  }

  .container::before,
  .container::after {
    width: 76px;
  }

  .gallery-section {
    padding: 25px 21px;
  }

  .gallery-carousel {
    padding: 0 44px;
  }

  .gallery-lightbox {
    padding: 54px 10px 18px;

    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 5px;
  }

  .lightbox-button {
    width: 38px;
    height: 38px;

    font-size: 1.3rem;
  }

  .lightbox-close {
    top: 8px;
    right: 9px;

    width: 36px;
    height: 36px;
  }

  .lightbox-figure {
    height: calc(100svh - 72px);
  }

  .lightbox-figure figcaption {
    font-size: 0.8rem;
  }

  .gallery a {
    flex-basis: 100%;
  }

  .gallery img {
    height: 280px;
  }

  .gallery-button {
    width: 36px;
    height: 36px;
  }

  .visit-schedule div {
    padding: 16px;

    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .pricing-container {
    padding: 42px 30px;
  }

  .pricing-heading {
    flex-direction: column;
    gap: 16px;
  }

  .pricing-tabs {
    margin-top: 25px;
  }

  .pricing-tab {
    padding: 11px 7px;

    flex-direction: column;
    gap: 3px;

    font-size: 1.15rem;
  }

  .price-card-grid,
  .event-price-list {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 210px;
    padding: 23px;
  }

  .price-card-label {
    font-size: 1.5rem;
  }

  .ticket-calculator {
    padding: 22px 18px;
  }

  .free-access ul {
    padding: 0 28px 18px 40px;

    grid-template-columns: 1fr;
  }

  .service-price-card {
    padding: 19px 16px;

    grid-template-columns: auto 1fr;
  }

  .service-price-card strong {
    grid-column: 2;
  }

  .event-price-list article,
  .event-price-highlight {
    grid-column: auto;
  }

  .event-price-list article {
    align-items: flex-start;
    flex-direction: column;
  }

  .genealogy-container {
    padding: 25px 16px;
  }

  .section-dark .container {
    background-color: rgba(67, 54, 45, 0.72);
  }

  .section-accent .container {
    background-color: rgba(229, 215, 195, 0.7);
  }

  .section h2 {
    font-size: 2rem;
  }

  .section p {
    font-size: 1.15rem;
    line-height: 1.75;
  }

  .gallery img {
    height: 230px;
  }
}


/* =========================================================
   TELEFON FOARTE MIC
========================================================= */

@media (max-width: 420px) {
  .hero-video-container {
    width: auto;
    max-width: 100%;
    border-radius: 12px;
  }

  .hero-content {
    width: calc(100% - 18px);
  }

  .hero-title {
    font-size: 2.2rem;
  }
}
