/* ---------------- RESET ---------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; font-family: 'Poppins', sans-serif; scroll-behavior: smooth; }

/* ---------------- SIDEBAR START---------------- */
.sidebar {
  position: fixed;
  justify-content: center;
  text-align: center;
  top:0;
  left:-250px;
  width:220px;
  height:100%;
  background-color:#ffffff;
  padding-top:20px;
  box-shadow:10px 0 30px rgba(247,238,238,0.829);
  transition:left 0.9s ease;
  z-index:9999;
}
.sidebar .navbar-nav { 
  list-style:none; 
  padding:0; 
   
}

.sidebar .navbar-nav .nav-item { 
  padding:3px 20px; 
  margin-bottom:10px; 
}

.sidebar .navbar-nav .nav-link { 
  font-family: 'Lora', serif; 
  font-weight:500; color:#461706; 
  font-size:18px; 
  text-decoration:none; 
  display:block; 
}
.sidebar .navbar-nav .nav-link:hover {
  color:#000; 
  transform:translateX(5px); 
}

.sidebar-toggle-btn { 
  position: fixed; 
  top:20px; 
  left:20px; 
  background-color:#461706; 
  color:white; 
  padding:10px 15px; 
  border-radius:50px; 
  font-size:25px; 
  cursor:pointer; 
  box-shadow:2px 2px 40px rgba(0,0,0,0.5); 
  z-index:1000; 
}

.sidebar .profile-photo { 
  display:block; 
  margin:70px auto 50px; 
  width:120px; 
  height:120px; 
  border-radius:50%; 
  object-fit:cover; 
  border:2px solid #461706; 
  box-shadow:0 1px 25px rgba(0,0,0,0.8); 
  animation: zoomInOut 2s infinite; 
}

@keyframes zoomInOut { 0%,100%{transform:scale(1);}50%{transform:scale(1.05);} }

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 300;
    color: #461706;
    cursor: pointer;
    
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(4px);
    
    border: 1px solid rgba(70, 23, 6, 0.25);
    border-radius: 50%;
    
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    
    transition: 
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease;
}

