/* Reset base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: #EDEBE8;
  background-color: #1E1E1E;
  line-height: 1.6;
}

/* Aggiungi nel tuo styles.css */
.site-header {
  position: relative;
  width: 100%;
  padding: 20px 40px; /* regola spaziatura se necessario */
  background-color: #1E1E1E;
}
.logo {
  display: block;
  margin: 0 auto;
  height: 220px;
  width: auto;
}

/*.logo-link {
  position: absolute;
  top: 20px;
  right: 40px;
}

.logo-img {
  height: 50px; 
  width: auto;
}
*/
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #F5F3F2;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* — Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: url('hero-uliveto.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #1E1E1E;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-content {
  text-align: center;
  padding: 0 20px;
}
.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.hero-content .subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #C8B074;
}
.btn-cta {
  background: #C8B074;
  color: #1E1E1E;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}
.btn-cta:hover {
  background: #A1925E;
}

/* — Sezione Origine */
.origine {
  background: #1E1E1E;
  color: #EDEBE8;
  padding: 4rem 0;
}
.origine .img-block, .origine .text-block {
  width: 100%;
}
@media (min-width: 768px) {
  .origine .container {
    display: flex;
    gap: 2rem;
  }
  .origine .img-block { flex: 1; }
  .origine .text-block { flex: 1; }
}
.origine .text-block h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.origine .text-block p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #BAB8B3;
}

/* — Sezione Cultivar & Lavorazione */
.cultivar-lavorazione {
  background: #1F2A24;
  padding: 4rem 0;
}
.cultivar-lavorazione h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2,1fr);
  }
}
.card {
  background: #27362E;
  padding: 2rem;
  border: 1px solid #3B4A40;
}
.card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #C8B074;
}
.card ul {
  list-style: none;
  color: #D4D1CE;
  font-size: 1rem;
  line-height: 1.5;
}

/* — Sezione Profilo Sensoriale */
.profilo-sensoriale {
  padding: 4rem 0;
  background: #1E1E1E;
}
.profilo-sensoriale h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}
.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .cards-3 {
    grid-template-columns: repeat(3,1fr);
  }
}
.cards-3 .card {
  background: #27362E;
  padding: 2rem;
  text-align: center;
}
.cards-3 .card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #C8B074;
}
.cards-3 .card p {
  font-size: 1rem;
  color: #D4D1CE;
}
.overview {
  text-align: center;
  margin-2rem-auto;
  color: #BAB8B3;
  font-style: italic;
}

/* — Sezione Abbinamenti */
.abbinamenti {
  background: #1F2A24;
  padding: 4rem 0;
}
.abbinamenti h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #F5F3F2;
}
.gallery-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .gallery-3 {
    grid-template-columns: repeat(3,1fr);
  }
}
.gallery-3 img {
  border: 2px solid #C8B074;
}
.abbinamenti p {
  text-align: center;
  margin-top: 2rem;
  color: #BAB8B3;
  font-size: 1rem;
}

/* — Sezione Edizione Limitata */
.edizione-limitata {
  background: #1E1E1E;
  padding: 4rem 0;
  text-align: center;
}
.edizione-limitata h2 {
  font-size: 2.5rem;
  color: #C8B074;
  margin-bottom: 1rem;
}
.edizione-limitata p {
  color: #D4D1CE;
  margin-bottom: 2rem;
}
.format-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) {
  .format-block {
    flex-direction: row;
    justify-center: space-around;
  }
}
.format {
  background: #27362E;
  padding: 2rem;
  flex: 1;
}
.format h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #F5F3F2;
}
.format p {
  color: #BAB8B3;
  font-size: 1rem;
}

/* — CTA Finale */
.cta-finale {
  background: #C8B074;
  padding: 4rem 0;
  text-align: center;
}
.cta-finale h2 {
  font-size: 2.5rem;
  color: #0D0D0D;
  margin-bottom: 1rem;
}
.cta-finale p {
  color: #0D0D0D;
  margin-bottom: 2rem;
  font‐size: 1.125rem;
}
.btn-cta-dark {
  background: #0D0D0D;
  color: #C8B074;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}
.btn-cta-dark:hover {
  background: #1A1A1A;
}

/* — Footer */
.site-footer {
  background: #1E1E1E;
  color: #EDEBE8;
  padding: 3rem 0;
  text-align: center;
}
.site-footer .footer-logo {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.site-footer .footer-contacts p {
  margin-0.5rem 0;
  color: #BAB8B3;
}
.site-footer .social-icons {
  margin: 1.5rem 0;
}
.site-footer a {
  color: #C8B074;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer p.copyright {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #8B8A87;
}
/* Logo dentro l'hero: dimensioni eleganti */
.hero .logo {
  max-width: 260px;
  width: auto;
  height: auto;
  margin: 0 auto 1.5rem;
}
@media (max-width: 768px) {
  .hero {
    height: auto;           /* niente 100vh fisso */
    min-height: 100vh;      /* ma riempie comunque lo schermo */
  }

  .hero-overlay {
    position: static;       /* evitiamo sovrapposizioni strane */
    padding: 3rem 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2.1rem;      /* più piccolo e leggibile */
  }

  .hero-content .subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn-cta {
    padding: 0.8rem 1.6rem;
    font-size: 0.95rem;
  }
}
