/* ============================================
   Shri Mahalakshmi Temple - Custom Styles
   ============================================ */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
  --gold: #D4AF37;
  --gold-light: #F0D060;
  --gold-dark: #B8960C;
  --saffron: #FF6600;
  --saffron-light: #FF8833;
  --deep-red: #8B0000;
  --maroon: #4A0404;
  --maroon-dark: #2D0202;
  --cream: #FFF8DC;
  --cream-light: #FFFEF5;
  --temple-dark: #1A0A00;
  --temple-darker: #0D0500;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-muted: #6B7280;
  --border-gold: rgba(212, 175, 55, 0.3);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  background-color: var(--cream-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--maroon);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

ul,
ol {
  list-style: none;
}

/* ---------- Utility Classes ---------- */
.section-padding {
  padding: 5rem 1rem;
}

.container {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.section-title {
  font-size: 2.5rem;
  color: var(--maroon);
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-divider .line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-divider .om-icon {
  color: var(--gold);
  font-size: 1.5rem;
}

.gold-text {
  color: var(--gold) !important;
}

.saffron-text {
  color: var(--saffron) !important;
}

.maroon-text {
  color: var(--maroon) !important;
}

.text-gold {
  color: var(--gold) !important;
}

.text-cream\/70 {
  color: rgba(255, 248, 220, 0.7) !important;
}

.text-cream\/90 {
  color: rgba(255, 248, 220, 0.9) !important;
}

.text-cream\/80 {
  color: rgba(255, 248, 220, 0.8) !important;
}

.text-cream\/70 {
  color: rgba(255, 248, 220, 0.7) !important;
}

.text-cream\/60 {
  color: rgba(255, 248, 220, 0.6) !important;
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

.border-gold\/20 {
  border-color: rgba(212, 175, 55, 0.2) !important;
}

.bg-gold\/20 {
  background-color: rgba(212, 175, 55, 0.2) !important;
}

.bg-gold\/5 {
  background-color: rgba(212, 175, 55, 0.05) !important;
}

.bg-maroon\/5 {
  background-color: rgba(74, 4, 4, 0.05) !important;
}

.bg-saffron\/10 {
  background-color: rgba(255, 102, 0, 0.1) !important;
}

.border-gold\/10 {
  border-color: rgba(212, 175, 55, 0.1) !important;
}

.border-gold\/15 {
  border-color: rgba(212, 175, 55, 0.15) !important;
}

.border-gold\/30 {
  border-color: rgba(212, 175, 55, 0.3) !important;
}

.border-gold\/50 {
  border-color: rgba(212, 175, 55, 0.5) !important;
}

.text-cream\/50 {
  color: rgba(255, 248, 220, 0.5) !important;
}

.text-gold\/60 {
  color: rgba(212, 175, 55, 0.6) !important;
}

.text-white {
  color: var(--white) !important;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  text-align: center;
  justify-content: center;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--temple-dark);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-saffron {
  background: linear-gradient(135deg, var(--saffron), #E55A00);
  color: var(--white);
  border-color: var(--saffron);
}

.btn-saffron:hover {
  background: linear-gradient(135deg, var(--saffron-light), var(--saffron));
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--temple-dark);
}

.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn-outline-cream:hover {
  background: var(--cream);
  color: var(--temple-dark);
}

.btn-maroon {
  background: linear-gradient(135deg, var(--deep-red), var(--maroon));
  color: var(--white);
  border-color: var(--deep-red);
}

.btn-maroon:hover {
  background: linear-gradient(135deg, #A00000, var(--deep-red));
  box-shadow: 0 4px 20px rgba(139, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--temple-dark);
  color: var(--cream);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border-gold);
  position: relative;
  z-index: 1001;
}

.top-bar-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar .mantra {
  font-family: var(--font-heading);
  color: var(--gold);
  font-style: italic;
  font-size: 0.85rem;
}

.top-bar .info-items {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar .info-items span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar .info-items i {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(74, 4, 4, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  border-bottom: 1px solid var(--border-gold);
}

.navbar.has-topbar {
  top: 36px;
}

.navbar.scrolled {
  top: 0 !important;
  background: rgba(74, 4, 4, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
}

.navbar-logo img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
  border-radius: 6px;
}

.navbar-logo .logo-text-sm {
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--gold);
  display: block;
}

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

.nav-links a {
  color: var(--cream);
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--maroon);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-lg);
  z-index: 100;
}

.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 0;
}

.nav-links .dropdown-menu a:hover {
  background: rgba(212, 175, 55, 0.15);
}

.nav-donate {
  margin-left: 0.5rem;
}

.nav-donate .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1100;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(74, 4, 4, 0.98);
  backdrop-filter: blur(15px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
  padding: 2rem 1rem;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  color: var(--cream);
  font-size: 1.15rem;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-align: center;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

.mobile-menu .mobile-donate {
  margin-top: 1rem;
}

@media (max-width: 1024px) {

  .nav-links,
  .nav-donate {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(74, 4, 4, 0.7) 0%,
      rgba(26, 10, 0, 0.6) 50%,
      rgba(26, 10, 0, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem 1rem;
}

.hero-content .sanskrit {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  font-style: italic;
  letter-spacing: 2px;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content h1 .gold-accent {
  color: var(--gold);
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Page Hero (smaller for inner pages) */
.page-hero {
  min-height: 45vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.page-hero .hero-bg::after {
  background: linear-gradient(180deg,
      rgba(74, 4, 4, 0.75) 0%,
      rgba(26, 10, 0, 0.85) 100%);
}

.page-hero .hero-content h1 {
  font-size: 2.8rem;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb a {
  color: var(--gold);
}

.page-hero .breadcrumb a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .page-hero .hero-content h1 {
    font-size: 2rem;
  }

  .hero {
    min-height: 75vh;
  }

  .page-hero {
    min-height: 35vh;
  }
}

/* ---------- Quick Info Bar ---------- */
.quick-info-bar {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  padding: 1.25rem 1rem;
  border-bottom: 2px solid var(--gold);
}

.quick-info-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.quick-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--cream);
}

.quick-info-item i {
  color: var(--gold);
  width: 24px;
  height: 24px;
}

.quick-info-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  display: block;
}

.quick-info-item .value {
  font-size: 1rem;
  font-weight: 600;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

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

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Deity Card */
.deity-card {
  text-align: center;
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: all var(--transition-base);
}

.deity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.deity-card .deity-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.deity-card h3 {
  font-size: 1.5rem;
  color: var(--maroon);
  margin-bottom: 0.25rem;
}

.deity-card .deity-title {
  color: var(--gold-dark);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Service Card */
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.service-card .icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.service-card .icon-wrapper i {
  width: 32px;
  height: 32px;
  color: var(--temple-dark);
}

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

.service-card .price {
  color: var(--saffron);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* ---------- Aarti Schedule Table ---------- */
.aarti-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.aarti-table thead {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
}

.aarti-table th {
  color: var(--gold);
  padding: 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: left;
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.aarti-table th:last-child {
  border-right: none;
}

.aarti-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
  color: rgba(255, 248, 220, 0.85);
}

.aarti-table td:last-child {
  border-right: none;
}

.aarti-table tbody tr:last-child td {
  border-bottom: none;
}

.aarti-table tbody tr {
  background: transparent;
  transition: background var(--transition-fast);
}

.aarti-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.15);
}

.aarti-table .aarti-name {
  font-weight: 600;
  color: var(--gold);
}

.aarti-table .aarti-time {
  color: var(--saffron);
  font-weight: 600;
}

.aarti-highlight {
  border-left: 3px solid var(--gold);
}

/* ---------- Gallery Grid ---------- */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.gallery-filter-btn {
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--maroon);
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--gold);
  color: var(--temple-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 10, 0, 0.8) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay p {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Donation Section ---------- */
.donation-card {
  background: linear-gradient(135deg, var(--cream), var(--white));
  border: 2px solid var(--border-gold);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-base);
}

.donation-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.donation-card .amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--maroon);
  font-family: var(--font-heading);
}

.donation-amount-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--maroon);
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-width: 120px;
}

