  /* ===== GLOBAL ===== */
    body {
      margin: 0;
      background: #f7f1e1;
      color: #2e1a12;
      font-family: system-ui, -apple-system, sans-serif;
    }

    h1, h2, h3 {
      font-family: 'Uroob', 'Gayathri', serif;
      font-weight: 700;
      letter-spacing: 0.5px;
    }
.temple-nav {
  position: relative;
  background-color: #7b1e1e; /* deep maroon */

  /* mural motif + kasavu lines */
  background-image:
    /* subtle mural symbols */
    repeating-radial-gradient(
      circle at 20% 30%,
      rgba(255, 215, 150, 0.06) 0,
      rgba(255, 215, 150, 0.06) 1px,
      transparent 1px,
      transparent 22px
    ),
    repeating-radial-gradient(
      circle at 80% 70%,
      rgba(0, 0, 0, 0.18) 0,
      rgba(0, 0, 0, 0.18) 1px,
      transparent 1px,
      transparent 26px
    ),
    /* vertical depth */
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.04),
      rgba(0,0,0,0.28)
    );

  background-size: 120px 120px, 140px 140px, cover;
  background-repeat: repeat;

  /* kasavu borders */
  border-top: 1px solid #c9a24d;
  border-bottom: 3px solid #c9a24d;
}




.temple-title {
  font-family: 'Uroob', serif;
  font-size: 1.25rem;
  letter-spacing: 1.5px;

  color: #f2e6c9 !important;

  position: relative;
  padding-bottom: 4px;
}

.temple-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background-color: #c9a24d;
  margin-top: 6px;
}

.temple-nav .nav-link {
  font-family: 'Gayathri', serif;
  font-size: 0.95rem;
  letter-spacing: 0.8px;

  color: #f7f1e1 !important;

  padding: 8px 12px;
}

.temple-nav .nav-link::after {
  content: "•";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: transparent;
  transition: color 0.2s ease;
}

.temple-nav .nav-link.active::after,
.temple-nav .nav-link:hover::after {
  color: #c9a24d;
}


/* Active link text */
.temple-nav .nav-link.active {
  color: #ffd36a !important;
}


    .navbar-nav .nav-link {
      font-family: 'Gayathri', serif;
      color: #f7f1e1 !important;
      padding: 0.5rem 0.75rem;
    }

    .navbar-nav .nav-link:hover {
      color: #ffd36a !important;
    }

    /* ===== HERO ===== 
    .devi-hero {
      min-height: 85vh;
      background:
        linear-gradient(rgba(52, 52, 52, 0.55), rgba(0,0,0,0.55)),
        url('banner-image-2.png') center / cover no-repeat;
      background-color: #140200;
    }

    */

     .devi-hero {
      min-height: 85vh;
      background: 
        url('../images/banner-image.png') center / cover no-repeat;
      background-color: #140200;
    }
    .devi-hero h1 {
      color: #ffffff;
      font-size: clamp(1.8rem, 6vw, 3rem);
    }

    .devi-hero p {
      font-family: 'Gayathri', serif;
      color: #f7f1e1;
      font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    }

    /* ===== MOBILE HERO POLISH ===== */
    @media (max-width: 767.98px) {
      .devi-hero {
        min-height: 60vh;
        background-size: contain;
        background-position: center top;
      }
    }

    /* ===== FOOTER ===== */
    footer {
      background: #7b1e1e;
      color: #f7f1e1;
      text-align: center;
      padding: 26px 16px;
      font-family: 'Gayathri', serif;
      border-top: 4px solid #c9a24d;
      font-size: 0.9rem;
    }

    /* ===== HISTORY SECTION ===== */
 


/* Image styling – calm & sacred */
.history-image {
  max-width: 50%;
  border: 4px solid #c9a24d; /* kasavu gold */
  padding: 6px;
  background: #ffffff;
}

/* Title */
.history-title {
  font-family: 'Uroob', 'Gayathri', serif;
  color: #7b1e1e;
  margin-bottom: 16px;
}

