/* =============================================
   RESET & BASE STYLES
   Removes default browser spacing/styling so
   everything looks consistent everywhere.
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Color variables — change these to restyle the whole site */
:root {
  --bg:           #0a0a0a;   /* main background */
  --surface:      #111111;   /* slightly lighter background for sections */
  --border:       #1e1e1e;   /* subtle divider lines */
  --text:         #f0f0f0;   /* main text color */
  --text-muted:   #777777;   /* dimmer text (labels, footer) */
}

/* Smooth scrolling when clicking nav links */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  /* System font stack — no external font needed */
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
}


/* =============================================
   NAVIGATION
   Fixed to the top so it stays visible on scroll.
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;                          /* stays above everything */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: rgba(10, 10, 10, 0.85);   /* semi-transparent */
  backdrop-filter: blur(12px);           /* frosted glass effect */
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease;
}

/* Nav shrinks slightly once the user scrolls down (see script.js) */
.nav.scrolled {
  padding: 0.85rem 2rem;
}

.nav-logo {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.25em;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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


/* =============================================
   HERO SECTION
   Full-screen intro with artist name.
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /*
    ---- TO ADD A BACKGROUND PHOTO ----
    1. Put your image in the /images/ folder (e.g. hero.jpg)
    2. Replace the lines below with:

       background-image: url('../images/hero.jpg');
       background-size: cover;
       background-position: center;

    3. You can add a dark overlay by keeping the ::before pseudo-element below.
  */
  background: linear-gradient(160deg, #0f0f0f 0%, #161616 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle noise texture overlay — adds depth without a photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Inline SVG noise filter — no image file needed */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/*
  clamp(min, preferred, max) — the font scales with screen width
  but never smaller than 5rem or larger than 15rem.
*/
.artist-name {
  font-size: clamp(5rem, 22vw, 15rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}


/* =============================================
   SHARED SECTION STYLES
   Applied to every <section> on the page.
   ============================================= */
section {
  padding: 6rem 2rem;
}

/* Small uppercase label above each section */
.section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
}


/* =============================================
   VIDEOS SECTION
   ============================================= */
.videos {
  background-color: var(--surface);
}

/* Auto-fit columns: fills the row, minimum 280px each */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/*
  This wrapper trick makes iframes maintain a 16:9 ratio
  on any screen size. padding-bottom: 56.25% = 9/16 = 56.25%.
*/
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* =============================================
   CONNECT / SOCIAL LINKS SECTION
   ============================================= */
.connect {
  background-color: var(--bg);
}

.social-links {
  display: flex;
  flex-wrap: wrap;         /* wraps to next line on small screens */
  justify-content: center;
  gap: 1rem;
}

/* Base button style shared by all platforms */
.social-btn {
  display: inline-block;
  padding: 0.8rem 2.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
  opacity: 0.82;
  transform: translateY(-3px);
}

/* Platform-specific colors */
.social-btn.youtube {
  background-color: #ff0000;
}

.social-btn.instagram {
  /* Instagram's official gradient */
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.soundcloud {
  background-color: #ff5500;
}


/* =============================================
   FOOTER
   ============================================= */
.footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  border-top: 1px solid var(--border);
}


/* =============================================
   FADE-IN ANIMATION (used by script.js)
   Add class="fade-in" to any element to animate it.
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =============================================
   RESPONSIVE — MOBILE (screens under 600px)
   These rules override the defaults above when
   the screen is small (phones).
   ============================================= */
@media (max-width: 600px) {

  .nav {
    padding: 1rem 1.25rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  section {
    padding: 4rem 1.25rem;
  }

  /* Stack videos vertically on phones */
  .video-grid {
    grid-template-columns: 1fr;
  }

  /* Stack social buttons vertically on phones */
  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .social-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}
