/* --------------------------------------------------
   1. RESET & GLOBAL
-------------------------------------------------- */

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

body {
  font-family: "Lora", serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

/* --------------------------------------------------
   2. HEADER GENERAL
-------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 999;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  position: relative;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 40px;
}

.nav-left a, .nav-right a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s ease;
  font-family: "Dancing Script", cursive;
  font-size: 1.9rem;
  font-weight: 600;
}

.nav-left a:hover, .nav-right a:hover {
  color: #6b8e23;
}

.logo-center img {
  height: 100px;
  width: auto;
  display: block;
}

/* --------------------------------------------------
   3. HAMBURGER
-------------------------------------------------- */

.hamburger {
  width: 32px;
  height: 24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s ease;
}

.hamburger span:nth-child(2) {
  width: 60%;
  align-self: flex-end;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-left, .nav-right {
    display: none;
  }

  .logo-center img {
    height: 70px;
  }

  .header-container {
    padding: 18px 25px;
    justify-content: space-between;
  }
}

/* --------------------------------------------------
   4. FONTURI
-------------------------------------------------- */

h1, h2 {
  font-family: "Dancing Script", cursive;
  font-weight: 600;
  line-height: 1.2;
}

/* --------------------------------------------------
   5. HERO
-------------------------------------------------- */

.hero {
  position: relative;
  height: 100vh;
  background-image: url('img/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding-top: 110px;
}

@media (max-width: 900px) {
  .hero {
    background-attachment: scroll;
    padding-top: 120px;
  }
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-family: "Dancing Script", cursive;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  transition: 0.3s ease;
}

.hero .btn {
  font-family: "Dancing Script", cursive;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* --------------------------------------------------
   6. SECȚIUNI NORMALE
-------------------------------------------------- */

.section-normal {
  padding: 120px 20px;
  background: #fff;
  color: #333;
}

.section-normal h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 25px;
}

.section-normal p {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.25rem;
  line-height: 1.7;
  text-align: center;
  color: #444;
}

.poveste-text p,
section.evenimente p,
section.petreceri p,
section.tabere p {
  font-family: "Lora", serif !important;
  font-style: italic !important;
  font-size: 1.35rem;
  line-height: 1.75;
  font-weight: 400;
  color: #444;
}

/* GALERIE */

.gallery-small {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.gallery-anim {
  position: absolute;
  top: 60%;
  left: 100%;
  transform: translateY(-50%);
  display: flex;
  flex-wrap: nowrap !important;
  gap: 40px;
  white-space: nowrap;
}

.story-img {
  opacity: 0;
  transform: translateX(200px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.gallery-small img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-small img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

/* --------------------------------------------------
   7. PARALLAX STATIC (STABIL)
-------------------------------------------------- */

.reveal-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.parallax {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}

/* imaginile tale */
.parallax-poveste {
  background-image: url('img/poveste_parallax.jpg');
}

.parallax-evenimente {
  background-image: url('img/evenimente_parallax.jpg');
}

.parallax-petreceri {
  background-image: url('img/petreceri_parallax.jpg');
}

.parallax-tabere {
  background-image: url('img/tabere_parallax.jpg');
}

/* --------------------------------------------------
   8. SCROLL REVEAL PREMIUM
-------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(1.03);
  filter: blur(4px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out,
    filter 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger pentru galerii */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.55s; }

/* --------------------------------------------------
   FOOTER PREMIUM — FINAL, CURAT
-------------------------------------------------- */

.site-footer {
  background: #ffffff;
  padding: 80px 20px 60px 20px;
  text-align: center;
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* Semnătură */
.footer-logo {
  font-family: "Dancing Script", cursive;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2f3e1f;
  opacity: 0.95;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;

}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 25px;
}

.footer-social a svg {
  width: 28px;
  height: 28px;
  fill: #2f3e1f;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover svg {
  opacity: 1;
  transform: scale(1.12);
}

/* Divider */
.footer-divider {
  width: 140px;
  height: 2px;
  background: rgba(0,0,0,0.12);
  margin: 0 auto 25px auto;
  border-radius: 2px;
}

/* Text copyright */
.footer-copy {
  font-family: "Dancing Script", serif;
  font-size: 1.3rem;
  color: #555;
  opacity: 0.9;
  letter-spacing: 0.3px;
  margin: 0;
  transform: none;
  filter: none;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-logo {
    font-size: 2.4rem;
  }

  .footer-copy {
    font-size: 1rem;
  }
}


/* --------------------------------------------------
   9. RESPONSIVE
-------------------------------------------------- */

@media (max-width: 768px) {
  .section-normal {
    padding: 90px 20px;
  }

  .section-normal h2 {
    font-size: 2.4rem;
  }

  .section-normal p {
    font-size: 1.1rem;
  }

  .gallery-small img {
    width: 100%;
    max-width: 320px;
    height: 200px;
  }

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

  .hero p {
    font-size: 1.1rem;
  }
}