:root{
  --bg:#e8f1e6;
  --shell:#cfe3cc;
  --surface:#f9fff7;
  --surface-2:#e8f4e4;
  --text:#223126;
  --muted:#56695a;
  --primary:#4f8a57;
  --primary-dark:#35633d;
  --accent:#8fbe7d;
  --line:#bfd4bc;
  --shadow:0 18px 42px rgba(44, 74, 49, 0.10);
  --shell-shadow:0 28px 70px rgba(39, 64, 43, 0.14);
  --radius:22px;
  --shell-radius:36px;
  --max:1180px;
  --shell-max:1280px;
}

.logo{
  width:46px;
  height:46px;
  object-fit:cover;
  border-radius:12px;
  display:block;
  box-shadow:var(--shadow);
  flex-shrink:0;
}

.hero-image{
  width:100%;
  height:100%;
  max-height:430px;
  object-fit:cover;
  border-radius:24px;
  display:block;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, #f5fbf3 0, transparent 28%),
    radial-gradient(circle at top right, #ddebd8 0, transparent 22%),
    linear-gradient(180deg, #edf6ea 0%, #dbe8d7 100%);
  line-height:1.6;
  padding:18px;
}

.site-shell{
  width:min(100%, var(--shell-max));
  margin:0 auto;
  background:linear-gradient(180deg, #d5e8d1 0%, #c6ddc2 100%);
  border:1px solid rgba(79,138,87,0.18);
  border-radius:var(--shell-radius);
  box-shadow:var(--shell-shadow);
  overflow:hidden;
  min-height:calc(100vh - 36px);
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{
  width:min(calc(100% - 2rem), var(--max));
  margin-inline:auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(213,232,209,0.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(191,212,188,0.95);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:76px;
  gap:1rem;
}

.brand{
  display:flex;
  align-items:center;
  gap:.85rem;
  font-weight:700;
  letter-spacing:.2px;
}

.brand-mark{
  width:46px;
  height:46px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--primary),var(--accent));
  color:white;
  display:grid;
  place-items:center;
  font-size:1.1rem;
  box-shadow:var(--shadow);
  flex-shrink:0;
}

.brand-text small{
  display:block;
  color:var(--muted);
  font-weight:500;
  font-size:.78rem;
  margin-top:2px;
}

.nav-links{
  display:flex;
  gap:1.2rem;
  align-items:center;
}

.nav-links a{
  padding:.55rem .8rem;
  border-radius:999px;
  color:var(--muted);
  font-size:.97rem;
  transition:.25s ease;
}

.nav-links a:hover,
.nav-links a.active{
  background:var(--surface-2);
  color:var(--primary-dark);
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:.75rem;
}

.lang-btn{
  border:none;
  background:var(--surface);
  border:1px solid var(--line);
  color:var(--primary-dark);
  padding:.7rem 1rem;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
  transition:.25s ease;
  font-size:.95rem;
  font-family:inherit;
}

.lang-btn:hover{
  background:var(--surface-2);
}

.menu-btn{
  display:none;
  border:none;
  background:var(--surface);
  border:1px solid var(--line);
  width:46px;
  height:46px;
  border-radius:14px;
  font-size:1.25rem;
  cursor:pointer;
  color:var(--primary-dark);
}

.hero{
  padding:68px 0 34px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:2rem;
  align-items:center;
}

.hero-content{
  grid-column:1;
  display:block;
}

.hero-card{
  grid-column:2;
  background:linear-gradient(180deg, #b8d8b4 0%, #8fbe7d 100%);
  border:1px solid rgba(53,99,61,0.20);
  border-radius:32px;
  padding:1.1rem;
  box-shadow:0 18px 38px rgba(53,99,61,0.14);
  position:relative;
  overflow:hidden;
}

.hero-card::before{
  content:"";
  position:absolute;
  inset:auto -60px -60px auto;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(143,190,125,.24) 0%, rgba(143,190,125,0) 70%);
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.45rem .9rem;
  border-radius:999px;
  background:var(--surface-2);
  color:var(--primary-dark);
  font-weight:700;
  font-size:1.5rem;
  margin-bottom:1rem;
  border:1px solid #cfe0cb;
}

h1{
  font-size:clamp(2.3rem, 5vw, 4.4rem);
  line-height:1.06;
  margin:.15rem 0 .9rem;
  letter-spacing:-1.6px;
}

.hero p{
  color:var(--muted);
  font-size:1.06rem;
  max-width:62ch;
  margin:0 0 1.4rem;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.9rem;
  margin-top:1.2rem;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:.95rem 1.25rem;
  border-radius:999px;
  font-weight:700;
  transition:.25s ease;
  border:none;
  cursor:pointer;
}

.btn-primary{
  background:linear-gradient(135deg,var(--primary),var(--accent));
  color:#fff;
  box-shadow:var(--shadow);
}

.btn-primary:hover{transform:translateY(-1px)}

.btn-secondary{
  background:var(--surface);
  color:var(--primary-dark);
  border:1px solid var(--line);
}

.image-placeholder{
  min-height:430px;
  border-radius:24px;
  border:2px dashed #6ea46f;
  background:
    linear-gradient(145deg, rgba(245,255,242,.96), rgba(207,227,204,.92)),
    repeating-linear-gradient(
      45deg,
      rgba(79,138,87,.05) 0 12px,
      rgba(143,190,125,.08) 12px 24px
    );
  display:grid;
  place-items:center;
  text-align:center;
  padding:2rem;
  color:var(--muted);
}

.image-placeholder strong{
  display:block;
  color:var(--primary-dark);
  font-size:1.2rem;
  margin-bottom:.4rem;
}

.quick-info{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
  margin-top:1rem;
}

.info-box{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:18px;
  padding:1rem;
}

.info-box h4{
  margin:0 0 .2rem;
  font-size:.98rem;
  color:var(--primary-dark);
}

.info-box p{
  margin:0;
  font-size:.93rem;
  color:var(--muted);
}

.location-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:.75rem;
}

.location-map-link{
  display:block;
  width:100%;
  text-decoration:none;
}

.location-map-preview{
  width:100%;
  min-height:120px;
  border-radius:18px;
  border:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(249,255,247,.96) 0%, rgba(232,244,228,.96) 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.9rem;
  padding:1rem;
  box-shadow:var(--shadow);
  transition:transform .25s ease, box-shadow .25s ease;
}

.location-map-link:hover .location-map-preview{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(44, 74, 49, 0.14);
}

.location-map-pin{
  font-size:2rem;
  line-height:1;
  flex-shrink:0;
}

.location-map-text{
  display:flex;
  flex-direction:column;
  gap:.2rem;
}

.location-map-text strong{
  color:var(--primary-dark);
  font-size:1rem;
}

.location-map-text span{
  color:var(--muted);
  font-size:.92rem;
}

section{
  padding:42px 0;
}

.section-head{
  margin-bottom:1.5rem;
}

.section-head h2{
  font-size:clamp(1.7rem, 3.2vw, 2.7rem);
  margin:0 0 .4rem;
  letter-spacing:-.7px;
}

.section-head p{
  margin:0;
  color:var(--muted);
  max-width:65ch;
}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.2rem;
}

.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.2rem;
  box-shadow:var(--shadow);
}