.close-btn i {
    font-size: 24px;
    line-height: 1;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    transform: scale(1.12);
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

@media (max-width: 480px) {
  .close-btn {
    width: 34px;
    height: 34px;
  }
  .close-btn i {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
 .sidebar-toggle-btn { 
    padding: 10px 14px !important; 
    font-size: 20px !important; 
    border-radius: 50px !important; 
   }
}


/* ---------------- SIDEBAR END---------------- */

/* ----------- GENERAL START ----------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: clamp(12px, 2vw, 20px);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
  color: #ffffff;
  background: #b97c20;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  padding: 0.8em 2.2em;
  margin-top: 1.2rem;
  position: relative;
  text-decoration: none;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  z-index: 1;
  overflow: visible; /* important ca pseudo-elementul să nu fie tăiat */
}

/* Puls permanent */
.button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 140%;
  background: rgba(177, 100, 11, 0.651);
  border-radius: 50px;
  transform: translate(-50%, -80%);
  animation: pulseGlow 2s infinite ease-in-out;
  z-index: 1;
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* Hover elegant */
.button:hover {
  transform: scale(1.06);
  background-color: transparent;
  color: #000;
}

/* ----------- LINIE DE DELIMITARE SECȚIUNI ----------- */
.section-divider {
  position: relative;
  width: 60%;
  height: 2px;
  margin: 20px auto;
  background: linear-gradient(to right, transparent, #461706, transparent);
  border-radius: 2px;
  opacity: 0.8;
}

/* ----------- GENERAL END ----------- */

/* ---------------- HERO START ---------------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items:flex-start;
  justify-content: center;
  text-align: center;
  height: 100vh;
  width: 100%;
  background-image: url('../img/Christmas_10_1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 5vh 5vw;
  padding-left: 15%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-content {
  z-index: 1;
  max-width: 90%;
  width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.hero h1 { 
  animation-delay: 0.1s; 
  font-size: clamp(28px, 4vw, 80px); 
  font-family: 'Lora', serif; 
  color: #461706; 
  font-weight: 400; 
}

.hero h3 { 
  animation-delay: 0.5s; 
  font-size: clamp(24px, 3vw, 60px); 
  font-family: 'Dancing Script', cursive; 
  color: #000; 
  font-weight: 100;
  padding-left: 20rem; 
}

.hero h4 { 
  animation-delay: 0.7s; 
  font-size: clamp(28px, 4vw, 60px); 
  font-family: 'Dancing Script', cursive; 
  color: #000; margin-top: 1rem; 
  font-weight: 100; 
}

.hero h5 { 
  animation-delay: 0.3s; 
  font-size: clamp(36px, 6vw, 100px); 
  font-family: 'Lora', serif; 
  color: #461706; 
  font-weight: 500; 
}

.hero h1, .hero h5, .hero h3, .hero h4 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards;
}

/* 🎬 Delay diferit pentru fiecare element */
.hero h1 { animation-delay: 0.2s; }
.hero h5 { animation-delay: 0.5s; }
.hero h3 { animation-delay: 0.8s; }
.hero h4 { animation-delay: 1.1s; }

/* ---------------- ANIMATII ---------------- */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.buttoncontainer-main {padding-top: 3rem;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  text-align: center;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .hero {
    background-image: url('../img/BACK_MOB_2.jpg');
    background-size: cover;
    background-position: center;
    justify-content: flex-start;
    padding: 0;
    background-color: #000;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
    align-items: center;
    padding-top: 10vh;
  }
  .hero h4, .button { 
    position: absolute; 
    margin: 0; 
  }
  .hero h4 { 
    bottom: 80px; 
  }

  .hero h3 { 
    padding-left: 5rem; 
  }
  .button { 
    bottom: 20px; 
  }
}

/* ---------------- HERO END ---------------- */

/* ===== SECȚIUNE INTRO START ===== */
.intro-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  background-image: url('../img/Christmas_4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 5vh 5vw;
}

/* fundal semi-transparent pentru lizibilitate */
.intro-section::before {
  content: "";
  position: absolute;
  inset: 0;
 
  backdrop-filter: blur(14px);
  z-index: 0;
}

.intro-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  
}

.intro-content h1 {
  font-size: clamp(30px, 4vw, 80px); 
  font-family: 'Dancing Script', cursive; 
  color: #461706; 
  font-weight: 400; 
}

.intro-content h2 {
  font-size: clamp(16px, 3vw, 30px); 
  font-family: 'Lora', serif;  
  color: #000000; 
  font-weight: 100;
  text-align: left; 
}
.intro-content .animate-right {
  font-size: clamp(16px, 3vw, 30px); 
  font-family: 'Lora', serif; 
  color: #000;
  font-weight: 100;
  padding-top: 2rem; 
}

.intro-content .animate-left {
  font-size: clamp(16px, 3vw, 30px); 
  font-family: 'Lora', serif; 
  color: #000;
  font-weight: 100;
  padding-top: 2rem; }

.intro-section p {
  line-height: 1.2;
  color: #3a1f10;
}

.separator {
  font-size: 30px;
  color: #704122;
  margin: 25px auto;
  opacity: 0.7;
}

.buttoncontainer-intro {padding-top: 2rem;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  text-align: center;
} 

/* ===== ANIMAȚII DIRECȚIONALE ===== */
@keyframes fromLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fromRight {
  from { opacity: 0; transform: translateX(80px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fromUp {
  from { opacity: 0; transform: translateY(-80px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fromDown {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Clase aplicate individual */
.animate-left { animation: fromLeft 1.2s ease-out both; }
.animate-right { animation: fromRight 1.4s ease-out both; }
.animate-up { animation: fromUp 1.3s ease-out both; }
.animate-down { animation: fromDown 1.5s ease-out both; }

/* efecte haotice - delay-uri subtile */
.animate-left { animation-delay: 0.2s; }
.animate-right { animation-delay: 0.5s; }
.animate-up { animation-delay: 0.8s; }
.animate-down { animation-delay: 1s; }

.animate-left,
.animate-right,
.animate-up,
.animate-down {
  animation-play-state: paused;
  opacity: 0;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .intro-section {
    background-image: url('../img/Christmas_MOB.jpg');
    min-height: 0;
   
    background-size: cover;
    background-position: center;
    justify-content: center;
    background-color: #000;
  }
  .intro-content {
    position: relative;
    z-index: 1;
  }
}

/* ===== SECȚIUNE INTRO END ===== */

/* ===== DESPRE CURS START ===== */
.cursulcontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
}

.cursulcontainer h1 { 
  animation-delay: 0.1s; 
  font-size: clamp(24px, 4vw, 60px); 
  font-family: 'Lora', serif;
  color: #461706; 
  font-weight: 400; 
}

.gallery-section {
  width: 100%;
  background-image: url('../img/Christmas_5.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 60px 5vw;
  display: flex;
  justify-content: center;
}

.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
 
  backdrop-filter: blur(14px);
  z-index: 0;
}

.gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 70px;
  max-width: 1200px;
  width: 100%;
}

.gallery-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.gallery-row.reverse {
  flex-direction: row-reverse;
}

.gallery-box {
  width: 45%;
  display: flex;
  justify-content: center;
  
}

.gallery-box img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(70, 23, 6, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: glowPulse 3s infinite ease-in-out;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(70, 23, 6, 0.3);
  }
  50% {
    box-shadow: 0 0 35px rgba(94, 57, 2, 0.705);
  }
}

.gallery-box img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(70, 23, 6, 0.25);
}

.gallery-box:hover img {
  opacity: 0.8;
}

.gallery-text {
  width: 45%;
  text-align: left;
}

.gallery-text p {
  font-size: clamp(18px, 4vw, 22px); 
  font-family: 'Lora', serif;
  color: #461706; 
  font-weight: 400; 
}

.gallery-text h3 {
  font-size: clamp(24px, 3vw, 40px); 
  font-family: 'Dancing Script', cursive; 
  color: #000; font-weight: 100;
  margin-bottom: 1rem; 
}

.gallery-text h2 {
  font-size: clamp(24px, 3vw, 35px); 
  font-family: 'Lora', serif; 
  color: #000; font-weight: 100;
  margin-bottom: 1rem; 
}

.center-btn {
  display: flex;
  justify-content: center;
}

.button_despre_curs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: clamp(14px, 2vw, 20px);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
  color: #ffffff;
  background: #b97c20;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  padding: 0.8em 2.2em;
  margin-top: 1.2rem;
  position: relative;
  text-decoration: none;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  z-index: 1;
  overflow: visible; /* important ca pseudo-elementul să nu fie tăiat */
}

/* Puls permanent */
.button_despre_curs::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 140%;
  background: rgba(177, 100, 11, 0.651);
  border-radius: 50px;
  transform: translate(-50%, -50%);
  animation: pulseGlow 2s infinite ease-in-out;
  z-index: 1;
}

/* Hover elegant */
.button_despre_curs:hover {
  transform: scale(1.06);
  background-color: transparent;
  color: #000;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .gallery-box img {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .gallery-row,
  .gallery-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .gallery-box, .gallery-text {
    width: 100%;
  }

  .gallery-text {
    text-align: center;
  }

  .gallery-box img {
    width: 100%;
    height: 250px;
  }

  .gallery-wrapper {
    gap: 30px;
  }

  .button_despre_curs {
    font-size: clamp(12px, 2vw, 20px);
  }

  .cursulcontainer {
    padding-top: 0px;
  }
}


/* ---------- ANIMATII DE INTRARE ---------- */
.slide-left,
.slide-right,
.slide-down {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

.slide-left {
  transform: translateX(-80px);
}

.slide-right {
  transform: translateX(80px);
}

.slide-down {
  transform: translateY(-60px);
}

/* Când elementul devine vizibil */
.show {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===== DESPRE CURS END ===== */

/* ===== SECTIUNE TARIFE ===== */
.tarifecontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
}

.pricing-section {
  background-image: url('../img/Christmas_5.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 0px 15%;
  text-align: center;
  font-family: 'Lora', serif;
  color: #3a1f10;
  font-size: clamp(17px, 4vw, 21px);
}


.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
 
  backdrop-filter: blur(14px);
  z-index: 0;
}

.pricing-title h1 {
  font-size: clamp(20px, 4vw, 34px);
  color: #461706;
  font-family: 'Lora', serif;
  text-align: center;
  font-weight: 400;
}

/* ===== CONTAINER ===== */
.pricing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px; /* distanță foarte mică între boxe */
  justify-items: center;
  align-items: start;
  padding: 5% 5%; /* margini laterale discrete */
}

/* ===== CARD ===== */
.pricing-card {
 background: transparent;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 350px;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(129, 70, 2, 0.815);
}

.pricing-card h3 {
  font-size: 35px;
  color: #461706;
  margin-bottom: 10px;
}

.price {
  font-size: 40px;
  font-weight: bold;
  color: #b97c20;
  margin-bottom: 25px;
}

.price-taiat {
  font-size: 22px;
  font-weight:normal;
  color: #b97c20;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  line-height: 1.6;
  margin-bottom: 25px;
}

.tarifecontainer h1 { animation-delay: 0.1s;
  font-size: clamp(24px, 4vw, 60px);
  font-family: 'Lora', serif;
  color: #461706;
  font-weight: 400; 
}

.divider {
  width: 50%;
  height: 2px;
  background: linear-gradient(to right, transparent, #b97c20, transparent);
  margin: 20px auto;
  border-radius: 2px;
  opacity: 0.8;
}

/* ===== CARD CENTRAL SCOS IN EVIDENTA ===== */
.pricing-card.highlight {
  background: transparent;
  color: #3a1f10;
  transform: scale(1.05);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
}

.highlight:hover {
  
  box-shadow: 0 20px 40px rgba(129, 70, 2, 0.815);
}

/* ===== BUTON ===== */
.pricing-btn {
  display: inline-block;
  background-color: #b97c20;
  color: #fff;
  padding: 20px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 100;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  z-index: 1;
  animation: btnPulse 2s infinite ease-in-out;
}

.pricing-btn:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

.stars {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
  animation: zoomInOutStars 2s infinite;
}

.stars i {
  font-size: 28px;
  color: #f5c518;
  margin: 0 3px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.18));
  transition: transform 0.3s ease, color 0.3s ease;
  
}

@keyframes zoomInOutStars { 0%,100%{transform:scale(1);}50%{transform:scale(1.25);} }

/* Cardul din mijloc poate fi puțin accentuat */
.pricing-card.highlight .stars i {
  font-size: 28px;
  
}

/* Mic efect la hover pe card */
.pricing-card:hover .stars i {
  color: #000000;
  
}

.countdown-timer {
  font-size: clamp(20px, 4vw, 34px);
  font-family: 'Lora', serif;
  color: #461706;
  text-align: center;
  font-weight: 400; 
  padding: 3vh; 
}

.countdown-timer span {
  display: inline-block;
  min-width: 30px;
}

.countdown-expired {
  font-size: clamp(20px, 4vw, 34px);
  font-family: 'Lora', serif;
  color: #461706;
  text-align: center;
  font-weight: 400;
}

.price {
  font-size: 28px;
  font-weight: bold;
  color: #461706;
  text-align: center;
}

.buttoncontainer-tarife {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  text-align: center;
  padding: 3vh 1vw;
}

.button-tarife {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: clamp(12px, 2vw, 20px);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
  color: #ffffff;
  background: #b97c20;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  padding: 0.8em 2.2em;
  
  position: relative;
  text-decoration: none;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  z-index: 1;
  overflow: visible; /* important ca pseudo-elementul să nu fie tăiat */
}

/* Puls permanent */
.button-tarife::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 140%;
  background: rgba(177, 100, 11, 0.651);
  border-radius: 50px;
  transform: translate(-50%, -80%);
  animation: pulseGlow 2s infinite ease-in-out;
  z-index: 1;
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* Hover elegant */
.button-tarife:hover {
  transform: scale(1.06);
  background-color: transparent;
  color: #000;
}

/* Puls subtil al butonului */
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(185,124,32,0); }
  70% { box-shadow: 0 0 30px rgb(255, 136, 0); }
}

