:root {
    --rosso-bordeaux: #7F162B;
    --oro: #D49B4B;
    --bianco: #ffffff;
    --nero-overlay: rgba(0, 0, 0, 0.6);
    --grigio-scuro: #1a1a1a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; background: var(--bianco); color: #333; overflow-x: hidden; }

/* HEADER */
header {
    background-color: var(--rosso-bordeaux);
    padding: 0 5%;
    height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%; top: 0; left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.logo-text { font-family: 'Playfair Display', serif; color: var(--bianco); font-size: 1.4rem; line-height: 1; font-weight: 700; letter-spacing: 1px; }
.logo-text span { display: block; color: var(--oro); font-size: 0.8em; letter-spacing: 3px; }
.logo-link img {
  height: 60px;
  width: auto;
  display: block;
}

/* NAV DESKTOP */
.nav-menu ul { list-style: none; display: flex; gap: 2.5rem; align-items: center; }
.nav-menu a { color: var(--bianco); text-decoration: none; font-size: 1.05rem; font-weight: 500; transition: color.3s; }
.nav-menu a:hover { color: var(--oro); }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; background: transparent; border: none; cursor: pointer; z-index: 1002; }
.hamburger span { height: 3px; width: 100%; background: var(--oro); border-radius: 2px; transition: all.3s ease; transform-origin: center; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* HERO */
.hero { position: relative; height: 100vh; height: 100dvh; width: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; padding-top: 76px; }
.carousel-slides { position: absolute; inset: 0; z-index: 1; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease, transform 6s ease; transform: scale(1); }
.slide.active { opacity: 1; transform: scale(1.05); }
.hero-overlay { position: absolute; inset: 0; background: var(--nero-overlay); z-index: 2; }
.hero-content { position: relative; z-index: 3; text-align: center; color: var(--bianco); padding: 0 20px; max-width: 800px; }
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--oro); margin-bottom: 1.2rem; line-height: 1.2; }
.hero-content.phone { margin-top: 1.5rem; font-size: 1.4rem; color: var(--oro); font-weight: bold; line-height: 1.4; }

/* DOTS */
.carousel-dots { position: absolute; bottom: 35px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 4; background: rgba(0,0,0,0.3); padding: 10px 18px; border-radius: 20px; backdrop-filter: blur(6px); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; transition: all.3s; }
.dot.active { background: var(--oro); width: 26px; border-radius: 10px; }

/* FOOTER */
footer { background: var(--grigio-scuro); color: var(--bianco); padding: 4rem 5%; }
.footer-container { display: flex; flex-wrap: wrap; justify-content: space-around; max-width: 1200px; margin: 0 auto; gap: 2.5rem; }
.footer-section { flex: 1; min-width: 250px; }
.footer-section h3 { color: var(--oro); margin-bottom: 1.2rem; font-size: 1.4rem; font-family: 'Playfair Display', serif; }
.footer-section a { color: var(--bianco); text-decoration: none; }
.footer-section a:hover { color: var(--oro); }
.social-links { display: flex; flex-direction: column; gap: 0.8rem; }

/* MOBILE - ecco cosa mancava */
@media (max-width: 768px) {
   .hamburger { display: flex; }
   .nav-menu {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--rosso-bordeaux);
        max-height: 0; overflow: hidden;
        transition: max-height.4s ease-in-out;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }
   .nav-menu.active { max-height: 300px; }
   .nav-menu ul { flex-direction: column; gap: 0; padding: 1rem 0; }
   .nav-menu li { width: 100%; text-align: center; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
   .hero-content h1 { font-size: 2.1rem; }
   .footer-container { flex-direction: column; text-align: center; }
}