/* Make sure the footer stays at the bottom of the viewport */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full screen height */
  color: #ffffff;
}

/* Whatever wraps your main content */
main {
  flex: 1; /* pushes the footer down */
}

/* Footer stays at bottom */
footer {
  margin-top: auto; /* ensures footer is at the bottom */
}



/* ============================= */
/* NAVBAR BASE */
/* ============================= */
.navbar {
  background-color: #ffffff;
  border-bottom: 2px solid #000;
  font-family: "Baskerville", serif;
}

.navbar-container {
  display: flex;
  align-items: center;
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
}

/* ============================= */
/* BRAND */
/* ============================= */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.navbar-logo {
  width: 70px;
  height: auto;
  flex-shrink: 0;
}

.brand-text {
  font-size: 28px;
  font-weight: bold;
  color: rgb(216, 188, 27);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* ============================= */
/* HAMBURGER */
/* ============================= */
.navbar-toggle {
  margin-left: auto;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

.navbar-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background-color: #000;
}

/* ============================= */
/* NAV LINKS (DESKTOP) */
/* ============================= */
.navbar-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: auto;
  padding: 0;
}

.navbar-links a {
  text-decoration: none;
  color: rgb(216, 188, 27);
  font-weight: bold;
  font-size: 18px;
}

.navbar-links a:hover {
  color: #000;
}

/* ============================= */
/* DROPDOWN (DESKTOP) */
/* ============================= */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  list-style: none;
  padding: 10px 0;
  top: 100%;
  left: 0;
  min-width: 180px;
  border: 1px solid #ddd;
  border-radius: 6px;
  z-index: 10;
}

.dropdown-menu li {
  padding: 8px 20px;
}

.dropdown-menu a {
  color: rgb(216, 188, 27);
}

/* Hover open on desktop */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* ============================= */
/* DROPDOWN ARROW ANIMATION */
/* ============================= */
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.25s ease;
}

.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* ============================= */
/* MOBILE LAYOUT */
/* ============================= */
@media (max-width: 992px) {

  /* Show hamburger */
  .navbar-toggle {
    display: flex;
  }

  /* Hide menu by default */
  .navbar-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    display: none;
    border-bottom: 2px solid #000;
  }

  /* Show menu when toggled */
  .navbar-links.active {
    display: flex;
  }

  .navbar-links li {
    padding: 0.5rem 0;
  }

  /* Disable hover dropdown on mobile */
  .dropdown:hover .dropdown-menu {
    display: none;
  }

  /* Mobile dropdown closed by default */
  .dropdown-menu {
    position: static;
    border: none;
    display: none;
    text-align: center;
  }

  /* Show dropdown when active */
  .dropdown.active .dropdown-menu {
    display: block;
  }
}

/* ============================= */
/* SMALL PHONE FONT FIX */
/* ============================= */
@media (max-width: 360px) {
  .brand-text {
    font-size: 22px;
  }
}





/* ============================= */
/* HERO SECTION */
/* ============================= */
.hero {
  background-color: #f4e596;
  text-align: center;
  padding: 7rem 1rem;
  border-bottom: 2px solid #000;
}

/* Container */
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  justify-items: center;
}

/* ============================= */
/* HEADING */
/* ============================= */
.hero-heading {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
  color: #000;
  margin-bottom: 1.5rem;

  /* Responsive font scaling */
  font-size: clamp(3.2rem, 7vw, 4.8rem);
}





/* ============================= */
/* CONTENT SECTION */
/* ============================= */
.content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  background-color: #ffffff;
  padding: 4rem 1rem;
  max-width: 1600px;
  margin: 0 auto;
  justify-items: center;
}

/* ===== Desktop Layout ===== */
@media (min-width: 768px) {
  .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    align-items: stretch;
  }

  .contents {
    width: 260px;
    display: flex;
    flex-direction: column;
  }
}

/* ============================= */
/* CONTENT CARD */
/* ============================= */
.contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

/* ============================= */
/* IMAGES */
/* ============================= */
.photo img {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin-bottom: 1rem;
  border-radius: 4px;
}

/* ============================= */
/* TITLE — LOCKED HEIGHT */
/* ============================= */
.content-headings {
  font-family: "Baskerville", serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #000;
  line-height: 1.2;

  /* 🔑 Locks title row height for alignment */
  height: 2.0em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  margin-bottom: 0.75rem;
}

/* ============================= */
/* TEXT */
/* ============================= */
.content-text {
  font-family: "Baskerville", serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #000;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ============================= */
/* BUTTON GROUP */
/* ============================= */
.buttons-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  width: 100%;
  gap: 0.8rem;
}

/* ============================= */
/* BUTTON */
/* ============================= */
.button {
  font-family: "Baskerville", serif;
  font-size: 1rem;
  font-weight: bold;
  color: #000;
  background-color: #ead258;
  border-radius: 6px;
  border: none;
  padding: 0.65rem;
  width: 100%;
  max-width: 260px;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
  background-color: #e5e5e5;
  transform: translateY(-2px);
}








