/* ================ Global Styles ================ */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
  height: 100%;
  background: #fdfaff;
  color: #333;
}

/* ================= Header & Logo ================= */
header {
  background: #440e62;
  color: white;
  padding: 1rem;
  text-align: center;
}

.logo {
  width: 120px;
  max-width: 120px;
  margin-bottom: 1rem;
} /* ← Closing brace added here */

@media (max-width: 600px) {
  .logo {
    width: 80px;
    max-width: 80px;
  }
}

/* =============== Navigation (Desktop) ============== */
.sticky-nav {
  position: sticky;
  top: 0;
  background: #eee;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  z-index: 1000;
}

.sticky-nav a {
  color: #440e62;
  text-decoration: none;
  font-weight: bold;
}

/* ============== Scroll‑Snap Sections =============== */
.snap-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.snap-section {
  scroll-snap-align: start;
  height: 100vh;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.alt-bg {
  background: #f3eef9;
}

/* ==================== Buttons ===================== */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  background: #440e62;
  color: white;
  border-radius: 5px;
  text-decoration: none;
}

/* ============= Google Calendar Embed ============= */
.calendar-embed {
  max-width: 800px;
  margin: 2rem auto;
}

.calendar-embed iframe {
  width: 100% !important;
  border: none;
}

/* ================= Gallery Overrides ============== */
/* Let gallery expand beyond one viewport */
.snap-section#gallery {
  height: auto;
  min-height: 100vh;
  scroll-snap-align: start;
}

/* Make only the gallery box scrollable vertically */
.gallery-embed {
  max-width: 900px;
  height: 600px;
  margin: 2rem auto;
  overflow-y: auto;
  overflow-x: hidden;
  background: white;
  border-radius: 8px;
}

.gallery-embed iframe {
  width: 100% !important;
  height: 2000px;
  border: none;
  display: block;
  position: relative;
  z-index: 0;
}

/* ================= Social Icons =================== */
.socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.socials img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
}

.socials a:hover img {
  transform: scale(1.1);
}

/* ==================== Footer ===================== */
footer {
  background: #440e62;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* ============= Hamburger & Mobile Nav ============= */
/* Hide hamburger on desktop */
.menu-toggle {
  display: none;
}

/* Desktop: keep nav visible */
@media (min-width: 601px) {
  .sticky-nav {
    display: flex !important;
    position: sticky;
    top: 0;
  }
}

/* Mobile: show hamburger & hide nav by default */
@media (max-width: 600px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    z-index: 1001;
    cursor: pointer;
  }

  .sticky-nav {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #eee;
    flex-direction: column;
    padding-top: 4rem; /* push below header */
    z-index: 1000;
  }

  body.nav-open .sticky-nav {
    display: flex;
  }

  .sticky-nav a {
    padding: 1rem;
    border-bottom: 1px solid #ccc;
    font-size: 1rem;
  }
}
/* ================= About Section ================= */
.about-photo {
  margin-top: 1.5rem;
  max-width: 600px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
}
/* Allow About section to expand past one viewport */
.snap-section#about {
  height: auto;        /* let it grow for text + image */
  min-height: 100vh;   /* still snap-to-start */
  scroll-snap-align: start;
  padding-bottom: 2rem;/* extra breathing room */
}
/* ================ About Section Override ================ */
.snap-section#about {
  display: block !important;
  height: auto !important;
  min-height: 100vh !important;
  scroll-snap-align: start;
  padding: 4rem 2rem;
  text-align: center;     /* center all text inside */
}

/* Center the image container and give top margin */
.about-photo {
  margin: 1.5rem auto 0;   /* top auto, auto left/right */
  max-width: 600px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
/* About section external link styling */
.about-link {
  margin-top: 1rem;
}

.about-link a {
  color: #440e62;
  text-decoration: none;
  font-weight: bold;
}

.about-link a:hover {
  text-decoration: underline;
}
