:root{
  /* Premium Forest palette */
  --bg0: #07140b;
  --bg1: #0b1c10;
  --surface: rgba(255,255,255,0.06);
  --surface2: rgba(255,255,255,0.04);

  --text: rgba(255,255,255,0.92);
  --text2: rgba(255,255,255,0.78);
  --muted: rgba(150,196,85,0.92);

  --primary: #96c455;
  --primary2: #b7e27a;

  --border: rgba(255,255,255,0.12);
  --border2: rgba(150,196,85,0.20);

  --shadow: 0 18px 60px rgba(0,0,0,0.55);
  --shadow-soft: 0 14px 40px rgba(0,0,0,0.35);

  --radius: 18px;
  --radius2: 22px;

  --maxw: 1200px;

  /* JS-updated cursor glow */
  --mx: 50%;
  --my: 30%;
}

/* ---------- Reset ---------- */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at var(--mx) var(--my), rgba(150,196,85,0.12), transparent 55%),
    radial-gradient(900px 600px at 18% 10%, rgba(183,226,122,0.10), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
button, input, select, textarea{ font: inherit; color: inherit; }
button{ cursor:pointer; }
::selection{ background: rgba(150,196,85,0.35); }
.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); border:0;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
  .reveal, .reveal-in{ transition:none !important; animation:none !important; }
}

/* ---------- Layout ---------- */
.container{
  width: min(var(--maxw), 100%);
  margin: 0 auto;
  padding: 0 18px;
}
.center{ text-align:center; }
.maxw{ max-width: 820px; margin-left:auto; margin-right:auto; }
.mt-32{ margin-top: 32px; }

/* NOTE: index.html uses .grid-2 in multiple places */
.grid-2{
  display:grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .grid-2{ grid-template-columns: 1.05fr 0.95fr; }
}

.stack{ display:flex; flex-direction:column; gap: 14px; }
.row{ display:flex; gap: 12px; flex-wrap: wrap; align-items:center; }
.row-center{ justify-content:center; }

.small{ font-size: 0.92rem; }
.muted{ color: var(--text2); }

/* ---------- Header ---------- */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,20,11,0.70);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.header.scrolled{
  background: rgba(7,20,11,0.88);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
  position: relative;
  transition: padding .25s ease;
}
.header.scrolled .header-inner{ padding: 10px 0; }

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}
.brand-logo{
  width:auto;
  height: 44px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.40));
}
.brand-text{ min-width: 0; }
.brand-title{
  font-weight: 900;
  letter-spacing: 0.3px;
  color: var(--primary2);
  line-height: 1.1;
}
.brand-subtitle{
  font-size: 0.9rem;
  color: rgba(183,226,122,0.78);
}

/* Mobile nav */
.nav{
  display:none;
  align-items:center;
  gap: 18px;
}
.nav-link{
  color: rgba(255,255,255,0.78);
  transition: color .2s ease, transform .2s ease;
  position: relative;
}
.nav-link:hover{ color: var(--primary2); transform: translateY(-1px); }
.nav-link.active{
  color: var(--primary2);
}
.nav-link.active::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(150,196,85,0.9), transparent);
}

.nav-toggle{
  width: 46px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .15s ease, background .2s ease;
}
.nav-toggle:hover{ transform: translateY(-1px); background: rgba(255,255,255,0.06); }
.nav-toggle-lines{
  width: 20px;
  height: 14px;
  display:block;
  position: relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:2px;
  background: rgba(255,255,255,0.82);
  border-radius: 999px;
  transition: transform .2s ease, top .2s ease, bottom .2s ease, opacity .2s ease;
}
.nav-toggle-lines::before{ top:2px; }
.nav-toggle-lines::after{ bottom:2px; }
.nav-open .nav{ display:flex; }

