/* ============================================================
   DJ ARTICAL — Main Stylesheet
   HOM-145: Professional site redesign
   No framework dependencies — vanilla CSS only
   ============================================================ */

/* ── Self-hosted fonts ──────────────────────────────────────── */

/* Exo 2 — latin-ext subset, normal weight 300–700 (variable font) */
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/artical/fonts/exo2-latin-ext-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Exo 2 — latin subset, normal weight 300–700 (variable font) */
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/artical/fonts/exo2-latin-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Vermin Vibes — custom display font; font-weight range prevents UA bold
   on h1/h2/h3 causing the browser to synthesise bold and fall back */
@font-face {
  font-family: 'Vermin Vibes';
  src: url('/artical/fonts/VerminVibes.ttf') format('truetype');
  font-weight: 100 900;
  font-display: block;
}

/* Vermin Vibes — exclusively for the word "Artical" in the hero and footer.
   All other elements (DJ prefix, nav logo, section titles) use Exo 2. */
.logo-artical, .footer-artical {
  font-family: 'Vermin Vibes', sans-serif;
  font-weight: normal;
}

/* Design tokens */
:root {
  --clr-bg:          #060606;
  --clr-surface:     #0e0e0e;
  --clr-surface-2:   #141414;
  --clr-border:      #1e1e1e;
  --clr-text:        #e8e8e8;
  --clr-muted:       #555;
  --clr-green:       #00ff88;
  --clr-green-dim:   rgba(0, 255, 136, 0.12);
  --clr-orange:      #ff5500;
  --clr-orange-dim:  rgba(255, 85, 0, 0.12);
  --font-body:       'Exo 2', system-ui, sans-serif;
  --nav-h:           64px;
  --radius:          4px;
  --transition:      0.25s ease;
  --max-w:           1100px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, iframe { display: block; max-width: 100%; }

/* Visible focus ring for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--clr-green);
  outline-offset: 3px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 200;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(6, 6, 6, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--clr-border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.35rem;
  color: var(--clr-green);
  letter-spacing: 0.06em;
  text-shadow: 0 0 14px rgba(0, 255, 136, 0.55);
  user-select: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-green);
  box-shadow: 0 0 6px var(--clr-green);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--clr-text); }
.nav-links a:hover::after { width: 100%; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  border-radius: 1px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(0, 255, 136, 0.055) 0%, transparent 70%),
    var(--clr-bg);
}

/* Subtle scanline texture */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.06) 3px,
    rgba(0, 0, 0, 0.06) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* Bottom fade to page background */
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--clr-bg));
  pointer-events: none;
}

/* EQ visualiser bars (populated by JS) */
.eq-bars {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 130px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  padding: 0 5%;
  opacity: 0.18;
  z-index: 0;
}

.eq-bar {
  flex: 1;
  max-width: 10px;
  border-radius: 2px 2px 0 0;
  animation: eq-bounce var(--dur, 0.7s) ease-in-out infinite alternate;
  background: linear-gradient(to top, var(--clr-green) 0%, var(--clr-orange) 100%);
  animation-delay: var(--delay, 0s);
}

