/* -----------------------------
   Reset e impostazioni globali
----------------------------- */
* {
  box-sizing: border-box;
}

body {
  font-family: Montserrat, Garamond;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #C29C74;
  background-color: var(--colore-sfondo-centro, #f0e5dd);
}

/* Link */
a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* -----------------------------
   Titolo principale
----------------------------- */
h1 {
  text-align: center;
  margin-top: 30px;
  color: var(--colore-titolo-h1, #C29C74);
  font-size: 2em;
}

/* -----------------------------
   Layout flessibile container
----------------------------- */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.text {
  flex: 1 1 65%;
  max-width: 700px;
  padding: 0 10px;
}

.image {
  flex: 0 0 30%;
  max-width: 30%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* -----------------------------
   Pulsanti
----------------------------- */
.button-link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
}

.button-link button {
  font-size: 15px;
  color: #fff;
  background-color: #D2B48C;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-link button:hover {
  background-color: #D2B48C;
}

/* -----------------------------
   Responsive – Smartphone
----------------------------- */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .text,
  .image {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0;
  }

  .image {
    justify-content: center;
    margin-bottom: 20px;
  }

  h1 {
    font-size: 2.2em; /* Titolo più grande su smartphone */
  }
}
