/* Reset e stili di base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  color: #2e7d32;
}

/* Bottoni */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #2e7d32;
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: #1b5e20;
}

.btn-outline {
  background-color: transparent;
  color: #2e7d32;
  border: 1px solid #2e7d32;
}

.btn-outline:hover {
  background-color: #2e7d32;
  color: white;
}

/* Header */
.site-header {
  background-color: #2e7d32;
  color: white;
  padding: 1.5rem 0;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.logo i {
  font-size: 2rem;
  margin-right: 0.5rem;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: bold;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(75%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Chi Siamo Section */
.chi-siamo-section {
  padding: 4rem 0;
  background-color: white;
}

.chi-siamo-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.chi-siamo-image img {
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chi-siamo-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.chi-siamo-text p {
  margin-bottom: 1rem;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature {
  display: flex;
  align-items: center;
}

.feature i {
  color: #2e7d32;
  margin-right: 0.5rem;
}

/* Prodotti Section */
.prodotti-section {
  padding: 4rem 0;
  background-color: #f1f8e9;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.product-card {
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-image {
  height: 200px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: 1rem;
}

.product-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-content p {
  color: #666;
  margin-bottom: 1rem;
}

/* Servizi Section */
.servizi-section {
  padding: 4rem 0;
  background-color: white;
}

.servizi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.servizio-card {
  text-align: center;
  padding: 1.5rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.servizio-icon {
  background-color: #e8f5e9;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.servizio-icon i {
  font-size: 2rem;
  color: #2e7d32;
}

.servizio-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Contatti Section */
.contatti-section {
  padding: 4rem 0;
  background-color: #f1f8e9;
}

.contatti-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contatti-info h3,
.contatti-form h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contatti-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contatto {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contatto i {
  color: #2e7d32;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.contatto a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contatto a:hover {
  color: #2e7d32;
  text-decoration: underline;
}

.orari {
  margin-top: 1.5rem;
}

.orari h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  color: #2e7d32;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #1b5e20;
}

.contact-form {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  font-family: inherit;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

/* Footer */
.site-footer {
  background-color: #1b5e20;
  color: white;
  padding: 2rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about h3,
.footer-links h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #388e3c;
}

/* Media Queries per Responsive Design */
@media (min-width: 768px) {
  .header-content {
    flex-direction: row;
  }
  
  .logo {
    margin-bottom: 0;
  }
  
  .chi-siamo-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .contatti-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 1.5rem;
  }

  .product-card {
    margin: 0 auto;
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
}

/* Mappa Section */
.mappa-section {
  padding: 4rem 0;
  background-color: #f1f8e9;
}

.mappa-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mappa-container iframe {
  display: block;
  width: 100%;
  height: 450px;
}

/* Recensioni Section */
.recensioni-google-section {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.recensioni-google-container {
  max-width: 100%;
  margin: 0 auto;
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Media Queries per Responsive Design */
@media (max-width: 767px) {
  .mappa-container iframe {
    height: 300px;
  }

  .recensioni-google-container {
    max-width: 500px;
  }
}