@media (max-width: 899px){
  .nav-open .nav{
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    margin: 0 18px;
    padding: 14px;
    flex-direction: column;
    gap: 14px;
    background: rgba(8,18,11,0.96);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
}

@media (min-width: 900px){
  .nav{ display:flex; }
  .nav-toggle{ display:none; }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, var(--primary2), var(--primary));
  color: #061109;
  font-weight: 900;
  letter-spacing: 0.2px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  transition: transform .15s ease, filter .15s ease, box-shadow .2s ease;
  will-change: transform;
}
.btn:hover{ filter: brightness(1.03); transform: translateY(-2px); box-shadow: 0 18px 52px rgba(0,0,0,0.30); }
.btn:active{ transform: translateY(0); }

.btn-small{ padding: 10px 14px; border-radius: 12px; }
.btn-large{ padding: 14px 22px; border-radius: 16px; font-size: 1.05rem; }
.btn-block{ width: 100%; }

.btn-ghost{
  background: rgba(255,255,255,0.03);
  color: var(--primary2);
  border: 1px solid rgba(150,196,85,0.22);
  box-shadow: none;
}
.btn-ghost:hover{ background: rgba(150,196,85,0.10); }

.btn:focus-visible, .nav-toggle:focus-visible, .gallery-item:focus-visible, .modal-close:focus-visible{
  outline: 3px solid rgba(150,196,85,0.28);
  outline-offset: 3px;
}

/* ---------- Badge ---------- */
.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(150,196,85,0.22);
  background: rgba(150,196,85,0.12);
  color: var(--primary2);
  font-weight: 900;
  font-size: 0.92rem;
}
.badge-soft{
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.10);
}

/* ---------- Sections ---------- */
.section{
  padding: 78px 0;
  position: relative;
}
.section::before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  background: radial-gradient(900px 500px at 50% 0%, rgba(150,196,85,0.06), transparent 55%);
  opacity: 0.9;
}
.section > .container{ position: relative; z-index: 1; }

.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.00));
}
.section-head{
  margin-bottom: 28px;
}
.section-head h2{
  margin: 12px 0 10px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  color: var(--primary2);
  letter-spacing: 0.2px;
}
.section-head p{
  margin: 0 auto;
  max-width: 780px;
  color: var(--text2);
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 92vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(900px 600px at 50% 30%, rgba(150,196,85,0.16), transparent 55%);
  pointer-events:none;
  z-index: 1;
}
.hero-bg{
  position:absolute;
  inset:-8%;
  background:
    linear-gradient(180deg, rgba(7,20,11,0.75), rgba(7,20,11,0.25)),
    url("../Img/hero_banner_20251217_222020.png");
  background-size: cover;
  background-position: center;
  transform: translate3d(0,0,0) scale(1.05);
  filter: saturate(1.08) contrast(1.02);
  will-change: transform;
}
.hero-inner{
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-content{
  max-width: 860px;
  text-align:center;
  margin: 0 auto;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius2);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}
