/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  background-color: #000;
  font-family: 'Monda', sans-serif;
  color: #F2F2EB;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #F2F2EB; /* subtle divider line */
  background: transparent;
  z-index: 10;
  padding: 0 20px;
}

/* centered links on desktop */
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(90px, 9vw, 140px);
}

.nav-links a {
  color: #F2F2EB;
  text-decoration: none;
  font-family: 'Monda', sans-serif;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* Hover effect: glow + slight lift */
.nav-links a:hover {
  color: #8DA1A6;
  text-shadow: 0 0 8px rgba(242, 242, 235, 0.6);
  transform: translateY(-2px);
}

/* ===== BURGER MENU (CSS-ONLY) ===== */
.nav-toggle { display: none; }  /* hidden checkbox used for toggling */

.hamburger {
  position: absolute;
  right: 20px;
  top: 22px;
  width: 28px;
  height: 24px;
  display: none;                 /* shows on mobile */
  cursor: pointer;
  z-index: 11;
}
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #F2F2EB;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* ===== HERO SECTION (with looping video) ===== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: url('resources/pics/home-hero.webp') center / cover no-repeat; /* fallback image */
}

/* 🎥 Background video */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(1);
  animation: slowZoom 40s ease-in-out infinite alternate;
  opacity: 0;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-name: fadeIn, slowZoom;
  animation-duration: 1.5s, 40s;
  animation-timing-function: ease-in, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}

/* Subtle cinematic zoom effect */
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* Smooth fade-in on page load */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Gradient overlay for clarity */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ===== HERO CONTENT ===== */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;  /* space between title and button */
}

.logo {
  color: #F2F2EB;
  font-family: 'MuseoModerno', sans-serif;
  font-size: 120px;
  font-weight: 800;
  line-height: normal;
  text-shadow: 0 1px 2px rgba(0,0,0,.25), 0 0 10px rgba(255,255,255,0.3);
  margin-top: 60px;
animation: fadeInUp 1.6s ease-out forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
}