@keyframes eq-bounce {
  0%   { height: var(--min-h, 6px); }
  100% { height: var(--max-h, 60px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============================================================
   LOGO — enhanced VerminVibes design
   ============================================================ */

.logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

/* Decorative rule flanking "DJ" */
.logo-dj-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  justify-content: center;
  margin-bottom: 2px;
}

.logo-rule {
  flex: 1;
  height: 1px;
  max-width: 80px;
  background: linear-gradient(to right, transparent, var(--clr-green));
  opacity: 0.7;
}

.logo-rule.right {
  background: linear-gradient(to left, transparent, var(--clr-green));
}

.logo-dj {
  font-size: clamp(1rem, 3vw, 1.6rem);
  letter-spacing: 0.6em;
  padding-left: 0.6em; /* compensate for trailing letter-spacing */
  color: var(--clr-green);
  text-shadow:
    0 0 8px var(--clr-green),
    0 0 24px rgba(0, 255, 136, 0.5);
}

.logo-artical {
  font-family: 'Vermin Vibes', sans-serif;
  font-weight: normal;
  font-size: clamp(4rem, 15vw, 11rem);
  line-height: 0.85;
  color: #ffffff;
  text-transform: uppercase;
  animation: logo-pulse 5s ease-in-out infinite;
  will-change: text-shadow;
}

@keyframes logo-pulse {
  0%, 100% {
    text-shadow:
      0 0 15px rgba(0, 255, 136, 0.2),
      0 0 40px rgba(0, 255, 136, 0.08),
      3px 3px 0 rgba(0, 0, 0, 0.7);
  }
  50% {
    text-shadow:
      0 0 25px rgba(0, 255, 136, 0.5),
      0 0 70px rgba(0, 255, 136, 0.22),
      0 0 120px rgba(0, 255, 136, 0.08),
      3px 3px 0 rgba(0, 0, 0, 0.7);
  }
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.6rem, 1.4vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--clr-orange);
  border-top: 1px solid rgba(255, 85, 0, 0.35);
  border-bottom: 1px solid rgba(255, 85, 0, 0.35);
  padding: 7px 0;
  margin-top: 18px;
  width: 100%;
  text-align: center;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 3.5rem;
  padding: 13px 32px;
  border: 1px solid var(--clr-green);
  color: var(--clr-green);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.08);
}

.hero-cta:hover {
  background: var(--clr-green);
  color: #000;
  box-shadow: 0 0 32px rgba(0, 255, 136, 0.3);
}

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

.section {
  padding: 88px 24px;
}

.section-dark { background: var(--clr-surface); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 48px;
  letter-spacing: 0.04em;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--clr-green);
  margin-top: 14px;
  box-shadow: 0 0 10px var(--clr-green);
  border-radius: 1px;
}

/* ============================================================
   LATEST MIXES
   ============================================================ */

.mixes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.mix-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.mix-card:hover {
  border-color: rgba(0, 255, 136, 0.35);
  box-shadow: 0 0 24px rgba(0, 255, 136, 0.07);
}

.mix-label {
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--clr-border);
}

.genre-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.genre-oldskool {
  background: var(--clr-green-dim);
  color: var(--clr-green);
  border: 1px solid rgba(0, 255, 136, 0.25);
}

.genre-dnb {
  background: var(--clr-orange-dim);
  color: var(--clr-orange);
  border: 1px solid rgba(255, 85, 0, 0.25);
}

.mix-card iframe {
  width: 100%;
  border: none;
}

/* ============================================================
   SOCIAL / CONNECT
   ============================================================ */

.social-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 44px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  min-width: 140px;
  transition: border-color var(--transition), box-shadow var(--transition), color var(--transition), transform var(--transition);
  color: var(--clr-muted);
}

.social-card i { font-size: 1.75rem; }

.social-card span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.social-card:hover {
  border-color: rgba(0, 255, 136, 0.4);
  color: var(--clr-green);
  box-shadow: 0 0 24px rgba(0, 255, 136, 0.1);
  transform: translateY(-3px);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  text-align: center;
  padding: 52px 24px;
}

.footer-logo {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-dj {
  font-size: 0.95rem;
  color: var(--clr-green);
  letter-spacing: 0.25em;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.footer-artical {
  font-family: 'Vermin Vibes', sans-serif;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 24px;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--clr-border);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(6, 6, 6, 0.98);
    flex-direction: column;
    padding: 8px 0 24px;
    gap: 0;
    border-bottom: 1px solid var(--clr-border);
    z-index: 199;
  }

  .nav-links.open { display: flex; }

  .nav-links li {
    border-bottom: 1px solid var(--clr-border);
  }

  .nav-links a {
    display: block;
    padding: 16px 24px;
    font-size: 0.9rem;
    color: var(--clr-text);
  }

  .nav-links a::after { display: none; }

  .section { padding: 60px 20px; }

  .social-card { padding: 24px 28px; min-width: 100px; }

  .hero-content {
    padding-top: calc(var(--nav-h) + 24px);
  }
}

@media (max-width: 480px) {
  .logo-artical { font-size: clamp(3rem, 18vw, 5rem); }
  .social-grid { gap: 12px; }
}
