/* Global styles */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
  color: #fff;
  width: 100%;
  overflow-x: hidden; /* prevent horizontal scroll */
  box-sizing: border-box;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Full-page background image for desktop */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/IMG_3467.JPG') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  z-index: -2;
}

/* Page overlay */
.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(102,102,102,0.8);
  pointer-events: none;
  z-index: -1;
  transition: background-color 0.2s linear;
}

/* Mobile-specific background */
.mobile-bg {
  display: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(0,0,0,0.7);
  z-index: 10;
  box-sizing: border-box;
}

/* Logo */
.nav-logo {
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Navbar buttons */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-btn {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  background-color: #ff4444;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: transform 0.3s ease, filter 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.15) saturate(1.2);
  background-color: #ff2222;
}

/* Standard .btn */
.btn {
  display: inline-block;
  background-color: #ff4444;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
  transition: transform 0.3s ease, filter 0.3s ease, background 0.3s ease;
  text-decoration: none;
  margin-top: 1rem;
}

.btn:hover {
  transform: scale(1.05);
  filter: brightness(1.15) saturate(1.2);
  background-color: #ff2222;
}

/* Track list buttons */
.track-list button {
  width: 100%;
  background-color: #ff4444;
  color: #fff;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s ease, filter 0.3s ease, background 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  margin-bottom: 0.5rem;
}

.track-list button:hover {
  transform: scale(1.05);
  filter: brightness(1.15) saturate(1.2);
  background-color: #ff2222;
}

/* Remove bullet points for Listen section */
.track-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Hero Section */
.hero {
  height: 100vh; /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 80px; /* space for fixed navbar */
  box-sizing: border-box;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content p {
  font-size: 1.5rem;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
}

/* Section styling */
section {
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #fff;
}

/* Text boxes */
.text-box {
  background-color: rgba(0, 0, 0, 0.55);
  padding: 1.5rem 2rem;
  border-radius: 10px;
  color: #fff;
  max-width: 900px;
  width: 100%;
  line-height: 1.6;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  text-align: center;
  margin-bottom: 2rem;
}

/* Song description styling */
.song-description {
  margin-top: 1rem;
  font-style: italic;
  background-color: rgba(0,0,0,0.5);
  padding: 0.8rem 1rem;
  border-radius: 5px;
  text-align: center;
  max-width: 900px;
  line-height: 1.4;
  display: none;
}

/* Audio player styling */
audio {
  width: 100%;
  max-width: 900px;
  margin-bottom: 1rem;
  outline: none;
}

footer {
  width: 100%;
  background: rgba(0,0,0,0.7);
  padding: 2rem 0;
  display: flex;
  justify-content: center; /* centers container in footer */
  align-items: center;
}

.footer-buttons {
  display: flex;
  justify-content: center; /* center buttons inside container */
  align-items: center;
  gap: 2rem; /* spacing between buttons */
  flex-wrap: wrap; /* stack on small screens */
}

.footer-buttons a {
  display: flex; /* ensures uniform alignment */
  justify-content: center;
  align-items: center;
}



/* Contact buttons and icons */
.contact-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.icon-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 75px;
  height: 75px;
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.3s ease, filter 0.3s ease, background 0.3s ease;
  overflow: hidden;
}

.icon-btn.email-btn {
  background-color: #ff4444;
}

.icon-btn.email-btn:hover {
  transform: scale(1.1);
  filter: brightness(1.15) saturate(1.2);
  background-color: #ff2222;
}

.icon-btn.email-btn .email-icon {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.icon-btn.instagram-btn {
  background: transparent;
}

.icon-btn.instagram-btn .contact-icon {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.icon-btn.instagram-btn:hover {
  transform: scale(1.1);
  filter: brightness(1.2) saturate(1.4);
}

/* Contact form section */
.contact form {
  display: flex;
  flex-direction: column;
}

.contact form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
}

.contact form input,
.contact form textarea {
  width: 100%;
  max-width: 900px;
  padding: 0.8rem 1rem;
  border-radius: 5px;
  border: none;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact form input:focus,
.contact form textarea:focus {
  outline: 2px solid #ff4444;
}

.contact form button.btn {
  margin-top: 1rem;
  background-color: #ff4444;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  transition: transform 0.3s ease, filter 0.3s ease, background 0.3s ease;
}

.contact form button.btn:hover {
  transform: scale(1.05);
  filter: brightness(1.15) saturate(1.2);
  background-color: #ff2222;
}

.contact-description {
  max-width: 900px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  color: #fff;
  text-align: center;
  line-height: 1.5;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 60px; /* space for mobile navbar */
  }

  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1.2rem; }

  .text-box { padding: 1rem 1.5rem; }
  .navbar { padding: 0.8rem 1rem; }
  .nav-logo { font-size: 1.5rem; }
  .nav-btn { padding: 0.4rem 0.8rem; font-size: 0.9rem; }

  .icon-btn { width: 50px; height: 50px; }
  .icon-btn.email-btn .email-icon,
  .icon-btn.instagram-btn .contact-icon { width: 50px; height: 50px; }

  .btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
  .track-list button { font-size: 0.9rem; padding: 0.6rem 0.8rem; }

  .contact h2 { font-size: 2rem; }
  .contact form input,
  .contact form textarea { font-size: 0.95rem; padding: 0.6rem 0.8rem; }
  .contact form button.btn { font-size: 0.95rem; padding: 0.6rem 1.2rem; }

  body::before { display: none; }

  .mobile-bg {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/IMG_3549_mobile.JPG') no-repeat center top;
    background-size: cover;
    z-index: -2;
  }

  /* Hamburger menu */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 24px;
    cursor: pointer;
    position: relative;
    z-index: 11;
    gap: 5px;
  }

  .hamburger span {
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .hamburger span:nth-child(3) { bottom: 0; }

  .hamburger.active span:nth-child(1) { top: 50%; transform: rotate(45deg) translateY(-50%); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { bottom: auto; top: 50%; transform: rotate(-45deg) translateY(-50%); }

  /* Mobile menu overlay */
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 10;
  }

  .nav-links.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 2rem;
    padding: 1rem 0;
    width: 100%;
    text-align: center;
  }

  /* Footer & layout fixes */
  html, body {
    height: 100%;
  }

  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  main { flex: 1 0 auto; }
  footer { flex-shrink: 0; }
}
