/*
 * Styles for the YungTolerantHybrid website
 * Theme: retro‑futuristic ski vibes with metallic silvers and glowing yellows
 */

/* CSS variables for easy theming */
:root {
  --dark-bg: #0a0a0c;        /* overall site background */
  --dark-bg-alt: #15181d;     /* alternate dark for sections */
  --metallic: #9c9fa3;        /* light metallic silver */
  --metallic-dark: #2d3135;   /* darker metallic */
  --neon: #fff048;            /* glowing yellow accent */
  --neon-soft: rgba(255, 240, 72, 0.4);
  --text-light: #eaecee;      /* light text color */
  --text-muted: #a7acb0;      /* muted text */
  --transition-fast: 0.2s ease-in-out;
}

/* Global resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation bar */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(6px);
}

.navbar .logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}

.nav-links a:hover {
  color: var(--neon);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Responsive navigation toggle (hamburger) */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--text-light);
  transition: transform var(--transition-fast) ease, opacity var(--transition-fast) ease;
}

.nav-toggle-label span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-label span::before {
  content: '';
  top: -8px;
}

.nav-toggle-label span::after {
  content: '';
  top: 8px;
}

/* Toggle hamburger animation */
.nav-toggle:checked + .nav-toggle-label span {
  background: transparent;
}

.nav-toggle:checked + .nav-toggle-label span::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle:checked + .nav-toggle-label span::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav menu */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-toggle-label {
    display: block;
  }
  .nav-links {
    position: fixed;
    flex-direction: column;
    background: rgba(10, 10, 12, 0.95);
    width: 100%;
    height: 100vh;
    top: 0;
    left: -100%;
    padding-top: 5rem;
    transition: left var(--transition-fast);
  }
  .nav-links li {
    margin-bottom: 2rem;
    text-align: center;
  }
  .nav-toggle:checked ~ .nav-links {
    left: 0;
  }
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
}

/* Radial glow behind the mountain range */
.glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140vmin;
  height: 80vmin;
  background: radial-gradient(
    ellipse at center top,
    var(--neon-soft) 0%,
    rgba(255, 240, 72, 0.05) 60%,
    transparent 80%
  );
  filter: blur(30px);
  z-index: 0;
  /* gentle pulsating animation to enhance retro‑futuristic glow */
  animation: pulseGlow 10s ease-in-out infinite;
}

/* Mountain SVG container */
.mountain-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
  /* slow floating animation for mountains */
  animation: floatMountains 20s ease-in-out infinite;
}

/* Hero content */
.hero-content {
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--neon);
  text-shadow: 0 0 10px rgba(255, 240, 72, 0.7);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-bg);
  background: var(--neon);
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 0 8px 3px rgba(255, 240, 72, 0.6), 0 0 15px 8px rgba(255, 240, 72, 0.3);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cta-button:hover {
  background: #fff378;
  transform: translateY(-3px);
  box-shadow: 0 0 10px 4px rgba(255, 240, 72, 0.8), 0 0 20px 10px rgba(255, 240, 72, 0.4);
}

/* Sections */
section {
  padding: 4rem 2rem;
  text-align: center;
}

section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  color: var(--neon);
  display: inline-block;
}

/* Underline effect for section headings */
section h2::after {
  content: '';
  display: block;
  width: 50%;
  height: 3px;
  background: var(--neon);
  margin: 0.5rem auto 0 auto;
}

/* Music cards container */
.music-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: linear-gradient(145deg, var(--metallic), var(--metallic-dark));
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--neon);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.btn-small {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  color: var(--dark-bg);
  background: var(--neon);
  border-radius: 20px;
  text-decoration: none;
  transition: background var(--transition-fast);
}

.btn-small:hover {
  background: #fff378;
}

/* About section styling */
.about-section {
  background: var(--dark-bg-alt);
}

.about-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Contact section styling */
.contact-section {
  background: var(--dark-bg);
}

.contact-section p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  color: var(--text-muted);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--metallic-dark);
  color: var(--neon);
  font-size: 1.3rem;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.social-icons a:hover {
  background: var(--neon);
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.1), 0 6px 12px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
  padding: 1.5rem 2rem;
  text-align: center;
  background: var(--dark-bg-alt);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% {
    transform: translate(-50%, 0%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, 0%) scale(1.1);
    opacity: 0.8;
  }
}

@keyframes floatMountains {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(15px);
  }
}