/* =========================
   BASE / GLOBAL
========================= */

html {
  font-size: 14px;
  background-color: #151515;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #151515;
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  color: #1cbbb4;
}

section {
  scroll-margin-top: 80px;
}

/* =========================
   HERO (MOBILE-FIRST, SAFE)
========================= */

.hero {
  background-color: #151515;
  padding-top: 100px; /* clears fixed navbar */
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-text {
  text-align: center;
  z-index: 2;
}

.hero h1 {
  color: #d3f526;
  font-size: clamp(2.5rem, 8vw, 6rem);
  margin-bottom: 0;
}

.herosub {
  display: block;
  color: #34e2d6;
  font-family: 'Oxygen Mono', monospace;
  font-size: clamp(0.9rem, 3vw, 1.2rem);
}

/* Hero image */
.dave {
  margin-top: 0;
}

/* =========================
   DESKTOP ENHANCEMENT ONLY
========================= */

@media (min-width: 1024px) {
  .hero-inner {
    align-items: flex-start;
  }

  .hero-text {
    text-align: left;
  }

  .hero {
    background-image: url("../img/dherrbg.webp");
    background-size: cover;
    background-position: center;
    padding-bottom: 3rem;
  }
}

/* =========================
   SECTIONS
========================= */

.alt {
  background-color: #f9f9f9;
}

.alt2 {
  background-color: #e7e7e7;
}

.contactForm {
  background-color: #151515;
  color: #ffffff;
}

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

.btn-primary {
  background-color: #1cbbb4;
  border-color: #0d6efd;
}

/* =========================
   TYPOGRAPHY SCALING
========================= */

@media (min-width: 1280px) {
  html {
    font-size: 18px;
  }
}

/* Music section Linktree button styling */
.music-links {
  margin-top: 1.5rem;
}

.music-links .btn-primary {
  background-color: #1cbbb4;
  border-color: #0d6efd;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
}

.music-links .btn-primary:hover {
  background-color: #34e2d6;
  border-color: #0d6efd;
}
/* Ensure Linktree button is visible on all devices */
.music-links {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 1rem;
    text-align: center;
    z-index: 10; /* above any overlapping element */
}

.music-links a {
    display: inline-block !important;
    color: #ffffff !important; /* ensure contrast */
    background-color: #1cbbb4 !important;
    font-weight: bold;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}

.music-links a:hover {
    background-color: #34e2d6 !important;
}