/* ============================= */
/* IMAGE HERO – RICETTE */
/* ============================= */

.ricette-image-hero {
  position: relative;
  width: 100%;
  height: 100vh;

  background-image: url("../images/ricette-principale1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

/* Overlay léger pour lisibilité */
.ricette-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* TEXTE CENTRÉ */
.ricette-hero-title {
  position: relative;
  z-index: 2;

  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 10vw, 140px);
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;

  color: #ffffff;
  text-align: center;

  text-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1024px) {
  .ricette-image-hero {
    height: 80vh;
  }

  .ricette-hero-title {
    letter-spacing: 4px;
  }
}

@media (max-width: 768px) {
  .ricette-image-hero {
    height: 70vh;
  }

  .ricette-hero-title {
    letter-spacing: 2px;
  }
}
/* ============================= */
/* GRID RICETTE */
/* ============================= */

.ricette-grid-section {
  background-color: #ffffff;
  padding: 120px 0 140px;
}

.ricette-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

/* ============================= */
/* CARD */
/* ============================= */

.ricetta-card {
  background: #f4f2ef;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ricetta-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* IMAGE */
.ricetta-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* TEXTE */
.ricetta-content {
  padding: 30px 28px 36px;
  text-align: center;
}

.ricetta-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: #1e1e1e;
}

.ricetta-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

/* TABLET */
@media (max-width: 1024px) {
  .ricette-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0 40px;
  }

  .ricetta-image img {
    height: 230px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .ricette-grid-section {
    padding: 90px 0 110px;
  }

  .ricette-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 24px;
  }

  .ricetta-image img {
    height: 220px;
  }

  .ricetta-content h3 {
    font-size: 17px;
  }
}
/* ============================= */
/* VIDEO FULL WIDTH – RICETTE */
/* ============================= */

.ricette-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

/* Vidéo */
.ricette-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ garde le cadrage parfait */
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1024px) {
  .ricette-video-section {
    height: 80vh;
  }
}

@media (max-width: 768px) {
  .ricette-video-section {
    height: 70vh;
  }
}

