/* ===========================================
   VERCAM HERO - Modern CSS
   =========================================== */

/* CSS Custom Properties */
:root {
  --vercam-primary: #43e97b;
  --vercam-secondary: #198754;
  --vercam-accent: #00b4d8;
  --vercam-dark: #0d6efd;
  --text-primary: #222;
  --text-secondary: #666;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --shadow-light: rgba(67, 233, 123, 0.07);
  --shadow-medium: rgba(67, 233, 123, 0.15);
  --shadow-strong: rgba(67, 233, 123, 0.25);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 20px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===========================================
   HERO SECTION
   =========================================== */

.hero-section {
  position: relative;
  background: linear-gradient(135deg, const(--vercam-primary) 0%, const(--vercam-secondary) 100%);
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.hero-extra-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/* ===========================================
   HERO CONTENT
   =========================================== */

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: const(--bg-white);
  letter-spacing: 1px;
  text-shadow: 0 4px 24px const(--shadow-medium);
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.1;
  position: relative;
}

.hero-section h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: const(--bg-white);
  border-radius: 2px;
  opacity: 0.8;
}

.hero-section p.lead {
  font-size: 1.375rem;
  font-weight: 500;
  color: rgb(255, 255, 255);
  margin-bottom: 2.5rem;
  text-align: center;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================================
   HERO BUTTONS
   =========================================== */

.hero-section .btn {
  font-size: 1.1875rem;
  font-weight: 700;
  border-radius: const(--border-radius-xl);
  box-shadow: 0 8px 32px const(--shadow-strong);
  transition: all const(--transition-normal);
  padding: 1rem 2.5rem;
  margin: 0 0.5rem;
  border: none;
  position: relative;
  overflow: hidden;
}

.hero-section .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.hero-section .btn:hover::before {
  left: 100%;
}

.hero-section .btn:hover {
  box-shadow: 0 12px 40px const(--shadow-strong);
  background: linear-gradient(135deg, const(--vercam-secondary) 0%, const(--vercam-primary) 100%);
  transform: translateY(-3px) scale(1.05);
}

/* ===========================================
   PARTICLES BACKGROUND
   =========================================== */

.particles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Ensure hero content sits above decorative layers */
.hero-section > .container {
  position: relative;
  z-index: 2;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(120deg, const(--vercam-primary) 0%, rgba(234, 255, 242, 0.9) 100%);
  opacity: 0.15;
  animation: floatParticle 8s infinite ease-in-out;
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-40px) scale(1.2);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* ===========================================
   SECTION SERVIZI
   =========================================== */

.section-servizi {
  padding-top: 6rem;
  padding-bottom: 6rem;
  min-height: 520px;
  background: const(--bg-light);
  position: relative;
}

.section-servizi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, const(--vercam-primary) 0%, const(--vercam-secondary) 100%);
}

/* ===========================================
   BADGE WEB3
   =========================================== */

.badge-web3 {
  font-size: 1.0625rem;
  padding: 0.625rem 1.75rem;
  border-radius: const(--border-radius-lg);
  background: linear-gradient(135deg, const(--vercam-primary) 0%, const(--vercam-accent) 100%);
  color: const(--bg-white);
  font-weight: 700;
  box-shadow: 0 4px 16px const(--shadow-medium);
  animation: badgePulse 2.5s infinite;
  position: relative;
  overflow: hidden;
}

.badge-web3::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.badge-web3:hover::before {
  left: 100%;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(67, 233, 123, 0.3);
  }
  50% {
    box-shadow: 0 0 20px 10px rgba(67, 233, 123, 0.3);
  }
}

/* ===========================================
   MOBILE RESPONSIVE DESIGN
   =========================================== */

@media (max-width: 768px) {
  .hero-section {
    min-height: 550px;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .hero-section h1 {
    font-size: 2.75rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }

  .hero-section p.lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    padding: 0 1rem;
  }

  .hero-section .btn {
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: const(--border-radius-lg);
    font-weight: 700;
    margin: 0.5rem 0.25rem;
    display: block;
    width: auto;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .badge-web3 {
    font-size: 1rem;
    padding: 0.625rem 1.5rem;
    border-radius: const(--border-radius-md);
  }

  .section-servizi {
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 480px;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .hero-section h1 {
    font-size: 2.25rem;
    letter-spacing: 0.5px;
  }

  .hero-section p.lead {
    font-size: 1.125rem;
    padding: 0 0.5rem;
  }

  .hero-section .btn {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
  }
}

/* Highlighted hero text used on homepage */
.hero-highlight {
  color: #f0f0f0;
  font-weight: 700;
  display: inline;
  padding: 0.25rem 0.5rem;
  background: transparent;
  box-shadow: none;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;

}