/* Text */
.history-text {
  font-family: 'Gayathri', serif;
  line-height: 1.8;
  color: #2e1a12;
  font-size: 0.95rem;
}

/* Read more link – subtle temple style */
.history-link {
  display: inline-block;
  margin-top: 12px;
  font-family: 'Gayathri', serif;
  color: #7b1e1e;
  text-decoration: none;
  border-bottom: 1px solid #c9a24d;
  padding-bottom: 2px;
}

.history-link:hover {
  color: #4b1616;
}
 
.temple-history {
  position: relative;
  padding-bottom: 140px;
  background: #f7f1e1;
}

.temple-history::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 400px;

  background-image: url('../images/temple-history-bg.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;   /* THIS FILLS THE AREA */

  opacity: 0.05;
  pointer-events: none;
    
}
/* ===== COMMITTEE SECTION ===== */ 
 

/* Avatar portrait frame */
.committee-member img {
  width: 140px;
  height: 180px;
  object-fit: contain;              /* IMPORTANT for avatars */

  background: #f3ead3;              /* parchment tone */
  border: 3px solid #c9a24d;         /* kasavu gold */
  padding: 10px;

  filter: grayscale(20%) saturate(80%);
}

/* Name */
.committee-member h5 {
  margin-top: 14px;
  font-family: 'Gayathri', serif;
  font-size: 0.95rem;
  color: #2e1a12;
}

/* Role */
.committee-member span {
  font-family: 'Gayathri', serif;
  font-size: 0.8rem;
  color: #7b1e1e;
  letter-spacing: 0.4px;
}

@media (max-width: 767.98px) {
 .temple-history::after {
    height: 80px;
    opacity: 0.25;
  }
  .temple-history::after {
    height: 80px;
    opacity: 0.25;
  }

  .history-image {
    max-width: 100%;
  }
}

.temple-separator {
  width: 100%;
  line-height: 0;
  background: #f7f1e1;
}

.temple-separator svg {
  width: 100%;
  height: 40px;
  display: block;
}
.temple-committee {
  position: relative;
  background-color: #f3ead3; /* old lime plaster */
}
.temple-committee::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    /* hairline cracks */
    repeating-linear-gradient(
      115deg,
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.08) 1px,
      transparent 1px,
      transparent 120px
    ),
    repeating-linear-gradient(
      70deg,
      rgba(0, 0, 0, 0.06),
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 180px
    ),
    /* fine plaster grain */
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.02),
      rgba(0, 0, 0, 0.02) 1px,
      transparent 1px,
      transparent 3px
    );

 opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.temple-committee .container {
  position: relative;
  z-index: 1;
}
/* ===== DAILY RITUALS ===== */
.temple-rituals {
  background-color: #f7f1e1; /* clean wall */
}
 
/* ===== DAILY RITUAL IMAGE BANNER ===== */
.daily-ritual-banner {
  position: relative;

  width: 100%;
  min-height: 160px;
  max-height: 200px;

  background-image:
    linear-gradient(
      to right,
      rgba(75, 22, 22, 0.65),   /* darker left */
      rgba(75, 22, 22, 0.45),   /* center soft */
      rgba(75, 22, 22, 0.35)    /* lighter right */
    ),
    url('../images/ritual-banner.png');

  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-content {
  text-align: center;
  padding: 10px 16px;
}

.banner-content h2 {
  font-family: 'Uroob', serif;
  color: #ffd36a;
  margin-bottom: 8px;
}
 
.banner-actions a {
  font-family: 'Gayathri', serif;
  font-size: 0.9rem;
  color: #ffd36a;

  text-decoration: none;              /* REMOVE BLUE UNDERLINE */
  border-bottom: 1px solid #c9a24d;    /* SUBTLE GOLD LINE */

  padding-bottom: 2px;
}

.banner-actions a:hover {
  color: #ffffff;
  border-bottom-color: #ffd36a;
}

/* ===== FESTIVAL RITUAL BANNER ===== */
.festival-ritual-banner {
  position: relative;
  width: 100%;
  min-height: 250px;
  max-height: 300px;

  background-image:
     
    url('../images/festival-ritual-banner.png');

  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: center;
 
}

.festival-ritual-banner::before,
.festival-ritual-banner::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 14px;
  z-index: 2;
}

