/* ============================================================
   FRANTOIO - Homepage
   ============================================================ */

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000000; /*ignoto*/
}
.hero__title-img {
  display: block;
  margin: 0 auto;
  width: min(80vw, 100vw);
  height: auto;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    /*linear-gradient(135deg, rgba(74,82,64,0.92), rgba(28,28,26,0.75)),*/
    url('../img/elefante.jpg') center/cover no-repeat;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 0 2rem;
}
.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #000000; /*Dal triangolo d'oro dell'olio abruzzese*/
  margin-bottom: 1.5rem;
  display: block;
}
.hero h1 {
  font-family: "EB Garamond", serif;
  color: #135b2b;  /*colore OLIO EXTRA VERGINE DI OLIVA*/
  font-size: clamp(1.4rem, 3vw, 2.5rem); /*dimensione OLIO EXTRA VERGINE DI OLIVA*/
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.5rem;
} 

.hero h1 em { font-style: bold; color: #135b2b; } /*colore diverse scritte em su php*/


.hero__sub {
  color: rgb(0, 0, 0); /*Olio extravergine di oliva estratto a freddo, dalla raccolta alla bottiglia, nel rispetto di una tradizione centenaria.*/
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #5f6523; /*scorri*/
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero__scroll svg { width: 16px; opacity: 0.5; }


/* ── Features strip ── */
.features-strip {
  background: var(--olive-pale); /*barra sotto i tasti e scorri*/
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.8rem 0;
}
.features-strip__inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
}
.feature-item svg { color: var(--gold); width: 20px; } /*colore icone di sotto*/

/* ── About strip ── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.about-strip__img {
  position: relative;
  overflow: hidden;
}
.about-strip__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.about-strip__img:hover img { transform: scale(1.04); }
.about-strip__text {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  padding: 5rem 6rem;
}
.about-strip__text h2 { color: #fff; margin-bottom: 1.2rem; }
.about-strip__text p { font-size: 0.9rem; line-height: 1.9; margin-bottom: 2rem; }
.about-strip__text .btn { margin-top: 0.5rem; }

/* ── recensioni ── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.8rem;
}
.section-header p {
  color: var(--mid);
  max-width: 480px;
  margin: 0.8rem auto 0;
  font-size: 0.9rem;
}

/* ── recensioni pt2 ── */
.testimonials { background: var(--olive-pale); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: #fff;
  padding: 2.5rem;
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold-light);
  position: absolute;
  top: 0.5rem; left: 1.5rem;
  line-height: 1;
}
.testimonial-card p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}
.testimonial-author {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.8rem; }

/* ── CTA banner ── */
.cta-banner {
  background: url('../img/grigio2.png') center/cover no-repeat;
  text-align: center;
  padding: 2rem 2rem;
  color: rgba(255,255,255,0.85);
}

.cta-banner img {  
    width: 100%;
    max-width: 1000px; /* ── Grandezza immagine Riott ── */
    height: auto;
    display: block;
    margin: 0 auto;
}

.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { max-width: 480px; margin: 0 auto 2.5rem; font-size: 0.9rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 900px) {
  .about-strip { grid-template-columns: 1fr; }
  .about-strip__text { padding: 3rem 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
