/* ============================================================
   Hii5 Radio — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@1,400;1,700&display=swap');

/* ---- VARIABLES ---- */
:root {
  --accent: #E74C3C;
  --accent-dim: rgba(231,76,60,0.18);
  --accent-border: rgba(231,76,60,0.25);
  --gold: #D4A84B;
  --white: #F5F2EE;
  --muted: rgba(245,242,238,0.55);
  --dark: #0E0E0E;
  --surface: #161616;
  --surface2: #1E1E1E;
  --border: rgba(255,255,255,0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* ---- NAV ---- */
nav.site-header,
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5%;
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
}

.logo-sub {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}

/* WordPress nav menu overrides */
#primary-menu,
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#primary-menu li a,
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

#primary-menu li a:hover,
.nav-links a:hover { color: var(--white); }

/* Hide WP sub-menus in this theme */
#primary-menu .sub-menu { display: none; }

.nav-live {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-live:hover { opacity: 0.85; }

.live-dot {
  width: 7px; height: 7px;
  background: white;
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 6% 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,14,14,0.45) 0%,
    rgba(14,14,14,0.3) 30%,
    rgba(14,14,14,0.75) 65%,
    rgba(14,14,14,0.97) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-logo {
  width: 80px; height: 80px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.hero-logo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 10vw, 120px);
  line-height: 0.92;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 12px;
}

.hero-title em {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(22px, 3.5vw, 42px);
  letter-spacing: 4px;
  color: var(--gold);
  margin-top: 6px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245,242,238,0.7);
  max-width: 500px;
  margin: 20px 0 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(245,242,238,0.3);
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-ghost:hover {
  border-color: rgba(245,242,238,0.7);
  background: rgba(245,242,238,0.06);
}

/* ---- PLAYER BAR ---- */
.player-bar {
  position: relative;
  z-index: 10;
  margin: 0 5% 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}

.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.player-station {
  display: flex;
  align-items: center;
  gap: 14px;
}

.station-visual {
  width: 52px; height: 52px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.station-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.station-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--white);
}

.station-info p {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.on-air-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(231,76,60,0.12);
  border: 1px solid rgba(231,76,60,0.35);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
}

.wave-bar {
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
  opacity: 0.8;
}

.wave-bar:nth-child(1) { animation-delay: 0s; height: 40%; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; height: 70%; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 100%; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; height: 60%; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; height: 85%; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; height: 45%; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; height: 75%; }
.wave-bar:nth-child(8) { animation-delay: 0.7s; height: 55%; }
.wave-bar:nth-child(9) { animation-delay: 0.8s; height: 90%; }
.wave-bar:nth-child(10) { animation-delay: 0.9s; height: 40%; }
.wave-bar:nth-child(11) { animation-delay: 1.0s; height: 65%; }
.wave-bar:nth-child(12) { animation-delay: 1.1s; height: 80%; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 0.9; }
}

.wave-bar.paused { animation-play-state: paused; }

.player-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.play-btn {
  width: 52px; height: 52px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  font-size: 18px;
  flex-shrink: 0;
  color: white;
}

.play-btn:hover { opacity: 0.85; transform: scale(1.06); }

.volume-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 160px;
}

.volume-icon {
  color: var(--muted);
  display: flex;
  align-items: center;
}

.volume-icon svg { width: 16px; height: 16px; fill: currentColor; }

.volume-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  background: var(--white);
  border-radius: 50%;
  cursor: pointer;
}

.stream-info {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-align: right;
}

.stream-info span {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
}

/* ---- SECTION COMMON ---- */
.site-main section,
section {
  position: relative;
  z-index: 1;
  padding: 80px 5%;
}

.section-label {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--white);
}

.section-title em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--muted);
  font-size: 0.75em;
}

.divider {
  width: 40px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 48px;
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 300;
}

.about-text strong { color: var(--white); font-weight: 500; }

.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 2px;
}

.mission-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

.mission-block {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.mission-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.mission-block h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 8px;
}

.mission-block p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}

/* ---- FOCUS AREAS ---- */
.focus-section {
  background: var(--surface);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.focus-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}

.focus-card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-3px);
}

.focus-card-bar {
  width: 28px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 14px;
}

.focus-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 8px;
}

.focus-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ---- PROGRAMS ---- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.program-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.program-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.program-card:hover::after { transform: scaleX(1); }
.program-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }

.program-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 14px;
}

.program-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 10px;
}

.program-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}

/* ---- STREAM CTA ---- */
.stream-cta {
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stream-cta h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 7vw, 86px);
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 14px;
}

.stream-cta p {
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
  font-weight: 300;
}

.platform-chips {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--muted);
  transition: all 0.3s;
  text-transform: uppercase;
}

.chip:hover {
  border-color: rgba(255,255,255,0.18);
  color: var(--white);
}

/* ---- FOOTER ---- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 60px 5% 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  max-width: 300px;
  margin-bottom: 18px;
}

.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 20px;
}

/* WordPress nav menu in footer */
.footer-col ul,
.footer-col .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li,
.footer-col .menu li { margin-bottom: 10px; }

.footer-col ul li a,
.footer-col .menu li a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 300;
}

.footer-col ul li a:hover,
.footer-col .menu li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(245,242,238,0.3);
  letter-spacing: 1px;
}

.footer-bottom p span { color: var(--accent); }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  #primary-menu { display: none; }
  .hero { align-items: flex-start; padding-bottom: 70px; }
}

@media (max-width: 600px) {
  .player-bar { padding: 20px 18px; margin: 0 3% 60px; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 4%; }
  .player-controls { gap: 12px; }
  .hero { padding-left: 5%; padding-right: 5%; }
}

/* ---- WP ADMIN BAR OFFSET ---- */
.admin-bar #site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}
