/* ====================================
   VENERE 2.0 - CSS COMPLETO
   Palette: Rosso Dominante + Tocchi Oro
   ==================================== */

/* === VARIABILI COLORI === */
:root {
  --primary-red: #E31E24;
  --dark-red: #B71C1C;
  --gold: #D4AF37;
  --light-gold: #E8C78A;
  --black: #000000;
  --white: #FFFFFF;
  --beige: #D4C4B0;
  --light-grey: #F8F9FA;
  --grey: #333333;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--white);
  color: var(--grey);
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--black);
  font-weight: 600;
}

/* === TYPOGRAPHY === */
.hero-title {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 2rem;
  color: var(--grey);
}

/* === SECTIONS === */
.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-black {
  background-color: var(--black);
  color: var(--white);
}

.section-black h1, 
.section-black h2, 
.section-black h3, 
.section-black h4, 
.section-black h5, 
.section-black h6 {
  color: var(--white);
}

.section-white {
  background-color: var(--white);
  color: var(--black);
}

/* === HEADER === */
header {
  padding: 15px 0;
  background: var(--white);
  border-bottom: 1px solid #eee;
}

header img {
  max-width: 100px;
  margin: 0 auto;
  display: block;
}

/* === SOCIAL LINKS FIXED === */
.social-fixed {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-fixed .social-btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--black);
  border: 2px solid var(--primary-red);
  padding: 0.6rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.social-fixed .social-btn:hover {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
  color: var(--white);
  transform: scale(1.1);
  border-color: var(--primary-red);
}

/* === BOTTONI === */
.btn-main {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
  border: none;
  color: var(--white);
  padding: 1.3rem 3.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 6px 25px rgba(227, 30, 36, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-main:hover::before {
  left: 0;
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(227, 30, 36, 0.5);
  color: var(--white);
}

/* === IMMAGINI === */
.hero-image {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 5px solid var(--white);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.section-image {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 4px solid var(--white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
}

/* === CONTENITORI IMMAGINI CON GRADIENTI ANIMATI === */
.image-container {
  position: relative;
  display: inline-block;
  padding: 50px;
}

.image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 30%, var(--gold) 70%, var(--light-gold) 100%);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.85;
  transform: scale(1.1);
  animation: pulse 3s ease-in-out infinite;
}

.image-container-gold::before {
  background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 30%, var(--gold) 60%, var(--light-gold) 100%);
}

.image-container-red::before {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 30%, var(--primary-red) 60%, var(--dark-red) 100%);
}

/* Animazione pulso */
@keyframes pulse {
  0%, 100% { 
    transform: scale(1.1);
    opacity: 0.85;
  }
  50% { 
    transform: scale(1.15);
    opacity: 0.65;
  }
}

/* Effetti particelle */
.image-container::after {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 2px, transparent 2px),
              radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
              radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 50px 50px, 30px 30px, 40px 40px;
  border-radius: 50%;
  z-index: 3;
  opacity: 0.7;
  animation: sparkle 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* === CARDS === */
.card-container {
  background: var(--white);
  border-radius: 15px;
  padding: 3rem;
  margin: 2rem 0;
  border: 1px solid #eee;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(227, 30, 36, 0.15);
  border-color: var(--primary-red);
}

.card-black {
  background: var(--black);
  color: var(--white);
  border-radius: 15px;
  padding: 3rem;
  margin: 2rem 0;
  border: 1px solid #333;
  transition: transform 0.3s ease;
}

.card-black:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(227, 30, 36, 0.2);
}

/* === LISTE === */
.custom-list {
  list-style: none;
  padding: 0;
}

.custom-list li {
  margin: 1.2rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 1.1rem;
}

.custom-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-size: 1.3rem;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  margin: 1.5rem 0;
  padding-left: 2.5rem;
  position: relative;
  font-size: 1.15rem;
}

.check-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
  font-size: 1.3rem;
}

.cross-list {
  list-style: none;
  padding: 0;
}

.cross-list li {
  margin: 1.5rem 0;
  padding-left: 2.5rem;
  position: relative;
  font-size: 1.15rem;
}

.cross-list li::before {
  content: "❌";
  position: absolute;
  left: 0;
  font-size: 1.3rem;
}

