/* ==========================================================
   SIMFONIA TOAMNEI — EDIȚIA VI
   ========================================================== */

:root {
  --ivory: #f7efe1;
  --cream: #ead8bc;
  --cream-light: #fffaf2;

  --burgundy: #671f2d;
  --burgundy-dark: #351017;

  --rust: #a6532f;
  --gold: #b58b4d;
  --gold-light: #d8bb83;

  --brown: #513b31;
  --text: #574740;
}


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

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

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;

  background: var(--ivory);
  color: var(--text);

  font-family: "Cormorant Garamond", Georgia, serif;
}


/* ==========================================================
   MENIU
   ========================================================== */

.festival-header {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 100;
}

.festival-nav {
  height: 82px;

  padding: 0 5.5%;

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

  background: rgba(250, 244, 234, 0.90);

  border-bottom:
    1px solid rgba(103, 31, 45, 0.12);

  backdrop-filter: blur(10px);
}

.back-home {
  color: var(--burgundy);

  text-decoration: none;

  font-size: 14px;
  font-weight: 600;

  letter-spacing: 2.5px;
}

.festival-menu {
  display: flex;

  align-items: center;

  gap: 38px;
}

.festival-menu a {
  position: relative;

  color: var(--burgundy-dark);

  text-decoration: none;

  font-size: 13px;
  font-weight: 600;

  letter-spacing: 1.3px;
}

.festival-menu a::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -8px;

  width: 0;
  height: 1px;

  background: var(--rust);

  transform: translateX(-50%);

  transition: width 0.3s ease;
}

.festival-menu a:hover::after {
  width: 100%;
}


/* ==========================================================
   HERO — FUNDAL FESTIVAL
   ========================================================== */

.festival-hero {
  position: relative;

  min-height: 100vh;

  display: flex;

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

  overflow: hidden;

  background-image:
    url("imagini/fundal-festival.png");

  background-size: cover;

  background-position: center center;

  background-repeat: no-repeat;
}


/* peliculă foarte discretă pentru integrarea siglei */

.festival-hero::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    radial-gradient(
      circle at center,
      rgba(255, 247, 231, 0.12) 0%,
      rgba(255, 247, 231, 0.04) 37%,
      rgba(76, 37, 23, 0.03) 100%
    );

  pointer-events: none;
}


/* tranziție către zona următoare */

.festival-hero::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 90px;

  z-index: 3;

  background:
    linear-gradient(
      to bottom,
      rgba(247, 239, 225, 0),
      rgba(247, 239, 225, 0.94)
    );

  pointer-events: none;
}


/* ==========================================================
   CONȚINUT CENTRAL
   ========================================================== */

.festival-hero-content {
  position: relative;

  z-index: 10;

  width: min(92%, 760px);

  padding-top: 82px;

  display: flex;
  flex-direction: column;

  align-items: center;

  text-align: center;
}


/* ==========================================================
   LOGO ORIGINAL
   ========================================================== */

.festival-logo {
  width: min(39vw, 430px);

  height: auto;

  display: block;

  margin: 0 auto;

  filter:
    drop-shadow(
      0 8px 20px rgba(67, 32, 18, 0.12)
    );
}


/* ==========================================================
   EDIȚIA
   ========================================================== */

.edition-label {
  margin-top: 8px;

  padding: 7px 16px;

  color: var(--burgundy);

  background:
    rgba(255, 248, 235, 0.46);

  border-radius: 30px;

  font-size: 13px;
  font-weight: 600;

  letter-spacing: 3.8px;

  backdrop-filter: blur(3px);
}


/* ==========================================================
   DESCOPERĂ FESTIVALUL
   ========================================================== */

.discover-button {
  margin-top: 25px;

  padding: 10px 4px 8px;

  display: inline-flex;

  align-items: center;

  gap: 12px;

  color: var(--burgundy);

  text-decoration: none;

  border-bottom:
    1px solid rgba(103, 31, 45, 0.55);

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 2.2px;

  transition:
    gap 0.3s ease,
    color 0.3s ease;
}

.discover-button:hover {
  gap: 19px;

  color: var(--rust);
}

.discover-button span {
  font-size: 17px;

  animation:
    arrowFloat 1.8s ease-in-out infinite;
}

@keyframes arrowFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }

}


/* ==========================================================
   NOTE DIN HTML
   Nu le mai afișăm.
   Imaginea de fundal are deja elemente muzicale.
   ========================================================== */

.music-note {
  display: none;
}


/* ==========================================================
   FRUNZE ANIMATE
   ========================================================== */

.leaves {
  position: absolute;

  inset: 0;

  z-index: 5;

  overflow: hidden;

  pointer-events: none;
}

.leaf {
  position: absolute;

  top: -12%;

  display: block;

  opacity: 0;

  font-size: 20px;

  filter:
    saturate(0.65)
    sepia(0.18);

  animation:
    leafFall linear infinite;
}

.leaf-1 {
  left: 8%;

  font-size: 18px;

  animation-duration: 19s;
  animation-delay: -8s;
}

.leaf-2 {
  left: 24%;

  font-size: 13px;

  animation-duration: 24s;
  animation-delay: -17s;
}

.leaf-3 {
  left: 42%;

  font-size: 16px;

  animation-duration: 22s;
  animation-delay: -5s;
}

