/* General Reset */
html, body, h1, h2, h3, p, ul, ol, li, figure, blockquote {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Body Styling for All Pages */
body {
  font-family: 'Rubik', sans-serif;
  line-height: 1;
  color: #fffbf2;
  padding-top: 80px;
  background-color: rgba(43, 33, 24, 1); /* fallback color */
}

/* Full Background Image for Home Page (Desktop) */
body.home-page {
  background-image: url('images/main_hero_mobile.JPG');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* Mobile view: Home page background */
@media (max-width: 768px) {
  body.home-page {
    background-image: url('images/main_hero_mobile_mobile.JPG');
    background-repeat: repeat-y;
    background-position: center 80px;
    background-size: contain;
    background-attachment: scroll;
  }

  body.inner-page {
    background-color: rgba(43, 33, 24, 1); /* plain background */
  }
}

/* Brand name font (Dancing Script) */
.name-script {
  font-family: 'Dancing Script', cursive;
  font-size: 5rem;
  font-weight: 500;
}

/* Navbar Customization */
.navbar {
  background-image: url('images/navbar.JPG');
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 3rem;
}

.navbar-nav .nav-link {
  font-size: 1.25rem;
  color: #fffbf2;
}

.navbar-nav .nav-link:hover {
  color: #897c6b;
}

.navbar-nav .nav-item {
  margin: 0 0.85rem;
}

.nav-icon {
  color: #fffbf2;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
  text-shadow: 0 0 5px rgba(0,0,0,0.6); /* makes white icons visible */
}

.nav-icon:hover {
  color: #897c6b;
}

/* Add background to .main-hero */
.main-hero {
  height: 100vh;
  background-image: url('images/main_hero_mobile_mobile.JPG');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2rem;
}

/* Desktop background override */
@media (min-width: 769px) {
  .main-hero {
    background-image: url('images/main_hero.JPG');
    background-attachment: fixed;
  }
}

.main-hero a {
  color: #fffbf2;
  text-decoration: underline;
}

.main-hero a:hover {
  color: #897c6b;
}

/* Video Section */
.mute-video {
  background: 
    url('images/backdrop_mutevideo.jpg') center center / cover no-repeat,
    url('images/main_hero.JPG') center center / cover no-repeat;
  min-height: 100vh;
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
  padding-top: 3;
  margin-top: 0;
}

.video-portrait {
  max-height: 90vh;
  width: auto;
  border-radius: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.video-credit {
  color: #34271F;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Music Section */
.music-home-section {
  position: relative;
  background-image: url('images/main_hero.JPG');
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  overflow: hidden;
}

.music-home-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(52, 39, 31, 0.6); /* dark brown overlay */
  z-index: -1;
}

.music-home-section .container,
.music-home-section .section-title,
.music-home-section .music-card {
  position: relative;
  z-index: 1;
}

.section-title a {
  font-size: 2.5rem;
  color: #fffbf2;
  text-decoration: none;
}

.section-title a:hover {
  color: #897c6b;
}

.music-card {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  overflow: hidden;
  transition: transform 0.3s ease;
  border-radius: 1rem;
}
.music-card:hover {
  transform: scale(1.02);
}

.image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* Make sure each img fills and covers the square */
.image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* prepare for the zoom transition */
  transition: transform 0.5s ease;
}


/* Overlay (same as before) */
.image-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(52, 39, 31, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.music-card:hover .image-overlay {
  opacity: 1;
}
.overlay-text-middle {
  padding: 0 1rem;
  color: #fffbf2;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.4;
}
.image-credit {
  position: absolute;
  bottom: 0.5rem;
  left: 0.75rem;
  font-size: 0.75rem;
  color: #fffbf2;
}

/* Audio bar stays at the bottom of each flex‑column card */
.audio-bar {
  padding: 0.75rem 1rem;
  background-color: rgba(52, 39, 31, 0.6);
  text-align: center;
}
.audio-bar audio {
  width: 100%;
}

/* Video section*/

.video-home-section {
  position: relative;
  background: 
    url('images/backdrop_mutevideo.jpg') center center / cover no-repeat,
    url('images/main_hero.JPG') center center / cover no-repeat;
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  overflow: hidden;
}

.video-home-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-home-section .container,
.video-home-section .section-title,
.video-home-section .music-card {
  position: relative;
  z-index: 1;
}

/* other pages */

.bio-section {
  background-color: rgba(52, 39, 31); /* light gray background */
}

.bio-box {
  background-color: rgba(52, 39, 31, 0.4);
  font-family: 'Rubik', sans-serif;
  line-height: 1.6;
} 

.video-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0; /* Prevents inner corners from overriding */
}

/* Video page*/

.video-page-section {
  position: relative;
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  overflow: hidden;
}

.video-page-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-page-section .container,
.video-page-section .section-title,
.video-page-section .music-card {
  position: relative;
  z-index: 1;
}


.credit-video-text {
  font-family: 'Rubik', sans-serif;
  color: #fffbf2;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.scroll-down-arrow {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  font-size: 2rem;
  color: white;
  animation: bounce 2s infinite;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Hide arrow when #last is the target (i.e. clicked) */
:target ~ .scroll-down-arrow {
  opacity: 0;
  visibility: hidden;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}


/* Footer */
.footer-text {
  margin-top: 1.2rem;
  margin-bottom: 0rem; !important
  font-family: 'Rubik', sans-serif;
  color: #fffbf2;
}

.footer-text .footer-link {
  color: #fffbf2;
}

.footer-text .footer-link:hover {
  color: #897c6b;
}