/* Top border */
.festival-ritual-banner::before {
  top: 0;
  background:
    linear-gradient(
      to bottom,
      #f7f1e1 0%,
      #f7f1e1 40%,
      #c9a24d 40%,
      #c9a24d 55%,
      #f7f1e1 55%,
      #f7f1e1 100%
    );
}

/* Bottom border */
.festival-ritual-banner::after {
  bottom: 0;
  background:
    linear-gradient(
      to top,
      #f7f1e1 0%,
      #f7f1e1 40%,
      #c9a24d 40%,
      #c9a24d 55%,
      #f7f1e1 55%,
      #f7f1e1 100%
    );
}
.festival-banner-content h2 {
  font-family: 'Uroob', serif;

  font-size: clamp(1.4rem, 3vw, 2rem); /* responsive but controlled */
  font-weight: 600;

  color: #fff; /* warm kasavu-white, NOT bright yellow */

  letter-spacing: 1.5px;
  margin-bottom: 12px;

  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  text-align: center;
  width: 100%;
}
@media (max-width: 767.98px) {
  .daily-ritual-banner {
    min-height: 130px;

    background-image:
      linear-gradient(
        to bottom,
        rgba(75, 22, 22, 0.70),
        rgba(75, 22, 22, 0.55)
      ),
      url('../images/ritual-banner.png');

    background-position: center;
  }
}
@media (max-width: 767.98px) {
  .festival-ritual-banner {
    min-height: 130px;
    background-position: center;
  }

  .festival-banner-content h2 {
    font-size: 1.25rem;
  }

  .banner-actions {
    flex-wrap: wrap;
    gap: 10px;
  }
   .festival-ritual-banner::before,
  .festival-ritual-banner::after {
    height: 10px;
  }
.banner-actions {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
  }
   .day-title {
    font-size: 1rem;
    letter-spacing: 1px;
  }
  .day-top {
    padding: 8px 6px;
  }

  .day-icon-img {
    width: 32px;
  }

.temple-nav {
    background-image:
      repeating-radial-gradient(
        circle at 50% 40%,
        rgba(255, 215, 150, 0.04) 0,
        rgba(255, 215, 150, 0.04) 1px,
        transparent 1px,
        transparent 28px
      ),
      linear-gradient(
        to bottom,
        rgba(255,255,255,0.03),
        rgba(0,0,0,0.25)
      );
  }

  .temple-nav .navbar-collapse {
    background-color: #6a1515;
    padding: 10px 12px;
  }

  .temple-nav .nav-link {
    padding: 10px 0;
  }

  .temple-nav .navbar-collapse {
    background-color: #6a1515;
    border-top: 1px solid #5a1414;
  }

  .temple-nav .nav-link {
    padding: 12px 0;
    text-align: center;
  }

  .temple-title::after {
    margin-left: auto;
    margin-right: auto;
  }
    .festival-guide {
    background-image:
      repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.05) 0,
        rgba(255, 255, 255, 0.05) 1px,
        transparent 1px,
        transparent 14px
      );
  }
}

.banner-actions {
  display: flex;
  justify-content: center;   /* horizontal center */
  align-items: center;

  gap: 16px;
  width: 100%;               /* IMPORTANT */
  margin: 0 auto;            /* force centering */
  text-align: center;
}
/* ===== FESTIVAL GUIDE ===== */
 

/* Title */
.guide-title {
  font-family: 'Uroob', serif;
  color: #7b1e1e;
}

/* Board */
.festival-board {
  max-width: 900px;
  background-color: #efe6cf; /* stone / palm-leaf tone */
  border: 2px solid #bfa76a;
  padding: 18px 14px;
}

