/*
Theme Name: San Giacomo Theme
Author: Loris Fogo
Description: Tema base per albergo San Giacomo
Version: 1.0
*/

html {
  margin: 0 !important;
}

body {
  font-family: "Gabarito", sans-serif;
  font-weight: 400;
  position: relative;
}

a {
  text-decoration: none !important;
  width: fit-content;
}

.container-fluid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 1300px;
  padding: 40px 16px;
}
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 600;
}
p,
div {
  line-height: 1.3;
  font-weight: 400;
}
.color-red,
h1,
h2 {
  color: #8b2f3c; /* Borgogna caldo - titoli/CTA */
}
.color-white {
  color: #fff8f0; /* Sfondo crema chiaro */
}
.color-cream {
  color: #5c4033;
}
.color-brown-dark {
  color: #4b2e21 !important; /* Marrone profondo - testo principale */
}
.color-beige,
h3 {
  color: #c48a4a; /* Oro legno - link, evidenze */
}
.color-cream {
  color: #e2c9b0;
}
.color-green {
  color: #3b5d3a; /* Verde bosco - dettagli/sottotitoli */
}
.background-red {
  background-color: #8b2f3c; /* Borgogna caldo - titoli/CTA */
}
.background-white {
  background-color: #fff8f0; /* Sfondo crema chiaro */
}
.background-brown-dark {
  background-color: #4b2e21; /* Marrone profondo - testo principale */
}
.background-beige {
  background-color: #c4a483; /* Oro legno - link, evidenze */
}
.background-cream {
  background-color: #e2c9b0;
}
.background-green {
  background-color: #3b5d3a; /* Verde bosco - dettagli/sottotitoli */
}
.font-ephesis {
  font-family: "Parsienne", sans-serif;
  font-weight: 500;
}

/* --- RESPONSIVE PATCH --- */

/* Utility per immagini responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Gestione della griglia custom nella sezione 3 */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonne su desktop */
  gap: 20px;
}

.logo-hero{
	max-height: 160px;
}

/* Media Query per Tablet e Mobile */
@media (max-width: 992px) {
  .grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colonne su tablet */
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr; /* 1 colonna su mobile */
  }

  #first h1 {
    font-size: 2rem;
  }
  #first h2 {
    font-size: 1.2rem;
  }

  /* Rimuoviamo i bordi laterali che su mobile non hanno senso */
  .border-end {
    border-end: none !important;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 20px;
  }

  /* Centriamo i testi dei bottoni e sezioni su mobile */
  .texts {
    text-align: center;
    padding: 30px 15px !important;
  }

  .prenotazione a {
    font-size: 0.8rem;
    padding: 10px;
  }
}

.btn-standard {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 45px;
  border: 3px solid white;
  color: white;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 8px;
  text-decoration: none;
}
.btn-standard .brown{
  background: #4B2E21;
}

.btn-standard:hover {
  background-color: white;
  text-decoration: none;
}