.card h3{
  margin:.2rem 0 .55rem;
  color:var(--primary-dark);
}

.card p{
  margin:0;
  color:var(--muted);
}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.3rem;
}

.timing-list,
.festival-list{
  display:grid;
  gap:.85rem;
}

.list-item{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  align-items:flex-start;
  padding:1rem 1.05rem;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--surface);
}

.list-item strong{
  color:var(--primary-dark);
  display:block;
  margin-bottom:.2rem;
}

.list-item span{
  color:var(--muted);
  font-size:.95rem;
}

.gallery-slider{
  display:flex;
  align-items:center;
  gap:1rem;
}

.gallery-viewport{
  overflow:hidden;
  width:100%;
}

.gallery-track{
  display:flex;
  gap:1rem;
  transition:transform .35s ease;
  will-change:transform;
}

.gallery-card{
  flex:0 0 calc((100% - 3rem) / 4);
  min-width:calc((100% - 3rem) / 4);
  border-radius:22px;
  border:2px solid var(--line);
  background:linear-gradient(180deg,#fafff8 0%, #edf7e9 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:.5rem;
  overflow:hidden;
}

.gallery-image{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:16px;
  display:block;
}

.gallery-arrow{
  width:48px;
  height:48px;
  border:none;
  border-radius:999px;
  background:var(--surface);
  border:1px solid var(--line);
  color:var(--primary-dark);
  font-size:1.4rem;
  font-weight:700;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  box-shadow:var(--shadow);
  transition:.25s ease;
}

.gallery-arrow:hover{
  background:var(--surface-2);
  transform:translateY(-1px);
}

.gallery-arrow:disabled{
  opacity:.45;
  cursor:not-allowed;
  transform:none;
}

.gallery-card strong{
  color:var(--primary-dark);
  display:block;
  margin-bottom:.35rem;
}

.gallery-card span{
  display:block;
}

.visit{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:1.2rem;
}

.map-box{
  min-height:320px;
  border-radius:26px;
  border:2px dashed #9cc29a;
  background:linear-gradient(180deg,#f6fff3 0%, #e8f4e4 100%);
  display:grid;
  place-items:center;
  text-align:center;
  padding:2rem;
  color:var(--muted);
}

.contact-form{
  display:grid;
  gap:.9rem;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  border-radius:16px;
  padding:1rem 1rem;
  font:inherit;
  color:var(--text);
  outline:none;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color:#7caf76;
  box-shadow:0 0 0 4px rgba(143,190,125,.14);
}

.contact-form textarea{
  min-height:130px;
  resize:vertical;
}

.footer{
  padding:28px 0 46px;
  color:var(--muted);
  font-size:.95rem;
}

.footer-box{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
  padding-top:1.2rem;
  border-top:1px solid var(--line);
}

.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .65s ease, transform .65s ease;
}

.reveal.show{
  opacity:1;
  transform:translateY(0);
}

.notice{
  margin-top:.75rem;
  color:var(--primary-dark);
  font-weight:700;
  display:none;
}

.board-table-card{
  overflow:hidden;
}

.table-wrap{
  width:100%;
  overflow-x:auto;
}

.board-table{
  width:100%;
  border-collapse:collapse;
  min-width:640px;
  background:var(--surface);
}

.board-table th,
.board-table td{
  padding:1rem 1.1rem;
  text-align:left;
  border-bottom:1px solid var(--line);
}

.board-table th{
  background:var(--surface-2);
  color:var(--primary-dark);
  font-weight:700;
}

.board-table td{
  color:var(--muted);
}

.board-table tbody tr:hover{
  background:#f1f9ee;
}

@media (max-width: 980px){
  body{
    padding:14px;
  }

  .site-shell{
    min-height:calc(100vh - 28px);
  }

  .hero-grid,
  .visit,
  .split,
  .cards,
  .gallery{
    grid-template-columns:1fr 1fr;
  }

  .quick-info{
    grid-template-columns:1fr;
  }

  .gallery-card{
    flex:0 0 calc((100% - 1rem) / 2);
    min-width:calc((100% - 1rem) / 2);
  }
}

@media (max-width: 760px){
  body{
    padding:0;
  }

  .site-shell{
    width:100%;
    border-radius:0;
    min-height:100vh;
  }

  .topbar{
    border-radius:0;
  }

  .menu-btn{
    display:inline-grid;
    place-items:center;
  }

  .nav-links{
    position:absolute;
    left:1rem;
    right:1rem;
    top:84px;
    background:rgba(245,255,242,.98);
    backdrop-filter: blur(12px);
    border:1px solid var(--line);
    border-radius:22px;
    box-shadow:var(--shadow);
    padding:.7rem;
    flex-direction:column;
    align-items:stretch;
    display:none;
  }

  .nav-links.open{display:flex}
  .nav-links a{padding:.9rem 1rem}

  .hero-grid,
  .visit,
  .split,
  .cards,
  .gallery{
    grid-template-columns:1fr;
  }

  .hero-content{
    grid-column:auto;
    order:1;
  }

  .hero-card{
    grid-column:auto;
    order:2;
    margin-top:.5rem;
  }

  .quick-info{
    grid-column:auto;
    order:3;
    grid-template-columns:1fr;
    margin-top:1rem;
  }

  h1{letter-spacing:-1px}
  .hero{padding-top:38px}

  .lang-btn{
    padding:.65rem .9rem;
    font-size:.9rem;
  }

  .gallery-slider{
    gap:.5rem;
  }

  .gallery-card{
    flex:0 0 100%;
    min-width:100%;
  }

  .gallery-arrow{
    width:42px;
    height:42px;
    font-size:1.15rem;
  }
}

.renovation-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:.75rem;
}

