@import url('https://fonts.googleapis.com/css2?family=Zen+Kurenaido&display=swap');
html {
  scroll-behavior: smooth;
}

body {
  opacity: 0;
  animation: fadeInBody 1s ease-in forwards;
}

@keyframes fadeInBody {
  to {
    opacity: 1;
  }
}

/* General anchor tag styles */
a {
  position: relative;
  text-decoration: none;
  border-bottom: none;
  color: #003f5c;
}

a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 100%;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease-in-out;
}

/* Anchor hover underline effect */
a:hover::after {
  transform: scaleX(1);
}

a:hover {
  color: #1b5e20; /* dark forest green */
}

.zen-button:active,
.zen-nav-button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(141, 110, 99, 0.08);
}
/* --- INDEX PAGE: LINK BLOCK STYLES --- */

body {
  background-color: #fdfaf5;
}

.zen-link-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 700px;
  margin: 2.5rem auto 2rem auto;
}

.zen-link-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.1rem 1.5rem 1.5rem 1.5rem;
  gap: 0.7rem;
}

.zen-link-text {
  font-size: 1.08rem;
  text-align: center;
  color: #222;
  margin-bottom: 0.2rem;
}

.zen-link-list .zen-nav-button {
  width: 100%;
  max-width: 260px;
  min-width: 220px;
  font-size: 1.05rem;
  display: block;
  box-sizing: border-box;
  margin: 0 auto;
  text-align: center;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  animation: fadeInUp 0.6s ease both;
}

/* --- BUTTON BASE STYLES --- */

.zen-nav-button, .zen-button {
  background: #f7fcf8;
  color: #2e7d32;
  padding: 0.85rem 1.25rem;
  border-radius: 16px;
  border: 2px solid #2e7d32;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(141, 110, 99, 0.12);
}

.zen-nav-button:hover, .zen-nav-button:focus,
.zen-button:hover, .zen-button:focus {
  background: #efebe9;
  border-color: #5d4037;
  color: #5d4037;
  box-shadow: 0 4px 12px rgba(141, 110, 99, 0.12);
}

/* --- QUOTE BOX --- */

