/* Reset base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fffaf0; /* avorio caldo */
  color: #4b3b2b; /* marrone scuro caldo */
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #6b4c3b; /* marrone medio */
  margin-bottom: 0.5em;
}

a {
  color: #a97458; /* marrone chiaro aranciato */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #7a573c;
}
.btn-calendly {
  display: inline-block;
  background-color: #a97458; /* marrone chiaro */
  color: #fffaf0; /* avorio */
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-calendly:hover {
  background-color: #7a573c; /* marrone più scuro */
}

/* Container per contenuti centrati */
.container {
  width: 90%;
  max-width: 900px;
  margin: auto;
  padding: 2rem 0;
}

/* Navbar */
.navbar {
  background-color: #f7f0e6; /* beige chiaro */
  box-shadow: 0 2px 6px rgba(107,76,59,0.1);
  padding: 1rem 0;
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links li a {
  font-weight: 600;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.8rem;
  color: #6b4c3b;
  text-decoration: none;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #a97458;
}

/* Flex navbar */
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

/* Hero */
.hero {
  background: linear-gradient(135deg, #e9d7c5, #f7f0e6);
  padding: 4rem 0;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  font-style: italic;
  color: #7a573c;
}
.hero p {
  text-align: center;
}

/* Sections */
.section-light {
  background-color: #fffaf0;
  border-radius: 10px;
  margin-bottom: 3rem;
  padding: 3rem 2rem;
  box-shadow: 0 3px 10px rgba(107,76,59,0.1);
}

.section-beige {
  background-color: #f7f0e6;
  border-radius: 10px;
  margin-bottom: 3rem;
  padding: 3rem 2rem;
  box-shadow: 0 3px 10px rgba(167,116,88,0.15);
}
#contact i {
  font-size: 1.8rem;
  color: #a97458;
  transition: color 0.3s ease;
}

#contact a:hover i {
  color: #7a573c;
  cursor: pointer;
}

#contact p {
  font-size: 1.5rem;
}

/* Services grid */
.services-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  width: 250px;
  box-shadow: 0 2px 8px rgba(167,116,88,0.2);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem 0;
  background-color: #f7f0e6;
  color: #6b4c3b;
  font-size: 0.9rem;
  border-top: 1px solid #a97458;
}

/* Responsive */
@media (max-width: 700px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .services-grid {
    flex-direction: column;
    align-items: center;
  }
}
/*BLOG POST*/
.blog-post {
  background-color: #fffaf0;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(167,116,88,0.2);
}

.blog-post h3 {
  margin-bottom: 0.8rem;
  color: #6b4c3b;
}

.read-more {
  color: #a97458;
  font-weight: 600;
  text-decoration: none;
}

.read-more:hover {
  color: #7a573c;
  text-decoration: underline;
}
p {
  margin-bottom: 1.5rem;  /* spazio sotto ogni paragrafo */
  line-height: 1.6;       /* rende il testo più leggibile */
}
p {
  text-align: justify;
}
.blog-thumb {
  width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(167,116,88,0.2);
}
.article-banner {
  max-width: 100%; /* non supera la larghezza del contenitore */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(167,116,88,0.3);
}
/* Sezione Blog Preview */
#blog-preview {
  background-color: #fdf8f4; /* beige chiaro */
  padding: 3rem 0;
}

#blog-preview h2 {
  font-size: 2rem;
  color: #5c4033; /* marrone caldo */
  text-align: center;
  margin-bottom: 2rem;
}

.blog-card {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.blog-card img {
  width: 100%;
  max-width: 300px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
  flex: 1;
}

.blog-content h3 {
  font-size: 1.4rem;
  color: #5c4033;
  margin-bottom: 0.8rem;
}

.blog-content p {
  margin-bottom: 1.2rem;
  color: #444;
  line-height: 1.6;
}

.btn-blog {
  display: inline-block;
  background-color: #c49a6c; /* sabbia/marroncino */
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-blog:hover {
  background-color: #a97f54;
}


/* Inizio media query per schermi piccoli (fino a 600px di larghezza) */
@media (max-width: 600px) {

  /* Navbar: menu verticale e centrato */
  .navbar .container {
    flex-direction: column;
    align-items: center;
  }

  /* Logo: margine in basso per separarlo dal menu */
  .logo {
    margin-bottom: 1rem;
  }

  /* Lista link nav: verticale e centrata */
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  /* Link nav più grandi per tocco più facile */
  .nav-links a {
    font-size: 1.2rem;
  }

  /* Sezioni con padding ridotto */
  .container {
    padding: 0 1rem;
  }

  /* Blog post: padding più piccolo e larghezza piena */
  .blog-post {
    padding: 1rem;
    width: 100%;
  }


/* Banner articoli - dimensione fissa su desktop */
.article-image {
  width: 800px !important;       /* larghezza fissa desktop */
  max-width: 100% !important;    /* mai più larga del contenitore */
  height: auto !important;       /* mantiene le proporzioni */
  display: block !important;
  margin: 20px auto !important;  /* centra l’immagine */
  border-radius: 10px !important; /* se vuoi angoli arrotondati */
}

/* Mobile responsive */
@media (max-width: 1024px) {
  .article-image {
    width: 100% !important;
    max-width: 100% !important;
  }
}

  /* Bottone Calendly più largo e centrato */
  .btn-calendly {
    width: 100%;
    text-align: center;
  }

}
.blog-card img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  filter: brightness(1.1);
}

.btn-blog:hover {
  background-color: #a97f54;
  box-shadow: 0 4px 10px rgba(169,127,84,0.4);
  transition: all 0.3s ease;
}

img.article-image {
  max-width: 800px !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 20px auto !important;
  border-radius: 10px !important;
  object-fit: contain !important;
}

.blog-thumb {
  width: 100%;         /* si adatta al contenitore */
  max-width: 300px;    /* larghezza massima per miniatura */
  height: auto;
  display: block;
  margin: 10px auto;
  border-radius: 8px;  /* opzionale */
}

/* Su mobile possiamo ridurre ancora un po’ */
@media (max-width: 600px) {
  .blog-thumb {
    max-width: 150px;
  }
}

.buy-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #8b5e3c; /* marrone caldo */
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.buy-button:hover {
  background-color: #a67850;
}