:root { --dark-bg: #121212; --dark-bg-alt: #1e1e1e; --gold: #D4AF37; --red: #C8102E; --dark-text: #e0e0e0; --white: #f5f5f5; --medium-text: #bbbbbb; --shadow: 0 10px 30px rgba(0,0,0,0.7); }
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-text-size-adjust: none; text-size-adjust: none; }
body { background-color: var(--dark-bg); color: var(--dark-text); font-family: 'Montserrat', sans-serif; line-height: 1.5; overflow-x: hidden; }
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.2; }
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
header { background: transparent; z-index: 1; position: absolute; top: 0; padding: 15px 0; width: 100%; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.header-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo img { width: 250px; }
.header-whatsapp-btn { background: linear-gradient(45deg, #25D366, #128C7E); color: white; padding: 10px 15px; font-size: 0.9rem; font-weight: 600; border-radius: 5px; text-decoration: none; display: flex; align-items: center; margin: 5px 0; }
.header-whatsapp-btn i { margin-right: 5px; }
.ad-hoc-banner { width: 100%; padding: 10px; text-align: center; font-size: 0.9rem; position: relative; z-index: 10; font-weight: 500; }
.ad-hoc-banner p { margin: 0; color: black; }
.qrmaglietta { background-color: #27ae60; }
.qrbigliettino { background-color: #3498db; }
.hero { padding: 280px 0 40px 0; text-align: center; background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)); min-height: calc(100vh - 120px); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: 1.8rem; margin-bottom: 1.5rem; color: #222; }
.hero p { font-size: 1rem; margin-bottom: 1rem; max-width: 800px; margin-left: auto; margin-right: auto; color: #555; }
.hero p strong { color: var(--red); }
.soccorso-btn { display: inline-block; background: linear-gradient(45deg, red, crimson); color: white; padding: 15px 25px; font-size: 1.2rem; font-weight: 600; border-radius: 5px; text-decoration: none; margin: 10px 5px; width: calc(100% - 40px); max-width: 300px; transition: transform 0.2s ease; position: relative; }
.soccorso-btn p { color: gold; font-size: 0.9rem !important; position: absolute; bottom: -15px; width: 100%; text-align: center; left: 0; }
.whatsapp-btn { display: inline-block; background: linear-gradient(45deg, #25D366, #128C7E); color: white; padding: 15px 25px; font-size: 1rem; font-weight: 600; border-radius: 5px; text-decoration: none; margin: 10px 5px; width: calc(100% - 40px); max-width: 300px; transition: transform 0.2s ease; }
.whatsapp-btn:hover { transform: translateY(-2px); }
.whatsapp-btn i { margin-right: 8px; }
.hero-location { font-size: 0.6rem; margin-top: 2rem; color: #E36414; }
.hero-location p { color: red; }
.hero-location a { color: #9A031E; text-decoration: none; }
.hero::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100px; background: linear-gradient(to top, var(--light-yellow), transparent); z-index: 1; }
.hero .container { position: relative; z-index: 2; }
@media (max-width: 768px) { .hero { background-position: center 30%; } .hero::before { height: 60px; } .hero p.hero-location { font-size: 0.9rem; } }
@media (min-width: 768px) { .logo { font-size: 2rem; } .header-whatsapp-btn { padding: 12px 20px; font-size: 1rem; } .hero h1 { font-size: 2.5rem; } .hero p { font-size: 1.2rem; } .hero p.hero-location { font-size: 0.9rem; } .whatsapp-btn { width: auto; display: inline-block; padding: 18px 35px; font-size: 1.1rem; } }
@media (max-width: 576px) { .header-container { flex-direction: column; align-items: center; text-align: center; gap: 10px; } .logo { margin-bottom: 5px; } .header-whatsapp-btn { margin-top: 5px; } .hero { padding-top: 200px; min-height: calc(100vh - 160px); } }
.hero-location a { background: #25D366; padding: 3px 10px; border-radius: 10px; color: white; font-size: 1.1rem; white-space: nowrap; transition: all 0.3 ease; }
.hero-location a:hover, .hero-location a:active { background: #147d3b; padding: 3px 10px; border-radius: 10px; color: white; font-size: 1.1rem; transition: all 0.3 ease; }

.features { display: flex; justify-content: center; gap: 2rem; padding: 2rem 0; background-color: #1a1a1a; }
.feature-card { background: #2d2d2d; padding: 1.5rem; border-radius: 8px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); max-width: 300px; width: 100%; transition: transform 0.3s ease; cursor: pointer; }
.feature-card:hover { transform: translateY(-5px); }
.feature-card h3 { color: #ffffff; margin-bottom: 1rem; font-size: 1.8rem; font-weight: bold; letter-spacing: -0.02em; text-transform: uppercase; font-family: 'Arial', sans-serif; }
.feature-card p { color: #cccccc; line-height: 1.6; font-size: 1.1rem; }
.price { background: crimson; border-radius: 0 0 10px 10px; color: white; text-align: center; padding: 10px; }
.price:hover { background: #ff4d4d; color: white; }
@media (max-width: 768px) { .features { flex-direction: column; align-items: center; } .feature-card { max-width: 90%; } }
.features .icon { font-size: 3rem; color: var(--gold); text-align: center; margin-bottom: 1rem; }
.features .feature-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer { background-color: #1a1a1a; color: #ffffff; padding: 20px 0; text-align: center; padding-top: 4rem; padding-bottom: 10rem; }
.footer .soccorso-btn p { position: absolute; bottom: 0; }
.indicazioni-btn { display: inline-block; background: linear-gradient(45deg, blue, royalblue); color: white; padding: 15px 25px; font-size: 1.2rem; font-weight: 600; border-radius: 5px; text-decoration: none; margin: 10px 5px; width: calc(100% - 40px); max-width: 300px; transition: transform 0.2s ease; position: relative; margin-top: -10px; }
.indicazioni-btn .title { color: white; font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.indicazioni-btn .subtitle { color: gold; font-size: 0.7rem !important; position: absolute; bottom: 2px; width: 100%; text-align: center; left: 0; }


.hero h1,
.hero p,
.features .feature-card,
.features .feature-card h3 {
    font-family: "Aldrich", sans-serif !important;
}
.hero h1 {
    font-size: 3rem;;
}

.car-section-title {
    font-family: "Monoton", "Zen Dots", sans-serif !important;
    color: #bf2844 !important;
    font-size: 3rem !important;
}
.cars-vendita-01 .car-section-title {
    color: #3c4079 !important;
}

.animated-dark-gradient {
  background: linear-gradient(45deg, #0f0f0f, #1a1a1a, #121212, #1e1e1e);
  background-size: 400% 400%;
  animation: darkGradientShift 12s ease infinite;
}

@keyframes darkGradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animated-dark-gradient {
  position: relative;
  overflow: hidden;
  background: linear-gradient(45deg, #0d0d0d, #18181b, #101012, #1f1f22);
  background-size: 400% 400%;
  animation: darkFlow 5s ease infinite;
}

/* Main gradient flow */
@keyframes darkFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Shine effect: a soft, translucent sweep */
.animated-dark-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.045) 50%,
    transparent 70%
  );
  transform: skewX(-25deg);
  animation: shineSweep 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shineSweep {
  0% { left: -100%; }
  50% { left: 140%; }
  100% { left: -100%; }
}

.car-info-01 p strong {
  background: rgba(200,0,0, 0.6);
  display: block;
  padding: 4px 8px;
  margin-left: -24px;
  margin-right: -24px;
  margin-top: 18px;
}