/* === GRADIENTE TESTO === */
.text-gradient-gold {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

/* === MODULI NUMERATI === */
.modulo-number {
  color: var(--primary-red);
  font-size: 3rem;
  font-weight: 900;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  position: relative;
}

.modulo-number::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red) 0%, var(--gold) 100%);
}

/* === PREZZO === */
.price-container {
  background: var(--black);
  border-radius: 20px;
  padding: 3rem;
  margin: 2rem 0;
  border: 3px solid var(--primary-red);
  text-align: center;
  box-shadow: 0 15px 50px rgba(227, 30, 36, 0.3);
  position: relative;
  overflow: hidden;
}

.price-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, transparent 0%, rgba(227, 30, 36, 0.1) 50%, transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

.price-display {
  margin: 2rem 0;
  position: relative;
  z-index: 2;
}

/* === TESTIMONIANZE === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.testimonial-item {
  position: relative;
}

.testimonial-image {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.testimonial-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(227, 30, 36, 0.25);
  border-color: var(--primary-red);
}

/* === TESTIMONIANZE AUDIO === */
.testimonial-audio {
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-wrapper {
  background: linear-gradient(135deg, rgba(227, 30, 36, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 2px solid var(--primary-red);
  border-radius: 15px;
  padding: 2rem;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.audio-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(227, 30, 36, 0.3);
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(227, 30, 36, 0.15) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.audio-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(227, 30, 36, 0.4);
  position: relative;
}

.audio-icon::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.audio-wrapper:hover .audio-icon::after {
  opacity: 1;
}

.audio-icon i {
  font-size: 2rem;
  color: var(--white);
}

.audio-label {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.audio-player {
  width: 100%;
  height: 40px;
  outline: none;
  border-radius: 25px;
  background: rgba(0, 0, 0, 0.3);
}

.audio-player::-webkit-media-controls-panel {
  background: linear-gradient(135deg, rgba(227, 30, 36, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
  border-radius: 25px;
}

.audio-player::-webkit-media-controls-play-button {
  background-color: var(--primary-red);
  border-radius: 50%;
}

.audio-player::-webkit-media-controls-current-time-display,
.audio-player::-webkit-media-controls-time-remaining-display {
  color: var(--white);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .card-container, .card-black {
    padding: 2rem;
    margin: 1.5rem 0;
  }
  
  .btn-main {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
  }

  .hero-image {
    width: 300px;
    height: 300px;
  }

  .section-image {
    width: 240px;
    height: 240px;
  }
  
  .image-container {
    padding: 35px;
  }

  .social-fixed {
    top: 10px;
    right: 10px;
    gap: 8px;
  }
  
  .social-fixed .social-btn {
    width: 45px;
    height: 45px;
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .price-container {
    padding: 2rem;
  }

  .audio-wrapper {
    padding: 1.5rem;
  }
  
  .audio-icon {
    width: 60px;
    height: 60px;
  }
  
  .audio-icon i {
    font-size: 1.5rem;
  }
  
  .audio-label {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .card-container, .card-black {
    padding: 1.5rem;
  }
  
  .btn-main {
    padding: 1rem 2rem;
    font-size: 0.95rem;
    letter-spacing: 1px;
  }
  
  .hero-image {
    width: 240px;
    height: 240px;
  }
  
  .section-image {
    width: 200px;
    height: 200px;
  }
  
  .image-container {
    padding: 25px;
  }

  .social-fixed .social-btn {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }

  .modulo-number {
    font-size: 2.5rem;
  }
}

/* === HOVER EFFECTS === */
.image-container:hover .hero-image,
.image-container:hover .section-image {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.image-container:hover::before {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

/* === ACCESSIBILITY === */
.btn-main:focus,
.social-fixed .social-btn:focus {
  outline: 3px solid var(--primary-red);
  outline-offset: 3px;
}

/* === ANIMAZIONI SMOOTH === */
.btn-main, 
.card-container, 
.card-black, 
.testimonial-image,
.audio-wrapper {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === OTTIMIZZAZIONE PERFORMANCE === */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* === SCROLLBAR CUSTOM (opzionale) === */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-grey);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-red) 0%, var(--dark-red) 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--dark-red) 0%, var(--primary-red) 100%);
}