.donation-amount-btn:hover,
.donation-amount-btn.selected {
  background: var(--gold);
  color: var(--temple-dark);
  box-shadow: var(--shadow-gold);
}

/* ---------- Contact Form ---------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--maroon);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #DC2626;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #DC2626;
}

.form-group.error .form-error {
  display: block;
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.15);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--gold);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--maroon);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item .faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--temple-dark);
  color: var(--cream);
  padding-top: 4rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-gold);
}

.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.footer-col p {
  color: rgba(255, 248, 220, 0.7);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 248, 220, 0.7);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  color: var(--gold);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item span {
  color: rgba(255, 248, 220, 0.7);
  font-size: 0.9rem;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 248, 220, 0.5);
}

.footer-bottom .legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom .legal-links a {
  font-size: 0.85rem;
  color: rgba(255, 248, 220, 0.5);
  transition: color var(--transition-fast);
}

.footer-bottom .legal-links a:hover {
  color: var(--gold);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--temple-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 500;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

/* ---------- Decorative Elements ---------- */
.ornament {
  text-align: center;
  color: var(--gold);
  font-size: 1.5rem;
  margin: 1rem 0;
  opacity: 0.6;
}

.gradient-bg-maroon {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
}

.gradient-bg-dark {
  background: linear-gradient(135deg, var(--temple-dark), var(--temple-darker));
}