/* CTA — centered label + responsive size */
.cta-btn {
  display: flex;               /* center the text */
  align-items: center;
  justify-content: center;
  text-align: center;

  margin-top: -15px;
  width: clamp(220px, 42vw, 350px);   /* grows/shrinks responsively */
  height: clamp(36px, 5.2vh, 42px);
  font-size: clamp(14px, 3.6vw, 18px);

  background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  border: 2px solid #f5f5f5;
  color: #F2F2EB;
  font-family: 'Monda', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.cta-btn:hover { 
  background: #F2F2EB; 
  color: #8DA1A6; 
}

/* ===== RESPONSIVE NAV & HERO ===== */
@media (max-width: 1024px) {
  .nav-links { gap: 70px; }
  .logo { font-size: 80px; }
}

@media (max-width: 768px) {
  .logo { font-size: 60px; }

  /* show hamburger, collapse nav into dropdown */
  .hamburger { display: block; }

  .nav-links {
    position: absolute;
    top: 80px;               /* under the navbar */
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 20px;
    padding: 18px 24px 28px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    border-bottom: 1px solid rgba(242,242,235,0.2);
    display: none;           /* hidden until toggled */
  }

  /* open/close via checkbox */
  .nav-toggle:checked ~ .nav-links { display: flex; }

  /* animate hamburger to "X" */
  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  .nav-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  /* Remove top divider line on mobile */
  .navbar { border-bottom: none; }
  .nav-links { border-bottom: none; }
}

@media (max-width: 480px) {
  .logo { font-size: 44px; }
}

/* ===== MUSIC PAGE ===== */
.hero-music { background: linear-gradient(180deg,#0E1A38 0%, #050A1C 100%); min-height: 50vh; }
.hero-music .logo { font-size: 96px; margin-top: 40px; }
.hero-music .hero-sub { color: rgba(242,242,235,0.9); margin-top: 8px; font-size: 18px; }

/* main container */
.music-main {
  background: #283B40;
  color: #F2F2EB;
  padding: 60px 40px 110px;
}

/* intro */
.music-intro { text-align:center; margin-bottom: 36px; }
.music-intro h2 { font-family:'MuseoModerno',sans-serif; font-size:34px; margin-bottom:8px; color:#F2F2EB; }
.music-intro p { max-width:900px; margin:0 auto; color:rgba(242,242,235,0.9); font-size:15px; }

/* tracks grid */
.tracks-grid {
  max-width:1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* individual card */
.track-card {
  display:flex;
  gap:18px;
  padding:18px;
  border-radius:12px;
  background: rgba(255,255,255,0.06);
  align-items:flex-start;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
}
.track-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,0.45); }

/* art */
.track-art { width:160px; min-width:160px; height:160px; border-radius:10px; overflow:hidden; flex: 0 0 160px; }
.track-art img { width:100%; height:100%; object-fit:cover; display:block; }

/* meta */
.track-meta { display:flex; flex-direction:column; gap:12px; }
.track-title { font-family:'MuseoModerno',sans-serif; font-size:20px; margin:0; color:#F2F2EB; letter-spacing:0.4px; }
.track-desc { color: rgba(242,242,235,0.86); font-size:14px; line-height:1.6; margin:0; max-width:640px; }

/* link buttons */
.track-links { display:flex; gap:10px; flex-wrap:wrap; margin-top:6px; }
.link-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:999px;
  text-decoration:none;
  font-family:'Monda',sans-serif;
  font-weight:600;
  letter-spacing:0.6px;
  font-size:13px;
  border:2px solid rgba(242,242,235,0.16);
  color: #F2F2EB;
  background: transparent;
  transition: all .18s ease;
}
.link-btn:hover { transform: translateY(-3px); border-color: rgba(75,84,212,0.9); background: rgba(242,242,235,0.06); color:#F2F2EB; }

/* service tinting (optional) */
.link-btn.spotify { border-color: rgba(30,215,96,0.12); }
.link-btn.apple { border-color: rgba(99,99,102,0.12); }
.link-btn.youtube { border-color: rgba(255,0,0,0.12); }
.link-btn.sc { border-color: rgba(255,102,0,0.12); }

/* responsive */
@media (max-width: 1100px) {
  .tracks-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-music .logo { font-size:72px; }
}
@media (max-width: 700px) {
  .tracks-grid { grid-template-columns: 1fr; }
  .track-card { flex-direction: row; gap:14px; }
  .track-art { width:120px; height:120px; flex:0 0 120px; }
  .hero-music .logo { font-size:56px; }
}


/* ===== FOOTER ===== */
.footer {
  position: relative;
  background: url('../resources/pics/hero.webp') center/cover no-repeat;
  color: #fff;
  padding: 100px 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  margin: 0;
}

/* Centered logo */
.footer-logo {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

/* Footer inner grid */
.footer-inner {
  width: 100%;
  max-width: 1300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 80px;
}

/* Left section */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-group h3 {
  font-family: 'Monda', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #8DA1A6;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

/* Email */
.email {
  font-family: 'Monda', sans-serif;
  font-size: 14px;
  color: #F2F2EB;
  letter-spacing: 0.5px;
}
.email a {
  color: #F2F2EB;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.email a:hover {
  color: #8DA1A6; /* same blue as your section headers */
  text-shadow: 0 0 6px rgba(75, 84, 212, 0.6);
}


/* Right section */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4));
}

.contact-btn {
  border: 1.5px solid #fff;
  background: transparent;
  color: #fff;
  font-family: 'Monda', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 8px 40px;
  border-radius: 999px;
  cursor: pointer;
  width: 200px;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: #fff;
  color: #8DA1A6;
}

/* Footer bottom */
.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 60px;
}

.footer-line {
  width: 180px;
  height: 1px;
  background: #fff;
  border: none;
  margin: 0 auto 20px;
}

.footer-bottom p {
  font-size: 14px;
  letter-spacing: 0.5px;
  opacity: 0.9;
  line-height: 1.6;
}



/* ===== Responsive ===== */
@media (max-width: 900px) {
  .footer-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .footer-left {
    align-items: center;
  }

  .footer-right {
    margin-top: 30px;
  }
}
