@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Raleway:wght@200;300;400&family=Playfair+Display+SC:ital,wght@0,400;0,700;1,400&family=Yeseva+One&family=IM+Fell+English:ital@0;1&family=IM+Fell+Double+Pica:ital@0;1&family=IM+Fell+French+Canon:ital@0;1&family=Abril+Fatface&family=Sorts+Mill+Goudy:ital@0;1&family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Cardo:ital,wght@0,400;0,700;1,400&display=swap');

@font-face {
  font-family: 'Belmonte Ballpoint';
  src: url('fonts/!SketchyTimes-b.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Belmonte Ballpoint';
  src: url('fonts/BelmonteBallpoint-Cursive.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ─── Variables ──────────────────────────────────────────── */
:root {
  --cream:      #caedbe;
  --dark:       #0f1e32;
  --gold:       #e2be66;
  --gold-light: #b89a72;
  --muted:      #6b5c48;
  --border:     rgba(140, 114, 80, 0.25);
}

/* ─── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--dark);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.8;
  overflow-x: hidden;
}


img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── Navigation ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px;
  mix-blend-mode: normal;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-menu-logo {
  display: none;
}

nav .nav-logo {
  font-family: 'Belmonte Ballpoint', serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--cream);
  opacity: 0.85;
}

nav .nav-links {
  display: none;
  list-style: none;
}

nav .nav-links.open {
  display: flex;
  position: fixed;
  inset: 0;
  background: var(--dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  z-index: 200;
}

nav .nav-links a {
  font-family: 'IM Fell English', serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--cream);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

nav .nav-links a:hover,
nav .nav-links a.active {
  opacity: 1;
}

/* Nav on light pages */
nav.light .nav-logo,
nav.light .nav-links a {
  color: var(--dark);
}

nav.light .nav-links.open a {
  color: var(--cream);
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.hero-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center 28%;
  z-index: 0;
}

/* Placeholder shown when no image is present */
.hero-image-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #1a3a5c 0%, #0f1e32 100%);
}

.hero-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(15, 30, 50, 0.88) 0%,
    rgba(15, 30, 50, 0.45) 25%,
    rgba(15, 30, 50, 0.0)  50%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.hero-home .hero-content {
  justify-content: space-between;
  min-height: 100vh;
  padding-top: 30px;
}

.hero-music .hero-content {
  gap: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.music-page-title {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: var(--cream);
}

.hero-newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 420px;
}

.hero-newsletter-heading {
  font-family: 'IM Fell English', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.hero-newsletter-heading em {
  font-style: italic;
  color: var(--cream);
}

.hero-newsletter-text {
  font-family: 'IM Fell English', serif;
  font-size: 0.88rem;
  color: var(--cream);
  opacity: 0.7;
  margin-bottom: 4px;
}

/* Logo image — swap the text version below if you have a file */
.hero-logo-img {
  width: 200px;
  max-width: 80vw;
  margin-top: 60px;
}

/* Text-based logo (used if no logo image file) */
.hero-logo-text {
  font-family: 'Belmonte Ballpoint', serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--cream);
  line-height: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-tagline {
  font-family: 'IM Fell English', serif;
  font-size: 1rem;
  color: var(--cream);
  opacity: 0.65;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero-scroll-hint {
  transition: opacity 0.4s ease;
  position: absolute;
  top: calc(100vh - 120px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  opacity: 0.4;
  font-family: 'Belmonte Ballpoint', serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: var(--cream);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ─── Newsletter Section ─────────────────────────────────── */
.newsletter-section {
  display: none;
}

.newsletter-section .section-label {
  font-family: 'Belmonte Ballpoint', serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: #c9a84c;
  margin-bottom: 8px;
}

.newsletter-section h2 {
  font-family: 'IM Fell English', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--dark);
  line-height: 1.2;
}

.newsletter-section h2 em {
  font-style: italic;
  color: var(--dark);
}

.newsletter-section p {
  font-family: 'IM Fell English', serif;
  max-width: 440px;
  color: var(--dark);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

/* Mailchimp form wrapper */
.newsletter-section .mc-form {
  border-color: var(--dark);
}

.newsletter-section .mc-form input[type="text"],
.newsletter-section .mc-form input[type="email"] {
  border-bottom-color: rgba(15, 30, 50, 0.2);
  color: var(--dark);
}

.newsletter-section .mc-form input[type="text"]::placeholder,
.newsletter-section .mc-form input[type="email"]::placeholder {
  color: var(--dark);
  opacity: 0.4;
}

.mc-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border);
}

.mc-form input[type="text"],
.mc-form input[type="email"] {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-family: 'IM Fell English', serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--dark);
  outline: none;
}

.mc-form input[type="text"]::placeholder,
.mc-form input[type="email"]::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.mc-form button {
  padding: 14px 24px;
  background: var(--gold);
  border: none;
  cursor: pointer;
  font-family: 'Belmonte Ballpoint', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--cream);
  transition: background 0.3s ease;
}

.mc-form button:hover {
  background: var(--dark);
}

/* Form inside hero (music page) — light text on dark bg */
.hero .mc-form {
  border-color: rgba(202, 237, 190, 0.4);
  background: rgba(202, 237, 190, 0.12);
  backdrop-filter: blur(6px);
}

.hero .mc-form input[type="text"],
.hero .mc-form input[type="email"] {
  background: transparent;
  border-bottom-color: rgba(202, 237, 190, 0.3);
  color: #caedbe;
}

.hero .mc-form input[type="text"]::placeholder,
.hero .mc-form input[type="email"]::placeholder {
  color: #caedbe;
  opacity: 0.5;
}

.newsletter-section .privacy-note {
  font-family: 'IM Fell English', serif;
  font-size: 0.8rem;
  color: var(--dark);
  opacity: 0.6;
  letter-spacing: 0.05em;
}

.music-inset-photo {
  position: absolute;
  object-position: 100% 50%;
  transform: scale(1.5) translateY(15%);
  transform-origin: right center;
}

.hero-music .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(15, 30, 50, 0.88) 0%,
    rgba(15, 30, 50, 0.45) 25%,
    rgba(15, 30, 50, 0.0)  50%
  );
}

