/* ============================================
   DJ ChocliXxX — Visual Refresh 2025
   Dark Neon / Vinyl Aesthetic
   ============================================ */

/* === DESIGN TOKENS === */
:root {
  --c-cyan:   #00CED1;
  --c-purple: #8B5CF6;
  --c-amber:  #F59E0B;
  --c-black:  #080808;
  --c-dark:   #111111;
  --glow-cyan:   0 0 8px rgba(0,206,209,0.9), 0 0 20px rgba(0,206,209,0.4), 0 0 40px rgba(0,206,209,0.15);
  --glow-purple: 0 0 8px rgba(139,92,246,0.9), 0 0 20px rgba(139,92,246,0.4);
}

/* === BASE === */
body {
  background-color: var(--c-black);
  overflow-x: hidden;
}

/* === NAVBAR === */
#mainNav {
  background: rgba(8,8,8,0.5) !important;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(0,206,209,0.1);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

#mainNav.navbar-shrink {
  background: rgba(8,8,8,0.93) !important;
  border-bottom-color: rgba(0,206,209,0.25);
  box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

/* Override the white navbar-shrink from base theme */
#mainNav.navbar-shrink .navbar-brand,
#mainNav.navbar-shrink .nav-link {
  color: rgba(255,255,255,0.85) !important;
}

.navbar-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(0,206,209,0.7));
  transition: filter 0.3s ease;
}

.navbar-logo:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 14px rgba(0,206,209,1)) drop-shadow(0 0 28px rgba(0,206,209,0.5));
}

#mainNav .nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.35rem;
  transition: color 0.25s ease;
}

#mainNav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--c-cyan);
  box-shadow: var(--glow-cyan);
  border-radius: 2px;
  transition: width 0.3s ease;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--c-cyan) !important;
  text-shadow: 0 0 8px rgba(0,206,209,0.5);
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
  width: 70%;
}

/* === MASTHEAD === */
.masthead {
  position: relative;
  overflow: hidden;
  background: var(--c-black) url("../assets/img/bg-masthead.jpg") center 30% / cover no-repeat !important;
}

/* Darkening + color overlay */
.masthead::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,8,8,0.90) 0%,
    rgba(0,206,209,0.05) 45%,
    rgba(139,92,246,0.10) 65%,
    rgba(8,8,8,0.93) 100%
  );
  z-index: 1;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.masthead-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 35rem;
  padding: 7rem 2rem 5rem;
  text-align: center;
}

@media (min-width: 992px) {
  .masthead-content {
    min-height: 100vh;
  }
}

/* Hero logo */
.hero-logo-wrap {
  margin-bottom: 1.5rem;
}

.hero-logo-img {
  height: 90px;
  width: auto;
  filter: brightness(0) invert(1)
    drop-shadow(0 0 10px rgba(0,206,209,0.9))
    drop-shadow(0 0 30px rgba(0,206,209,0.4));
  animation: logo-pulse 3.5s ease-in-out infinite;
}

@media (min-width: 992px) {
  .hero-logo-img {
    height: 130px;
  }
}

@keyframes logo-pulse {
  0%, 100% {
    filter: brightness(0) invert(1)
      drop-shadow(0 0 10px rgba(0,206,209,0.8))
      drop-shadow(0 0 30px rgba(0,206,209,0.3));
  }
  50% {
    filter: brightness(0) invert(1)
      drop-shadow(0 0 18px rgba(0,206,209,1))
      drop-shadow(0 0 55px rgba(0,206,209,0.6))
      drop-shadow(0 0 90px rgba(139,92,246,0.3));
  }
}

