/* ══════════════════════════════════════════════
   A' CHIAZZA – Stile condiviso
   ══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --nero:   #111111;
  --nero2:  #1c1c1c;
  --oro:    #c9a040;
  --oro-lt: #e8d09a;
  --crema:  #f9f3e8;
  --bianco: #ffffff;
  --grigio: #888888;
  --testo:  #2a2a2a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--testo);
  background: var(--bianco);
  overflow-x: hidden;
}

img { display: block; width: 100%; height: auto; }

/* ──────────────────────────────────────────
   NAVBAR
────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}

#navbar.solid,
#navbar.scrolled {
  background: var(--nero);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

#navbar.scrolled { padding: 10px 40px; }

.nav-logo {
  height: 76px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s;
}
#navbar.scrolled .nav-logo { height: 56px; }

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--bianco);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--oro);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--oro); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--oro) !important;
  color: var(--nero) !important;
  padding: 9px 22px;
  border-radius: 30px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--oro-lt) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--bianco);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--nero);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--bianco);
  text-decoration: none;
  font-size: 1.4rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--oro); }
.close-menu {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 2rem;
  color: var(--bianco);
  background: none;
  border: none;
  cursor: pointer;
}

/* ──────────────────────────────────────────
   PAGE HERO (per pagine interne)
────────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.page-hero-eyebrow {
  color: var(--oro);
  font-size: 0.75rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 300;
  display: block;
  margin-bottom: 10px;
}

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--bianco);
  font-style: italic;
  line-height: 1.1;
}

.page-hero-title span { color: var(--oro); font-style: normal; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  font-size: 0.8rem;
  color: var(--grigio);
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
  border-bottom: 1px solid #eee;
  margin-bottom: 0;
}
.breadcrumb a { color: var(--grigio); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--oro); }
.breadcrumb .sep { color: #ccc; }
.breadcrumb .current { color: var(--testo); }

/* ──────────────────────────────────────────
   SEZIONI COMUNI
────────────────────────────────────────── */
section { padding: 80px 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  display: block;
  color: var(--oro);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--nero);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-title em { font-style: italic; color: var(--oro); }

.section-divider {
  width: 50px; height: 2px;
  background: var(--oro);
  margin-bottom: 30px;
}
.section-divider.center { margin-left: auto; margin-right: auto; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ──────────────────────────────────────────
   STRIP
────────────────────────────────────────── */
.strip {
  background: var(--nero);
  padding: 20px 0;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 0 32px;
}
.strip-item {
  color: var(--oro-lt);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.strip-dot { width: 4px; height: 4px; background: var(--oro); border-radius: 50%; }

/* ──────────────────────────────────────────
   BOTTONI
────────────────────────────────────────── */
.btn-oro {
  background: var(--oro);
  color: var(--nero);
  padding: 14px 40px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s, transform 0.2s;
}
.btn-oro:hover { background: var(--oro-lt); transform: translateY(-2px); }

.btn-oro-outline {
  border: 1px solid var(--oro);
  color: var(--oro);
  padding: 14px 40px;
  text-decoration: none;
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.btn-oro-outline:hover { background: var(--oro); color: var(--nero); transform: translateY(-2px); }

.btn-nero {
  background: var(--nero);
  color: var(--bianco);
  padding: 14px 40px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s, transform 0.2s;
}
.btn-nero:hover { background: var(--nero2); transform: translateY(-2px); }

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
footer {
  background: #0a0a0a;
  padding: 48px 32px 28px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--oro);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a,
.footer-col p,
.footer-col address {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  text-decoration: none;
  font-style: normal;
  line-height: 1.7;
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--oro); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
}

.social-links {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s;
}
.social-link:hover { border-color: var(--oro); color: var(--nero); background: var(--oro); }

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  #navbar { padding: 12px 20px; }
  #navbar.scrolled { padding: 10px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  section { padding: 56px 0; }
  .page-hero { height: 300px; padding-bottom: 40px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .breadcrumb { padding-left: 20px; padding-right: 20px; }
}
