/* =============================================
   Vihara Volunteers — Shared Stylesheet
   viharavolunteers.org
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

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

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #3A3228;
  background-color: #FAFAF7;
  line-height: 1.75;
}

a { color: #C8860A; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: #1A3362;
  line-height: 1.25;
}

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

/* --- Navigation --- */
nav {
  background-color: #132752;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  color: #F0D060;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 0;
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; color: #F5DFA0; }

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: #C0CEE8;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active { background: rgba(212,146,26,0.18); color: #F0D060; }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #1A3362 0%, #2B52A3 50%, #1A3362 100%);
  color: #FDF6E3;
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C4963A' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }

.hero-eyebrow {
  display: inline-block;
  background: #FFFFFF;
  color: #D4921A;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(212,146,26,0.4);
}

a.hero-eyebrow {
  color: #D4921A;
  text-decoration: none;
  cursor: pointer;
}
a.hero-eyebrow:hover { opacity: 0.85; text-decoration: none; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #FDF6E3;
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.15rem;
  color: #C0CEE8;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: #D4921A;
  color: #fff;
  border-color: #D4921A;
}
.btn-primary:hover { background: #B07A10; border-color: #B07A10; text-decoration: none; color: #fff; }

.btn-secondary {
  background: transparent;
  color: #F0D060;
  border-color: #F0D060;
}
.btn-secondary:hover { background: rgba(232,200,122,0.12); text-decoration: none; color: #F0D060; }

.btn-outline {
  background: transparent;
  color: #D4921A;
  border-color: #D4921A;
}
.btn-outline:hover { background: #D4921A; color: #fff; text-decoration: none; }

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* --- Photo Banner Placeholder --- */
.photo-banner {
  height: 380px;
  background: #D9CEC0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #7A6A58;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  overflow: hidden;
}
.photo-banner img {
  width: 100%; height: 100%; object-fit: cover;
}

/* --- Sections --- */
section { padding: 4rem 2rem; }
.section-inner { max-width: 860px; margin: 0 auto; }
.section-inner-wide { max-width: 1060px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D4921A;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.25rem;
}

.section-body {
  font-size: 1.05rem;
  color: #5A4A3A;
  max-width: 680px;
}

.section-body p + p { margin-top: 1rem; }

/* --- Divider --- */
.divider {
  width: 60px;
  height: 3px;
  background: #D4921A;
  margin: 1.25rem 0 1.75rem;
  border-radius: 2px;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid #EDE5D8;
  box-shadow: 0 2px 12px rgba(60,40,20,0.06);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p { font-size: 0.97rem; color: #5A4A3A; }

/* --- Alt section bg --- */
.bg-warm { background-color: #FDF6E3; }
.bg-light { background-color: #F5F0E8; }

/* --- Info Box --- */
.info-box {
  background: #FDF6E3;
  border-left: 4px solid #D4921A;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.info-box p { font-size: 0.97rem; color: #5A4A3A; }
.info-box strong { color: #1A3362; }

/* --- Donate Box --- */
.donate-box {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid #EDE5D8;
  box-shadow: 0 4px 24px rgba(60,40,20,0.08);
  max-width: 520px;
  margin: 0 auto;
}

.donate-box h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.donate-box p { color: #5A4A3A; margin-bottom: 1.5rem; }

.tax-note {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: #7A6A58;
  font-style: italic;
}

/* --- Wishlist --- */
.wishlist {
  list-style: none;
  margin-top: 1.5rem;
}

.wishlist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #EDE5D8;
  font-size: 1rem;
  color: #3A3228;
}

.wishlist li:last-child { border-bottom: none; }

.wishlist-icon {
  color: #D4921A;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Role Requirements --- */
.req-list {
  list-style: none;
  margin: 1.5rem 0;
}

.req-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid #EDE5D8;
  font-size: 1rem;
  color: #3A3228;
}

.req-list li:last-child { border-bottom: none; }

.req-check {
  color: #6B8A5E;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- Contact CTA --- */
.contact-cta {
  background: linear-gradient(135deg, #1A3362, #2B52A3);
  color: #FDF6E3;
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 2.5rem;
}

.contact-cta h3 {
  color: #F0D060;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-cta p { color: #C0CEE8; margin-bottom: 1.5rem; }

.contact-cta a.btn { margin: 0 auto; }

/* --- Footer --- */
footer {
  background-color: #132752;
  color: #8A9EC0;
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: 0.88rem;
  line-height: 2;
}

footer a { color: #D4921A; }
footer a:hover { color: #F0D060; }

footer .footer-address { margin-bottom: 0.5rem; }

/* --- Responsive --- */
@media (max-width: 640px) {
  nav { flex-direction: column; align-items: flex-start; padding: 1rem; }
  .nav-links { gap: 0; }
  section { padding: 3rem 1.25rem; }
  .donate-box { padding: 1.75rem; }
  .contact-cta { padding: 2rem 1.5rem; }
}