.renovation-link{
  display:block;
  width:100%;
  max-width:150px;
  margin:0 auto;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:transform .25s ease, box-shadow .25s ease;
}

.renovation-link:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(44, 74, 49, 0.14);
}

.renovation-thumb{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

.info-link{
  color:var(--primary-dark);
  font-weight:700;
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:.25s ease;
}

.info-link:hover{
  color:var(--primary);
  border-bottom-color:var(--primary);
}

/* ======================================================
   HISTORY PAGE
====================================================== */
.history-section {
  max-width: 1000px;
  margin: 0 auto;
}

.history-title {
  font-size: 2.2rem;
  color: #7a3f1d;
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.3;
  font-weight: 700;
}

.history-para-content {
  background: #eaf4e6;
  border: 1px solid #c9dcc4;
  border-radius: 12px;
  padding: 34px 36px;
  color: #3f2a1d;
  font-size: 1.08rem;
  line-height: 2;
  text-align: justify;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.history-para-content p {
  margin-bottom: 22px;
  text-align: justify;
}

.history-para-content .verse {
  margin: 28px 0;
  text-align: center;
  font-style: italic;
  font-weight: 600;
  color: #6f3a1a;
  line-height: 1.9;
}

.history-para-content strong {
  color: #5f2f16;
}

@media (max-width: 768px) {
  .history-title {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }

  .history-para-content {
    padding: 22px 18px;
    font-size: 1rem;
    line-height: 1.9;
  }

  .history-para-content p {
    margin-bottom: 18px;
  }
}

.contact-details{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.2rem;
  margin-top:1.5rem;
}

.contact-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:20px;
  padding:1.4rem 1.2rem;
  box-shadow:var(--shadow);
  text-align:center;
}

.contact-card h3{
  margin:0 0 .6rem;
  color:var(--primary-dark);
  font-size:1.05rem;
}

.contact-card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.contact-card a{
  color:var(--primary-dark);
  font-weight:700;
  text-decoration:none;
}

.contact-card a:hover{
  color:var(--primary);
}

@media (max-width: 760px){
  .contact-details{
    grid-template-columns:1fr;
  }
}


.location-map-image{
  width:100%;
  max-width:220px;
  height:auto;
  display:block;
  margin:0 auto;
  border-radius:16px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:transform .25s ease, box-shadow .25s ease;
}

.location-map-link:hover .location-map-image{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(44, 74, 49, 0.14);
}

.location-map-link{
  display:flex;
  justify-content:center;
  width:100%;
  text-decoration:none;
}

.renovation-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:.75rem;
}

