/* Base Styles */
:root {
  /* Dark theme (default) */
  --primary-color: #F0F4F2; /* Blue-gray color */
  --secondary-color: #010101; /* Bistre - From image palette (darker than Bistre-2) */
  --dark-bg: #000000; /* Black - From image palette */
  --text-color: var(--primary-color); /* Light sepia tint instead of pure white */
  --link-color: #F16A1C; /* Lighter red-orange hover color */
  --hover-color: var(--link-color); /* Lighter red-orange hover color */
  --header-color: var(--primary-color); /* Blue-gray color for headings */
  --header-font: 'Playfair Display', serif; /* Elegant serif font for headings */
  --body-font: 'Lora', serif; /* Readable serif font for body text */
  --border-radius: 4px;
  
  /* Theme-specific colors */
  --bg-primary: var(--dark-bg);
  --bg-secondary: var(--secondary-color);
  --bg-overlay: rgba(0, 0, 0, 0.7);
  --bg-card: rgba(0, 0, 0, 0.3);
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --header-bg: rgba(0, 0, 0, 0.3);
  --header-bg-scrolled: rgba(0, 0, 0, 0.95);
}

/* Light theme */
[data-theme="light"] {
  --primary-color: #F0F4F2; /* Keep same as dark mode for consistency */
  --secondary-color: #F8F9FA; /* Light gray background */
  --dark-bg: #FFFFFF; /* White background */
  --text-color: #2C3E50; /* Dark text */
  --link-color: #F16A1C; /* Keep same orange as dark mode */
  --hover-color: #F16A1C; /* Keep same orange as dark mode */
  --header-color: #2C3E50; /* Dark headers */
  
  /* Light theme specific colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-overlay: rgba(255, 255, 255, 0.9);
  --bg-card: rgba(255, 255, 255, 0.8);
  --border-color: rgba(0, 0, 0, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --header-bg: #FFFFFF; /* Solid white header */
  --header-bg-scrolled: #FFFFFF; /* Solid white when scrolled */
}

/* Import new Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lora:wght@400;700&display=swap');

* {
  margin: 2px;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  background-color: var(--bg-primary);
  color: var(--text-color);
  line-height: 1.7; /* Increase slightly for readability */
  font-size: 16px;
  text-align: center; /* Center align everything */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  width: 90%;
  max-width: 1200px; /* Adjusted max-width */
  margin: 0 auto;
  padding: 0 15px; /* Slightly less padding */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--header-font);
  font-weight: 700;
  margin-bottom: 1.5rem; /* Consistent margin */
  line-height: 1.3;
  color: var(--header-color); /* Use new header color */
  letter-spacing: 0.5px; /* Slightly reduced letter spacing for serif fonts */
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 */
  font-style: italic; /* Add italic style for more elegance */
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem); /* Responsive H2 */
  position: relative;
  display: inline-block;
  padding-bottom: 8px; /* Adjust spacing */
  margin-bottom: 2rem; /* More space below H2 */
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px; /* Fixed width underline */
  height: 2px; /* Slightly thinner line for serif fonts */
  background-color: var(--primary-color);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-color); /* Use text color for paragraphs */
  font-family: var(--body-font);
  line-height: 1.8; /* Increased line height for better readability with serif fonts */
  font-size: 1.15rem; /* Increased from 1.05rem for better readability */
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: var(--body-font);
}

a:hover {
  color: var(--primary-color); /* Lighter red-orange hover color */
}

/* Header - Now acts as Fixed Nav Bar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto; /* Auto height based on content */
  padding: 32px 0; /* Increased padding by 2px */
  background-color: var(--header-bg); /* More transparent initially */
  box-shadow: 0 2px 10px var(--shadow-color);
  z-index: 1000;
  transition: padding 0.3s ease, background-color 0.3s ease; /* Add transition */
}

/* Styles for when the header is scrolled */
.header-scrolled {
  padding: 27px 0; /* Increased scrolled padding by 2px */
  background-color: var(--header-bg-scrolled); /* More solid when scrolled */
  box-shadow: 0 2px 10px var(--shadow-color);
}

.site-header .container {
  position: relative; /* Needed for absolute positioning of logo */
  display: flex;
  justify-content: space-between; /* Keep nav left, socials right */
  align-items: center;
}

.site-header .site-title {
  /* Logo takes up remaining space and centers */
  /* flex-grow: 1; */
  /* text-align: center; */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* Perfect centering */
  /* Ensure logo doesn't prevent clicking nav/socials */
  z-index: -1; /* Place logo behind nav/socials if overlap occurs */ 
}