@keyframes fadeInSlide {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.buddhist-quote {
  font-family: 'Bookman Old Style', 'Bookman', 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.75;
  color: #ffffff; /* no change needed */
  background: #003f5c;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin: 2rem auto;
  max-width: 700px;
  text-align: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(141, 110, 99, 0.12);
  animation: fadeInSlide 0.8s ease-out both;
  position: relative;
  padding-left: 2rem;
  padding-right: 2rem;
}

.buddhist-quote em {
  display: block;
  font-style: italic;
  margin-bottom: 1rem;
  color: #ffffff;
}

.buddhist-quote span {
  display: block;
  font-weight: 500;
  color: #ffffff;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* --- NAVBAR: REMOVE WHITE BACKGROUND --- */

.greedy-nav {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.greedy-nav .inner-wrap {
  padding: 0 !important;
  margin: 0 auto;
}

.greedy-nav a {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.greedy-nav li::after {
  display: none;
}

/* --- STICKY NAVIGATION --- */

.greedy-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #003f5c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
}



/* --- MASTHEAD COLOR ALIGNMENT --- */
.masthead,
.masthead__inner-wrap,
.site-header {
  background-color: #003f5c;
}

/* --- FOOTER --- */

.zen-footer {
  text-align: center;
  margin: 3rem auto 1.5rem auto;
  padding: 1.5rem 1rem;
  border-top: 1px solid #ccc;
  font-size: 0.95rem;
  color: #444;
  background: #f9f9f9;
  border-radius: 12px;
  max-width: 960px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
}

.zen-footer a {
  color: #003f5c;
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.5rem;
  letter-spacing: 0.5px;
}

.zen-footer a:hover {
  text-decoration: underline;
  color: #2f4b7c;
}

/* --- RESPONSIVE STYLES --- */

@media (max-width: 600px) {
  .zen-link-list {
    max-width: 98vw;
  }

  .zen-link-row {
    padding: 1rem 0.7rem 1.2rem 0.7rem;
    gap: 0.5rem;
  }

  .zen-link-list .zen-nav-button {
    width: 100%;
    max-width: 100%;
    min-width: 160px;
  }

  .zen-link-text {
    font-size: 1rem;
  }

  .zen-button {
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
  }
}

/* --- OPTIONAL QUOTE BOX (alternate style) --- */


.quote-box {
  background: #f4f4f4;
  padding: 1.5rem;
  margin: 2rem auto;
  animation: fadeSlideIn 0.6s ease-in-out both;
  position: relative;
  padding-left: 3.2rem;
}


@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- CUSTOM MINIMAL FOOTER WITH BUTTONS --- */

.minimal-footer {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem 1rem;
  background-color: #f0f4f1;
  border-top: 1px solid #cfd8dc;
  font-family: "Inter", "Helvetica Neue", sans-serif;
}

.minimal-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.minimal-footer-nav a {
  padding: 0.5rem 1rem;
  background-color: #e8f5e9;
  color: #086c0d;
  border: 1px solid #a5d6a7;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  letter-spacing: 0.5px;
}

.minimal-footer-nav a:hover {
  background-color: #c8e6c9;
  color: #1b5e20;
  border-color: #81c784;
}
.minimal-footer-credit {
  font-size: 0.85rem;
  color: #777;
  margin-top: 0.75rem;
}

.minimal-footer-credit a {
  color: #2e7d32;
  text-decoration: none;
  font-weight: 500;
}

.minimal-footer-credit a:hover {
  text-decoration: underline;
  color: #1b5e20;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* --- SECTION DIVIDER --- */

.section-divider {
  border-top: 1px solid rgba(85, 72, 60, 0.12);
  margin: 2.5rem auto;
  max-width: 720px;
}

/* --- SCROLL TO TOP BUTTON --- */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #f0e9dd;
  color: #3e2f1c;
  border: 1px solid #a1887f;
  border-radius: 50%;
  padding: 0.75rem 0.9rem;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(85, 72, 60, 0.2);
  transition: all 0.3s ease-in-out;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: #d7ccc8;
  color: #2e1f0f;
  border-color: #8d6e63;
}
/* --- HAMBURGER MENU ICON COLOR --- */
.greedy-nav .menu-toggle {
  color: #23507b;
}

/* Dropdown menu background */
.greedy-nav .hidden-links {
  background-color: #003f5c; /* Your desired color */
}

/* Hover effects */
.greedy-nav .hidden-links a:hover {
  background-color: #003f5c;
  color: #1b5e20;
  border-bottom: 2px solid #1b5e20
}

/* --- SPACING BELOW STICKY NAV --- */
main h1:first-of-type {
  margin-top: 2.5rem;
}
/* --- CONTACT FORM ZEN STYLE --- */

.zen-contact-form {
  background: #fdfaf5;
  padding: 2rem;
  margin: 3rem auto;
  border: 1px solid #d7ccc8;
  border-radius: 12px;
  max-width: 600px;
  box-shadow: 0 4px 10px rgba(85, 72, 60, 0.08);
  font-family: "Inter", "Helvetica Neue", sans-serif;
}

.zen-contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2e7d32;
}

.zen-contact-form input,
.zen-contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  background-color: #ffffff;
  transition: border-color 0.2s ease-in-out;
}

.zen-contact-form input:focus,
.zen-contact-form textarea:focus {
  border-color: #81c784;
  outline: none;
}

.zen-contact-form button {
  background-color: #2e7d32;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.zen-contact-form button:hover {
  background-color: #1b5e20;
}
.zen-events-wrapper {
  background: #fdfaf5;
  border: 1px solid #e0dcd5;
  padding: 2.5rem 1.5rem;
  margin: 3rem auto;
  max-width: 720px;
  border-radius: 14px;
  box-shadow: 0 6px 12px rgba(85, 72, 60, 0.08);
  font-family: "Inter", "Helvetica Neue", sans-serif;
  animation: fadeInUp 0.6s ease both;
}

.zen-events-wrapper h2 {
  text-align: center;
  font-size: 2rem;
  color: #2e7d32;
  margin-bottom: 1.25rem;
}

.zen-intro {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.6;
}

.zen-placeholder-event {
  background-color: #ffffff;
  border: 1px solid #d7ccc8;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 6px rgba(85, 72, 60, 0.06);
}

.zen-placeholder-event h3 {
  font-size: 1.3rem;
  color: #003f5c;
  margin-bottom: 0.5rem;
}

.zen-placeholder-event p {
  font-size: 1rem;
  color: #444;
  margin: 0.3rem 0;
}

.zen-note {
  font-style: italic;
  color: #7b5e57;
}

.zen-check-back {
  text-align: center;
  font-size: 1rem;
  color: #444;
  margin-top: 2.5rem;
}

.zen-check-back a {
  color: #2e7d32;
  font-weight: 600;
  text-decoration: none;
}

.zen-check-back a:hover {
  text-decoration: underline;
}

/* --- HERO BANNER --- */
.zen-hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  background-color: #1a2b3c; /* deep blue-gray for contrast */
}

.zen-hero-banner picture {
  background-color: transparent;
}
.zen-hero-banner picture,
.zen-hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  max-height: none;
  object-fit: contain;
  max-width: 500px; /* Add this line to limit image size on larger screens */
  margin: 0 auto;   /* Center the image horizontally */
}

.zen-hero-banner h1 {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-family: "Inter", "Helvetica Neue", sans-serif;
  padding: 0 1rem;
  text-align: center;
  -webkit-text-stroke: 0.5px #000000;
}

@media (max-width: 600px) {
  .zen-hero-banner h1 {
    font-size: 1.4rem;
    top: 0.75rem;
    padding: 0 1.3rem;
  }
}

@keyframes fadeInOnScroll {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.rdvt-logo-text {
  font-family: 'Yeseva One', sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 1.2px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}