/* ===== FESTIVAL GUIDE ===== */
/* Festival guide background */
.festival-guide {
  position: relative;

  /* base wall tone */
  background-color: #f4ecd6;

  /* subtle aged texture */
  background-image:
    /* faded speckles (age marks) */
    repeating-radial-gradient(
      circle at 30% 40%,
      rgba(0, 0, 0, 0.04) 0,
      rgba(0, 0, 0, 0.04) 1px,
      transparent 1px,
      transparent 28px
    ),
    /* light parchment grain */
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 10px
    );

  background-size: 180px 180px, auto;
  background-repeat: repeat;
}

.festival-guide .container {
  position: relative;
  z-index: 1;
}

/* Day panel (NOT a card) */
.festival-day {
  background-color: #efe6cf; /* wall / palm-leaf tone */

  height: 100%;
  display: flex;
  flex-direction: column;

  font-family: 'Gayathri', serif;
}

.day-top {
  background-color: #7b1e1e;   /* deep maroon */
  color: #ffffff;

  text-align: center;
  padding: 10px 6px;

  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}


/* DAY 1 */
.day-label {
  font-family: 'Uroob', serif;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

/* കൊടിയേറ്റ് */
.day-main {
  font-size: 0.85rem;
  letter-spacing: 0.8px;
}

.day-bottom {
  padding: 16px 10px 18px;
  text-align: center;
}

 

/* Subtitle */
.day-sub {
  font-size: 0.9rem;
  color: #2e1a12;
  line-height: 1.6;
}

.day-icon {
  margin-bottom: 10px;
}

.day-icon svg {
  width: 34px;
  height: 34px;

  fill: none;
  stroke: #7b1e1e;
  stroke-width: 2;
  opacity: 0.85;
}
.day-title {
  font-family: 'Uroob', serif;
  font-size: 1.05rem;
  font-weight: 600;

  color: #7b1e1e;
  letter-spacing: 1.4px;

  margin-bottom: 8px;
}

.festival-day p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #2e1a12;
}
 

.day-icon-img {
  width: 50px;
  height: auto;
  margin-bottom: 8px;
  opacity: 0.9;
}

.day-divider {
  width: 50px;
  height: 3px;

  background-color: #7b1e1e;   /* exact maroon */
  border: none;

  margin: 2px auto 5px;

  opacity: 1;                 /* IMPORTANT */
}
 
.ritual-strip {
  background-color: #efe6cf;
  border-bottom: 2px solid #c9a24d;

  font-family: 'Gayathri', serif;
  font-size: 0.9rem;
  letter-spacing: 0.4px;

  color: #2e1a12;

  padding: 6px 0;
}
.festival-watermark {
  position: absolute;
  top: 2px;
  left: 30px;

  font-family: 'Uroob', serif;
  font-size: 12rem;
  letter-spacing: 4px;
  line-height: 1;          /* IMPORTANT */
  display: block;          /* IMPORTANT */

  color: rgba(120, 90, 40, 0.05);

  pointer-events: none;
  z-index: 0;
}
.festival-watermark {
  transform: translateY(-20px);
}


/* ===== MAP SECTION ===== */
.temple-map-section {
  position: relative;
  width: 100%;
  background-color: #efe6cf; /* subtle base under map */
}

/* Title strip (optional but recommended) */
.map-title {
  font-family: 'Uroob', serif;
  font-size: 1.3rem;
  letter-spacing: 1px;

  color: #7b1e1e;
  text-align: center;

  padding: 20px 10px 14px;
}

/* Map wrapper */
.map-frame {
  width: 100%;
  height: 420px;
  overflow: hidden;
}

/* Map itself */
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 767.98px) {
  .map-frame {
    height: 300px;
  }

  .map-title {
    font-size: 1.15rem;
    padding: 16px 10px;
  }
}

/* ===== FOOTER ===== */
.temple-footer {
  background-color: #6a1515; /* deep maroon */
  color: #f7f1e1;

  padding: 50px 0 0;
  font-family: 'Gayathri', serif;
  position: relative;
  overflow: hidden;
}