/* ============================= */
/* FOOTER */
/* ============================= */
footer {
  background-color: #ffffff;
  color: rgb(216, 188, 27);
}

/* ============================= */
/* FOOTER MAIN BAR */
/* ============================= */
.footer {
  padding: 2rem 1rem;
  border-top-style: solid;
  border-color: #000;
}

/* Layout */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================= */
/* FOOTER LOGO / ADDRESS */
/* ============================= */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: "Baskerville", serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: rgb(216, 188, 27);
  line-height: 1.4;
}

.footer-logo img {
  width: 60px;
  height: auto;
}

/* ============================= */
/* FOOTER NAV LINKS */
/* ============================= */
.footer-foot {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-item {
  list-style: none;
}

.footer-link {
  text-decoration: none;
  font-family: "Baskerville", serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: rgb(216, 188, 27);
}

.footer-link:hover {
  color: #000;
}

/* ============================= */
/* POLICIES */
/* ============================= */
.policies {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  background-color: #ffffff;
  margin: 0;
}

.policy_text {
  text-decoration: none;
  font-family: "Baskerville", serif;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: rgb(216, 188, 27);
}

.policy_text:hover {
  color: #000;
}

/* ============================= */
/* MOBILE */
/* ============================= */
@media (max-width: 767px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-foot {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-logo {
    justify-content: center;
    text-align: center;
  }
}






/* ============================= */
/* LIGHTBOXES */
/* ============================= */
.lightbox {
  display: none;              /* stays hidden until activated */
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9); /* darker backdrop */
  backdrop-filter: blur(5px);      /* subtle blur effect */
  justify-content: center;
  align-items: center;
}

/* Content wrapper scales responsively */
.lightbox-content {
  position: relative;
  max-width: 1400px;
  width: 90%;
  max-height: 95vh;
  text-align: center;
}

/* Responsive Video */
.lightbox video {
  width: 100%;
  height: auto;
  max-height: 85vh; /* keeps video inside screen vertically */
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

/* Close Button */
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 1100;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ----------------------------- */
/*     RESPONSIVE BREAKPOINTS    */
/* ----------------------------- */

/* Tablets */
@media (max-width: 992px) {
  .close {
    font-size: 32px;
    top: 5px;
    right: 10px;
  }

  .lightbox video {
    max-height: 80vh;
  }
}

/* Phones */
@media (max-width: 600px) {
  .lightbox-content {
    width: 95%;
  }

  .lightbox video {
    border-radius: 8px;
    max-height: 75vh;
  }

  .close {
    font-size: 30px;
    padding: 8px 12px;
    right: 8px;
  }
}





/* ============================= */
/* MUSIC PLAYER BAR */
/* ============================= */
#playerBar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.4);
  z-index: 1000;
}

/* Song title */
#playerTitle {
  font-family: "Baskerville", serif;
  font-size: 1rem;
  font-weight: bold;
  color: #000000;
  white-space: nowrap;
}

/* Audio player */
#audioPlayer {
  width: 100%;
  max-width: 600px;   /* Desktop size */
}

/* Close button */
#closePlayer {
  background: none;
  border: none;
  color: #000000;
  font-size: 1.8rem;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
}

/* ============================= */
/* MOBILE OPTIMIZATION */
/* ============================= */
@media (max-width: 768px) {
  #playerBar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem;
  }

  #playerTitle {
    font-size: 0.95rem;
  }

  #audioPlayer {
    max-width: 100%;
  }

  #closePlayer {
    position: absolute;
    right: 10px;
    top: 5px;
  }
}




/* === Lightbox overlay === */
#bookLightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
}

/* === Lightbox content wrapper === */
.book-lightbox-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 85vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* === Book iframe === */
#bookFrame {
  width: 100%;
  height: 100%;
  border: none;
}

/* === Close button === */
.close-book {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  line-height: 42px;
  text-align: center;
  cursor: pointer;
  z-index: 10000;
  transition: background 0.2s ease;
}

.close-book:hover {
  background: rgba(0,0,0,0.95);
}

/* ===========================
   📱 Mobile adjustments
=========================== */
@media (max-width: 768px) {
  .book-lightbox-content {
    height: 90vh;
    border-radius: 8px;
  }

  .close-book {
    width: 36px;
    height: 36px;
    font-size: 22px;
    line-height: 36px;
  }
}

/* ===========================
   📱 Small phones
=========================== */
@media (max-width: 480px) {
  .book-lightbox-content {
    height: 95vh;
  }

  .close-book {
    top: 8px;
    right: 8px;
  }
}



/* ===== Artwork Modal ===== */
.artwork-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 500;
  opacity: 0;
  pointer-events: none;     /* modal ignores clicks */
  transition: opacity 0.3s ease;
}

.artwork-modal.show {
  opacity: 1;
}

/* This allows clicks inside the box */
.artwork-box {
  position: relative;
  pointer-events: auto;     /* 🔥 clickable */
}

.artwork-modal img {
  width: 360px;
  max-width: 80vw;
  border-radius: 14px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.6);
}

/* ✕ button */
.close-artwork {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #000;
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}


@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

