/* ==========================================================================
   PALETTE COLORI & VARIABILI
   ========================================================================== */
:root {
  --primary-gold: #c5a059;
  --bright-gold: #d4af37;
  --dark-gold: #9e7d3b;
  --gold-gradient: linear-gradient(135deg, #c5a059 0%, #a48039 100%);
  --gold-gradient-hover: linear-gradient(135deg, #d4af37 0%, #b88d3d 100%);
  --bg-dark: #000000;
  --card-bg: #121212;
  --border-color: #262626;
  --text-light: #f3f4f6;
  --text-muted: #a1a1aa;
}

/* ==========================================================================
   RESET E BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   HEADER & LOGO (LOGO GRANDE E MENU SPOSTATO A SINISTRA)
   ========================================================================== */
.main-header {
  background-color: #000000;
  padding: clamp(10px, 1.1vw, 16px) 0;
  border-bottom: 1px solid #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  width: 96%;
  max-width: 1560px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(18px, 3vw, 55px);
}

.logo-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  width: clamp(230px, 38vw, 560px);
  height: auto;
  display: block;
  object-fit: contain;
}

.nav-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(10px, 1.1vw, 15px);
}

.nav-menu {
  width: 100%;
  max-width: 820px;
  align-self: flex-start;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(14px, 2.2vw, 38px);
}

.nav-link {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.55vw, 1.68rem);
  color: #ffffff;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-gold);
}

/* ==========================================================================
   MENU A TENDINA (DROPDOWN TOUR)
   ========================================================================== */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background-color: #000000;
  border: 1px solid #1a1a1a;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 1100;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 8px 20px;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.02rem, 1.25vw, 1.3rem);
  color: #ffffff;
  white-space: nowrap;
}

.dropdown-link:hover,
.dropdown-link.active {
  color: var(--primary-gold);
}

.header-actions {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
}

.lang-selector {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  color: #000000;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 0.85rem;
  gap: 6px;
}

.lang-dropdown {
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  cursor: pointer;
  padding-right: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 0.8vw, 11px) clamp(12px, 1.5vw, 22px);
  font-size: clamp(0.72rem, 0.85vw, 0.84rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #000000;
  border: none;
  box-shadow: 0 2px 6px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: #ffffff;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.75)), url('Immagini/IMG_2840.jpg');
  background-position: center 35%;
  background-size: cover;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.hero-container {
  text-align: center;
  max-width: 850px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #e5e5e5;
  margin-bottom: 15px;
  font-weight: 300;
}

.breadcrumbs {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-gold);
}

.breadcrumbs a {
  color: #cccccc;
}

/* ==========================================================================
   SEZIONE STORY-BLOCKS
   ========================================================================== */
.content-section {
  padding: 60px 0;
}

.section-tag {
  color: var(--primary-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.section-title-center {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-intro {
  color: #a0a0a0;
  max-width: 750px;
  margin: 0 auto 50px auto;
  font-size: 0.95rem;
}

.story-block {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 45px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.story-block:hover {
  border-color: var(--primary-gold);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.story-reverse .story-grid {
  direction: rtl;
}

.story-reverse .story-content {
  direction: ltr;
}

.story-image-wrap {
  position: relative;
  height: 100%;
  min-height: 380px;
}

.story-content {
  padding: 40px;
}

.story-tag {
  color: var(--primary-gold);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
}

.story-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 18px;
}

.story-text {
  color: #cccccc;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.story-features {
  display: flex;
  gap: 20px;
  margin: 20px 0 25px 0;
  font-size: 0.85rem;
  color: var(--primary-gold);
  flex-wrap: wrap;
}

.story-features span i {
  margin-right: 6px;
}

/* ==========================================================================
   SERVIZI SPECIALI
   ========================================================================== */
.special-services-section {
  padding: 60px 0;
  background-color: #080808;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.special-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.special-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-gold);
}

.special-img-box {
  position: relative;
  height: 220px;
}

.special-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.special-card:nth-child(1) .special-img {
  object-position: center 20%;
}

.special-icon {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--gold-gradient);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.special-body {
  padding: 30px 25px 25px 25px;
}

.special-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.narrative-text-sm {
  color: #a0a0a0;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ==========================================================================
   FEATURES BAR & CTA BANNER
   ========================================================================== */
.features-bar {
  padding: 50px 0;
  background-color: #000000;
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  text-align: center;
}

.feature-item i {
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: 12px;
}

.feature-item h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 6px;
  font-family: 'Playfair Display', serif;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.cta-banner {
  padding: 60px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('Immagini/IMG_2840.jpg');
  background-size: cover;
  background-position: center;
}

.cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-content p {
  color: #cccccc;
  font-size: 0.95rem;
}

.cta-buttons {
  display: flex;
  gap: 15px;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: #050505;
  border-top: 1px solid #1a1a1a;
  padding: 50px 0 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 35px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 6px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background-color: var(--primary-gold);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.footer-col i {
  color: var(--primary-gold);
  margin-right: 6px;
}

.footer-bottom {
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid #121212;
  font-size: 0.78rem;
  color: #555555;
}

/* ==========================================================================
   CAROSELLI EDITORIALI TOUR
   ========================================================================== */
.story-image-wrap.wine-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  background-color: #000;
}

.wine-carousel .carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.wine-carousel .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.wine-carousel .slide.active {
  opacity: 1;
}

.wine-carousel .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wine-carousel .slide img.img-bottle-car {
  object-position: center 40%;
}

.wine-carousel .slide img.img-bottle-ducati {
  object-position: center 20%;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #ffffff;
  padding: 15px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  z-index: 2;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 3;
}

.carousel-btn:hover {
  background: var(--primary-gold);
  color: #000000;
}

.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }

.carousel-dots {
  position: absolute;
  bottom: 15px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.carousel-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: var(--primary-gold);
  transform: scale(1.2);
}

/* ==========================================================================
   MODAL POP-UP PREVENTIVO (BIANCO PANNA & ORO ELEGANTE)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  background-color: #fcfbf7; /* Sfondo Bianco Panna */
  width: 90%;
  max-width: 520px;
  padding: 40px 35px;
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(197, 160, 89, 0.4);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-watermark {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.modal-watermark img {
  width: 100%;
  height: auto;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: #888888;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--primary-gold);
}

.modal-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 22px;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--primary-gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  color: #666666;
}

.modal-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 15px;
}

.half-width {
  flex: 1;
}

.form-label {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--primary-gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.modal-form input {
  width: 100%;
  padding: 11px 14px;
  background-color: #ffffff;
  border: 1px solid #d4cebe;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  color: #111111;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-form input::placeholder {
  color: #999999;
  font-style: italic;
}

.modal-form input:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 5px rgba(197, 160, 89, 0.4);
}

.btn-modal-submit {
  margin-top: 10px;
  padding: 13px;
  width: 100%;
  font-size: 0.88rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (SOLO SMARTPHONE SOTTO I 720px)
   ========================================================================== */
@media (max-width: 720px) {
  .logo-img {
    width: clamp(180px, 52vw, 260px);
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-reverse .story-grid {
    direction: ltr;
  }
  .story-image-wrap {
    min-height: 280px;
  }
  .story-image-wrap.wine-carousel {
    min-height: 320px;
  }
  .nav-wrapper {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .cta-container {
    flex-direction: column;
    text-align: center;
  }
}
