/* =========================
   Global Styles
========================= */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  /* Background image with overlay */
  background: 
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url('images/background.jpg') center/cover no-repeat fixed;
  color: white;
}


/* Logo in header */
header .logo {
  max-height: 75px;      /* adjust size as needed */
  width: auto;
  display: block;
  margin: 0 auto;        /* center the logo */
}

/* Keyboard focus outline for accessibility */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* =========================
   Header
========================= */
header {
  background: rgba(0,0,0,0.8);
  color: white;
  text-align: center;
  padding: 1rem;
}

header h1 {
  margin: 0;
}

nav {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;  
  flex-wrap: wrap;          
  gap: 0.5rem;              
}

nav a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  background: rgba(45, 45, 45, 0.8);
  border-radius: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

nav a:hover, nav a:focus {
  background: #ff1493;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

nav a.active {
  background: #ff69b4;
  color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

/* =========================
   Main Content
========================= */
main {
  flex: 1;
  width: 900px;
  max-width: 90%;
  margin: 2rem auto;
  background: rgba(0,0,0,0.6);
  color: white;
  text-align: center;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Headings & Paragraphs */
main h2 {
  margin-top: 0;
  color: white;
}

main p {
  line-height: 1.6;
  color: white;
}

/* =========================
   Page Banner Images
========================= */
.page-banner {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: block;
  background: black; /* optional for spacing */
}

/* =========================
   Forms (Contact Page)
========================= */
form label {
  display: block;
  margin: 0.5rem 0;
  color: white;
}

input, textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.3rem;
  border-radius: 4px;
  border: none;
}

button {
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  border: none;
  border-radius: 5px;
  background: #2f2f2f;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover, button:focus {
  background: #ff1493;
  transform: scale(1.05);
}

/* =========================
   Footer
========================= */
footer {
  background: rgba(0,0,0,0.8);
  color: white;
  text-align: center;
  padding: 1rem;
  flex-shrink: 0;
}

/* =========================
   Music Slider
========================= */
.music-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide-container {
  position: relative;
  width: 100%;
  max-width: 800px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 105, 180, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.arrow.left { left: -20px; }
.arrow.right { right: -20px; }

#musicContent {
  margin-top: 1rem;
  text-align: center;
  line-height: 1.4;
}

/* =========================
   Responsive Design
========================= */
@media screen and (max-width: 960px) {
  main {
    width: 90%;
    padding: 1.5rem;
  }

  nav a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 600px) {
  header h1 {
    font-size: 1.5rem;
  }

  nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
  }

  nav a {
    flex: 1 1 auto;
    min-width: 100px;
    text-align: center;
    padding: 0.5rem 0.8rem;
    font-size: 1rem;
  }

  main {
    padding: 1rem;
    min-height: calc(100vh - 140px);
  }

  button, input, textarea {
    font-size: 0.9rem;
  }
}

/* Fade animation for slides */
.music-slide img,
.song-info {
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

/* Hidden state for fade-out */
.fade-out {
  opacity: 0;
}

/* Tab content fade */
.tab-content {
  transition: opacity 0.4s ease-in-out;
  opacity: 1;
  position: relative;
}

.tab-content.hidden {
  opacity: 0;
  display: none;
}

.tab-content pre {
  white-space: pre-wrap;      /* wraps long lines */
  word-break: break-word;      /* prevents horizontal overflow */
  font-size: 0.9rem;           /* smaller font for mobile */
  line-height: 1.4;
  overflow-x: auto;            /* horizontal scroll if really long lines */
  padding: 0.5rem;
  background: rgba(0,0,0,0.3); /* slightly different for readability */
  border-radius: 4px;
}

/* Mobile adjustments */
@media screen and (max-width: 600px) {
  .tab-content {
    max-height: 300px;        /* smaller height on mobile */
    padding: 0.8rem;
  }
  .tab-content pre {
    font-size: 0.85rem;       /* shrink font on small screens */
  }
}

#thoughts {
  background: rgba(255, 255, 255, 0.1); /* subtle translucent box */
  border-left: 5px solid #ff69b4;       /* pink accent line */
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  font-style: italic;
  font-family: 'Georgia', serif;
  line-height: 1.6;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

/* Decorative quotation marks */
#thoughts::before {
  content: "“";
  font-size: 2rem;
  color: #ff69b4;
  position: absolute;
  top: 0.2rem;
  left: 10px;
}

#thoughts::after {
  content: "”";
  font-size: 2rem;
  color: #ff69b4;
  position: absolute;
  bottom: 0.2rem;
  right: 10px;
}

/* Optional hover effect for a slight lift */
#thoughts:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
