body{
  margin:0;
  font-family:"Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top, #ffe3a3 0%, #f7b733 35%, #e67e22 100%);
  color:#2d1b0f;
  line-height:1.7;
}

header{
  background:linear-gradient(
    to bottom,
    #f5a623 0%,
    #e25822 50%,
    #b83a1b 100%
  );
  padding:16px 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  border-bottom:4px solid #8b2c14;
}
header h2{
  color:#ffffff;
}
nav a{
  text-decoration:none;          /* ❌ removes underline */
  color:#fff8e6;
  padding:8px 14px;
  margin:0 4px;
  border-radius:6px;
  font-weight:600;
  transition:all .25s ease;
  display:inline-block;
}

nav a:hover{
  background:rgba(255,255,255,0.18);
  color:#ffffff;
}
nav a.active{
  background:#ffd56a;
  color:#7a2c0c;
  box-shadow:0 3px 8px rgba(0,0,0,.25);
}


.hero{
  background:
    linear-gradient(
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.45)
    ),
    url("../images/main_temple2.jpeg") center center / cover no-repeat;

  width:100%;
  min-height:520px;          /* 🔑 makes image LARGE */
  display:flex;
  align-items:center;
  justify-content:center;

  color:#ffffff;
  text-align:center;

  margin:30px auto;
  border-radius:18px;
  box-shadow:0 14px 40px rgba(0,0,0,.35);
}


.hero h1{
  font-size:36px;
  line-height:1.4;
  max-width:900px;
  margin:auto;
  font-weight:600;
}

.hero::after{
  content:"";
  display:block;
  margin:25px auto 0;
  width:80px;
  height:4px;
  background:#c9a24d;
  border-radius:2px;
}
.service-card{
  text-align:center;
  transition:transform .25s ease, box-shadow .25s ease;
}

.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 25px rgba(0,0,0,.15);
}
/* ===== GALLERY PAGE ===== */
/* ===== DIVINE GALLERY FIX ===== */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  gap:20px;
  margin-top:25px;
}

.gallery-grid img{
  width:100%;
  height:auto;              /* 🔑 THIS FIXES CROPPING */
  object-fit:contain;       /* 🔑 SHOW FULL IMAGE */
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  background:#000;          /* avoids white gaps for vertical images */
}


/* ===== FOOTER ===== */
.site-footer{
  background:#1e2a36;
  color:#e5e7eb;
  margin-top:60px;
}

.footer-container{
  max-width:1200px;
  margin:auto;
  padding:40px 20px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
  gap:30px;
}

.footer-box h3,
.footer-box h4{
  color:#f5c46b;
  margin-bottom:10px;
}

.footer-box ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-box ul li{
  margin-bottom:8px;
}

.footer-box a{
  color:#e5e7eb;
  text-decoration:none;
}

.footer-box a:hover{
  color:#f5c46b;
}

/* ===== FOOTER SOCIAL FIX ===== */

.footer-bottom a{
  text-decoration:none !important;
}

/* Icon color (gold – temple theme) */
.footer-bottom .footer-follow a{
  color:#facc15;
  font-size:16px;
  font-weight:600;
  margin:0 14px;
}

/* YouTube red text */
.footer-bottom .footer-yt span{
  color:#ff0000 !important;
}

/* Instagram app gradient text */
.footer-bottom .footer-ig span{
  background:linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* Hover effect */
.footer-bottom .footer-follow a:hover{
  opacity:0.9;
}
/* ===== FOOTER BOTTOM CENTER FIX ===== */

.site-footer .footer-bottom{
  display:flex;
  flex-direction:column;
  align-items:center;   /* horizontal center */
  justify-content:center;
  text-align:center;
  padding:20px 10px;
}

/* Follow us block */
.site-footer .footer-follow{
  margin-top:10px;
}

/* Social links spacing */
.site-footer .footer-follow a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:6px 14px;
}

/* ===== LANGUAGE SWITCH ===== */
/* ===== SIMPLE LANGUAGE SWITCH ===== */
.lang-switch.simple{
  display:flex;
  gap:6px;
}

.lang-switch.simple button{
  background:#fff6e0;
  border:1px solid #e2b14a;
  color:#7a2c0c;
}

.lang-switch.simple button.active{
  background:#ffd56a;
  color:#7a2c0c;
}



