@keyframes leafFall {
  0% { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 0; }
  15% { opacity: 0.75; }
  85% { opacity: 0.75; }
  100% { transform: translateY(105vh) translateX(25px) rotate(360deg); opacity: 0; }
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Fundal ilustrat care incepe fix din marginea de sus a ecranului (sub meniu) */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 540px;
  background-image: var(--hero-img, url('curcan.png'));
  background-size: cover;
  background-position: center 22%;
  opacity: 0.28;
  filter: saturate(1.18) contrast(1.04);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 100%);
  animation: pulseGlow 14s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

/* Meniu complet transparent peste ilustratie */
nav {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(180, 83, 9, 0.12) !important;
  position: sticky;
  top: 0;
  z-index: 20;
}

header, .trust-bar, main, section, footer {
  position: relative;
  z-index: 2;
}

header {
  background: transparent !important;
  border-bottom: none !important;
}

.gallery-wrap { display: none !important; }

.camara-art {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  background-image: linear-gradient(to top, rgba(254,243,199,0.92) 5%, rgba(254,243,199,0.1) 65%), url('camara.png');
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
  border: 1px solid var(--bd);
}

.floating-leaf {
  position: fixed;
  top: -40px;
  font-size: 1.3rem;
  pointer-events: none;
  z-index: 4;
  animation: leafFall linear infinite;
}

/* Prelungire fundal ilustrat si in partea de jos a paginii */
body {
  position: relative;
}
body::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 560px;
  background-image: var(--bottom-img, url('camara.png'));
  background-size: cover;
  background-position: center 65%;
  opacity: 0.24;
  filter: saturate(1.15);
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Facem caseta Despre Noi usor translucida ca sa se vada ilustratia prin ea */
.story-box {
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Carduri artizanale ultra-smooth */
@keyframes cardPopIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.card {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 10px 25px -5px rgba(120, 53, 15, 0.07), 0 0 0 1px var(--bd) !important;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease !important;
  animation: cardPopIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.card:nth-child(1) { animation-delay: 0.03s; }
.card:nth-child(2) { animation-delay: 0.08s; }
.card:nth-child(3) { animation-delay: 0.13s; }
.card:nth-child(4) { animation-delay: 0.18s; }
.card:nth-child(5) { animation-delay: 0.23s; }
.card:nth-child(6) { animation-delay: 0.28s; }
.card:nth-child(7) { animation-delay: 0.33s; }

.card:hover {
  transform: translateY(-7px) scale(1.015) !important;
  box-shadow: 0 22px 40px -10px rgba(120, 53, 15, 0.16), 0 0 0 1.5px var(--accent) !important;
  background: #ffffff !important;
}

/* Medalion pentru iconita produsului */
.card .emoji {
  width: 64px;
  height: 64px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--al), #ffffff);
  border: 1px solid var(--bd);
  border-radius: 18px;
  font-size: 2.2rem !important;
  margin-bottom: 14px !important;
  box-shadow: 0 6px 14px rgba(180, 83, 9, 0.08);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover .emoji {
  transform: scale(1.12) rotate(-6deg);
}

/* Buton + Adauga cu animatie la click */
.add-btn {
  border-radius: 12px !important;
  padding: 10px 18px !important;
  box-shadow: 0 4px 10px rgba(28, 25, 23, 0.15);
  transition: transform 0.2s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}

.add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(180, 83, 9, 0.28);
}

.add-btn:active {
  transform: scale(0.94);
}
