/* Stili aggiuntivi per ottimizzazione mobile */
@media (max-width: 768px) {
  .header-container {
    padding: 10px;
  }
  
  .logo-container img {
    height: 40px;
    margin-right: 10px;
  }
  
  .hero {
    margin-top: 70px;
    height: 80vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  section {
    padding: 50px 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .feature {
    padding: 15px;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .quote blockquote {
    font-size: 1.5rem;
    padding: 0 15px;
  }
  
  .footer-col {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
}

/* Miglioramenti per la leggibilità */
p {
  line-height: 1.8;
}

.feature p {
  line-height: 1.6;
}

/* Ottimizzazione immagini */
img {
  max-width: 100%;
  height: auto;
}

/* Miglioramenti accessibilità */
.btn:focus, 
input:focus, 
textarea:focus {
  outline: 2px solid var(--primary-blue);
}

/* Animazioni e transizioni */
.feature, 
.gallery-item, 
.btn {
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

/* Stili per la pagina contatti */
.faq-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.faq-item h3 {
  margin-bottom: 10px;
  color: var(--primary-blue);
}

/* Stili per le immagini nelle sezioni di contenuto */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 30px 0;
  align-items: center;
}

.row.reverse {
  flex-direction: row-reverse;
}

.col-image, 
.col-text {
  flex: 1;
  padding: 20px;
}

.col-image img {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .row, 
  .row.reverse {
    flex-direction: column;
  }
  
  .col-image, 
  .col-text {
    flex: 0 0 100%;
  }
  
  .col-image {
    order: -1;
  }
}

/* Stili per la pagina header */
.page-header {
  height: 40vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  position: relative;
  margin-top: 90px;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.page-header h1 {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .page-header {
    height: 30vh;
    margin-top: 70px;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .page-header p {
    font-size: 1rem;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.bg-light {
  background-color: #f8f9fa;
}

/* Miglioramenti per i social links */
.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #37474f;
  color: var(--text-light);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent-orange);
  transform: translateY(-3px);
}
