/* Stili specifici per la home page di Van4Opportunity */

/* Sfondo globale nero */
body {
    background-color: #000;
}

/* Header e logo (già centralizzati, ma manteniamo per compatibilità) */
.v4o-site-header {
  background: #000;
}
.v4o-header-inner {
  padding: 12px 18px;
}
.v4o-logo {
  max-width: 160px;
  height: auto;
}

/* Hero home (ridotto spazio) */
.v4o-home-hero {
  min-height: auto;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 2rem;
}
.v4o-home-hero .container {
  max-width: 900px;
  margin: 0 auto;
}
.v4o-home-hero h1 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.v4o-home-hero p {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 0;
}

/* Sezione a due colonne (immagine + citazione) */
.two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 1.5rem 1rem;
}
.two-columns .col-img {
  flex: 1;
  min-width: 200px;
  text-align: center;
}
.two-columns .col-img img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.two-columns .col-text {
  flex: 1;
  color: #eef6fb;
  font-size: 1rem;
  line-height: 1.5;
  font-style: italic;
  text-align: right;
  padding: 0.5rem;
}
@media (max-width: 768px) {
  .two-columns {
    flex-direction: column;
    text-align: center;
  }
  .two-columns .col-text {
    text-align: center;
    font-size: 1rem;
  }
}

/* Video */
.video-section {
  background: #000;
  padding: 1rem 1rem 2rem;
}
.video-container {
  max-width: 640px;
  margin: 0 auto;
}
video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.video-invite {
  text-align: center;
  font-style: italic;
  color: #f5b042;
  margin-bottom: 1rem;
}

/* Contenuto generico */
.content-section {
  background: #000;
  padding: 2rem 1rem;
  color: #eef6fb;
}
.content-section .container {
  max-width: 900px;
  margin: 0 auto;
}
.content-section h2 {
  font-size: 28px;
  margin-bottom: 1.5rem;
  text-align: center;
}
.content-section p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

/* Landing links */
.landing-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.landing-links a {
  background: rgba(255,255,255,0.08);
  padding: 0.8rem 1.5rem;
  border-radius: 40px;
  border: 1px solid rgba(245,176,66,0.3);
  color: #f5b042;
  font-weight: 600;
  transition: all 0.2s;
}
.landing-links a:hover {
  background: rgba(245,176,66,0.2);
  border-color: #f5b042;
}

/* Sezione "Chi è Flavio" (base) */
.team-section {
  background: #000;
  padding: 2rem 1rem;
}
.team-section h2 {
  color: #f5b042;
  text-align: center;
  font-size: 28px;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.team-section p {
  font-size: 18px;
  line-height: 1.7;
  color: #eef6fb;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 400 !important;
}

/* Layout a due colonne per immagine e testo */
.team-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.team-image {
  flex: 1;
  min-width: 200px;
  text-align: center;
}
.team-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.team-text {
  flex: 2;
  text-align: left;
}

/* Forza ulteriore il peso del testo all'interno del contenitore */
.team-text p {
  font-weight: 400 !important;
}

/* Mobile: testo centrato, font leggermente più piccolo, interlinea aumentata */
@media (max-width: 768px) {
  .team-container {
    flex-direction: column;
    align-items: center;
  }
  .team-text {
    text-align: center;
  }
  .team-section p {
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
  }
  .team-section h2 {
    font-size: 24px;
  }
}

/* Carosello notizie */
.news-carousel {
  background: #000;
  padding: 2rem 1rem;
  overflow: hidden;
}
.carousel-container {
  max-width: 1100px;
  margin: 0 auto;
}
.carousel-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 1.5rem;
  color: #f5b042;
}
.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}
.carousel-card {
  flex: 0 0 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 1.2rem;
  scroll-snap-align: start;
  border-left: 4px solid #f5b042;
}
.carousel-card h3 {
  font-size: 18px;
  margin-bottom: 0.5rem;
  color: #fff;
}
.carousel-card p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.4;
}

/* Footer (gestito centralmente, ma per sicurezza) */
footer {
  background: #000;
  text-align: center;
  padding: 2rem;
  font-size: 14px;
  color: #9fb3c4;
}
footer a {
  color: #f5b042;
}

/* Mobile: altre regole esistenti */
@media (max-width: 768px) {
  .v4o-logo {
    max-width: 120px;
  }
  .carousel-card {
    flex: 0 0 260px;
  }
  .content-section p {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .two-columns {
    flex-direction: column;
  }
  .two-columns .col-img {
    margin-bottom: 0;
  }
  .two-columns .col-text {
    margin-top: -70px;
    padding: 1rem;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    width: 90%;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    margin-left: auto;
    margin-right: auto;
  }
}

/* Rimuove spazi sopra l'immagine nella sezione a due colonne */
.two-columns {
  margin-top: 0;
  padding-top: 0;
}
.two-columns .col-img {
  margin-top: 0;
  padding-top: 0;
}
.two-columns .col-img img {
  display: block;
  margin-top: 0;
}

/* Evidenziazione parole chiave nella citazione */
.highlight {
  color: #f5b042;
  font-weight: 600;
}
.last-line {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 0.5rem;
  display: inline-block;
}
@media (max-width: 768px) {
  .last-line {
    font-size: 1rem;
  }
}

/* Linea sfumata sotto la citazione */
.quote-divider {
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f5b042, transparent);
  margin: 0.5rem auto 0;
  border: none;
}