.leaf-4 {
  left: 64%;

  font-size: 14px;

  animation-duration: 25s;
  animation-delay: -19s;
}

.leaf-5 {
  left: 81%;

  font-size: 18px;

  animation-duration: 21s;
  animation-delay: -11s;
}

.leaf-6 {
  left: 94%;

  font-size: 13px;

  animation-duration: 26s;
  animation-delay: -3s;
}

@keyframes leafFall {

  0% {
    transform:
      translate3d(0, -10vh, 0)
      rotate(0deg);

    opacity: 0;
  }

  12% {
    opacity: 0.45;
  }

  32% {
    transform:
      translate3d(35px, 30vh, 0)
      rotate(105deg);
  }

  58% {
    transform:
      translate3d(-22px, 58vh, 0)
      rotate(220deg);
  }

  82% {
    transform:
      translate3d(38px, 84vh, 0)
      rotate(325deg);

    opacity: 0.38;
  }

  100% {
    transform:
      translate3d(-10px, 112vh, 0)
      rotate(430deg);

    opacity: 0;
  }

}


/* ==========================================================
   ZONA DE ACCES RAPID
   ========================================================== */

.quick-access {
  position: relative;

  padding: 72px 5% 88px;

  background:
    linear-gradient(
      180deg,
      #f7efe1 0%,
      #f3e6d3 100%
    );
}

.quick-heading {
  max-width: 720px;

  margin: 0 auto 45px;

  text-align: center;
}

.quick-heading > span {
  display: block;

  margin-bottom: 9px;

  color: var(--gold);

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 4px;
}

.quick-heading h1 {
  color: var(--burgundy);

  font-size:
    clamp(40px, 4vw, 58px);

  font-weight: 500;

  line-height: 1;
}

.quick-heading p {
  margin-top: 14px;

  color: var(--text);

  font-size: 18px;

  font-style: italic;
}


/* ==========================================================
   CARDURI
   Pregătit pentru 4 carduri
   ========================================================== */

.quick-grid {
  width: min(100%, 1250px);

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 18px;
}

.quick-card {
  position: relative;

  min-height: 300px;

  padding: 30px 26px 25px;

  display: flex;
  flex-direction: column;

  color: var(--text);

  text-decoration: none;

  background:
    rgba(255, 250, 242, 0.74);

  border:
    1px solid rgba(181, 139, 77, 0.28);

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

.quick-card:hover {
  transform: translateY(-6px);

  background:
    rgba(255, 250, 242, 0.98);

  border-color:
    rgba(103, 31, 45, 0.30);

  box-shadow:
    0 18px 42px
    rgba(73, 43, 29, 0.09);
}

.quick-card.important {
  border-top:
    3px solid var(--burgundy);
}

.card-number {
  position: absolute;

  top: 17px;
  right: 19px;

  color:
    rgba(103, 31, 45, 0.14);

  font-size: 27px;
}

.card-symbol {
  display: block;

  margin-bottom: 23px;

  color: var(--gold);

  font-size: 28px;
}

.quick-card h2 {
  margin-bottom: 12px;

  color: var(--burgundy);

  font-size: 30px;
  font-weight: 500;
}

.quick-card p {
  color: #65534b;

  font-size: 16px;

  line-height: 1.48;
}

.card-action {
  margin-top: auto;

  padding-top: 25px;

  color: var(--burgundy);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 1.7px;

  transition:
    letter-spacing 0.25s ease;
}

.quick-card:hover .card-action {
  letter-spacing: 2.2px;
}


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

.festival-footer {
  min-height: 70px;

  padding: 20px 5%;

  display: flex;

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

  gap: 14px;

  text-align: center;

  background:
    var(--burgundy-dark);

  color:
    rgba(247, 239, 225, 0.68);

  font-size: 11px;

  letter-spacing: 1.3px;
}

.festival-footer a {
  color: var(--gold-light);

  text-decoration: none;
}

.footer-dot {
  color: var(--gold);
}


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

@media (max-width: 1050px) {

  .festival-menu {
    gap: 20px;
  }

  .festival-logo {
    width: min(50vw, 420px);
  }

  .quick-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


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

@media (max-width: 700px) {

  .festival-nav {
    min-height: 70px;

    height: auto;

    padding: 11px 4%;
  }

  .back-home {
    font-size: 9px;

    letter-spacing: 1px;
  }

  .festival-menu {
    gap: 9px;
  }

  .festival-menu a {
    font-size: 8px;

    letter-spacing: 0.2px;
  }

  .festival-hero {
    min-height: 88vh;

    background-position: center center;
  }

  .festival-hero-content {
    padding-top: 75px;
  }

  .festival-logo {
    width: min(72vw, 370px);
  }

  .edition-label {
    font-size: 10px;

    letter-spacing: 2.3px;
  }

  .discover-button {
    margin-top: 20px;

    font-size: 10px;

    letter-spacing: 1.4px;
  }

  .quick-access {
    padding:
      60px 6%
      70px;
  }

  .quick-heading {
    margin-bottom: 35px;
  }

  .quick-heading h1 {
    font-size: 40px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 235px;
  }

  .festival-footer {
    flex-direction: column;

    gap: 6px;

    padding:
      23px 7%;
  }

  .footer-dot {
    display: none;
  }

}


/* ==========================================================
   REDUCERE ANIMAȚII
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .leaf,
  .discover-button span {
    animation: none;
  }

}