/* === GLITCH TITLE === */
.glitch-title {
  font-family: 'Bebas Neue', 'Varela Round', sans-serif;
  font-size: clamp(2.8rem, 9vw, 7.5rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  position: relative;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.glitch-title::before {
  color: var(--c-cyan);
  clip-path: polygon(0 15%, 100% 15%, 100% 40%, 0 40%);
  animation: glitch-a 5.5s infinite;
}

.glitch-title::after {
  color: var(--c-purple);
  clip-path: polygon(0 62%, 100% 62%, 100% 86%, 0 86%);
  animation: glitch-b 5.5s infinite;
}

@keyframes glitch-a {
  0%, 85%, 100% { opacity: 0; transform: none; }
  87%  { opacity: 1; transform: translateX(-4px) skewX(-3deg); }
  89%  { opacity: 0; }
  91%  { opacity: 0.8; transform: translateX(4px); }
  93%  { opacity: 0; }
}

@keyframes glitch-b {
  0%, 87%, 100% { opacity: 0; transform: none; }
  89%  { opacity: 1; transform: translateX(4px) skewX(3deg); }
  91%  { opacity: 0; }
  93%  { opacity: 0.7; transform: translateX(-3px); }
  95%  { opacity: 0; }
}

/* === HERO TAGLINE === */
.hero-tagline {
  font-family: 'Varela Round', sans-serif;
  font-size: clamp(0.65rem, 2vw, 0.9rem);
  color: var(--c-cyan);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  margin: 0.75rem 0 2rem;
  text-shadow: 0 0 18px rgba(0,206,209,0.6);
  animation: neon-flicker 7s infinite;
}

@keyframes neon-flicker {
  0%, 92%, 100% { opacity: 1; }
  93%  { opacity: 0.55; }
  94%  { opacity: 1; }
  96%  { opacity: 0.35; }
  97%  { opacity: 1; }
}

/* === EQUALIZER BARS === */
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  margin-bottom: 2.25rem;
}

.eq-bar {
  width: 5px;
  min-height: 4px;
  height: 4px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--c-cyan) 0%, var(--c-purple) 100%);
  box-shadow: 0 0 6px rgba(0,206,209,0.5);
  animation: eq-pulse var(--dur, 0.7s) ease-in-out infinite alternate;
  animation-delay: var(--del, 0s);
}

@keyframes eq-pulse {
  from {
    height: 4px;
    opacity: 0.45;
    box-shadow: 0 0 4px rgba(0,206,209,0.25);
  }
  to {
    height: var(--h, 40px);
    opacity: 1;
    box-shadow: 0 0 10px rgba(0,206,209,0.8), 0 0 20px rgba(139,92,246,0.3);
  }
}

/* === HERO CTA BUTTONS === */
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-neon {
  display: inline-block;
  padding: 0.65rem 2rem;
  font-family: 'Varela Round', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  border: 1.5px solid transparent;
  outline: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-neon-primary {
  background: var(--c-cyan);
  color: #000;
  border-color: var(--c-cyan);
  box-shadow: 0 0 15px rgba(0,206,209,0.5), 0 4px 15px rgba(0,0,0,0.4);
}

.btn-neon-primary:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 0 30px rgba(0,206,209,0.9), 0 0 60px rgba(0,206,209,0.4);
  transform: translateY(-3px);
}

.btn-neon-outline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.3);
}

.btn-neon-outline:hover {
  color: var(--c-cyan);
  border-color: var(--c-cyan);
  box-shadow: 0 0 20px rgba(0,206,209,0.3), inset 0 0 20px rgba(0,206,209,0.05);
  transform: translateY(-3px);
}

/* === SPINNING VINYL === */
.vinyl-container {
  position: absolute;
  right: 5%;
  bottom: 8%;
  z-index: 3;
  opacity: 0.28;
  pointer-events: none;
}

@media (max-width: 768px) {
  .vinyl-container {
    right: -8%;
    bottom: 4%;
    opacity: 0.12;
  }
}

.vinyl-disc {
  width: 280px;
  height: 280px;
  animation: vinyl-spin 5s linear infinite;
  filter: drop-shadow(0 0 24px rgba(0,206,209,0.25));
}

@media (min-width: 1200px) {
  .vinyl-disc {
    width: 380px;
    height: 380px;
  }
}

@keyframes vinyl-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* === ABOUT SECTION === */
.about-section {
  background: linear-gradient(to bottom, #000 0%, #08080a 100%) !important;
  padding-top: 5rem !important;
  padding-bottom: 5rem;
}

.about-section .section-eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.5em;
  color: var(--c-cyan);
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(0,206,209,0.5);
  margin-bottom: 0.6rem;
}

