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

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

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

img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
/* --------------------------------------------------
   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;
}

@media (max-width: 900px) {
  .nav-left {
    display: none;
  }
}

/* --------------------------------------------------
   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;
  transition-delay: 1s;
}

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

.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.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition-delay: 4s;
}

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

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

.section-normal {
  padding: 120px 20px;
  background: #fff;
  color: #333;
  position: relative;
  z-index: 2;
}

.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);
}

/* --------------------------------------------------
   SCROLL-PINNED
-------------------------------------------------- */

.parallax-scene {
  position: relative;
  height: 100vh;
}

.parallax-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

/* Mobile */
@media (max-width: 768px) {
  .parallax-bg {
    position: sticky;
    top: 0;
  }
}
.parallax-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translateY(0);
  will-change: transform;
}

.evenimente-parallax .parallax-bg img {
  height: 100%;
  object-position: center top;
}

.tabere-parallax .parallax-bg img {
  height: 100%;
  object-position: 80% 50%;
}
/* --------------------------------------------------
   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: 40px 20px 30px 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.8rem;
  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: 0px;
}

.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.4rem;
  color: #555;
  opacity: 0.9;
  letter-spacing: 0.3px;
  margin: 0;
  transform: none;
  filter: none;
}

/* Responsive */
@media (max-width: 768px) {
  .site-footer {
    padding: 10px 20px 10px 20px;
  }
  .footer-logo {
    font-size: 1.7rem;
  }

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

  .footer-social a svg {
    width: 32px;
    height: 32px;
  }
}

.mobile-panel {
  position: fixed;
  right: 0;
  width: auto;
  max-width: 320px; /* opțional, dar arată premium */
  height: 100vh;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 25px;
  transform: translateX(120%);
  transition: transform 0.35s ease;
  z-index: 2000;
  padding-top: 40px;
  border-radius: 0; /* colțuri drepte */
}

.mobile-panel.open {
  transform: translateX(0px); /* marginea de 20px */
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-nav a {
  font-family: "Dancing Script", cursive;
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.mobile-nav a:hover {
  opacity: 1;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  backdrop-filter: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

.mobile-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 901px) {
  .mobile-panel,
  .mobile-overlay {
    display: none !important;
  }
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* --------------------------------------------------
   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;
  }
}

/* Overlay întunecat + blur */
.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 9000;
}

/* Pop-up container (nemodificat) */
.contact-popup {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 10000;
}

/* Etichete cu fontul tău */
.contact-popup label {
  font-family: "Dancing Script", cursive;
  font-weight: 600;
}

/* POPUP COMPACT — cheia */
.popup-content {
  height: stretch;
  width: 100%;
  max-width: 420px;              /* mai îngust = mai scund */
  background: #ffffff;
  padding: 18px 22px;            /* redus de la 30px */
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);

  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;

  max-height: calc(100vh - 40px); /* încape în viewport */
  overflow-y: auto;

  box-sizing: border-box;
}

/* Scrollbar elegant */
.popup-content::-webkit-scrollbar {
  width: 6px;
}

.popup-content::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.25);
  border-radius: 4px;
}

/* Activare */
.contact-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.contact-popup.active .popup-content {
  transform: scale(1);
}

/* X de închidere */
.close-popup {
  position: absolute;
  top: 8px;                      /* redus */
  right: 12px;                   /* redus */
  font-size: 1.6rem;             /* redus */
  cursor: pointer;
  color: #444;
}

/* Formular compact */
.popup-content form {
  display: flex;
  flex-direction: column;
  gap: 10px;                     /* redus de la 14px */
}

/* Label compact */
.popup-content label {
  font-size: 0.9rem;             /* puțin mai mic */
  color: #333;
}

/* Inputuri compacte */
.popup-content input,
.popup-content textarea {
  width: 100%;
  padding: 8px 10px;             /* redus de la 12px */
  border: 1px solid #ccc;
  border-radius: 6px;            /* redus */
  font-size: 0.9rem;             /* redus */
  font-family: inherit;
  transition: border-color 0.2s ease;
}

/* Textarea compactă */
.popup-content textarea {
  min-height: 70px;              /* redus */
  max-height: 120px;             /* limităm înălțimea */
}