/* Section titles */
.footer-title {
  font-family: 'Uroob', serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: #f2e6c9;
  margin-bottom: 10px;
}

/* Text */
.footer-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #f7f1e1;
}

/* Bottom strip */
.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #f2e6c9;

  padding: 18px 10px;
  margin-top: 40px;

  border-top: 2px solid #c9a24d;
}

@media (max-width: 767.98px) {
  .temple-footer {
    padding-top: 40px;
  }

  .footer-title {
    font-size: 1rem;
  }

  .footer-text {
    font-size: 0.88rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
    .footer-credit {
    font-size: 0.72rem;
  }
    
  .marquee-track span {
    font-size: 1.4rem;
    letter-spacing: 1.5px;
  }

  .marquee-track {
    animation-duration: 75s;
  }
}

.footer-credit {
  display: block;
  margin-top: 6px;

  font-size: 0.75rem;
  letter-spacing: 0.4px;

  color: rgba(242, 230, 201, 0.75); /* softer kasavu tone */
}
.temple-footer .container {
  position: relative;
  z-index: 2;
}
.footer-marquee {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;

  pointer-events: none;
  z-index: 0;
}

/* moving track */
.marquee-track {
  display: inline-flex;
  width: max-content;

  animation: footer-marquee 120s linear infinite;
}

/* watermark text */
.marquee-track span {
  font-family: 'Uroob', serif;

  font-size: clamp(4.2rem, 10vw, 5.2rem); /* INCREASED */
  letter-spacing: 2px;

  color: rgba(184, 156, 91, 0.045); /* LOWER opacity = watermark */

  padding-right: 80px;
  text-shadow:
    0 1px 1px rgba(0,0,0,0.05),
    0 -1px 1px rgba(255,255,255,0.03);
}
/* animation */
@keyframes footer-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* LEFT INTRO */
.committee-intro {
  padding-right: 20px;
}

.committee-title {
  font-family: 'Uroob', serif;
  font-size: 2rem;
  color: #6a1515;
  margin-bottom: 10px;
}

.committee-desc {
  font-family: 'Gayathri', serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #2e1a12;
}

/* MEMBER BLOCK */
.committee-member {
  text-align: center;
}

.committee-member img {
  width: 125px;
  height: 125px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #c9a24d;
  margin-bottom: 10px;
}

.committee-member h5 {
  font-family: 'Gayathri', serif;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.committee-member span {
  font-family: 'Gayathri', serif;
  font-size: 1.50rem;
  color: #6a1515;
}
.committee-panel {
  height: 100%;
  min-height: 280px;

  background-color: #f3ebd2;

  background-image:
    repeating-linear-gradient(
      to bottom,
      rgba(120, 90, 40, 0.04) 0,
      rgba(120, 90, 40, 0.04) 1px,
      transparent 1px,
      transparent 22px
    );

  border-left: 5px solid #c9a24d;

  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-inner {
  text-align: center;
}

.panel-inner h3 {
  font-family: 'Uroob', serif;
  font-size: 1.8rem;
  line-height: 1.4;
  color: #6a1515;
  margin-bottom: 6px;
}

.panel-sub {
  font-family: 'Gayathri', serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #2e1a12;
}

.panel-more {
  font-family: 'Gayathri', serif;
  font-size: 0.85rem;
  color: #6a1515;
  text-decoration: none;
  border-bottom: 1px solid #6a1515;
  padding-bottom: 2px;
}
@media (max-width: 767.98px) {

  /* Panel becomes section header */
  .committee-panel {
    min-height: auto;
    padding: 24px 16px;
    text-align: center;
  }

  .panel-inner h3 {
    font-size: 1.6rem;
  }

  .panel-desc {
    font-size: 0.9rem;
    margin: 10px 0 14px;
  }

  /* Members spacing */
  .committee-member {
    text-align: center;
  }

  .committee-member img {
    width: 125px;
    height: 125px;
  }

  .committee-member h5 {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .committee-member span {
    font-size: 0.8rem;
  }
}
