/* ================================================================
   MOUKI MUSIC – Main Stylesheet
   Fonts: Waverly CF (add files to /fonts/) → falls back to Josefin Sans
          Manrope (Google Fonts)
   Palette: Cream #fff6dd | Dark #3b3b3b | Near-black #0b0f11
   ================================================================ */

/* ── Waverly CF @font-face (add .woff2 / .woff files to /fonts/) ── */
@font-face {
  font-family: 'Waverly CF';
  src: url('../fonts/WaverlyCF-Bold.woff2') format('woff2'),
       url('../fonts/WaverlyCF-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Waverly CF';
  src: url('../fonts/WaverlyCF-Medium.woff2') format('woff2'),
       url('../fonts/WaverlyCF-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Waverly CF';
  src: url('../fonts/WaverlyCF-ExtraBold.woff2') format('woff2'),
       url('../fonts/WaverlyCF-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ── Variables ── */
:root {
  --cream: #fff6dd;
  --dark:  #3b3b3b;
  --black: #0b0f11;
  --white: #ffffff;
  --font-display: 'Waverly CF', 'Josefin Sans', sans-serif;
  --font-body:    'Manrope', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--cream); overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }


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

.hero {
  position: relative;
  background: var(--cream);
}

/* Photo occupies the top portion on mobile */
.hero-img-wrap {
  position: relative;
  width: 100%;
  height: 56vw;
  min-height: 280px;
  max-height: 520px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(101.5deg, rgba(0,0,0,0.65) 5%, rgba(102,102,102,0) 40%);
}

/* ── Navigation ── */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  height: 96px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { width: 50px; height: auto; }

.nav-links {
  display: none;
  gap: 32px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
}
.nav-links a:hover { opacity: 0.75; }

.nav-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-social {
  display: none;
  gap: 12px;
  align-items: center;
}
.nav-social a {
  display: flex;
  align-items: center;
  width: 32px;
  height: 32px;
  transition: opacity 0.2s;
}
.nav-social a:hover { opacity: 0.75; }
.nav-social img { width: 100%; height: 100%; }

.hamburger {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger img { width: 28px; height: auto; }

/* ── Mobile menu ── */
.mobile-menu {
  position: absolute;
  top: 96px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(11,15,17,0.95);
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.mobile-menu.open {
  max-height: 200px;
  padding: 12px 24px;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ── Upcoming Shows (cream area on mobile) ── */
.hero-shows {
  padding: 28px 24px 24px;
}

.shows-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 20px;
}

.show-entry {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.show-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--dark);
}

.show-bullet {
  width: 5px;
  height: 5px;
  background: var(--dark);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.btn-show {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  height: 44px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-show:hover { opacity: 0.8; }

/* ── Hero wave ── */
.hero-wave {
  line-height: 0;
}
.hero-wave img {
  width: 100%;
  height: auto;
  display: block;
}


/* ================================================================
   MUSIC / DISCOGRAPHY
   ================================================================ */

.music {
  background: var(--cream);
  padding-top: 40px;
  position: relative;
}

.music-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
  padding: 0 24px;
}
.music-logo img { height: 110px; width: auto; }

/* Horizontal scroll on mobile */
.discography-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.discography-scroll::-webkit-scrollbar { display: none; }

.discography {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  padding: 0 24px 20px;
  width: max-content;
}

/* Album card */
.album {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.album-side     { width: 170px; }
.album-featured { width: 220px; }

.album-art-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.album-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Coming-soon overlay icon */
.album-coming-wrap { position: relative; }
.coming-soon-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20%;
  height: auto;
  pointer-events: none;
}

.album-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
  color: var(--dark);
  line-height: 1.4;
}
.album-featured .album-name { font-size: 15px; }

.album-links {
  display: flex;
  gap: 14px;
  align-items: center;
}

.stream-btn {
  display: flex;
  align-items: center;
  width: 44px;
  height: 44px;
  transition: opacity 0.2s;
}
.album-featured .stream-btn { width: 52px; height: 52px; }
.stream-btn:hover { opacity: 0.8; }
.stream-btn img { width: 100%; height: 100%; }

/* Dots */
.music-dots {
  display: flex;
  justify-content: center;
  padding: 12px 0 36px;
}
.music-dots img { height: 8px; width: auto; }


/* ================================================================
   MUSIC VIDEO
   ================================================================ */

.video-section {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* Blurred photo background via pseudo-element */
.video-section::before {
  content: '';
  position: absolute;
  inset: -40px;           /* extend to hide blur edge artifacts */
  background-image: url('../images/video-section-bg.jpg');
  background-size: cover;
  background-position: center top;
  filter: blur(18px);
  opacity: 0.45;
  z-index: 0;
}

/* All children sit above the blurred bg */
.video-section > * {
  position: relative;
  z-index: 1;
}

/* Top wave: rotated so the cream shape's bumps form the curved music→video boundary */
.wave-top {
  line-height: 0;
  transform: rotate(180deg);
  margin-top: -2px;
}
.wave-top img { width: 100%; display: block; }

.video-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 24px 48px;
}

/* 16:9 responsive iframe */
.video-embed-wrap {
  width: 100%;
  max-width: 820px;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}
.video-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  line-height: 1.4;
}

/* Bottom wave: natural orientation creates the curved video→about boundary */
.wave-bottom {
  line-height: 0;
  margin-bottom: -2px;
}
.wave-bottom img { width: 100%; display: block; }


/* ================================================================
   ABOUT
   ================================================================ */

.about {
  background: var(--cream);
  position: relative;
}

/* Mobile: text panel on cream bg, photo panel below */
.about-text-panel {
  padding: 48px 24px 40px;
  text-align: center;
}

.about-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 24px;
}

.about-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.9;
  color: var(--dark);
  max-width: 400px;
  margin: 0 auto;
}
.about-body p + p { margin-top: 18px; }

.about-photo-panel {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: var(--black);
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.about-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(0,0,0,0.35) 0%, rgba(102,102,102,0) 60%);
}


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

