/* ============================================================
   HERO — Isabelle Caël
   ============================================================ */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ===== BACKGROUNDS ===== */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(122,158,126,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(168,197,160,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 90% 70%, rgba(196,149,106,0.12) 0%, transparent 60%);
  background-color: #e8f0e0;
  z-index: 0;
}

/* When a real background photo is used, set it here:
.hero-bg-img {
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}
*/
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(122, 158, 126, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(168, 197, 160, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 90% 70%, rgba(196, 149, 106, 0.12) 0%, transparent 60%);
  background-color: #e8f0e0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(168, 197, 160, 0.4) 0%, rgba(212, 237, 228, 0.3) 40%,
      rgba(250, 247, 242, 0.8) 70%, rgba(253, 232, 216, 0.3) 100%);
  z-index: 1;
}

.blob {
  position: absolute;
  filter: blur(1px);
}

.blob-1 {
  width: 380px;
  height: 380px;
  right: 8%;
  top: 12%;
  background: radial-gradient(circle at 40% 40%, rgba(168, 197, 160, 0.6), rgba(122, 158, 126, 0.3));
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  animation: blobFloat 8s ease-in-out infinite;
}

.blob-2 {
  width: 220px;
  height: 220px;
  right: 22%;
  bottom: 15%;
  background: radial-gradient(circle, rgba(196, 149, 106, 0.3), rgba(232, 201, 168, 0.2));
  border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
  animation: blobFloat 6s ease-in-out infinite reverse;
}

.blob-3 {
  width: 150px;
  height: 150px;
  right: 5%;
  bottom: 30%;
  background: radial-gradient(circle, rgba(212, 237, 228, 0.8), rgba(168, 197, 160, 0.4));
  border-radius: 50% 50% 60% 40% / 40% 60% 40% 60%;
  animation: blobFloat 10s ease-in-out infinite 2s;
}

@keyframes blobFloat {

  0%,
  100% {
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    transform: translateY(0);
  }

  50% {
    border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
    transform: translateY(-20px);
  }
}

.food-icon {
  position: absolute;
  font-size: 2.2rem;
  z-index: 3;
  animation: floatIcon 5s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.fi-1 {
  top: 18%;
  right: 30%;
  animation-delay: 0s;
}

.fi-2 {
  top: 60%;
  right: 5%;
  animation-delay: 1s;
}

.fi-3 {
  bottom: 20%;
  right: 35%;
  animation-delay: 2s;
}

.fi-4 {
  top: 25%;
  right: 3%;
  animation-delay: 0.5s;
}

@keyframes floatIcon {

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

  50% {
    transform: translateY(-12px) rotate(5deg);
  }
}

/* ===== HERO PLATE IMAGE ===== */
.hero-plate-wrap {
  position: absolute;
  right: 9%;
  top: 30%;
  transform: translateY(-50%);
  z-index: 4;
  animation: fadeSlideLeft 1s ease 0.3s both;
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.hero-plate-img {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.6),
    0 0 0 24px rgba(122, 158, 126, 0.15),
    0 30px 80px rgba(74, 122, 82, 0.25);
  display: block;
  animation: plateFloat 7s ease-in-out infinite;
}

@keyframes plateFloat {

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

  50% {
    transform: translateY(-12px);
  }
}

/* Badge flottant sur la photo */
.hero-plate-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: white;
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  animation: fadeSlideLeft 1s ease 0.7s both;
  white-space: nowrap;
}

.hero-plate-badge .badge-icon {
  width: 40px;
  height: 40px;
  background: var(--pastel-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-plate-badge strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.hero-plate-badge span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Petit badge haut droite */
.hero-plate-tag {
  position: absolute;
  top: 10px;
  right: -10px;
  background: var(--sage-dark);
  color: white;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(74, 122, 82, 0.35);
  animation: fadeSlideLeft 1s ease 0.5s both;
  white-space: nowrap;
}

.hero-content {
  position: relative;
  z-index: 5;
  padding: 100px 5% 60px;
  max-width: 58%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pastel-green);
  border: 1px solid rgba(122, 158, 126, 0.3);
  color: var(--sage-dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeSlideUp 0.8s ease both;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--sage);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.8);
  }
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: 12px;
  animation: fadeSlideUp 0.9s ease 0.1s both;
}

.hero h1 em {
  color: var(--sage-dark);
  font-style: italic;
  font-weight: 300;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--earth);
  margin-bottom: 28px;
  animation: fadeSlideUp 0.9s ease 0.2s both;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-mid);
  max-width: 500px;
  margin-bottom: 42px;
  animation: fadeSlideUp 0.9s ease 0.3s both;
}

.hero-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  animation: fadeSlideUp 0.9s ease 0.4s both;
}

.specialty-tag {
  background: white;
  border: 1.5px solid rgba(122,158,126,0.25);
  color: var(--text-mid);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.specialty-tag:hover {
  background: var(--pastel-green);
  border-color: var(--sage);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122,158,126,0.2);
}
.specialty-tag .icon { font-size: 1rem; }

/* ===== BUTTONS ===== */
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.9s ease 0.5s both;
}

.btn-primary {
  background: var(--sage-dark);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(74,122,82,0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15));
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(74,122,82,0.45);
  background: var(--sage);
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  background: transparent;
  color: var(--sage-dark);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--sage-light);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.btn-secondary:hover {
  background: var(--pastel-green);
  border-color: var(--sage);
  transform: translateY(-3px);
}

/* ===== DECO PANEL (right side) ===== */
.hero-deco-panel {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 4;
}

.hero-deco-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(122,158,126,0.2);
  border-radius: 18px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 30px rgba(74,122,82,0.1);
  animation: fadeSlideLeft 0.9s ease both;
}
.hero-deco-card:nth-child(1) { animation-delay: 0.3s; }
.hero-deco-card:nth-child(2) { animation-delay: 0.5s; }
.hero-deco-card:nth-child(3) { animation-delay: 0.7s; }

.deco-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.hero-deco-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.hero-deco-card span {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.4;
}

/* ===== SCROLL HINT ===== */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--sage-light), transparent);
  animation: scrollAnim 2s ease infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}
@keyframes scrollAnim {
  0%  { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-content   { max-width: 100%; padding: 100px 5% 40px; }
  .hero-deco-panel { display: none; }
  .food-icon      { display: none; }
  .hero-plate-img {display: none;}
}