/* ===== MOBILE OPTIMIZATION ===== */
@media(max-width:768px){
  nav a{
    padding:6px 10px;
    font-size:14px;
  }
}

  /* Header */
  header{
    padding:12px 15px;
    text-align:center;
  }

  header h2{
    font-size:18px;
    line-height:1.3;
    margin-bottom:8px;
  }

  nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
  }

  nav a{
    font-size:14px;
    margin:4px 6px;
  }

  /* Language switch */
  .lang-switch{
    margin-top:10px;
    justify-content:center;
  }

  /* Hero */
  .hero{
  margin-top:25px;
}

  .hero h1{
    font-size:22px;
  }
}
  /* Sections */
 section{
  max-width:1150px;
  margin:45px auto;
  padding:30px 25px;
  background:#fffdf8;
  border-radius:14px;
  box-shadow:0 10px 28px rgba(0,0,0,.15);
}
section.gallery-section{
  padding:35px 30px;
}

  section h1,
  section h2{
    font-size:20px;
  }

  /* Cards */
  .cards{
    grid-template-columns:1fr;
  }

  .card{
  background:#ffffff;
  padding:22px;
  border-radius:10px;
  box-shadow:0 6px 18px rgba(0,0,0,.15);
  border-top:5px solid #e67e22;
}

  /* Gallery */
  .gallery-grid{
    grid-template-columns:1fr 1fr;
  }

  .gallery-grid img{
    height:150px;
  }

  /* Info box */
  .info-box{
    max-width:100%;
  }

  /* Footer */
  .footer-container{
    text-align:center;
  }
.site-footer{
  background:linear-gradient(
    to right,
    #5a1a0c,
    #7a2412,
    #5a1a0c
  );
  color:#f5e6c8;
}


  .footer-box{
    margin-bottom:20px;
  }

 .footer-bottom{
  background:#3e1208;
  color:#f3d9a4;
}
}
/* ===== AUDIO BAR ===== */
.audio-bar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:2000;
  background:linear-gradient(to right,#4b3f8c,#6b4fb3);
  color:#fff;
  padding:10px 18px;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
}

.audio-bar strong{
  font-size:16px;
}

.audio-bar button{
  margin-left:auto;
  background:rgba(255,255,255,0.2);
  border:none;
  color:#fff;
  padding:6px 10px;
  border-radius:6px;
  cursor:pointer;
  font-size:16px;
}

.audio-bar button:hover{
  background:rgba(255,255,255,0.35);
}

/* Push page content below audio bar */
body{
  padding-top:55px;
}
.btn-primary{
  display:inline-block;
  margin-top:12px;
  padding:8px 16px;
  background:#c96b1c;
  color:#fff;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
}

.btn-primary:hover{
  background:#a85614;
}