.footer {
  background: var(--cream);
  padding: 28px 24px 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo-link { display: block; }
.footer-logo { height: 58px; width: auto; }

.footer-copy {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--dark);
  text-align: center;
  line-height: 1.4;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-social a {
  display: flex;
  width: 32px;
  height: 32px;
  transition: opacity 0.2s;
}
.footer-social a:hover { opacity: 0.6; }
.footer-social img { width: 100%; height: 100%; }


/* ================================================================
   DESKTOP  (≥ 768px)
   ================================================================ */

@media (min-width: 768px) {

  /* Hero: full-viewport dark photo bg */
  .hero {
    height: 100vh;
    min-height: 700px;
    max-height: 1100px;
    background: var(--black);
  }

  .hero-img-wrap {
    position: absolute;
    inset: 0;
    height: 100%;
    max-height: none;
    min-height: none;
  }

  .hero-overlay {
    background: linear-gradient(101.5deg, rgba(0,0,0,0.75) 5%, rgba(102,102,102,0) 34%);
  }

  /* Nav */
  .nav {
    padding: 24px 40px;
    height: 122px;
  }
  .nav-logo { width: 60px; }
  .nav-links { display: flex; }
  .nav-title { font-size: 32px; }
  .nav-social { display: flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }

  /* Shows: overlaid at bottom-left of hero */
  .hero-shows {
    position: absolute;
    bottom: 110px;
    left: 93px;
    width: 360px;
    padding: 0;
  }
  .shows-heading {
    font-size: 30px;
    color: var(--white);
    margin-bottom: 32px;
  }
  .show-entry { gap: 20px; }
  .show-meta {
    color: var(--white);
    font-size: 22px;
    gap: 10px;
  }
  .show-bullet { background: var(--white); }
  .btn-show {
    background: rgba(255,255,255,0.3);
    font-size: 20px;
    border: 1px solid rgba(255,255,255,0.4);
  }
  .btn-show:hover {
    background: rgba(255,255,255,0.45);
    opacity: 1;
  }

  /* Hero wave: absolute at section bottom */
  .hero-wave {
    position: absolute;
    left: -1%;
    right: -1%;
    bottom: -2px;
    z-index: 5;
  }

  /* Music */
  .music { padding-top: 50px; }
  .music-logo { margin-bottom: 48px; }
  .music-logo img { height: 168px; }

  /* Full 3-column on desktop */
  .discography-scroll { overflow-x: visible; }
  .discography {
    width: auto;
    justify-content: center;
    align-items: flex-end;
    gap: 80px;
    padding: 0 40px 20px;
  }
  .album-side     { width: 301px; }
  .album-featured { width: 399px; }
  .album-name { font-size: 18px; }
  .album-featured .album-name { font-size: 26px; }
  .stream-btn { width: 56px; height: 56px; }
  .album-featured .stream-btn { width: 68px; height: 68px; }
  .album-links { gap: 24px; }

  /* Video */
  .video-inner {
    padding: 60px 40px 80px;
    gap: 40px;
  }
  .video-title { font-size: 28px; }

  /* About: photo covers full section, text overlaid at left */
  .about {
    min-height: 700px;
    background: var(--black);
    overflow: hidden;
  }

  .about-photo-panel {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .about-text-panel {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 100px 60px 100px 116px;
    width: 540px;
    max-width: 55%;
  }

  .about-heading {
    font-size: 24px;
    color: var(--white);
  }

  .about-body {
    font-size: 22px;
    line-height: 1.65;
    color: var(--white);
    font-weight: 400;
    max-width: none;
    margin: 0;
  }

  .about-photo-overlay {
    background: linear-gradient(229deg, rgba(0,0,0,0.3) 0%, rgba(102,102,102,0) 68%),
                linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 55%);
  }

  /* Footer: single horizontal row */
  .footer { padding: 0 40px; height: 96px; }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 16px;
  }
  .footer-copy { font-size: 14px; }
}


/* ================================================================
   LARGE DESKTOP  (≥ 1200px)
   ================================================================ */

@media (min-width: 1200px) {
  .discography { gap: 98px; }
  .about-text-panel { padding: 110px 80px 110px 116px; }
}