/* ─── Star Doodles ───────────────────────────────────────── */
.stars-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.doodle-star {
  position: absolute;
  color: #c9a84c;
  opacity: 0.8;
}

.doodle-star.s1 { top: 12%;  left: 6%;   transform: rotate(10deg); }
.doodle-star.s2 { top: 28%;  left: 14%;  transform: rotate(-15deg); }
.doodle-star.s3 { top: 65%;  left: 5%;   transform: rotate(25deg); }
.doodle-star.s4 { top: 80%;  left: 18%;  transform: rotate(-5deg); }
.doodle-star.s5 { top: 10%;  right: 8%;  transform: rotate(20deg); }
.doodle-star.s6 { top: 40%;  right: 5%;  transform: rotate(-30deg); }
.doodle-star.s7 { top: 72%;  right: 12%; transform: rotate(8deg); }
.doodle-star.s8 { top: 55%;  left: 9%;   transform: rotate(-12deg); }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 10;
  padding: 40px 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--border);
}

footer .footer-name {
  font-family: 'Belmonte Ballpoint', serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

footer .footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

footer .footer-links a {
  font-family: 'IM Fell English', serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  opacity: 0.7;
  transition: opacity 0.3s;
}

footer .footer-links a:hover {
  opacity: 1;
}

footer.footer-dark {
  background: var(--dark);
}

footer.footer-dark .footer-name,
footer.footer-dark .footer-links a,
footer.footer-dark .footer-copy {
  color: #caedbe;
}

footer.footer-navy {
  background: var(--dark);
}

footer.footer-navy .footer-name,
footer.footer-navy .footer-copy,
footer.footer-navy .footer-copy-name {
  color: #caedbe;
  opacity: 1;
}

footer.footer-navy .footer-links a {
  color: #caedbe;
  opacity: 0.7;
}

footer .footer-copy {
  font-family: 'IM Fell English', serif;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.5;
  text-align: center;
}

footer .footer-copy-name {
  font-family: 'IM Fell English', serif;
  font-size: 1rem;
}

/* ─── Gallery Page ───────────────────────────────────────── */
body.page-gallery {
  background-color: var(--gold);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

body.page-gallery .gallery-grid {
  margin-top: 20vh;
  margin-bottom: auto;
  margin-left: 3px;
  margin-right: 3px;
}

.gallery-title {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  width: 100%;
}



.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 3px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #2a1f13;
  cursor: pointer;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Placeholder for gallery items without images */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a1f13 0%, #1a1208 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(242,234,216,0.12);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 4, 0.96);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 36px;
  background: none;
  border: none;
  color: var(--cream);
  opacity: 0.5;
  font-size: 1.5rem;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-weight: 200;
  letter-spacing: 0.1em;
  transition: opacity 0.3s;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ─── Back to Site ───────────────────────────────────────── */
.back-to-site {
  font-family: 'IM Fell English', serif;
  font-size: 0.85rem;
  color: #caedbe;
  letter-spacing: 0.08em;
  margin-top: 8px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  transition: background 0.3s;
}

.back-to-site:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* ─── Contact Link ───────────────────────────────────────── */
.footer-contact {
  position: absolute;
  right: 48px;
  opacity: 0.7;
  transition: opacity 0.3s;
  line-height: 0;
}

.footer-contact:hover {
  opacity: 1;
}

/* ─── Social Links ───────────────────────────────────────── */
.footer-socials {
  display: flex;
  gap: 28px;
  position: absolute;
  left: 48px;
}

.footer-socials a {
  font-family: 'IM Fell English', serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #caedbe;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-socials a:hover {
  opacity: 1;
}

.nav-social-links {
  display: none;
}

/* ─── Hamburger ──────────────────────────────────────────── */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 300;
  margin-left: auto;
}

nav .nav-links.open .nav-menu-logo {
  display: block;
  margin-bottom: 20px;
}

nav .nav-links.open .nav-menu-logo img {
  height: 48px;
  width: auto;
  margin: 0 auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}

nav.light .nav-hamburger span {
  background: var(--dark);
}

/* ─── Desktop dropdown nav ───────────────────────────────── */
@media (min-width: 641px) {
  nav .nav-links.open {
    position: absolute;
    inset: unset;
    top: 100%;
    right: 48px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    width: 180px;
    padding: 8px 0;
    background: var(--dark);
  }

  nav .nav-links.open li {
    width: 100%;
  }

  nav .nav-links.open a {
    display: block;
    padding: 12px 24px;
  }

  nav .nav-links.open .nav-menu-logo,
  nav .nav-links.open .nav-social-links {
    display: none;
  }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
  nav {
    padding: 20px 24px;
  }

  nav .nav-logo {
    font-size: 0.8rem;
  }

  .nav-logo {
    display: none;
  }

  .nav-hamburger {
    margin-left: auto;
  }

  .footer-socials {
    display: none;
  }

  .nav-social-links {
    display: flex;
    gap: 28px;
    margin-top: 60px;
  }

  .nav-social-links a {
    font-family: 'IM Fell English', serif;
    font-size: 1rem;
    color: var(--cream);
    opacity: 0.7;
    letter-spacing: 0.08em;
    transition: opacity 0.3s;
  }

  .nav-social-links a:hover {
    opacity: 1;
  }

  .nav-menu-logo {
    display: block;
    margin-bottom: 20px;
  }

  .nav-menu-logo img {
    height: 48px;
    width: auto;
    margin: 0 auto;
  }

  nav .nav-links a {
    font-size: 1.2rem;
    color: var(--cream);
    opacity: 0.8;
  }

  .hero-image {
    object-position: center 20%;
    transform: scale(1.8);
    transform-origin: center 20%;
  }

  .hero-content {
    padding-top: 140px;
  }

  .hero-home .hero-content {
    padding-top: 30px;
    min-height: 100dvh;
  }

  .hero-logo-img {
    margin-top: 0px;
  }

  .music-page-title,
  .gallery-title {
    top: 80px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .footer-contact {
    display: none;
  }


  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:nth-child(3) { order: 4; }
  .gallery-item:nth-child(4) { order: 3; }

  .mc-form {
    flex-direction: column;
  }

  .mc-form button {
    padding: 14px;
  }

  .hero-scroll-hint {
    top: calc(100vh - 280px);
  }


  .music-inset-photo {
    object-position: 100% 30%;
    transform: none;
  }

}
