/* ==================================================
   VARIABILI BRAND – Pantone 2457 C inspired
   ================================================== */
:root {
  --crema-scuro: #F0DCC3;
  --crema-chiaro: #fff5e6;
  --marrone: #5a2d0c;
  --marrone-scuro: #3a1e08;
  --oro: #c58b1b;
  --testo: #3a2f20;
}

/* ==================================================
   RESET BASE
   ================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==================================================
   BASE / CURSORE / SFONDO (TUTTE LE PAGINE)
   ================================================== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  color: var(--testo);

  cursor: url("cursore.png") 16 16, auto;

  background-color: var(--crema-scuro);
  background-image: url('pattern-dandrea-crema-scuro.png');
  background-repeat: repeat;
  background-size: 520px auto;
  position: relative;
}

/* cursore sui click */
button,
summary,
a {
  cursor: url("cursore.png") 16 16, pointer;
}

/* Overlay per rendere tutto elegante */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(240, 220, 195, 0.35);
  pointer-events: none;
  z-index: 0;
}

/* ==================================================
   SFONDO ILLUSTRATO IN BASSO (CARTOON)
   Metti <div class="bg-illustration"></div> nel HTML
   prima di </body>
   ================================================== */
.bg-illustration {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  height: 100vh; /* ✅ parte bassa, non gigante */
  background-image: url("A_digital_illustration_in_a_cartoon_style_depicts_.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;

  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

/* Tutti i contenuti sopra overlay e illustrazione */
.home-container,
.order-header,
.order-container,
.home-footer,
footer {
  position: relative;
  z-index: 2;
}

/* ==================================================
   HOME
   ================================================== */
.home-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px 20px;
  text-align: center;
}

/* LOGO */
.logo {
  width: 520px;
  max-width: 90%;
}

/* TAGLINE */
.tagline {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--marrone);
  letter-spacing: 1px;
  text-shadow:
    -1px -1px 0 #ffffff,
     1px -1px 0 #ffffff,
    -1px  1px 0 #ffffff,
     1px  1px 0 #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
}

/* ==================================================
   CHI SIAMO – TENDINA ELEGANTE
   ================================================== */
.about-details {
  max-width: 620px;
  width: 100%;
}

.about-details summary {
  list-style: none;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--marrone);
  padding: 14px 22px;
  border: 2px solid var(--oro);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--crema-chiaro), #f1dcc2);
  position: relative;
}

.about-details summary::after {
  content: "⌄";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.about-details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.about-text {
  background: rgba(255, 245, 230, 0.95);
  border: 2px solid var(--oro);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 18px 22px;
  font-style: italic;
  line-height: 1.6;
  text-align: justify;
}

/* ==================================================
   BOTTONE PRINCIPALE (ORDINA ORA)
   ================================================== */
.btn-ordina {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  padding: 14px 44px;
  color: var(--crema-chiaro);

  background: linear-gradient(135deg, var(--oro), var(--marrone));
  border: 2px solid var(--marrone-scuro);
  border-radius: 6px;

  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

.btn-ordina:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* ==================================================
   FOOTER HOME
   ================================================== */
.home-footer {
  background: rgba(255, 245, 230, 0.9);
  padding: 18px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--marrone);
}

/* ==================================================
   ORDER PAGE (CARD + FORM)
   ================================================== */
.order-header {
  padding: 15px 20px;
}

/* contenitore centrale */
.order-container {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* card elegante */
.order-card {
  width: 100%;
  max-width: 680px;
  background: rgba(255, 250, 240, 0.75);
  border: 1px solid rgba(120, 70, 40, 0.20);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  padding: 26px 22px;
  backdrop-filter: blur(6px);
}

.order-logo {
  width: 280px;
  max-width: 85%;
  display: block;
  margin: 0 auto 14px auto;
}

.order-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.7rem;
  text-align: center;
  margin: 8px 0;
  color: var(--testo);
}

.order-subtitle {
  text-align: center;
  color: #4a3a2a;
  line-height: 1.45;
  margin: 0 auto 18px auto;
  max-width: 560px;
}

/* form */
.order-form {
  margin-top: 6px;
}

.form-label {
  display: block;
  margin: 14px auto 6px auto;
  max-width: 520px;
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--testo);
}