.hero-title{
  font-size: clamp(2.7rem, 6vw, 5.0rem);
  margin: 16px 0 12px;
  font-weight: 950;
  letter-spacing: 0.6px;
  background: linear-gradient(90deg, var(--primary2), rgba(255,255,255,0.92), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead{
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255,255,255,0.82);
  margin: 0 auto 22px;
  max-width: 720px;
}
.hero-actions{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.hero-meta{
  margin-top: 26px;
  display:flex;
  gap: 10px;
  justify-content:center;
  flex-wrap: wrap;
}
.meta-pill{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
}

/* booking intro */
.booking-hero{ padding-top: 42px; padding-bottom: 28px; }
.lead{ font-size: 1.12rem; }

/* ---------- Cards ---------- */
.cards{
  display:grid;
  gap: 14px;
}
.cards-3{ grid-template-columns: 1fr; }
.cards-6{ grid-template-columns: 1fr; }
@media (min-width: 760px){
  .cards-3{ grid-template-columns: repeat(3, 1fr); }
  .cards-6{ grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 1000px){
  .cards-6{ grid-template-columns: repeat(3, 1fr); }
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.card:hover{
  transform: translateY(-4px);
  border-color: rgba(150,196,85,0.22);
  box-shadow: 0 18px 60px rgba(0,0,0,0.50);
}
.card h3{
  margin: 0 0 8px;
  color: var(--primary2);
}
.card p{ margin: 0; color: rgba(255,255,255,0.78); }
.card-center{ text-align:center; }

.media-card{
  position: relative;
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
}
.media-img{
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: contrast(1.03) saturate(1.05);
  transform: scale(1.03);
}
.floating-stat{
  position:absolute;
  right: 14px;
  bottom: 14px;
  background: linear-gradient(180deg, var(--primary2), var(--primary));
  color: #061109;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  text-align:center;
  border: 1px solid rgba(255,255,255,0.14);
}
.stat-number{ font-weight: 950; font-size: 1.35rem; line-height:1; }
.stat-label{ font-size: 0.86rem; font-weight: 900; opacity: 0.9; }

/* ---------- Services ---------- */
.service-grid{
  display:grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px){
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px){
  .service-grid{ grid-template-columns: repeat(3, 1fr); }
}
.service-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.service-card:hover{
  border-color: rgba(150,196,85,0.24);
  transform: translateY(-4px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.50);
}
.service-card h3{
  margin: 0 0 12px;
  color: var(--primary2);
  text-transform: capitalize;
}
.service-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.service-list li{
  border-left: 2px solid rgba(150,196,85,0.22);
  padding-left: 12px;
}
.service-list strong{ display:block; }
.service-list span{ display:block; color: rgba(255,255,255,0.70); font-size: 0.92rem; }

/* ---------- Gallery ---------- */
.gallery{
  display:grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 860px){
  .gallery{ grid-template-columns: repeat(4, 1fr); }
}
.gallery-item{
  position: relative;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,0.02);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}
.gallery-item:hover{
  transform: translateY(-4px);
  border-color: rgba(150,196,85,0.20);
  box-shadow: 0 18px 60px rgba(0,0,0,0.50);
}
.gallery-item img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover img{ transform: scale(1.06); }

.gallery-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.80));
  opacity:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding: 14px;
  transition: opacity .2s ease;
}
.gallery-item:hover .gallery-overlay{ opacity:1; }
.gallery-overlay span:first-child{ color: var(--primary2); font-weight: 900; }
.gallery-overlay span:last-child{ color: rgba(255,255,255,0.82); font-size: 0.9rem; }

/* ---------- Modal ---------- */
.modal{
  width: min(980px, calc(100% - 24px));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 14px;
  background: rgba(7,20,11,0.96);
  color: var(--text);
  box-shadow: var(--shadow);
}
.modal::backdrop{ background: rgba(0,0,0,0.72); }
.modal img{ width: 100%; height: auto; border-radius: 16px; }
.modal-close{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
  font-size: 1.7rem;
  line-height: 1;
  transition: transform .15s ease, background .2s ease;
}
.modal-close:hover{ transform: translateY(-1px); background: rgba(255,255,255,0.08); }

/* ---------- Contact / CTA ---------- */
.info-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, border-color .25s ease;
}
.info-card:hover{
  transform: translateY(-3px);
  border-color: rgba(150,196,85,0.22);
}
.info-card h3{ margin: 0 0 8px; color: var(--primary2); }
.hours{ margin: 0; padding-left: 18px; color: rgba(255,255,255,0.82); }
.social-row{ display:flex; gap: 10px; flex-wrap: wrap; }

.cta-box{
  background: radial-gradient(700px 400px at 30% 10%, rgba(150,196,85,0.12), transparent 55%),
              linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(150,196,85,0.20);
  border-radius: var(--radius2);
  padding: 22px;
  box-shadow: var(--shadow);
}
.cta-box h3{ margin:0 0 10px; color: var(--primary2); }

