/* === PALETTE ===
   Crema: #FAF7F2
   Beige chiaro: #E8DED1
   Marrone caldo: #8B6B4A
   Marrone scuro: #4A3B2A
   Bianco: #FFFFFF
   ================= */

:root {
  --bg: #FAF7F2;
  --bg-alt: #E8DED1;
  --accent: #8B6B4A;
  --text: #4A3B2A;
  --text-light: #6d5a43;
  --white: #FFFFFF;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

/* === RESET === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

/* === CONTAINER === */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* === HEADER === */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--bg-alt);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.logo-name {
  font-family: 'Allura', cursive;
  font-size: 2.6rem;
  color: var(--accent);
  text-decoration: none;
  border: none;
  font-weight: 400;
}


.logo-name strong {
  color: var(--accent);
  font-weight: 700;
}


/* === NAV === */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--accent);
}

.btn-link {
  border: 1px solid var(--accent);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  color: var(--accent);
}

/* === HERO === */
.hero {
  background: url("img/placeholder-hero.jpg") center/cover no-repeat;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero-overlay {
  background-color: rgba(74, 59, 42, 0.55);
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.2rem;
  margin-bottom: 1.8rem;
}

.notice {
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: var(--accent);
  color: var(--white);
  padding: 0.8rem 1.6rem;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s;
  font-weight: 500;
}

.btn:hover {
  background-color: var(--text);
}
/* === SEZIONE ORARI === */
.section-orari {
  background-color: var(--bg-alt);
  text-align: center;
  padding: 3rem 0;
}

.section-orari h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.orari-wrapper {
  display: flex;
  justify-content: center;
}

.orari-list {
  list-style: none;
  text-align: left;
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
  max-width: 300px;
}

.orari-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--text-light);
  font-size: 1rem;
}

.orari-list li:last-child {
  border-bottom: none;
}

.orari-list li strong {
  color: var(--text);
  display: inline-block;
  width: 110px;
}


/* === SECTIONS === */
.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

p {
  margin-bottom: 1rem;
}

.muted {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* === CHI SIAMO === */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.split .text {
  flex: 1;
}

.split .image {
  flex: 1;
}

.split img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* === SERVIZI === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

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

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.small-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

/* === GALLERIA === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* === CONTATTI === */
#contatti a {
  color: var(--accent);
  text-decoration: none;
}

#contatti a:hover {
  text-decoration: underline;
}

/* === FOOTER === */
.site-footer {
  background-color: var(--text);
  color: var(--bg);
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  margin-top: 3rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
    flex-direction: column;
    background: var(--white);
    position: absolute;
    right: 0;
    top: 60px;
    width: 200px;
    border-left: 1px solid var(--bg-alt);
    padding: 1rem;
  }

  .main-nav.show ul {
    display: flex;
  }

  .nav-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
  }
}

/* === SEZIONE ORARI (aggiornata) === */
.section-orari {
  background-color: var(--bg-alt);
  padding: 3rem 0;
  text-align: center;
}

.section-orari h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 1.8rem;
}

.orari-wrapper {
  display: flex;
  justify-content: center;
}

.orari-tabella {
  border-collapse: collapse;
  background-color: var(--bg-alt);
  color: var(--text);
  font-size: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  min-width: 500px;
}

.orari-tabella th,
.orari-tabella td {
  padding: 0.8rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.orari-tabella th {
  font-family: var(--font-heading);
  background-color: rgba(139, 107, 74, 0.15);
  color: var(--text);
}

.orari-tabella tr:last-child td {
  border-bottom: none;
}

.orari-tabella tr:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transition: 0.2s ease;
}

@media (max-width: 600px) {
  .orari-tabella {
    font-size: 0.9rem;
    min-width: 100%;
  }
  .orari-tabella th, .orari-tabella td {
    padding: 0.6rem;
  }
}

/* Nascondi il pulsante ☰ sui desktop */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
}

/* Mostra il pulsante solo su mobile */
@media (max-width: 768px) {
  .nav-toggle {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text);
  }

  /* Nascondi il menu finché non si clicca il pulsante */
  .main-nav ul {
    display: none;
    flex-direction: column;
    background: var(--white);
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    border-left: 1px solid var(--bg-alt);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 1rem;
    z-index: 9;
  }

  /* Mostra il menu quando ha la classe .show */
  .main-nav.show ul {
    display: flex;
  }

  .main-nav ul li {
    margin-bottom: 0.8rem;
  }

  .main-nav ul li:last-child {
    margin-bottom: 0;
  }
}