.bg-cream {
  background: var(--cream);
}

.bg-white {
  background: var(--white);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--maroon), var(--gold));
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 45%;
}

.timeline-item:nth-child(odd) {
  margin-left: 5%;
  text-align: right;
  padding-right: 2rem;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding-left: 2rem;
}

.timeline-item .year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}

.timeline-item .dot {
  position: absolute;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--maroon);
}

.timeline-item:nth-child(odd) .dot {
  right: -2.65rem;
}

.timeline-item:nth-child(even) .dot {
  left: -0.5rem;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 1rem;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 85%;
    margin-left: 2.5rem;
    text-align: left;
    padding-left: 1.5rem;
  }

  .timeline-item:nth-child(odd) .dot,
  .timeline-item:nth-child(even) .dot {
    left: -2rem;
  }
}

/* ---------- Transport Tabs ---------- */
.transport-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.transport-tab {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--maroon);
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.transport-tab:hover,
.transport-tab.active {
  background: var(--gold);
  color: var(--temple-dark);
}

.transport-content {
  display: none;
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.transport-content.active {
  display: block;
}

/* ---------- Hotel/Attraction Cards ---------- */
.place-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.place-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.place-card .distance {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--saffron);
  font-weight: 600;
}

.place-card .price-range {
  color: var(--gold-dark);
  font-weight: 600;
}

/* ---------- Blog Cards ---------- */
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-card .blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .blog-body {
  padding: 1.5rem;
}

.blog-card .blog-date {
  font-size: 0.8rem;
  color: var(--saffron);
  font-weight: 600;
}

.blog-card .blog-title {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: var(--maroon);
}

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-gold);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: #4B5563;
}

.legal-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  margin-bottom: 0.5rem;
  color: #4B5563;
}

