/* hero.css — layout only (ad styles moved to ads.css) */

/* ---- WRAPPER TO HOLD HERO + optional left ad ---- */
.hero-wrapper {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-top: 20px;
  min-height: 480px;
}

/* ---- HERO SECTION ---- */
.hero-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 4%; 
  gap: 50px;
  width: 100%;
}

/* LEFT SIDE TEXT */
.hero-text {
  max-width: 650px;
  margin-left: 40px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-desc {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: 32px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 25px;
  margin-top: 10px;
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent-color);
  color: #fff;
}
.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}
.btn-secondary:hover {
  background: var(--accent-color);
  color: #fff;
}

/* IMAGE */
.hero-graphic img {
  width: 700px;
  max-width: 100%;
  height: auto;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
  100% { transform: translateY(0px); }
}

/* MOBILE */
@media (max-width: 900px) {

  .hero-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 6%;
  }

  .hero-text { margin-left: 0; }

  .hero-graphic img {
    width: 360px;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-graphic img { width: 260px; }
}
/* Offset hero content so it does NOT overlap left ad */
/* Offset hero content because of LEFT sticky ad */
.hero-section {
    padding-left: 180px;  /* space for ad */
}

@media (max-width: 1100px) {
    .hero-section {
        padding-left: 40px; /* left ad hidden, smaller padding */
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-left: 20px;
    }
}
/* DEFAULT (Dark Mode) */
.btn-primary {
  background: #ffd700;
  color: #000;
}

/* Light mode override */
.light-mode .btn-primary {
  background: #000;      /* dark button */
  color: #fff;           /* white text */
}
.btn-secondary {
  border: 1px solid #ffd700;
  color: #ffd700;
}

/* Light mode override */
.light-mode .btn-secondary {
  border: 1px solid #000;
  color: #000;
}
/* Make secondary CTA visually equal to primary */
.btn-secondary {
  background: transparent;
}

/* Dark mode: filled yellow */
.btn-secondary {
  background: #ffd700;
  color: #000;
  border: none;
}

/* Light mode: filled dark */
.light-mode .btn-secondary {
  background: #000;
  color: #fff;
  border: none;
}

/* Hover consistency */
.btn-secondary:hover {
  opacity: 0.9;
}
/* Fix: prevent secondary button disappearing on hover in light mode */
.light-mode .btn-secondary:hover {
  background: #000;
  color: #fff;
  opacity: 0.9;
}

/* FINAL FIX: lock secondary CTA colors explicitly (no accent-color) */

/* Dark mode hover */
.btn-secondary:hover {
  background: #ffd700;
  color: #000;
  opacity: 0.9;
}

/* Light mode hover */
.light-mode .btn-secondary:hover {
  background: #000;
  color: #fff;
  opacity: 0.9;
}
/* ================= HERO WELCOME ================= */

.hero-welcome {
  margin-bottom: 22px;   /* space between welcome and headline */
  font-size: 1.2rem;
  font-weight: 700;
}

.hero-welcome .welcome-text {
  color: #ffd700; /* yellow symbol consistency */
}

.hero-welcome .welcome-name {
  color: #e11d48; /* red for name */
  margin-left: 6px;
}