.site-header .site-logo {
  height: 94px; /* Increased logo size (78px * 1.2) */
  width: auto;
  vertical-align: middle; /* Align logo nicely */
  transition: filter 0.3s ease; /* Add transition for smooth darkening */
}

/* Logo remains at full brightness when scrolled */
.header-scrolled .site-logo {
  filter: brightness(100%); /* Logo remains at full brightness */
}

/* Header Social Links */
.site-header .social-links {
  /* Keep social links grouped */
  display: flex;
  align-items: center;
}

.site-header .social-links a {
  color: var(--text-color);
  margin-left: 18.75px; /* Increased by 25% from 15px */
  font-size: 1.8rem; /* Increased by 25% from 1.44rem */
}

.site-header .social-links a:hover {
  color: var(--hover-color);
}

/* Navigation Area */
.site-nav {
  margin-bottom: 0; /* Remove bottom margin */
}

.site-nav ul {
  display: flex;
  justify-content: flex-start; /* Left-align nav items */
  list-style: none;
  padding: 0;
  margin: 0; /* Reset margin */
}

.site-nav li {
  margin: 0 12.5px; /* Increased by 25% from 10px */
}

.site-nav a {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  font-size: 1.19rem; /* Increased by 25% from 0.95rem */
  font-family: var(--header-font); /* Use header font for navigation */
  text-transform: none; /* Remove uppercase for serif fonts */
  letter-spacing: 0.5px; /* Reduced letter spacing for serif fonts */
}

.site-nav a:after {
  content: '';
  position: absolute;
  bottom: -6.25px; /* Increased by 25% from -5px */
  left: 0;
  width: 0;
  height: 2px; /* Slightly thinner for serif fonts */
  background-color: var(--hover-color);
  transition: width 0.3s ease;
}

.site-nav a:hover:after {
  width: 100%;
}

.site-nav ul li a:hover,
.site-nav ul li a.active {
  color: var(--primary-color); /* Navigation links hover in subtle orange */
}

/* Light mode: no color change on nav hover, only underline */
[data-theme="light"] .site-nav ul li a:hover {
  color: var(--text-color); /* Keep same text color */
}

/* Hero/Splash Screen */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-down:hover {
  opacity: 1;
}

.scroll-down a {
  display: block;
  width: 30px;
  height: 50px;
}

.scroll-arrow {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border-right: 2px solid var(--text-color);
  border-bottom: 2px solid var(--text-color);
  transform: rotate(45deg);
  animation: scroll-arrow-animation 2s infinite;
}

@keyframes scroll-arrow-animation {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-10px, -10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(10px, 10px);
  }
}

/* Main Content Sections */
.site-content {
  padding-top: 0; /* No padding needed below hero header */
}

/* Section Styling */
section {
  padding: 80px 0; /* Consistent section padding */
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color); /* Subtle separator */
  transition: background-color 0.3s ease;
}

section:last-of-type {
  border-bottom: none;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--text-color); /* White section headers */
  position: relative;
  display: inline-block;
  font-family: var(--header-font);
  font-weight: 700;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px; /* Reduced letter spacing for serif fonts */
}

.section-header h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--hover-color);
}

/* About Section */
.about {
  padding: 100px 0;
  position: relative;
  color: var(--text-color);
  background-color: var(--bg-overlay); /* Overlay for readability */
  scroll-margin-top: 80px; /* Offset for fixed header */
}

/* About section background */
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/backgrounds/about-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.6; /* Adjust for readability of text */
  z-index: -1;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
  }
}

.about-image {
  flex: 0 0 100%;
  max-width: 100%;
  text-align: center;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .about-image {
    flex: 0 0 70%;
    max-width: 70%;
    margin-top: 40px;
  }
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-text {
  flex: 0 0 100%;
  max-width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .about-text {
    flex: 0 0 80%;
    max-width: 80%;
    text-align: center;
  }
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.2rem; /* Increased from 1.1rem for better readability */
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Add text shadow for better readability */
}

/* Remove text shadows in light mode */
[data-theme="light"] .about-text p {
  text-shadow: none;
}

/* Music Section */
.music {
  padding: 100px 0;
  position: relative;
  color: var(--text-color);
  background-color: var(--bg-overlay); /* Overlay for readability */
  scroll-margin-top: 80px; /* Offset for fixed header */
}

/* Music section background */
.music::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/backgrounds/music-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.6; /* Adjust for readability of text */
  z-index: -1;
}