.order-form input,
.order-form textarea {
  width: 100%;
  max-width: 520px;
  display: block;
  margin: 0 auto;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(120, 70, 40, 0.25);
  background: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  color: var(--testo);
  outline: none;
}

.order-form textarea {
  resize: vertical;
  min-height: 140px;
}

.order-form input:focus,
.order-form textarea:focus {
  border-color: rgba(120, 70, 40, 0.55);
  box-shadow: 0 0 0 3px rgba(180, 120, 80, 0.18);
}

/* bottone invio */
.btn-primary {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 18px auto 8px auto;
  padding: 13px 16px;
  border: 1px solid rgba(120, 70, 40, 0.35);
  border-radius: 12px;
  background: rgba(120, 70, 40, 0.92);
  color: #fffaf0;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  background: rgba(95, 55, 30, 0.95);
}

.btn-primary:active {
  transform: translateY(0px);
}

/* nota sotto */
.order-footnote {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(58, 47, 32, 0.75);
  margin-top: 10px;
}

/* Warning lunedì */
.monday-warning {
  max-width: 520px;
  margin: 8px auto 0 auto;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(197, 139, 27, 0.15);
  border: 1px solid rgba(197, 139, 27, 0.35);
  color: var(--marrone);
  font-family: inherit;
  font-size: 1rem;
  text-align: center;
}

/* ==================================================
   CONTATTI – ORDER PAGE
   ================================================== */
.order-contacts {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(120, 70, 40, 0.25);
  text-align: center;
}

.contacts-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--marrone);
}

.contact-item {
  margin: 6px 0;
  font-size: 1.05rem;
  color: var(--testo);
}

.contact-item a {
  color: var(--marrone);
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

.icon-instagram {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
  fill: var(--marrone);
}

/* ==================================================
   RESPONSIVE
   ================================================== */
@media (max-width: 480px) {
  .logo {
    width: 260px;
  }

  .tagline {
    font-size: 1.3rem;
  }

  .btn-ordina {
    font-size: 1.1rem;
    padding: 12px 30px;
  }

  .bg-illustration {
    height: 38vh; /* un po' più compatto su mobile */
  }
}
.hidden { display: none !important; }

/* ===================================
   Bottone SECONDARIO – Foto Gallery
   =================================== */

.btn-secondary {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  letter-spacing: 0.8px;

  padding: 12px 36px;
  color: var(--marrone);

  background: rgba(255, 245, 230, 0.85);
  border: 2px solid var(--oro);
  border-radius: 6px;

  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 245, 230, 1);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.btn-secondary:active {
  transform: translateY(0);
}
/* ===================================
   CARD GOOGLE (Foto/Recensioni)
   =================================== */
.google-card{
  width: 100%;
  max-width: 620px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;

  text-decoration: none;
  color: inherit;

  background: rgba(255, 245, 230, 0.88);
  border: 2px solid var(--oro);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);

  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

.google-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
  background: rgba(255, 245, 230, 0.95);
}

.google-card-left{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.google-icon{
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.google-card-text{
  min-width: 0;
}

.google-card-title{
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--marrone);
  line-height: 1.2;
}

.google-stars{
  margin-top: 4px;
  font-size: 1rem;
  color: var(--oro);
  letter-spacing: 1px;
}

.google-stars-note{
  margin-left: 8px;
  font-size: 0.85rem;
  color: rgba(58, 47, 32, 0.75);
  letter-spacing: 0;
}

.google-card-subtitle{
  margin-top: 6px;
  font-size: 0.95rem;
  color: rgba(58, 47, 32, 0.85);
  line-height: 1.3;
}

.google-card-cta{
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--oro), var(--marrone));
  color: var(--crema-chiaro);
  font-family: "Playfair Display", serif;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,0.08);
}