.btn-secondary{
  display:inline-block;
  margin-left:8px;
  padding:8px 14px;
  background:#25D366;
  color:#fff;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
}
/* ===== MEDIA SECTION ===== */
.media-section{
  background: linear-gradient(to bottom,#fff6d5,#ffe08a);
  padding:40px 20px;
  text-align:center;
  border-top:4px solid #c0392b;
}

.media-section h2{
  color:#7a1f0c;
  margin-bottom:6px;
}

.media-section .subtitle{
  color:#5a2a00;
  margin-bottom:20px;
  font-weight:600;
}

.media-links{
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
  max-width:900px;
  margin:auto;
}

.media-card{
  padding:16px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  color:#fff;
  box-shadow:0 4px 10px rgba(0,0,0,.15);
}

.media-card small{
  display:block;
  font-size:12px;
  margin-top:4px;
}

.yt{ background:#cc0000; }
.fb{ background:#1877f2; }
.ig{ background:linear-gradient(45deg,#f58529,#dd2a7b,#8134af); }
.mail{ background:#6a1b9a; }
.wa{ background:#25d366; }

/* ===== PAGE BANNER ===== */
.page-banner{
  background: linear-gradient(to right,#f39c12,#f7c873);
  padding:40px 20px;
  text-align:left;
  color:#3b1d00;
}

.page-banner h1{
  font-size:28px;
  margin-bottom:8px;
}

.page-banner p{
  font-size:16px;
}

/* ===== PLACES SECTION ===== */
.places-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
  padding:40px 20px;
  max-width:1100px;
  margin:auto;
}

.place-card{
  background:#fff8e1;
  border-radius:12px;
  box-shadow:0 6px 14px rgba(0,0,0,.12);
  padding:16px;
  text-align:center;
}

.place-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:10px;
  margin-bottom:12px;
}

.place-card h2{
  color:#7a1f0c;
  margin-bottom:8px;
}

.map-btn{
  display:inline-block;
  margin-top:10px;
  padding:8px 14px;
  background:#c0392b;
  color:#fff;
  text-decoration:none;
  border-radius:6px;
  font-weight:600;
}

.map-btn:hover{
  background:#a93226;
}

.hidden{display:none;}

/* ===== TTD STYLE TOP BANNER ===== */
.top-banner {
  background: radial-gradient(circle at top, #ffd67a, #f0a020, #c84a1c);
  padding: 12px 0;
  border-bottom: 4px solid #b03a1a;
}

.banner-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  text-align: center;
}

.banner-logo img {
  max-height: 90px;
  width: auto;
}

.banner-title h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 768px) {
  .banner-inner {
    grid-template-columns: 80px 1fr 80px;
  }
  .banner-title h1 {
    font-size: 1.1rem;
  }
}

/* ===== TOP BANNER FIX ===== */
.top-banner {
  background: linear-gradient(to right, #f6b73c, #f9d976);
  padding: 10px 0;
}

.banner-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-logo img {
  width: 120px;          /* 👈 CONTROL SIZE HERE */
  height: 120px;
  object-fit: contain;
}

.temples-list{
  max-width:1200px;
  margin:40px auto;
  padding:0 20px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
}

.temple-card{
  background:#fff7e6;
  border-radius:14px;
  padding:22px;
  text-decoration:none;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  transition:.3s ease;
}

.temple-card:hover{
  transform:translateY(-5px);
  box-shadow:0 12px 28px rgba(0,0,0,.15);
}

.temple-card h3{
  color:#9b2c00;
  margin-bottom:8px;
}
.notifications-section {
  padding: 40px;
  background: #fff7dc;
}

.notification-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  max-width: 1000px;
  margin: auto;
}

.event-title {
  color: #9c2f00;
  text-align: center;
  font-size: 26px;
  margin-bottom: 10px;
}

.event-dates {
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
}

.event-note {
  text-align: center;
  background: #fff0c2;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.event-table {
  width: 100%;
  border-collapse: collapse;
}

.event-table th,
.event-table td {
  border: 1px solid #e0b25b;
  padding: 10px;
  text-align: center;
}

.event-table th {
  background: #f2b544;
  color: #000;
}
.upcoming-event {
  background: #fff9ef;
  border-left: 6px solid #e28b20;
}

.upcoming-event .event-name {
  font-weight: 600;
  margin: 10px 0 5px;
  color: #8b2c00;
}

.upcoming-event .event-date {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.small-btn {
  padding: 8px 16px;
  font-size: 14px;
}
.about-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.about-card {
  background: #fff7e6;
  border-left: 6px solid #e68a00;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.about-card h2 {
  color: #9b3c00;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}
/* ===== LANGUAGE BASED TYPOGRAPHY ===== */

/* Default (English) */
html[lang="en"] body {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 16px;
}

/* Telugu Styling */
html[lang="te"] body {
  font-family: "Noto Serif Telugu", serif;
  font-size: 18px;
  line-height: 1.9;
}

/* Telugu Headings */
html[lang="te"] h1,
html[lang="te"] h2,
html[lang="te"] h3 {
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

/* About Section Telugu Cards */
html[lang="te"] .about-card p {
  font-size: 18px;
  line-height: 2;
}

/* English Cards */
html[lang="en"] .about-card p {
  font-size: 16px;
  line-height: 1.7;
}
.media-section h2 {
  margin-top: 25px;
  color: #8b2c00;
}

.media-section .subtitle {
  font-size: 17px;
  margin-bottom: 25px;
  color: #444;
}
/* ===============================
   GOSHALA GALLERY
================================ */
.goshala-gallery {
  padding: 40px 8%;
  text-align: center;
}

.goshala-gallery .section-title {
  font-family: 'Noto Serif Telugu', serif;
  font-size: 28px;
  margin-bottom: 25px;
  color: #6b2a00;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.gallery-grid img:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}

/* ===============================
   LIGHTBOX
================================ */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}
/* ===============================
   LIBRARY READ / DOWNLOAD BUTTONS
================================ */

.library-actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.library-actions a {
  text-decoration: none;        /* removes underline */
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* READ BUTTON */
.btn-read {
  background: linear-gradient(135deg, #b45309, #92400e);
  color: #fff;
}

.btn-read:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 22px rgba(180,83,9,0.6);
}

/* DOWNLOAD BUTTON */
.btn-download {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
}

.btn-download:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 22px rgba(29,78,216,0.6);
}
/* ===============================
   TEMPLE TAGLINE (LANG TOGGLE)
================================ */

.temple-tagline {
  margin-top: 6px;
  font-family: 'Noto Serif Telugu', serif;
  font-size: 18px;
  font-weight: 600;
  color: #7c2d12; /* deep maroon */
  text-align: center;
  letter-spacing: 0.4px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.7);
}

/* English font refinement */
html[lang="en"] .temple-tagline {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

/* Mobile */
@media (max-width: 768px) {
  .temple-tagline {
    font-size: 15px;
  }
}
/* ===============================
   MAP SECTION
================================ */

.map-section {
  padding: 40px 20px;
}

.map-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff7ed;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  text-align: center;
}

.map-link {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
}

.map-link a {
  color: #7c2d12;
  text-decoration: none;
}
.location-wrap {
  margin-top: 12px;
  font-size: 1.05rem;
}

.loc-label {
  font-weight: 600;
  color: #5a1d00;
  margin-right: 8px;
}

.location-pill {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, #ffe7b3, #ffd27a);
  color: #7a1f00;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

.location-pill:hover {
  background: linear-gradient(135deg, #ffd27a, #ffbf4d);
  transform: translateY(-2px);
}

.map-link a:hover {
  text-decoration: underline;
}
.visitor-counter {
  margin: 20px auto;
  text-align: center;
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(135deg, #fff4d6, #ffcc70);
  color: #7a1f00;
  font-weight: 600;
  border-radius: 25px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
  font-size: 1.1rem;
}
/* ===== MOBILE FOOTER CENTER FIX ===== */
@media (max-width: 768px){

  .site-footer .footer-bottom{
    display:flex;
    flex-direction:column;
    align-items:center !important;
    justify-content:center;
    text-align:center !important;
    padding:16px 10px;
  }

  .site-footer .footer-follow{
    text-align:center;
    width:100%;
  }

  .site-footer .footer-follow a{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    margin:8px 10px;
  }
}
.home-credits{
  text-align:center;
  padding:25px 15px;
  font-size:14px;
  color:#e5e7eb;
  background:rgba(0,0,0,0.15);
}

.home-credits p{
  margin:6px 0;
}

.home-credits strong{
  color:#facc15; /* temple gold */
}

.home-credits a{
  color:#93c5fd;
  text-decoration:none;
}

.home-credits a:hover{
  text-decoration:underline;
}
/* Simple Folder Gallery */
.simple-folder-section {
  text-align: center;
  margin: 40px auto;
  max-width: 1100px;
}

.simple-title {
  color: #7a0c14;
  font-size: 26px;
}

.simple-subtitle {
  margin-bottom: 20px;
  font-family: 'Noto Serif Telugu', serif;
}

/* Folder */
.folder-box {
  width: 260px;
  margin: auto;
  cursor: pointer;
}

.folder-box img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.folder-box p {
  margin-top: 8px;
  font-weight: 600;
}

/* Gallery */
.simple-gallery {
  display: none;
  margin-top: 25px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.simple-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 600px) {
  .simple-gallery img {
    height: 180px;
  }
}
/* Lightbox Zoom & Slide */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  text-align: center;
}

.lightbox img {
  max-width: 92%;
  max-height: 85vh;
  margin-top: 60px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
}

.lightbox-controls {
  margin-top: 20px;
}

.lightbox-controls button {
  font-size: 26px;
  padding: 6px 16px;
  margin: 0 15px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 600px) {
  .lightbox img {
    max-width: 95%;
    margin-top: 80px;
  }
}