.music-content {
  position: relative;
  z-index: 1;
}

.music-player-wrapper {
  position: relative;
  z-index: 1;
  background-color: var(--bg-card);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: background-color 0.3s ease;
}

/* Video Section */
.video {
  padding: 80px 0;
  position: relative;
  color: var(--text-color);
  background-color: var(--bg-overlay); /* Overlay for readability */
}

/* Video section background */
.video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/backgrounds/video-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.6; /* Adjust for readability of text */
  z-index: -1;
}

.video-content {
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.video-description {
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Add text shadow for better readability */
  font-size: 1.2rem; /* Added increased font size for better readability */
}

/* Remove text shadows in light mode */
[data-theme="light"] .video-description {
  text-shadow: none;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Live Shows Section */
.shows {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/backgrounds/live-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0;
  color: var(--text-color);
  position: relative;
  scroll-margin-top: 80px; /* Offset for fixed header */
}

/* Light mode background for live shows */
[data-theme="light"] .shows {
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../images/backgrounds/live-bg-inverted.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Live shows section background */
.shows::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6; /* Adjust for readability of text */
  z-index: -1;
}

.shows-list {
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

/* Show Items */
.show-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 20px;
  background-color: var(--bg-card);
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Contact Section */
#contact {
  text-align: center;
  padding: 80px 0;
  position: relative;
  color: var(--text-color);
  background-color: var(--bg-overlay); /* Overlay for readability */
  scroll-margin-top: 80px; /* Offset for fixed header */
}

/* Contact section background */
#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/backgrounds/contact-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.6; /* Adjust for readability of text */
  z-index: -1;
}

.contact-info {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-info p {
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Add text shadow for better readability */
  font-size: 1.2rem; /* Added increased font size for better readability */
}

/* Remove text shadows in light mode */
[data-theme="light"] .contact-info p {
  text-shadow: none;
}

/* Email link in light mode uses primary color */
[data-theme="light"] .contact-info a[href^="mailto:"] {
  color: #000000;
}

[data-theme="light"] .contact-info a[href^="mailto:"]:hover {
  color: var(--text-color);
  text-decoration: underline;
}

/* Live Shows Section */
#shows ul {
  list-style: none;
  padding: 0;
}

#shows li {
  background-color: var(--secondary-color); /* Use variable */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#shows li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.show-date {
  font-weight: 700;
  flex: 0 0 120px;
  color: var(--text-color);
}

.show-venue {
  flex-grow: 1;
  margin: 0 20px;
  color: var(--text-color);
}

.show-location {
  font-style: italic;
  color: var(--text-color);
  flex: 0 0 150px;
  text-align: right;
}

.show-link a {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--primary-color);
  color: var(--dark-bg);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
  margin-left: 20px;
  white-space: nowrap;
}

.show-link a:hover {
  background-color: var(--primary-color); /* Primary color hover */
  color: var(--text-color);
  transform: scale(1.05);
}

/* Video Section */
.video {
  padding: 80px 0;
  background-color: var(--dark-bg);
}

.video-content {
  margin-top: 30px;
}

.video-description {
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
#contact {
  text-align: center;
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--text-color);
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.contact-info a:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--link-color);
  transition: width 0.3s ease;
}

.contact-info a:hover {
  color: var(--text-color);
}

.contact-info a:hover:after {
  width: 100%;
}

.contact-info .social-links {
  margin-top: 30px;
}

.contact-info .social-links a {
  display: inline-block;
  margin: 0 15px;
  font-size: 1.8rem;
  color: var(--text-color);
}

.contact-info .social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Mailing List Styles */
.mailing-list {
  margin: 30px 0;
  padding: 20px;
  background-color: var(--bg-card);
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.mailing-list h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--text-color);
  font-family: var(--header-font);
  font-style: normal; /* Remove italic */
}

.subscribe-form .form-group {
  display: flex;
  max-width: 450px;
  margin: 0 auto;
  gap: 10px; /* Added gap between input and button */
}

.subscribe-form input[type="email"] {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--text-color);
  border-radius: var(--border-radius);
  font-size: 1.1rem; /* Increased from default size to match button */
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.subscribe-form button {
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1.1rem; /* Increased from default size for better readability */
  font-weight: 600; /* Added to make text more prominent */
}

.subscribe-form button:hover {
  background-color: var(--link-color); /* Lighter red-orange hover color */
  color: var(--text-color);
}