.legal-content .effective-date {
  background: var(--cream);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
  margin-bottom: 2rem;
  font-weight: 600;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse-gold {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }

  50% {
    box-shadow: 0 0 20px 5px rgba(212, 175, 55, 0.2);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse-gold {
  animation: pulse-gold 2s infinite;
}

/* ---------- Responsive Spacing ---------- */
@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--temple-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* ---------- Selection ---------- */
::selection {
  background: var(--gold);
  color: var(--temple-dark);
}

/* ---------- Loading Spinner ---------- */
.loader {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-gold);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Coming Soon Overlay ---------- */
.coming-soon {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--cream);
  border-radius: 16px;
  border: 2px dashed var(--border-gold);
}

.coming-soon h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.coming-soon p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ---------- Newsletter ---------- */
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-gold);
  border-radius: 8px;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.1);
  color: var(--cream);
}

.newsletter-form input::placeholder {
  color: rgba(255, 248, 220, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
}

/* ---------- Architecture Stats ---------- */
.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold-dark);
  font-weight: 700;
}

.stat-card .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ---------- Copy Button ---------- */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border-gold);
  background: transparent;
  color: var(--gold-dark);
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: var(--gold);
  color: var(--temple-dark);
}

.copy-btn.copied {
  background: #22C55E;
  color: white;
  border-color: #22C55E;
}

/* ============================================
   RESPONSIVE DESIGN - Mobile & Tablet
   ============================================ */