/* Focus */
.popup-content input:focus,
.popup-content textarea:focus {
  border-color: #008f6b;
  outline: none;
}

/* Buton compact */
.premium-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1px auto 0 auto;      /* redus */
  padding: 6px 16px;             /* redus */
  background: #ccfa9d;
  color: rgb(3, 0, 0);
  border: none;
  border-radius: 6px;            /* redus */
  font-family: "Dancing Script", cursive;
  font-size: 0.9rem;             /* redus */
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  width: auto;
}

.premium-btn:hover {
  transform: scale(1.1);
}

/* Icon compact */
.icon-circle {
  width: 24px;                   /* redus */
  height: 24px;                  /* redus */
  background: white;
  color: #41635a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-mail {
  width: 14px;                   /* redus */
  height: 14px;
  display: block;
}

/* --------------------------------------------------
   PAGINA DE CONTACT
-------------------------------------------------- */

.contact-page {
  padding-top: 40px; /* spațiu sub header */
}

/* INTRO */
.contact-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-hero-inner h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.contact-hero-inner p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 25px;
}

/* DATE DE CONTACT */
.contact-details-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-block {
  flex: 1;
  min-width: 260px;
}

.contact-block h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.contact-list a {
  color: #2a5d8f;
  text-decoration: none;
  font-weight: 600;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* HARTA */
.contact-map-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.contact-map-inner h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.map-embed iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* MESAJ PERSONAL */
.contact-note-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #444;
  padding: 20px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {

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

  .contact-details-inner {
    flex-direction: column;
    gap: 30px;
  }

  .map-embed iframe {
    height: 300px;
  }
}

/*======================================
BUTON PREMIUM - CONTACT PAGE
======================================*/
.contact-page .contact-btn {
  font-family: "Dancing Script", cursive;
  font-size: 20px;
  font-weight: 600;
  background: rgb(129, 168, 129);
  color: #fff !important;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.35s ease, transform 0.25s ease, box-shadow 0.35s ease, color 0.35s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/*Icoana premium 
.contact-page .contact-btn::after {
  content: "f0e0";
  font-size: 22px;
  transform: translate(1px); 
} */

/* Hover desktop */
.contact-page .contact-btn:hover {
  background: #a8dfb0;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
  color: #fff !important;
}

/* Fix mobil revenire Whatsapp*/
.contact-page.contact-btn:visited {
  color: #fff !important;
}

/*Fix apasare mobil */
.contact-page .contact-btn:active {
  background: #1f4a72;
  color: #fff !important;
}

/* Reduce spatiul dintre buton si sectiunea detalii contact*/
.contact-page .contact-hero {
  padding-bottom: 20px;
}

/*Elimina margin top excesiv al sectiunii urmatoare*/
.contact-page .contact-details{
  margin-top: 0;
  padding: 10px 20px;
}

/* Reduce spatiu intre harta si sectiunea de deasupra*/
.contact-page .contact-map {
  padding: 10px 20px;
}

/*Modifica font p contact hero*/
.contact-page .contact-hero p {
  font-family: "Dancing Script", cursive;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

/* Stilizare elemente de contact din contact.html */
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lora', serif;
}

/* Dimensiune iconite contact*/
.contact-details i {
  font-size: 32px;
}

.contact-map-inner p{
  font-family: "Dancing Script", cursive;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.with-icon {
  display: flex;
  align-items: center;
  justify-content: center; /* asta centrează iconița + textul */
  gap: 10px;
  text-align: center; /* opțional, pentru text pe 2 rânduri */
}

.overlay-text {
  position: sticky;
  z-index: 10; /* trece peste parallax */
  background: rgba(0, 0, 0, 0.15); /* transparent elegant */
  color: white;
  text-align: center;
  left: 50vw;
  margin-top: 40vh;
}

.overlay-inner {
  max-width: 800px;
  margin: 0 auto;
}

.overlay-text h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.overlay-text p {
  font-size: 2rem;
  line-height: 1.6;
  font-family: "Dancing Script", cursive;
}
@media (max-width: 768px) {
  overlay-text {
    margin-top:25vh;
  }
.overlay-text p {
  font-size: 1.5rem;
  }
}