/* Success message styling */
.success-message {
  padding: 15px;
  background-color: rgba(46, 204, 113, 0.1);
  border-left: 4px solid #2ecc71;
  border-radius: 4px;
  margin: 20px 0;
  animation: fadeIn 0.5s ease-in-out;
}

.success-message p {
  margin: 0;
  color: var(--text-color);
  font-family: var(--body-font);
}

.success-message strong {
  color: var(--primary-color);
  font-weight: 600;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.submitted {
  animation: submitPulse 0.5s ease-in-out;
}

@keyframes submitPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--link-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.btn:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--link-color);
  transition: width 0.3s ease;
}

.btn:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.btn:hover:after {
  width: 100%;
}

/* Button in light mode uses link color */
[data-theme="light"] .btn {
  background-color: var(--link-color);
  color: #FFFFFF;
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 2px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: all 0.3s ease;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px var(--shadow-color);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle .icon {
  transition: transform 0.3s ease;
}

[data-theme="light"] .theme-toggle .sun-icon {
  display: none;
}

/* Hide moon icon in dark mode and by default */
[data-theme="dark"] .theme-toggle .moon-icon {
  display: none !important;
}

/* Default state - hide moon icon */
.theme-toggle .moon-icon {
  display: none;
}

/* Show moon icon only in light mode */
[data-theme="light"] .theme-toggle .moon-icon {
  display: inline-block !important;
}

/* Theme toggle icon styling */
.theme-toggle .icon {
  font-size: 1.5rem;
  display: inline-block;
}

/* Light mode theme toggle button */
[data-theme="light"] .theme-toggle {
  /* background-color: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2); */
  color: #000000 !important;
}

.moon-icon .icon {
  color: #000000;
}
/* Red moon icon in light mode */
[data-theme="light"] .theme-toggle .moon-icon {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Dark mode theme toggle button */
[data-theme="dark"] .theme-toggle,
:root .theme-toggle {
  color: #FFFFFF;
}

/* Footer */
.site-footer {
  background-color: var(--bg-secondary);
  padding: 30px 0; /* Reduced padding */
  text-align: center;
  margin-top: 50px;
  border-top: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.site-footer p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-color);
}

/* Responsive Styles */
/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none; /* Always hidden now */
}

/* Tablet and smaller screens */
@media screen and (max-width: 768px) {
  /* General adjustments */
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  section {
    padding: 60px 0;
  }
  
  h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }
  
  h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  }
  
  /* Header adjustments - make header static on mobile */
  .site-header {
    position: absolute; /* Position absolute to overlay on hero */
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent; /* Transparent background */
    box-shadow: none; /* Remove shadow */
    padding: 20px 0;
    z-index: 10; /* Higher z-index to appear above hero */
  }
  
  .header-scrolled {
    background-color: transparent; /* Keep transparent even when scrolled */
    padding: 15px 0;
  }
  
  /* Center logo and hide navigation */
  .site-header .container {
    justify-content: center;
  }
  
  .site-header .site-title {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    z-index: 10;
    margin: 0 auto;
  }
  
  .site-header .site-logo {
    height: 110px; /* Larger logo */
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5)); /* Add shadow for visibility */
  }
  
  /* Hide navigation and social links in header on mobile */
  .site-nav, 
  .site-header .social-links {
    display: none;
  }
  
  /* Mobile menu toggle hidden */
  .mobile-menu-toggle {
    display: none;
  }
  
  /* Remove body padding since header is now absolute */
  body {
    padding-top: 0;
  }
  
  /* Adjust hero section to accommodate the header */
  .hero {
    padding-top: 0;
  }
  
  .site-nav {
    width: 100%;
    text-align: center;
  }
  
  .site-nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .site-nav li {
    margin: 0 8px;
  }
  
  .site-nav a {
    font-size: 0.9rem;
    padding: 5px 3px;
  }
  
  /* About section */
  .about-content {
    flex-direction: column;
  }
  
  .about-image, .about-text {
    width: 100%;
    padding: 0;
  }
  
  .about-image {
    margin-bottom: 20px;
  }
  
  /* Music section */
  .music-player-wrapper {
    padding: 15px;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
  }
  
  .album-cover-container {
    width: 150px;
    align-self: center;
  }
  
  .album-cover {
    height: 150px;
  }
  
  .playlist-item {
    padding: 10px;
  }
  
  /* Coming Soon section */
  .coming-soon-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .coming-soon-cover {
    width: 250px;
    height: 250px;
  }
  
  .album-announcement .album-title {
    font-size: 2rem;
  }
  
  .album-announcement .release-date {
    font-size: 1.1rem;
  }
  
  /* Shows section */
  .show-item {
    flex-direction: column;
    text-align: center;
  }
  
  .show-date, .show-info, .show-action {
    width: 100%;
    padding: 5px 0;
  }
  
  .show-date {
    margin-bottom: 10px;
  }
  
  .show-action {
    margin-top: 10px;
  }
  
  /* Contact section */
  .contact-info p {
    font-size: 1rem;
  }
  
  .mailing-list {
    padding: 15px;
  }
  
  .subscribe-form .form-group {
    flex-direction: column;
  }
  
  .subscribe-form input[type="email"] {
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
  }
  
  .subscribe-form button {
    border-radius: 4px;
    width: 100%;
    padding: 10px;
  }
  
  .contact-info .social-links a {
    margin: 0 10px;
  }
}