/* ---------- Tablet (max-width: 1024px) ---------- */
@media (max-width: 1024px) {

  .section-padding {
    padding: 3.5rem 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.05rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Small Tablet / Large Phone (max-width: 768px) ---------- */
@media (max-width: 768px) {

  /* Top Bar */
  .top-bar {
    display: none;
  }

  .navbar {
    top: 0 !important;
  }

  /* Navbar */
  .navbar-logo {
    font-size: 0.95rem;
    gap: 0.5rem;
  }

  .navbar-logo img {
    width: 38px;
    height: 38px;
  }

  .navbar-logo .logo-text-sm {
    font-size: 0.6rem;
  }

  .navbar-inner {
    padding: 0.5rem 0.75rem;
  }

  /* Hero */
  .hero {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-content h1 .gold-accent {
    display: inline;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .hero-content .sanskrit {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Page Hero */
  .page-hero {
    min-height: 30vh;
  }

  .page-hero .hero-content h1 {
    font-size: 1.8rem;
  }

  /* Sections */
  .section-padding {
    padding: 2.5rem 0.75rem;
  }

  .section-title {
    font-size: 1.6rem;
    padding: 0 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .section-divider {
    margin-bottom: 1.25rem;
  }

  /* Quick Info Bar */
  .quick-info-bar {
    padding: 1rem 0.5rem;
  }

  .quick-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: left;
  }

  .quick-info-item {
    flex-direction: row;
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .quick-info-item i {
    width: 20px;
    height: 20px;
  }

  .quick-info-item .value {
    font-size: 0.85rem;
  }

  .quick-info-item .label {
    font-size: 0.65rem;
  }

  /* Cards */
  .deity-card {
    padding: 1.5rem 1rem;
  }

  .deity-card .deity-img {
    width: 120px;
    height: 120px;
  }

  .deity-card h3 {
    font-size: 1.25rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card .icon-wrapper {
    width: 56px;
    height: 56px;
  }

  .service-card .icon-wrapper i {
    width: 26px;
    height: 26px;
  }

  .service-card h3 {
    font-size: 1.05rem;
  }

  .card-img {
    height: 180px;
  }

  .card-body {
    padding: 1rem;
  }

  .card-body h3 {
    font-size: 1.15rem;
  }

  /* Aarti Table - smaller on tablet */
  .aarti-table th {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }

  .aarti-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    text-align: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links {
    align-items: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Newsletter */
  .newsletter-form {
    flex-direction: column;
    gap: 0.75rem;
  }

  .newsletter-form input {
    width: 100%;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  /* Buttons */
  .btn {
    font-size: 0.85rem;
    padding: 0.65rem 1.5rem;
  }

  .btn-lg {
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
  }

  /* Donation */
  .donation-card {
    padding: 1.5rem;
  }

  .donation-card .amount {
    font-size: 1.6rem;
  }

  /* FAQ */
  .faq-item summary {
    font-size: 0.9rem;
    padding: 1rem;
  }

  .faq-item .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }

  /* Stats */
  .stat-card .stat-number {
    font-size: 2rem;
  }

  /* Back to Top */
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* ---------- Mobile Phone (max-width: 576px) ---------- */
@media (max-width: 576px) {

  /* Navbar */
  .navbar-logo {
    font-size: 0.85rem;
    gap: 0.4rem;
  }

  .navbar-logo img {
    width: 34px;
    height: 34px;
    padding: 2px;
  }

  .navbar-logo .logo-text-sm {
    font-size: 0.55rem;
  }

  /* Hero */
  .hero {
    min-height: 65vh;
  }

  .hero-content {
    padding: 1.5rem 0.75rem;
  }

  .hero-content h1 {
    font-size: 1.65rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-content .sanskrit {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .page-hero .hero-content h1 {
    font-size: 1.5rem;
  }

  .page-hero .breadcrumb {
    font-size: 0.8rem;
    gap: 0.3rem;
  }

  /* Sections */
  .section-padding {
    padding: 2rem 0.5rem;
  }

  .section-title {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .section-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }

  /* Quick Info */
  .quick-info-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: center;
  }

  .quick-info-item {
    justify-content: center;
  }

  /* Aarti Table - Stack layout on small phones */
  .aarti-table {
    font-size: 0.8rem;
  }

  .aarti-table th:nth-child(3),
  .aarti-table td:nth-child(3) {
    display: none;
  }

  .aarti-table th {
    padding: 0.6rem 0.4rem;
    font-size: 0.8rem;
  }

  .aarti-table td {
    padding: 0.6rem 0.4rem;
    font-size: 0.8rem;
  }

  /* Cards */
  .deity-card {
    padding: 1.25rem 0.75rem;
  }

  .deity-card .deity-img {
    width: 100px;
    height: 100px;
    border-width: 3px;
  }

  .deity-card h3 {
    font-size: 1.1rem;
  }

  .deity-card .deity-title {
    font-size: 0.8rem;
  }

  .service-card {
    padding: 1.25rem;
  }

  .service-card .icon-wrapper {
    width: 48px;
    height: 48px;
  }

  .service-card .icon-wrapper i {
    width: 22px;
    height: 22px;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card .price {
    font-size: 1.1rem;
  }

  .card-img {
    height: 160px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .gallery-item {
    aspect-ratio: 1;
  }

  /* Donation */
  .donation-amount-btn {
    min-width: 90px;
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }

  /* Form */
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 0.9rem;
    padding: 0.65rem 0.75rem;
  }

  .form-group label {
    font-size: 0.85rem;
  }

  /* Footer */
  .footer-grid {
    gap: 1.5rem;
    padding-bottom: 2rem;
  }

  .footer-col h4 {
    font-size: 1.1rem;
  }

  .footer-col p {
    font-size: 0.85rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-contact-item span {
    font-size: 0.85rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }

  /* Map iframe */
  .min-h-\\[400px\\] {
    min-height: 250px !important;
  }
}

/* ---------- Extra Small (max-width: 400px) ---------- */
@media (max-width: 400px) {

  .navbar-logo {
    font-size: 0.8rem;
  }

  .navbar-logo img {
    width: 30px;
    height: 30px;
  }

  .hero-content h1 {
    font-size: 1.4rem;
  }

  .hero-content p {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .section-subtitle {
    font-size: 0.8rem;
  }

  .btn {
    font-size: 0.8rem;
    padding: 0.55rem 1.25rem;
  }

  .btn-lg {
    font-size: 0.85rem;
    padding: 0.65rem 1.5rem;
  }

  .quick-info-item .value {
    font-size: 0.8rem;
  }

  .aarti-table th,
  .aarti-table td {
    padding: 0.5rem 0.3rem;
    font-size: 0.75rem;
  }
}