/* ════════════════════════════════════════════════════
/* ════════════════════════════════════════════════════
   OMBRE PROFESSIONALI PER IMMAGINI
════════════════════════════════════════════════════ */

/* Hero image con ombra profonda */
.hero-image img {
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(212, 175, 55, 0.2);
}

/* Slider images con ombre */
.slide img {
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Modal gallery images */
.modal-gallery img {
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.2),
    0 3px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.modal-gallery img:hover {
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.3),
    0 6px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}


   SFONDO PREMIUM CON TEXTURE E MOVIMENTO
════════════════════════════════════════════════════ */

/* Sfondo base sofisticato */
.section-marmo {
  position: relative;
  background: linear-gradient(135deg, 
    #F5F1EA 0%, 
    #EDE8DF 25%,
    #E8E3D9 50%,
    #DED9CF 75%,
    #D5D0C6 100%);
  overflow: hidden;
}

/* Texture marmo */
.premium-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.marble-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(200,152,20,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(200,152,20,0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.3) 0%, transparent 40%);
  background-size: 600px 600px, 800px 800px, 400px 400px;
  animation: marble-move 60s ease-in-out infinite;
}

@keyframes marble-move {
  0%, 100% { 
    background-position: 0% 0%, 100% 100%, 50% 50%;
    opacity: 0.6;
  }
  50% { 
    background-position: 100% 100%, 0% 0%, 70% 30%;
    opacity: 0.8;
  }
}

.geometric-overlay {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(201,151,28,0.03) 40px,
      rgba(201,151,28,0.03) 80px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(201,151,28,0.02) 40px,
      rgba(201,151,28,0.02) 80px
    );
  opacity: 0.4;
}

/* ════════════════════════════════════════════════════
   FORME ANIMATE VISIBILI
════════════════════════════════════════════════════ */

.animated-shapes-visible {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Variante per sfondi scuri: oro più visibile */
.animated-shapes-dark .floating-shape {
  border-color: rgba(212,175,55,0.55);
  box-shadow: 0 0 60px rgba(212,175,55,0.2);
}
.animated-shapes-dark .floating-line {
  background: linear-gradient(90deg,
    transparent,
    rgba(212,175,55,0.55) 20%,
    rgba(255,215,0,0.75) 50%,
    rgba(212,175,55,0.55) 80%,
    transparent);
  box-shadow: 0 0 25px rgba(212,175,55,0.45);
}
.animated-shapes-dark .golden-circle {
  background: radial-gradient(circle, rgba(255,215,0,0.25), transparent 70%);
  border-color: rgba(212,175,55,0.45);
}
.animated-shapes-dark .architectural-grid-animated {
  opacity: 0.35;
}

/* Forme fluttuanti grandi e visibili */
.floating-shape {
  position: absolute;
  border: 2px solid rgba(212,175,55,0.5);
  background: radial-gradient(circle, rgba(255,244,204,0.1), transparent);
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 5%;
  left: 5%;
  border-radius: 50%;
  animation: float-big 25s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(212,175,55,0.2);
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 8%;
  transform: rotate(45deg);
  animation: float-big-reverse 20s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(212,175,55,0.2);
}

.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 10%;
  left: 50%;
  border-radius: 30px;
  transform: rotate(15deg);
  animation: float-rotate 30s ease-in-out infinite;
  box-shadow: 0 0 50px rgba(212,175,55,0.25);
}

@keyframes float-big {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  25% { 
    transform: translate(30px, -40px) scale(1.1);
    opacity: 0.8;
  }
  50% { 
    transform: translate(-20px, -60px) scale(0.95);
    opacity: 0.7;
  }
  75% { 
    transform: translate(40px, -30px) scale(1.05);
    opacity: 0.75;
  }
}

@keyframes float-big-reverse {
  0%, 100% { 
    transform: translate(0, 0) rotate(45deg);
    opacity: 0.5;
  }
  50% { 
    transform: translate(-50px, 40px) rotate(55deg);
    opacity: 0.7;
  }
}

@keyframes float-rotate {
  0%, 100% { 
    transform: translate(0, 0) rotate(15deg) scale(1);
  }
  33% { 
    transform: translate(40px, -30px) rotate(30deg) scale(1.1);
  }
  66% { 
    transform: translate(-30px, 20px) rotate(0deg) scale(0.9);
  }
}

/* Linee animate grandi */
.floating-line {
  position: absolute;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(212,175,55,0.6) 20%, 
    rgba(255,215,0,0.8) 50%,
    rgba(212,175,55,0.6) 80%,
    transparent);
  box-shadow: 0 0 20px rgba(212,175,55,0.5);
}

.line-1 {
  width: 500px;
  top: 20%;
  left: -500px;
  animation: line-move-right 12s ease-in-out infinite;
}

.line-2 {
  width: 400px;
  top: 70%;
  right: -400px;
  animation: line-move-left 15s ease-in-out infinite 3s;
}

@keyframes line-move-right {
  0% { 
    left: -500px;
    opacity: 0;
  }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { 
    left: calc(100% + 100px);
    opacity: 0;
  }
}

@keyframes line-move-left {
  0% { 
    right: -400px;
    opacity: 0;
  }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { 
    right: calc(100% + 100px);
    opacity: 0;
  }
}

/* Cerchi dorati pulsanti */
.golden-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.3), transparent 70%);
  border: 2px solid rgba(212,175,55,0.4);
  animation: pulse-grow 8s ease-in-out infinite;
}

.circle-1 {
  width: 250px;
  height: 250px;
  top: 30%;
  right: 15%;
  animation-delay: 0s;
}

.circle-2 {
  width: 180px;
  height: 180px;
  bottom: 25%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes pulse-grow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

/* Griglia animata */
.architectural-grid-animated {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 99px,
      rgba(212,175,55,0.15) 99px,
      rgba(212,175,55,0.15) 100px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 99px,
      rgba(212,175,55,0.15) 99px,
      rgba(212,175,55,0.15) 100px
    );
  animation: grid-shift 40s linear infinite;
  opacity: 0.5;
}

@keyframes grid-shift {
  0% { 
    background-position: 0 0, 0 0;
  }
  100% { 
    background-position: 100px 100px, 100px 100px;
  }
}

/* ════════════════════════════════════════════════════
   CARD STEPS DINAMICHE
════════════════════════════════════════════════════ */

.step {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(212, 175, 55, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: visible;
}

.step::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, transparent, rgba(212,175,55,0.2), transparent);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s;
}

.step:hover::before {
  opacity: 1;
}

.step:hover {
  transform: translateY(-15px) scale(1.03);
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 
    0 20px 60px rgba(212, 175, 55, 0.25),
    0 0 0 4px rgba(255, 244, 204, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.98);
  z-index: 10;
}

.step-num {
  color: rgba(212, 175, 55, 0.9);
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  transition: all 0.3s;
}

.step:hover .step-num {
  color: #FFD700;
  text-shadow: 0 4px 20px rgba(255, 215, 0, 0.6);
  transform: scale(1.1);
}