/* Mobile phones */
@media screen and (max-width: 480px) {
  /* Even smaller screens */
  .site-header {
    padding: 15px 0;
  }
  
  .site-header .container {
    justify-content: center;
  }
  
  .site-header .site-title {
    margin: 0 auto;
    text-align: center;
  }
  
  .site-header .site-logo {
    height: 110px; /* Significantly larger logo on mobile */
    width: auto;
  }
  
  /* Hero adjustments */
  .hero {
    height: 80vh;
  }
  
  /* Section headers */
  .section-header {
    margin-bottom: 25px;
  }
  
  h2:after {
    width: 40px;
  }
}

/* Section Specific Styles */

/* About Section */
#about img {
  max-width: 100%; /* Ensure it doesn't overflow container width initially */
  height: auto;
  display: block; /* Needed for margin auto centering */
  margin: 20px auto; /* Add some space around the image */
  border-radius: var(--border-radius);
  transform: scale(1.2); /* Make image 20% larger */
  transition: transform 0.3s ease; /* Smooth transition if needed later */
}

/* Music Section */
#music .album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

.album-cover {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.album-info {
  padding: 20px;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.album-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.album-info p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.album-info a {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--dark-bg);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius);
  transition: background-color 0.3s ease;
}

.album-info a:hover {
  background-color: #E16C2A; /* Lighter red-orange hover color */
  color: var(--text-color);
  transform: translateY(-2px);
}

/* --- Plyr Player & Playlist Styles --- */

/* New wrapper style */
.music-player-wrapper {
  max-width: 900px; /* Increased width to accommodate album cover */
  margin: 40px auto 0; /* Center the wrapper */
  background-color: var(--bg-card); /* Slightly darker background to group */
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* Album Cover Container */
.album-cover-container {
  flex-shrink: 0;
  width: 200px;
  text-align: center;
}

.album-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px var(--shadow-color);
  margin-bottom: 15px;
}

.album-info h3 {
  color: var(--header-color);
  font-size: 1.1rem;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.album-info p {
  color: var(--text-color);
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
}

/* Player and Playlist Container */
.player-playlist-container {
  flex: 1;
  min-width: 0; /* Allows flex item to shrink below content size */
}

/* Container for the player itself if extra spacing is needed */
.plyr-container {
  margin-bottom: 0; /* Remove bottom margin */
}

/* Style the main audio player (Plyr enhances this) */
#player {
  width: 100%; /* Make player responsive */
}

/* Container for the playlist below the player */
.playlist-container {
  margin-top: 15px; /* Slightly reduce margin */
  text-align: left; /* Align playlist text left */
  max-height: 300px; /* Limit height and allow scroll */
  overflow-y: auto; /* Add scrollbar if playlist is long */
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Separator line */
  padding-top: 15px; /* Space above playlist */
  padding-bottom: 5px; /* Add some padding at the bottom */
}

/* The playlist list */
.playlist {
  list-style: none;
  padding: 0;
  margin: 0; /* Remove auto margin */
  max-width: none; /* Remove max-width as wrapper controls it */
}

/* Individual playlist item */
.playlist-item {
  margin-bottom: 8px;
}

/* Style the button within each list item */
.playlist-item button {
  display: block;
  width: 100%;
  padding: 12px 15px;
  background-color: var(--bg-secondary); /* Match section background */
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius); /* Use existing border radius */
  text-align: left;
  font-family: var(--body-font);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.playlist-item button:hover {
  background-color: var(--bg-card);
  border-color: var(--primary-color);
}

