/* =========================================
   COSMIC HERO BANNER CSS (DARK ESPRESSO)
   ========================================= */

.hero-cosmic {
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* Deep, luxurious espresso brown gradient */
  background: radial-gradient(ellipse at center, #2C1E1A 0%, #0F0A08 100%); 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px; 
}

/* --- Animated Canvas Background --- */
#constellation-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none; 
}

/* --- Content Container --- */
.hero-container {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

/* --- Left: Text Content --- */
.hero-content {
  max-width: 600px;
  animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-title {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 3.5rem;
  line-height: 1.2;
  color: #FDFBF6; /* Creamy Beige */
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.text-gradient {
  /* Rich Gold and Copper Gradient */
  background: linear-gradient(to right, #D4AF37, #C78D6A, #F9F1D8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.5));
}

.hero-description {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 1.1rem;
  color: #C2B4AE; /* Soft, light taupe/grey */
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 90%;
}

/* --- Custom Premium Buttons --- */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 16px 36px;
  border-radius: 4px; /* Slight rounding for a premium feel */
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
}

/* Primary Button: Solid Gold/Copper */
.hero-btn-primary {
  background: linear-gradient(135deg, #C78D6A, #AA4E35);
  color: #0F0A08; /* Darkest brown text */
  border: 1px solid #C78D6A;
  box-shadow: 0 4px 15px rgba(199, 141, 106, 0.2);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(199, 141, 106, 0.4);
  background: linear-gradient(135deg, #D59B78, #B85B42);
}

/* Secondary Button: Outlined Cream */
.hero-btn-secondary {
  background-color: transparent;
  color: #FDFBF6; /* Cream text */
  border: 1px solid rgba(253, 251, 246, 0.6);
}

.hero-btn-secondary:hover {
  background-color: #FDFBF6;
  color: #0F0A08; /* Inverts to dark text */
  border-color: #FDFBF6;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(253, 251, 246, 0.15);
}

/* --- Right: Rotating Visual --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  /* Soft golden glow behind the wheel */
  background: radial-gradient(circle, rgba(199, 141, 106, 0.15) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.rotating-zodiac {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 550px;
  height: auto;
  object-fit: contain;
  animation: spinSlowly 60s linear infinite;
  /* Adds a subtle drop shadow to make the image pop off the dark bg */
  filter: drop-shadow(0 0 20px rgba(0,0,0,0.5)); 
}

.rotating-zodiac[src]:not([src="YOUR-IMAGE-URL.png"]) + .visual-fallback {
  display: none;
}

.visual-fallback {
  position: absolute;
  z-index: 1;
  font-family: var(--font-body);
  color: #C78D6A;
  border: 1px dashed #C78D6A;
  padding: 4rem;
  border-radius: 50%;
  opacity: 0.5;
}

/* --- Animations --- */
@keyframes spinSlowly {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .hero-container { gap: 2rem; }
}

@media (max-width: 768px) {
  .hero-cosmic {
    min-height: auto;
    padding: 120px 0 4rem 0;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  
  .hero-content { margin: 0 auto; }
  .hero-description { margin: 0 auto 2.5rem auto; }
  .hero-buttons { justify-content: center; flex-wrap: wrap; }
  
  .visual-glow { width: 400px; height: 400px; }
}