/* Base Styles */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-left.show {
  opacity: 1;
  transform: translateX(0);
}


body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #E5D2C4;
  color: #000;
  padding-top: 100px;
  overflow-x: hidden;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #E5D2C4;
  color: black;
  z-index: 999;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.logo img {
  max-height: 50px;
}

nav.desktop-nav {
  display: flex;
  white-space: nowrap; /* Prevent wrapping */
  gap: 1rem; /* Add space between links if needed */
}

nav.desktop-nav a {
  color: #000;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 700;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #000;
}

nav.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #E5D2C4;
  padding: 1rem 0;
  text-align: center;
  z-index: 10;
}

nav.mobile-nav.show {
  display: flex;
}

nav.mobile-nav a {
  margin: 0.5rem 0;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

section {
  padding: 0 2rem 2rem 2rem;
}

section > .wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  padding-bottom: 0;
}

.hero-text {
  flex: 1 1 45%;
}

.hero-text h1 {
  font-family: 'Meow Script', cursive;
  font-size: 6rem;
  margin: 0 0 1rem;
  font-weight: 400;
  line-height: 60px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap; /* allow vertical stacking when needed */
  justify-content: start; /* optional: center buttons */
}

.btn-outline,
.btn-filled {
  text-decoration: none;
  display: inline-block;
  flex-wrap: nowrap;
}

.btn-outline {
  border: 2px solid #919A63;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: none;
  color: black;
  font-weight: 500;
  cursor: pointer;
  flex-wrap: nowrap;
}

.btn-outline:hover {
  background-color: #919A63;
  color: #fff;
}

.btn-filled {
  background-color: #919A63;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  cursor: pointer;
  flex-wrap: nowrap;
}

.btn-filled:hover {
  background-color: #fff;
  color: #919A63;
}

.hero-img {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img img {
  width: 100%;
  height: auto;
  max-width: 500px;
}

h2.section-title {
  text-align: center;
  font-family: 'Meow Script', cursive;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: 50px;
  flex-wrap: no-wrap;
}

.subheading {
  text-align: center;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.center-embed {
  display: flex;
  justify-content: center;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

input, textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 999px;
  border: 2px solid #919A63;
  font-family: 'Poppins', sans-serif;
}

textarea {
  border-radius: 20px;
  resize: vertical;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

.social-handle {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0;
}

#start, #youtube {
  background-color: #ffffff;
  padding: 2rem 0;
  width: 100%;
}

#start > *, #podcast > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

[data-beehiiv-form] {
  display: block !important;
  max-width: 600px;
  margin: 2rem auto 0;
}

.playlist-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.main-playlist {
  flex: 2;
  min-width: 300px;
}

.sidebar-playlists {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 250px;
}

.sidebar-playlists iframe {
  border-radius: 8px;
}

.center-btn {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.beehiiv-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  overflow-x: auto;         /* Allows scrolling if needed */
  width: 100vw;             /* Take full viewport width */
  max-width: 100%;
  box-sizing: border-box;
}

.beehiiv-embed {
  min-width: 320px;         /* Prevents being too narrow */
  width: 100%;
  max-width: 600px;
  height: auto;
  min-height: 450px;
  border: none;
  border-radius: 12px;
  background-color: white;
  box-sizing: border-box;
}




/* Beehiiv Override Styles */
#beehiiv-subscribe-form {
  width: 100% !important;
  padding: 2rem 1rem !important;
  box-sizing: border-box;
  display: flex !important;
  justify-content: center !important;
}

#beehiiv-subscribe-form form {
  width: 100% !important;
  max-width: 500px !important;
  box-sizing: border-box;
}



.connect-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.tiktok-btn {
  display: flex;
  justify-content: center;
  width: 100%;
}

.tiktok-btn a {
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  border: 2px solid #919A63;
  border-radius: 999px;
  color: black;
  font-weight: 500;
  white-space: nowrap;
  width: 100%;
  max-width: 250px;
  text-align: center;
}

.tiktok-btn a:hover {
  background-color: #919A63;
  color: white;
}


.tiktok-btn-outline {
  border: 2px solid #919A63;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: none;
  color: black;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  flex-wrap: nowrap;
}

/* Mobile Styles */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    order: 1;
  }

  .hamburger {
    display: flex;
    order: 2;
    margin-top: 0;
  }

  .desktop-nav {
    display: none !important;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text, .hero-img {
    flex: 1 1 100%;
  }

  .buttons {
    flex-direction: column; /* stack buttons vertically */
    align-items: center; /* center-align buttons */
  }

  .btn-outline,
  .btn-filled {
    width: 100%;            /* make buttons full width */
    max-width: 300px;       /* optional: limit width */
    text-align: center;     /* center text */
  }

  .playlist-container {
    flex-direction: column;
  }

  .main-playlist iframe,
  .sidebar-playlists iframe {
    height: 250px;
  }

  nav.mobile-nav {
  flex-direction: column;
  position: fixed;
  top: 0;
  right: -100%; /* hidden off-screen */
  left: auto;
  height: 100vh;
  width: 250px;
  background-color: #E5D2C4;
  padding: 2rem 1rem;
  text-align: center;
  z-index: 1000;
  transition: right 0.3s ease-in-out;
  display: flex; /* Always set to flex, no display: none */
  pointer-events: none; /* Prevent interaction when hidden */
  opacity: 0; /* Make invisible */
}

nav.mobile-nav.show {
  right: 0; /* Slide in */
  pointer-events: auto; /* Enable interaction */
  opacity: 1;
}



.beehiiv-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  overflow-x: auto; /* allows horizontal scroll if needed */
  width: 100vw; 
  margin-bottom: 0;
  padding-bottom: 0;

}

.beehiiv-embed {
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  height: auto;
  min-height: 450px;
  border: none;
  border-radius: 12px;
  background-color: white;
  box-sizing: border-box;
  margin: 0;
}



  .connect-social {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .tiktok-btn a {
    width: 100%;
    max-width: 250px;
  }


}