/* --- Animatii carduri TARIFE --- */
@keyframes slideFromLeft {
  0% { transform: translateX(-100vw); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideFromRight {
  0% { transform: translateX(100vw); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideFromTop {
  0% { transform: translateY(-80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* starea initiala pentru carduri */
.pricing-card {
  opacity: 0;
  transform: translateY(40px); /* fallback */
  animation-fill-mode: forwards;
}

/* cardurile individuale vor primi clase dinamice din JS */
.pricing-card.from-left { animation: slideFromLeft 1s ease-out forwards; }
.pricing-card.from-right { animation: slideFromRight 1s ease-out forwards; }
.pricing-card.from-top { animation: slideFromTop 1s ease-out forwards; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .pricing-section {
    padding: 10px 2%;
  }

  .pricing-card {
    max-width: 90%;
  }

  .pricing-card.highlight {
    transform: none;
  }

  .tarifecontainer{
    padding-top: 0px;
  }

  .pricing-btn {
    padding: 10px 30px;
  }
}

/* ====== SECTIUNE TARIFE END ====== */

/* ====== DESPRE MINE START ====== */
.about-section {
  display: flex;
  justify-content: center;
  padding: 3vh 2vw;
  min-height: 100vh;
}

.about-content {
  display: flex;
  align-items: center;
  max-width: 1400px;
  width: 100%;
  gap: 5%;
}

/* ---------- TEXT ---------- */
.about-text {
  flex: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about-text h2 {
  font-family: 'Dancing Script', cursive;
  color: #461706;
  font-size: clamp(25px, 3vw, 50px);
  margin-bottom: 10px;
  font-weight: 100;
}

.about-text h3 {
  font-family: 'Lora', serif;
  font-size: clamp(16px, 3vw, 25px);
  color: #461706;
  margin-bottom: 20px;
  font-weight: 100;

}

.about-text h3,
.about-text h2 {
  opacity: 0;           /* ascunse la start */
}

/* ---------- IMAGINE UNICĂ ---------- */

.about-image-single {
  flex: 1;
  height: 1000px;


  /* imaginea clară */
  background: url('../img/Blurred_desktop.jpg') center/cover no-repeat;

  opacity: 0;
  animation: imageFadeIn 1s ease forwards; /* animatie noua */  
  animation: none;
}


/* ---------- BUTON ---------- */

.buttoncontainer-about {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.button_despre_mine {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: clamp(10px, 2vw, 14px);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
  color: #ffffff;
  background: #b97c20;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  padding: 0.8em 2.2em;
  margin-top: 1.2rem;
  position: relative;
  text-decoration: none;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  z-index: 1;
  overflow: visible;
}

.button_despre_mine::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 140%;
  background: rgba(177, 100, 11, 0.651);
  border-radius: 50px;
  transform: translate(-50%, -50%);
  animation: pulseGlow 2s infinite ease-in-out;
  z-index: 1;
}

.button_despre_mine:hover {
  transform: scale(1.06);
  background-color: transparent;
  color: #000;
}

/* ---------- ANIMAȚII ---------- */


@keyframes slideInLeft {
  0% { transform: translateX(-50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  0% { transform: translateX(50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes imageFadeIn {
  0% { opacity: 0; transform: translateX(50px) scale(0.98); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

/* ---------- RESPONSIVE MOBIL ---------- */
@media (max-width: 900px) {

    .button_despre_mine {

  margin-top: 0rem;
    }
  .about-section {
    padding: 0;
    
    min-height: auto;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0px;
    width: 100%;
  }

  /* IMAGINEA DE MOBIL */
  .about-image-single {
    order: 1;
    width: 100%;
    
    /* lasam browserul sa seteze înălțimea corectă */
    aspect-ratio: 1 / 1;  /* pentru că poza ta e 1080x1080 */
    
    background-image: url('../img/Blurred_Mob.jpg') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    border-radius: 25px;
    opacity: 0;
      animation: imageFadeIn 1s ease forwards; /* animatie noua */  
  animation: none;
  }

  /* TEXTUL */
  .about-text {
    order: 2;
    width: 100%;
    padding: 0 20px;
    text-align: center;
    opacity: 1 !important;
    animation: none !important;
  }

  /* BUTON */
  .buttoncontainer-about {
    order: 3;
    margin-top: 10px;
  }
}
/* ====== DESPRE MINE END ====== */

/* ====== BENEFICII START====== */

.beneficii-cursul {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    padding: 4% 5% 0 5%;
}

.beneficii-cursul h1 {
    animation-delay: 0.1s;
    font-size: clamp(24px, 4vw, 60px);
    font-family: 'Lora', serif;
    color: #461706;
    font-weight: 400;
    text-align: center;
    width: 100%;
}

.beneficii-section {
    padding: 5% 5%;
    text-align: center;
    background-image: url('../img/Christmas_6.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.beneficii-section::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(5px);
    z-index: 0;
}

/* ✅ Aici e containerul unic corect */
.beneficii-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    justify-items: center;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.beneficiu:nth-child(5) {
    grid-column: 2 / span 2;
    justify-self: center;
}

.beneficiu {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* ✅ stare inițială pentru animatie */
    opacity: 0;
    transform: translateY(40px);
}

.beneficiu img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.beneficiu p {
    font-family: 'Lora', serif;
    font-size: 25px;
    color: #461706;
    line-height: 1.4;
    max-width: 250px;
}

.beneficiu:hover {
    transform: translateY(-5px);
}

.beneficiu:hover img {
    transform: scale(1.08);
}

/* 🔥 Animație pentru iconițe - zoom in / zoom out haotic */
@keyframes zoomRandom {
  0%   { transform: scale(1); }
  25%  { transform: scale(1.08); }
  50%  { transform: scale(0.95); }
  75%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* Aplicăm animația pe toate iconițele */
.beneficiu img {
  animation: zoomRandom 3s ease-in-out infinite;
}

/* Fiecare iconiță cu durată diferită → efect HAOTIC */
.beneficiu:nth-child(1) img { animation-duration: 2.6s; }
.beneficiu:nth-child(2) img { animation-duration: 3.4s; }
.beneficiu:nth-child(3) img { animation-duration: 2.9s; }
.beneficiu:nth-child(4) img { animation-duration: 3.7s; }
.beneficiu:nth-child(5) img { animation-duration: 3.1s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
   .beneficii-container {
    grid-template-columns: 1fr; /* <-- schimbăm la 1 coloană */
    gap: 25px;
  }

   .beneficiu:nth-child(5) {
    grid-column: auto; /* nu mai e nevoie de centrare specială */
  }

  .beneficiu p {
    font-size: 16px;
    max-width: 200px;
  }

  .beneficiu img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 600px) {
  .beneficii-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .beneficiu img {
    margin-bottom: 10px;
  }

  .beneficiu p {
    font-size: 15px;
    max-width: 90%;
  }
}

/* ====== BENEFICII END====== */

/* ====== FAQ SECTION START ====== */

.faq-section {
  padding: 0px 5vw;
  background-image: url('../img/Christmas_6.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.faq h1 {
    animation-delay: 0.1s;
    font-size: clamp(24px, 4vw, 60px);
    font-family: 'Lora', serif;
    color: #461706;
    font-weight: 400;
    text-align: center;
    width: 100%;
    padding: 4% 4%;
    justify-content: center;
}

.faq-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.faq-item {
  position: relative; /* pentru ca icon-ul să fie poziționat față de boxă */
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  border-radius: 25px;
  padding: 18px 20px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(70, 23, 6, 0.15);  
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.65);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Lora', serif;
  font-size: clamp(16px, 4vw, 22px);
  color: #461706;
  font-weight: 500;
  padding-left: 2%;
}

.faq-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(70, 23, 6, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
  font-size: 20px;
  color: #461706;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  background: rgba(255, 255, 255, 0.9);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 18px;
  font-family: 'Lora', serif;
  color: #3a1f10;
  line-height: 1.4;
  padding-right: 5px;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  padding-left: 2%;
}

.faq-item.open .faq-answer {
  max-height: 300px; /* suficient pentru 2–3 linii */
  opacity: 1;
  margin-top: 10px;
}

.faq-item.visible {
  box-shadow: 
      0 8px 24px rgba(0,0,0,0.18),
      0 0 12px rgba(161, 73, 2, 0.5); /* glow cald elegant */
}

@media (max-width: 768px) {
    .faq h1 {

    padding-bottom: 10%;
}
}

/* ===== ANIMAȚII DIRECȚIONALE FAQ ===== */

.faq-item {
  opacity: 0;
  transform: translateY(40px);
}

/* animația nu se aplică decât dacă există .visible */
.faq-item.visible.anim-left   { animation: faqFromLeft 0.9s ease-out forwards; }
.faq-item.visible.anim-right  { animation: faqFromRight 0.9s ease-out forwards; }
.faq-item.visible.anim-up     { animation: faqFromUp 0.9s ease-out forwards; }
.faq-item.visible.anim-down   { animation: faqFromDown 0.9s ease-out forwards; }

/* keyframes */
@keyframes faqFromLeft {
  from { opacity: 0; transform: translateX(-120px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes faqFromRight {
  from { opacity: 0; transform: translateX(120px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes faqFromUp {
  from { opacity: 0; transform: translateY(-120px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes faqFromDown {
  from { opacity: 0; transform: translateY(120px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====== FAQ SECTION END ====== */

/* ===== FOOTER START ===== */

.footer {
  width: 100%;
  padding: 35px 0;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  z-index: 0;
}

.footer-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 70px;
  flex-wrap: wrap;
}

.footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
   animation-play-state: paused;
}

.footer-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  opacity: 0.8; /* transparent */
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: zoomInOutIcons 2s infinite;
  
}

@keyframes zoomInOutIcons { 0%,100%{transform:scale(1);}50%{transform:scale(1.20);} }


.footer-item span {
  margin-top: 10px;
  font-family: 'Lora', serif;
  font-size: 20px;
  color: #461706;
}

.footer-item:hover img {
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .footer-container {
    gap: 20px;
  }

  .footer-item img {
    width: 50px;
    height: 50px;
  }

  .footer-item span {
    font-size: 16px;
  }
}

/* ===== FOOTER ANIMATION ===== */

.footer-item {
  opacity: 0;
  transform: translateY(30px);
  animation: footerFade 0.8s ease forwards;
}

.footer-item:nth-child(1) {
  animation-delay: 0.1s;
}
.footer-item:nth-child(2) {
  animation-delay: 0.25s;
}
.footer-item:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes footerFade {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FOOTER END ===== */

/* ===== FOOTER START ===== */

.footer-sidebar {
  width: 100%;
  padding: 15px 0;
  position: relative;
}

.footer-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  z-index: 0;
}

.footer-container-sidebar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-item-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
   animation-play-state: paused;
}

.footer-item-sidebar img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.8; /* transparent */
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: zoomInOutIconsSidebar 2s infinite;
}

@keyframes zoomInOutIconsSidebar { 0%,100%{transform:scale(1);}50%{transform:scale(1.10);} }

.footer-item-sidebar span {
  margin-top: 10px;
  font-family: 'Lora', serif;
  font-size: 14px;
  color: #461706;
}

.footer-item-sidebar:hover img {
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .footer-container-sidebar {
    gap: 10px;
  }

  .footer-item-sidebar img {
    width: 40px;
    height: 40px;
  }

  .footer-item-sidebar span {
    font-size: 12px;
  }
}

/* ===== FOOTER END ===== */
