/* Foglio di stile CSS aggiornato per Dog Club Scaligero con palette naturale */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600&display=swap');

:root {
  --verde-campagna: #3e5e3b;
  --sabbia: #f5f1e3;
  --nero-profondo: #222222;
  --grigio-medio: #d8d5ca;
  --bianco: #ffffff;
  --testo: #2b2b2b;
  --giallo-modena: #ffd100;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Archivo', sans-serif;
  background-color: var(--sabbia);
  color: var(--testo);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

header {
  background-color: var(--verde-campagna);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  color: var(--giallo-modena);
}

.logo-img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

nav a {
  color: var(--giallo-modena);
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  padding: 800px 0;
  background-color: var(--verde-campagna);
  color: var(--bianco);
  text-align: center;
}



.cta {
  background-color: var(--grigio-medio);
  color: var(--nero-profondo);
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  border: 2px solid var(--nero-profondo);
}

.section {
  padding: 60px 0;
  background-color: var(--sabbia);
  text-align: center;
  color: var(--nero-profondo);
}

.section.light {
  background-color: var(--grigio-medio);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.card {
  background-color: var(--bianco);
  padding: 20px;
  border-radius: 8px;
  width: 280px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid var(--grigio-medio);
}

.team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.istruttore {
  height: 200px;
  width: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.profile img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.profile h3 {
  margin: 0;
  font-size: 1.1rem;
}

form {
  margin-top: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 12px;
  border: 1px solid #bbb;
  border-radius: 5px;
  font-size: 1em;
}

button {
  padding: 12px;
  background-color: var(--verde-campagna);
  color: var(--bianco);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background-color: #2c442a;
}

footer {
  background-color: var(--verde-campagna);
  color: var(--bianco);
  text-align: center;
  padding: 20px 0;
  font-size: 0.9em;
  margin-top: 40px;
}

.galleria-igp {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0 40px;
}

.igp-thumb {
  width: 250px;
  height: 346px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* SOLO per la sezione Galleria principale */
.galleria-foto {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.foto-galleria {
  width: 250px;
  height: 346px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.hero {
    min-height: 800px; /* 👈 aumenta questo valore per farci stare tutta l'immagine */
    padding: 80px 20px;
    background-image: url("images/image232.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--bianco);
    text-align: center;
    position: relative;
    z-index: 1;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* oscuramento leggibile */
    z-index: -1;
  }

  .hero h1 {
    font-size: 3rem;          /* più grande */
    font-weight: 700;         /* più bold */
    margin-bottom: 200px;
  }
  
  .hero p {
    font-size: 1.3rem;        /* testo dei paragrafi più grande */
    font-weight: 600;         /* semi-bold */
    margin-bottom: 15px;
    line-height: 1.6;
  }
  
  /* Per centrare verticalmente tutto il contenuto */
  .hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%; /* fa prendere tutta l'altezza disponibile della sezione */
    text-align: center;
  }

  .news-foto {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  .social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  
  .social-icons img {
    width: 50px;
    height: 50px;
    transition: transform 0.2s ease;
  }
  
  .social-icons img:hover {
    transform: scale(1.1);
  }