/* Style for the currently active/playing track */
.playlist-item.active button {
  background-color: var(--primary-color);
  color: var(--dark-bg); 
  border-color: var(--primary-color);
  font-weight: 600;
}

.playlist-item .track-title {
  font-weight: 700;
  font-family: var(--header-font);
  font-style: normal;
}

.playlist-item .track-artist {
  font-size: 0.9rem;
  opacity: 0.8;
  font-family: var(--body-font);
}

/* Apply theme color to Plyr */
.music-player-wrapper .plyr {
  --plyr-color-main: var(--primary-color); 
  --plyr-control-radius: var(--border-radius); /* Match site border radius */
  --plyr-audio-controls-background: transparent; /* Cleaner look */
  --plyr-audio-control-color: var(--text-color);
  --plyr-audio-control-color-hover: var(--primary-color);
}

/* --- Bandcamp Player Styles --- */
.bandcamp-player-wrapper {
  max-width: 760px; /* accommodate 700px iframe width with padding */
  margin: 40px auto 0;
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px var(--shadow-color);
  position: relative;
  z-index: 1;
}

.bandcamp-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bandcamp-container iframe {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive design for Bandcamp player */
@media (max-width: 768px) {
  .bandcamp-player-wrapper {
    padding: 20px;
    margin: 20px auto 0;
  }
  
  .bandcamp-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: 350px !important;
  }
}

@media (max-width: 600px) {
  .bandcamp-container iframe {
    height: 300px !important;
  }
}

/* --- Coming Soon Section --- */
.coming-soon {
  padding: 100px 0;
  position: relative;
  color: var(--text-color);
  background-color: var(--bg-primary);
  scroll-margin-top: 80px; /* Offset for fixed header */
}

.coming-soon-content {
  display: flex;
  gap: 50px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.album-artwork {
  flex-shrink: 0;
}

.coming-soon-cover {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px var(--shadow-color);
  transition: transform 0.3s ease;
}

.coming-soon-cover:hover {
  transform: scale(1.02);
}

.album-announcement {
  flex: 1;
}

.album-announcement .album-title {
  color: var(--header-color);
  font-family: var(--header-font);
  font-size: 2.5rem;
  margin: 0 0 15px 0;
  font-weight: 700;
}

.album-announcement .release-date {
  color: var(--link-color);
  font-size: 1.3rem;
  margin: 0 0 20px 0;
  font-weight: 600;
}

.album-announcement .album-description {
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 25px 0;
}

.pre-order-info {
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--link-color);
}

.pre-order-info p {
  margin: 0;
  font-style: italic;
  color: var(--text-color);
  opacity: 0.9;
}

.pre-order-info a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.pre-order-info a:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--link-color);
  transition: width 0.3s ease;
}

.pre-order-info a:hover {
  color: var(--hover-color);
  transform: translateY(-1px);
}

.pre-order-info a:hover:after {
  width: 100%;
}

/* --- End Plyr Styles --- */

/* Additional Show Styles */
#shows ul {
  list-style: none;
  padding: 0;
}

#shows li {
  background-color: var(--secondary-color); /* Use variable */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#shows li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.show-date {
  font-weight: 700;
  flex: 0 0 120px;
  color: var(--text-color);
}

.show-venue {
  flex-grow: 1;
  margin: 0 20px;
  color: var(--text-color);
}

.show-location {
  font-style: italic;
  color: var(--text-color);
  flex: 0 0 150px;
  text-align: right;
}

.show-link a {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--primary-color);
  color: var(--dark-bg);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
  margin-left: 20px;
  white-space: nowrap;
}

.show-link a:hover {
  background-color: var(--primary-color); /* Lighter red-orange hover color */
  color: var(--text-color);
  transform: scale(1.05);
}

/* Form messages */
.form-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: var(--border-radius);
  text-align: center;
  display: none;
}

.success-message {
  background-color: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
  border: 1px solid #4CAF50;
}

.error-message {
  background-color: rgba(244, 67, 54, 0.2);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

/* Hide honeypot field */
.hidden {
  display: none;
}

.eo-form input[type="text"]:not([name="email"]) {
  display: none !important;
}

/* Override EmailOctopus button styling */
.eo-form button,
.eo-form input[type="submit"],
.eo-form .eo-submit-btn {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.eo-form button:hover,
.eo-form input[type="submit"]:hover,
.eo-form .eo-submit-btn:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}