/* ---------- Floating CTA (created by JS) ---------- */
.floating-cta{
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary2), var(--primary));
  color: #061109;
  font-weight: 950;
  box-shadow: 0 18px 44px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  display:inline-flex;
  align-items:center;
  gap: 10px;
  transform: translateZ(0);
}
.floating-cta:hover{ filter: brightness(1.03); transform: translateY(-2px); }
@media (min-width: 900px){ .floating-cta{ display:none; } }

/* Back to top (created by JS) */
.backtop{
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.90);
  display:grid;
  place-items:center;
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
  backdrop-filter: blur(10px);
}
.backtop.show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.backtop:hover{ background: rgba(255,255,255,0.10); }

/* ---------- Reveal animations (JS adds .reveal + .reveal-in) ---------- */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal-in{
  opacity: 1;
  transform: translateY(0);
}
.reveal-pop{ transform: translateY(18px) scale(0.98); }
.reveal-pop.reveal-in{ transform: translateY(0) scale(1); }

/* ---------- Forms (kept for compatibility with Booking pages) ---------- */
.form{ margin-top: 6px; }
.form-grid{ display:grid; gap: 16px; }
.form-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.form-card-head h2{
  margin: 0 0 6px;
  color: var(--primary2);
  font-size: 1.25rem;
}
.form-card-head p{ margin: 0; }

.fields{ color:#0b0b0c; font-size: 14px; display:grid; gap: 12px; }
.field{ display:grid; gap: 8px; }
.field span{ color: rgba(255,255,255,0.90); font-weight: 900; font-size: 0.95rem; }

input, select, textarea{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 12px 12px;
  outline: none;
  color: rgba(255,255,255,0.92);
}
input::placeholder, textarea::placeholder{ color: rgba(255,255,255,0.55); }
input:focus, select:focus, textarea:focus{
  border-color: rgba(150,196,85,0.40);
  box-shadow: 0 0 0 3px rgba(150,196,85,0.16);
}

.error{
  min-height: 16px;
  color: #ff9b9b;
  font-size: 0.88rem;
}

/* ---------- Success box ---------- */
.success{
  max-width: 920px;
  margin: 0 auto 18px;
  padding: 22px;
  border-radius: var(--radius2);
  border: 1px solid rgba(150,196,85,0.18);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow-soft);
  text-align:center;
}
.success-icon{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(150,196,85,0.12);
  border: 1px solid rgba(150,196,85,0.22);
  display:grid;
  place-items:center;
  margin: 0 auto 10px;
  color: var(--primary2);
  font-size: 2rem;
  font-weight: 950;
}
.success-title{ margin: 6px 0 10px; color: var(--primary2); }
.bullets{ margin: 0; padding-left: 18px; text-align:left; color: rgba(255,255,255,0.82); }


/* ---------- Fix: "La Nostra Storia" (chi-siamo) image beside text ---------- */
#chi-siamo .grid-2{
  grid-template-columns: 1fr; /* avoid empty second column (HTML has one child) */
}

@media (min-width: 900px){
  #chi-siamo .stack{
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-auto-rows: min-content;
    gap: 22px 26px;
    align-items: start;
  }

  /* Text stays on the left */
  #chi-siamo .stack > p{
    grid-column: 1;
  }

  /* Image card on the right, aligned with the text block */
  #chi-siamo .stack > .media-card{
    grid-column: 2;
    grid-row: 1 / span 6;
  }

  /* Cards go full width under both columns */
  #chi-siamo .stack > .cards{
    grid-column: 1 / -1;
  }

  /* Optional: make the image feel more premium */
  #chi-siamo .media-img{
    height: 420px;
  }

 footer {
    text-align: center;
    padding: 18px 10px;
    background: rgba(7,20,11,0.70);
    color: white;
    margin-top: 30px;
}

/* CONTATTO */
.contact p {
    font-size: 1rem;
    margin-bottom: 0px;
}

/* Formulário de contato */
.contact-form {
    margin-top: 18px;
    max-width: 420px;
}

.form-row {
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-btn {
    margin-top: 4px;
    width: 100%;
}

.contact-feedback {
    margin-top: 10px;
    font-size: 0.9rem;
}

}