.renovation-link:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(44, 74, 49, 0.14);
}

.renovation-link{
  display:flex;
  justify-content:center;
  width:100%;
  max-width:220px;
  margin:0 auto;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:transform .25s ease, box-shadow .25s ease;
}

.renovation-thumb{
  width:100%;
  height:auto;
  display:block;
  margin:0 auto;
  object-fit:cover;
}

.annual-festival-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:.75rem;
}

.annual-festival-card h3{
  margin-bottom:.2rem;
}

.annual-festival-card p{
  margin:0;
}

.renovation-page-hero {
  padding-top: 120px;
}

.renovation-gallery {
  margin-top: 32px;
}

.renovation-image-card {
  overflow: hidden;
}

.renovation-image-card a {
  display: block;
  overflow: hidden;
  border-radius: 18px;
}

.renovation-page-image {
  width: 100%;
  height: 280px;
  object-fit: contain;
  display: block;
  background: #f7f3ea;
  padding: 10px;
  border-radius: 18px;
  transition: transform 0.3s ease;
}

.renovation-image-card:hover .renovation-page-image {
  transform: scale(1.04);
}

.renovation-image-card h3 {
  margin-top: 16px;
  text-align: center;
}

.renovation-back-wrap {
  margin-top: 32px;
  text-align: center;
}

@media (max-width: 760px) {
  .renovation-page-hero {
    padding-top: 96px;
  }

  .renovation-page-image {
    height: 220px;
  }
}

.renovation-slider-section {
  margin-top: 48px;
}

.renovation-slider {
  position: relative;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.renovation-slider-frame {
  width: 100%;
  max-width: 980px;
  height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: #f7f3ea;
  border: 1px solid rgba(120, 94, 55, 0.18);
  box-shadow: 0 18px 45px rgba(50, 36, 16, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.renovation-slider-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
}

.renovation-slider-arrow {
  position: absolute;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(54, 74, 45, 0.92);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.renovation-slider-arrow:hover {
  transform: scale(1.08);
  background: rgba(38, 58, 31, 0.96);
}

.renovation-slider-arrow-left {
  left: 18px;
}

.renovation-slider-arrow-right {
  right: 18px;
}

.renovation-slider-caption {
  margin-top: 14px;
  text-align: center;
  font-weight: 600;
  color: #5c4a2d;
}

@media (max-width: 760px) {
  .renovation-slider-section {
    margin-top: 36px;
  }

  .renovation-slider-frame {
    height: 340px;
    border-radius: 18px;
  }

  .renovation-slider-image {
    padding: 8px;
  }

  .renovation-slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .renovation-slider-arrow-left {
    left: 8px;
  }

  .renovation-slider-arrow-right {
    right: 8px;
  }
}

.renovation-cost-section {
  margin-top: 56px;
}

.renovation-cost-card {
  margin: 24px auto 0;
  max-width: 620px;
  border-radius: 24px;
  overflow: hidden;
  background: #f7f3ea;
  border: 1px solid rgba(120, 94, 55, 0.18);
  box-shadow: 0 18px 45px rgba(50, 36, 16, 0.16);
  padding: 14px;
}

.renovation-cost-card a {
  display: block;
  border-radius: 18px;
  overflow: hidden;
}

.renovation-cost-image {
  width: 100%;
  height: 760px;
  object-fit: contain;
  display: block;
  background: #fffaf1;
  border-radius: 18px;
}

@media (max-width: 760px) {
  .renovation-cost-section {
    margin-top: 40px;
  }

  .renovation-cost-card {
    max-width: 100%;
    padding: 10px;
    border-radius: 18px;
  }

  .renovation-cost-image {
    height: 560px;
    border-radius: 14px;
  }
}