.about-section h2.text-white {
  font-family: 'Bebas Neue', 'Varela Round', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.1em;
}

/* Animated neon-border photo frame */
.about-photo-frame {
  position: relative;
  display: inline-block;
  margin-top: 2.5rem;
  border-radius: 6px;
  padding: 3px;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-purple), var(--c-amber), var(--c-cyan));
  background-size: 300% 300%;
  animation: grad-border 5s linear infinite;
}

@keyframes grad-border {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.about-photo-frame img {
  display: block;
  border-radius: 4px;
  width: 100%;
  max-width: 680px;
}

/* === PROJECTS SECTION === */
.projects-section {
  background: #08080b !important;
  padding: 5rem 0 !important;
}

.projects-section .featured-text {
  border-left: 3px solid var(--c-cyan) !important;
  box-shadow: -8px 0 28px rgba(0,206,209,0.12) !important;
}

.projects-section .featured-text h4 {
  font-family: 'Bebas Neue', 'Varela Round', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1.2rem;
}

.projects-section .text-black-50 {
  color: rgba(255,255,255,0.5) !important;
}

.projects-section .featured-text a {
  color: rgba(255,255,255,0.6) !important;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  display: inline-block;
  position: relative;
  padding-right: 1.2em;
}

.projects-section .featured-text a::after {
  content: '›';
  position: absolute;
  right: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
}

.projects-section .featured-text a:hover {
  color: var(--c-cyan) !important;
  text-shadow: 0 0 10px rgba(0,206,209,0.5);
  padding-right: 1.6em;
}

.projects-section .featured-text a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Video with neon frame */
.video-frame {
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 0 0 2px rgba(0,206,209,0.3),
    0 0 40px rgba(0,206,209,0.08),
    0 20px 60px rgba(0,0,0,0.6);
}

/* === SIGNUP SECTION === */
.signup-section {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7) 70%, #000 100%),
    url("../assets/img/bg-signup.jpg") center / cover no-repeat !important;
}

/* === CONTACT SECTION === */
.contact-section.bg-black {
  background: #080808 !important;
  padding-bottom: 3rem;
}

.contact-section .card {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-bottom: 2px solid var(--c-cyan) !important;
  backdrop-filter: blur(10px);
  border-radius: 6px;
  transition: all 0.35s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.contact-section .card:hover {
  transform: translateY(-5px);
  border-bottom-color: var(--c-purple) !important;
  box-shadow: 0 12px 40px rgba(0,206,209,0.12), 0 0 0 1px rgba(0,206,209,0.08);
  background: rgba(255,255,255,0.05) !important;
}

.contact-section .card h4,
.contact-section .card .h4 {
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.contact-section .card hr {
  border-color: var(--c-cyan) !important;
  opacity: 0.5;
}

.contact-section .card .fas {
  color: var(--c-cyan) !important;
  font-size: 1.4rem;
  filter: drop-shadow(0 0 6px rgba(0,206,209,0.7));
}

.contact-section .card .small,
.contact-section .card .text-black-50 {
  color: rgba(255,255,255,0.5) !important;
}

.contact-section .card a {
  color: var(--c-cyan) !important;
  text-decoration: none;
  transition: all 0.2s;
}

.contact-section .card a:hover {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(0,206,209,0.8);
}

/* Photo credit */
.photo-credit {
  display: block;
  margin-top: 2rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25) !important;
}

.photo-credit a {
  color: rgba(255,255,255,0.35) !important;
  text-decoration: none;
  transition: color 0.2s;
}

.photo-credit a:hover {
  color: var(--c-cyan) !important;
}

/* === FOOTER === */
footer.footer.bg-black {
  background: #050505 !important;
  border-top: 1px solid rgba(0,206,209,0.08);
  padding: 1.75rem 0;
  color: rgba(255,255,255,0.2) !important;
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.reveal-stagger:nth-child(1) { transition-delay: 0s; }
.reveal-stagger:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger:nth-child(3) { transition-delay: 0.24s; }
