/* =======================================================
   KamalaTreats Home Stylesheet: Hero Section
   ======================================================= */

/* =======================================================
   Hero Section - LUXURY IMMERSION (From components.css)
   ======================================================= */
.hero {
  position: relative;
  color: #fff;
  padding: 10px 20px 100px;
  text-align: center;
  border-bottom: 4px solid var(--premium-gold);
  overflow: hidden;
  background: var(--champagne);
  width: 100vw;
  /* Full-width fix */
  margin-top: 0 !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  left: 0;
  right: 0;
  isolation: isolate;
  padding-top: 10px !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(244, 216, 128, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    var(--luxury-overlay);
  animation: luxuryShimmer 8s ease-in-out infinite alternate;
  z-index: -1;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  animation: luxuryFadeIn 1.8s ease-out;
  position: relative;
  z-index: 1;
  padding: 0 30px;
}

.hero-logo {
  max-width: 100%;
  width: 450px;
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
  animation: float 6s ease-in-out infinite;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--premium-gold);
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  background: linear-gradient(45deg, var(--vibrant-emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 22px;
  color: var(--deep-emerald);
  margin-bottom: 40px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.hero .btn {
  background: linear-gradient(90deg, #d4af37 0%, #ffea70 50%, #d4af37 100%);
  color: var(--deep-emerald);
  padding: 18px 42px;
  border-radius: 35px;
  text-decoration: none;
  transition: all 0.4s ease;
  display: inline-block;
  font-weight: bold;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 20px;
  margin-top: auto;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  background-size: 200% auto; /* smooth gradient scaling */
  background-position: center;
}

.hero .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.6s ease;
}

.hero .btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

.hero .btn:hover::before {
  left: 100%;
}

@keyframes luxuryShimmer {
  0% { 
    background-position: 0% 50%;
    filter: brightness(1) contrast(1.1);
  }
  50% { 
    background-position: 100% 50%;
    filter: brightness(1.2) contrast(1.2);
  }
  100% { 
    background-position: 0% 50%;
    filter: brightness(1) contrast(1.1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes luxuryFadeIn {
  from { 
    opacity: 0; 
    transform: translateY(30px) scale(0.95);
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1);
  }
}

/* Hero Particles Canvas - Gold Glitter Sparks */
#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

/* =======================================================
   MOBILE ADJUSTMENTS (Hero)
   ======================================================= */
@media (max-width: 768px) {
  .hero {
    padding: 10px 20px 80px !important;
  }
  
  .hero-inner {
    padding: 0 20px;
  }
  
  .hero-logo {
    width: 320px;
    margin-bottom: 25px;
  }
  
  .hero h1 {
    font-size: 36px;
    margin-bottom: 18px;
  }
  
  .hero p {
    font-size: 20px;
    margin-bottom: 35px;
  }
  
  .hero .btn {
    font-size: 18px;
    padding: 16px 36px;
  }

  #hero-particles {
    opacity: 0.7;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 10px 15px 60px !important;
  }
  
  .hero-logo {
    width: 250px;
    margin-bottom: 20px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  .hero .btn {
    font-size: 16px;
    padding: 14px 32px;
  }
}
