/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    background-color: #ffe0b2;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
}


/* Adjust body padding to avoid overlap with fixed bars */
body {
  padding-top: 80px; /* 30px for top-nav + ~50px for site-header */
}

/* Top Navigation Bar - fixed at top */
.top-nav {
  background: linear-gradient(45deg, #2f3193 0%, #5856d6 100%);
  color: #fff;
  font-size: 0.9rem;
  padding: 5px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001; /* Higher than site-header */
}

.top-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.top-nav .date-time {
  font-family: Arial, sans-serif;
}

.top-nav .social-icons a {
  display: inline-block;
  margin-left: 10px;
}

.top-nav .social-icons img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  filter: brightness(0) invert(1); /* White icons */
  transition: transform 0.3s ease;
}

.top-nav .social-icons img:hover {
  transform: scale(1.2);
}

/* Header */
/* Main Header - fixed below the top-nav */
.site-header {
    background: #f77f00;
  color: #fff;
  position: fixed;
  top: 30px; /* Height of top-nav bar */
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header .logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.site-header .logo img {
  height: 40px;
  margin-right: 12px;
  max-height: 50px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  display: block;
}

.nav-menu .dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ff7043;
  list-style: none;
  padding: 10px 0;
  border-radius: 4px;
  min-width: 150px;
}

.dropdown-menu li a {
  padding: 8px 16px;
}

.language-switcher {
  font-size: 0.9rem;
}

.language-switcher a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
}


/* Hero */
.hero {
  background: url('../img/praveen_baba2.jpg') no-repeat center center/cover;
  height: 600px;
  margin: 0px; /* Added margin around hero */  
  border-radius: 10px; /* Optional: adds rounded edges for a modern look */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-shadow: 2px 2px 4px #000;
}

/* Hero background overrides per page */
.hero.about-hero {
  background-image: url('../img/hero-about.jpg');
}

.hero.pooja-hero {
  background-image: url('../img/hero-pooja.jpg');
}

.hero.festivals-hero {
  background-image: url('../img/hero-festivals.jpg');
}

.hero.history-hero {
  background-image: url('../img/hero-history.jpg');
}

.hero.trust-hero {
  background-image: url('../img/hero-trust.jpg');
}

.hero.events-hero {
  background-image: url('../img/hero-events.jpg');
}

.hero.gallery-hero {
  background-image: url('../img/hero-gallery.jpg');
}

.hero.contact-hero {
  background-image: url('../img/hero-contact.jpg');
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.2rem;
}

/* About */
.about, .services, .gallery, .contact {
  padding: 40px 20px;
  text-align: center;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
}

/* Services */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 8px;
}

/* Contact */
.contact p {
  margin: 10px 0;
}

/* Footer */
footer {
  background: #f77f00;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

.about ul,
.contact ul {
  text-align: left;
  margin: 0 auto;
  max-width: 700px;
  padding-left: 20px;
}

.about ul li,
.contact ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.about h2,
.contact h2,
.gallery h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #2f3193;
}

/* Donation Button */
.donate-btn {
  display: inline-block;
  background: #f77f00;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  border-radius: 50px; /* rounded pill */
  padding: 6px 14px;   /* smaller size */
  margin-left: 10px;
  font-size: 12px;     /* smaller font */
  border: 2px solid #fff;   /* white border */
  box-shadow: 0 3px 8px rgba(247, 127, 0, 0.4);
  transition: all 0.3s ease-in-out;
  animation: pulse 2s infinite;
}

.donate-btn:hover {
  background: #e76f00;
  transform: scale(1.08);
  box-shadow: 0 5px 14px rgba(247, 127, 0, 0.6);
}

/* Pulse animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(247, 127, 0, 0.6);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(247, 127, 0, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(247, 127, 0, 0.6);
  }
}


/* Donation CSS */
.account-details {
  max-width: 800px;       /* increased width to accommodate long text */
  margin: 80px auto;
  padding: 25px;
  background: #fff;
  border: 2px solid #f77f00;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  animation: soft-glow 4s infinite;
  overflow-x: auto;       /* allows horizontal scroll if needed */
}

.account-details h2 {
  margin-bottom: 20px;
  color: #f77f00;
  font-size: 22px;
  font-weight: bold;
}

.account-details table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  table-layout: auto;     /* allows column width to adjust to content */
}

.account-details th,
.account-details td {
  padding: 12px 15px;
  border: 1px solid #ccc;
  text-align: left;
  white-space: normal;   /* allow text to wrap if necessary */
}

.account-details th {
  background: #fff7f0;   /* light orange tint */
  color: #f77f00;
  font-weight: bold;
  width: 30%;
  white-space: nowrap;   /* keep label on one line */
}

.account-details td {
  background: #fcfcfc;
  font-weight: bold;     /* values bold */
}

@keyframes soft-glow {
  0%   { box-shadow: 0 0 8px rgba(247,127,0,0.2); }
  50%  { box-shadow: 0 0 16px rgba(247,127,0,0.3); }
  100% { box-shadow: 0 0 8px rgba(247,127,0,0.2); }
}
