/*==========================================================
    TEMPLES PAGE
    Divine Dharma
==========================================================*/

/*==========================================================
    HERO SECTION
==========================================================*/

.temple-hero {
  position: relative;

  overflow: hidden;

  padding: 140px 0 110px;

  color: #fff;

  background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.72)),
    url('../images/hero/temple-banner.jpg') center center/cover no-repeat;
}

.temple-hero::before {
  content: '';

  position: absolute;

  inset: 0;

  background: radial-gradient(
    circle at top right,
    rgba(212, 175, 55, 0.2),
    transparent 42%
  );

  pointer-events: none;
}

.temple-hero .container {
  position: relative;

  z-index: 2;
}

.hero-content {
  max-width: 760px;
}

.hero-content .badge {
  margin-bottom: 18px;
}

.hero-content h1 {
  font-family: 'Cinzel', serif;

  font-size: 60px;

  line-height: 1.15;

  margin-bottom: 24px;
}

.hero-content p {
  max-width: 650px;

  color: rgba(255, 255, 255, 0.92);

  line-height: 1.9;

  font-size: 18px;

  margin-bottom: 40px;
}

/*==========================================================
    HERO SEARCH
==========================================================*/

.hero-search {
  display: flex;

  align-items: center;

  background: #fff;

  border-radius: 60px;

  overflow: hidden;

  max-width: 720px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-search input {
  flex: 1;

  border: none;

  outline: none;

  padding: 22px 28px;

  font-size: 16px;

  background: transparent;

  color: #333;
}

.hero-search input::placeholder {
  color: #888;
}

.hero-search button {
  border: none;

  background: var(--color-primary);

  color: #fff;

  padding: 22px 38px;

  cursor: pointer;

  display: flex;

  align-items: center;

  gap: 10px;

  font-size: 16px;

  font-weight: 600;

  transition: 0.35s;
}

.hero-search button:hover {
  background: #bf9622;
}

/*==========================================================
    HERO STATISTICS
==========================================================*/

.hero-stats {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 30px;

  margin-top: 70px;
}

.hero-stat {
  text-align: center;

  background: rgba(255, 255, 255, 0.1);

  backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 18px;

  padding: 30px 20px;

  transition: 0.35s;
}

.hero-stat:hover {
  transform: translateY(-8px);

  background: rgba(255, 255, 255, 0.18);
}

.hero-stat h2 {
  font-family: 'Cinzel', serif;

  color: var(--color-primary);

  font-size: 42px;

  margin-bottom: 10px;
}

.hero-stat span {
  color: #fff;

  letter-spacing: 0.4px;
}

/*==========================================================
    BREADCRUMB
==========================================================*/

.breadcrumb-section {
  background: #fff;

  border-bottom: 1px solid #ececec;
}

.breadcrumb {
  display: flex;

  align-items: center;

  gap: 14px;

  list-style: none;

  padding: 18px 0;
}

.breadcrumb li {
  color: #777;

  font-size: 15px;
}

.breadcrumb a {
  color: #444;

  text-decoration: none;

  transition: 0.3s;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb i {
  font-size: 12px;

  color: #bbb;
}

/*==========================================================
    COMMON SECTION
==========================================================*/

.section {
  padding: 100px 0;
}

.light-bg {
  background: #f8f7f3;
}

.section-title {
  margin-top: 18px;

  margin-bottom: 18px;
}

.section-subtitle {
  max-width: 760px;

  margin: auto;

  line-height: 1.9;

  color: #777;
}

.badge {
  display: inline-block;

  padding: 10px 22px;

  border-radius: 40px;

  background: rgba(212, 175, 55, 0.12);

  color: var(--color-primary);

  font-size: 14px;

  font-weight: 600;

  letter-spacing: 0.6px;

  text-transform: uppercase;
}

/*==========================================================
    REVEAL ANIMATION
==========================================================*/

.reveal {
  opacity: 0;

  transform: translateY(60px);

  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;

  transform: translateY(0);
}

/*==========================================================
    TABLET
==========================================================*/

@media (max-width: 992px) {
  .temple-hero {
    padding: 110px 0 90px;
  }

  .hero-content h1 {
    font-size: 46px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-search {
    max-width: 100%;
  }
}

/*==========================================================
    MOBILE
==========================================================*/

@media (max-width: 768px) {
  .temple-hero {
    padding: 90px 0 70px;

    text-align: center;
  }

  .hero-content {
    margin: auto;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-search {
    flex-direction: column;

    border-radius: 20px;
  }

  .hero-search input {
    width: 100%;

    padding: 18px;
  }

  .hero-search button {
    width: 100%;

    justify-content: center;

    border-radius: 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .section {
    padding: 70px 0;
  }
}
/*==========================================================
    ADVANCED SEARCH
==========================================================*/

.search-card {
  margin-top: 60px;

  background: #fff;

  border-radius: 24px;

  padding: 45px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);

  border: 1px solid #ececec;
}

.search-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.search-field {
  display: flex;

  flex-direction: column;
}

.search-field label {
  font-size: 14px;

  font-weight: 600;

  color: #444;

  margin-bottom: 10px;
}

.search-field input,
.search-field select {
  height: 56px;

  padding: 0 18px;

  border: 1px solid #ddd;

  border-radius: 14px;

  font-size: 15px;

  background: #fff;

  transition: 0.3s;
}

.search-field input:focus,
.search-field select:focus {
  outline: none;

  border-color: var(--color-primary);

  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.search-buttons {
  display: flex;

  justify-content: center;

  gap: 18px;

  margin-top: 35px;

  flex-wrap: wrap;
}

.search-buttons .btn {
  min-width: 180px;
}

.search-result-info {
  margin-top: 25px;

  display: flex;

  justify-content: center;
}

.search-result-info span {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 12px 24px;

  border-radius: 50px;

  background: #f8f7f3;

  border: 1px solid rgba(212, 175, 55, 0.25);

  color: #444;

  font-size: 15px;

  font-weight: 600;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
/*==========================================================
    FEATURED TEMPLES
==========================================================*/

.featured-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 32px;

  margin-top: 60px;
}

.featured-card {
  background: #fff;

  border-radius: 22px;

  overflow: hidden;

  border: 1px solid #ececec;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);

  transition: 0.35s;
}

.featured-card:hover {
  transform: translateY(-12px);

  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.14);
}

.featured-image {
  position: relative;

  overflow: hidden;

  height: 260px;
}

.featured-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: 0.45s;
}

.featured-card:hover .featured-image img {
  transform: scale(1.08);
}

.featured-badge {
  position: absolute;

  top: 18px;

  left: 18px;

  background: var(--color-primary);

  color: #fff;

  padding: 8px 16px;

  border-radius: 30px;

  font-size: 13px;

  font-weight: 600;
}

.featured-content {
  padding: 28px;
}

.temple-rating {
  display: flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 16px;

  color: #f4b400;

  font-weight: 600;
}

.featured-content h3 {
  font-family: 'Cinzel', serif;

  font-size: 26px;

  margin-bottom: 18px;
}

.temple-location {
  display: flex;

  align-items: center;

  gap: 10px;

  color: #666;

  margin-bottom: 12px;
}

.temple-location i {
  color: var(--color-primary);
}

.temple-deity {
  margin-bottom: 15px;

  color: #444;
}

.featured-content p {
  line-height: 1.8;

  color: #666;
}

.temple-footer {
  margin-top: 28px;
}

.temple-footer .btn {
  width: 100%;
}

/*==========================================================
    SECTION ACTION
==========================================================*/

.section-action {
  text-align: center;

  margin-top: 55px;
}

.section-action .btn {
  min-width: 220px;
}

/*==========================================================
    BUTTON EFFECTS
==========================================================*/

.btn {
  transition: 0.35s;
}

.btn:hover {
  transform: translateY(-3px);
}

/*==========================================================
    IMAGE OVERLAY
==========================================================*/

.featured-image::after {
  content: '';

  position: absolute;

  left: 0;

  right: 0;

  bottom: 0;

  height: 90px;

  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
}

/*==========================================================
    TABLET
==========================================================*/

@media (max-width: 992px) {
  .search-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-card {
    padding: 35px;
  }
}

/*==========================================================
    MOBILE
==========================================================*/

@media (max-width: 768px) {
  .search-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .search-card {
    padding: 25px;
  }

  .search-buttons {
    flex-direction: column;
  }

  .search-buttons .btn {
    width: 100%;
  }

  .featured-image {
    height: 220px;
  }

  .featured-content {
    padding: 22px;
  }
  .temple-category {
    display: inline-block;

    padding: 6px 14px;

    margin-bottom: 16px;

    border-radius: 30px;

    background: rgba(212, 175, 55, 0.12);

    color: var(--color-primary);

    font-size: 13px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.4px;
  }

  .featured-content h3 {
    font-size: 22px;
  }

  .section-action .btn {
    width: 100%;

    max-width: 280px;
  }
}

/*==========================================================
    TEMPLE CATEGORIES
==========================================================*/

.categories-section {
  position: relative;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.category-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #ececec;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: 0.35s;
  text-align: center;
  padding: 45px 30px;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.14);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: 0.35s;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-icon {
  width: 95px;
  height: 95px;
  margin: auto;
  margin-bottom: 25px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: var(--color-primary);
  transition: 0.35s;
}

.category-card:hover .category-icon {
  background: var(--color-primary);
  color: #fff;
  transform: rotateY(180deg);
}

.category-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  margin-bottom: 16px;
}

.category-card p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
}
.category-footer {
  margin-top: 25px;
}

.category-count {
  display: inline-block;

  padding: 8px 18px;

  border-radius: 30px;

  background: #f8f7f3;

  color: var(--color-primary);

  font-size: 14px;

  font-weight: 600;
}

.category-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.category-card a:hover {
  letter-spacing: 0.4px;
}

/*==========================================================
    BROWSE BY STATE
==========================================================*/

.states-section {
  position: relative;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.state-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  height: 300px;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.state-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s;
}

.state-card:hover img {
  transform: scale(1.1);
}

.state-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

.state-content {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  color: #fff;
  z-index: 5;
}

.state-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  margin-bottom: 10px;
}

.state-content p {
  opacity: 0.95;
  margin-bottom: 20px;
}

.state-content span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 14px;
}

.state-card:hover .state-content span {
  background: var(--color-primary);
}

.state-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: 22px;
  transition: 0.35s;
}

.state-card:hover::after {
  border-color: rgba(212, 175, 55, 0.65);
}

/*==========================================================
    SECTION DIVIDER
==========================================================*/

.section-divider {
  width: 90px;
  height: 4px;
  margin: 22px auto 0;
  background: var(--color-primary);
  border-radius: 20px;
}

/*==========================================================
    SMALL INFO BADGES
==========================================================*/

.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background: #f8f7f3;
  color: #555;
  font-size: 14px;
  margin: 5px;
}

.info-badge i {
  color: var(--color-primary);
}

/*==========================================================
    HOVER GLOW
==========================================================*/

.category-card:hover,
.state-card:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.14), 0 0 30px rgba(212, 175, 55, 0.12);
}

/*==========================================================
    TABLET
==========================================================*/

@media (max-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .states-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .state-card {
    height: 270px;
  }

  .category-card {
    padding: 38px 25px;
  }
}

/*==========================================================
    MOBILE
==========================================================*/

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .states-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .category-card {
    padding: 35px 24px;
  }

  .category-icon {
    width: 80px;
    height: 80px;
    font-size: 34px;
  }

  .category-card h3 {
    font-size: 22px;
  }

  .state-card {
    height: 240px;
  }

  .state-content {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .state-content h3 {
    font-size: 24px;
  }

  .state-content span {
    font-size: 13px;
  }
}

/*==========================================================
    TEMPLE DIRECTORY
==========================================================*/

.directory-section {
  position: relative;
}

.directory-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.directory-count {
  color: #666;
  font-size: 15px;
}

.directory-sort {
  display: flex;
  align-items: center;
  gap: 15px;
}

.directory-sort label {
  font-weight: 600;
  color: #444;
}

.directory-sort select {
  height: 48px;
  min-width: 220px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 0 18px;
  background: #fff;
  transition: 0.3s;
}

.directory-sort select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

/*==========================================================
    DIRECTORY GRID
==========================================================*/

#templeGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/*==========================================================
    DIRECTORY CARD
==========================================================*/

.directory-card {
  position: relative;

  background: #fff;

  border-radius: 22px;

  overflow: hidden;

  border: 1px solid #ececec;

  transition: 0.35s;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.directory-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.15);
}

.directory-image {
  position: relative;

  height: 240px;

  overflow: hidden;
}

.directory-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: 0.45s;
}

.directory-card:hover .directory-image img {
  transform: scale(1.08);
}

.directory-category {
  position: absolute;

  top: 18px;

  left: 18px;

  background: rgba(17, 17, 17, 0.82);

  color: #fff;

  padding: 8px 16px;

  border-radius: 30px;

  font-size: 13px;

  backdrop-filter: blur(8px);
}

.directory-rating {
  position: absolute;

  right: 18px;

  top: 18px;

  background: #fff;

  color: #f4b400;

  padding: 8px 14px;

  border-radius: 30px;

  font-weight: 700;

  display: flex;

  gap: 6px;

  align-items: center;
}

.directory-body {
  padding: 28px;
}

.directory-body h3 {
  font-family: 'Cinzel', serif;

  font-size: 27px;

  margin-bottom: 18px;
}

.directory-meta {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-bottom: 20px;
}

.directory-meta span {
  display: flex;

  align-items: center;

  gap: 8px;

  padding: 8px 14px;

  border-radius: 30px;

  background: #f8f7f3;

  font-size: 14px;

  color: #555;
}

.directory-meta i {
  color: var(--color-primary);
}

.directory-description {
  color: #666;

  line-height: 1.85;

  margin-bottom: 25px;
}

/*==========================================================
    DIRECTORY FOOTER
==========================================================*/

.directory-footer {
  display: flex;

  justify-content: space-between;

  align-items: center;

  border-top: 1px solid #eee;

  padding-top: 20px;
}

.directory-link {
  color: var(--color-primary);

  text-decoration: none;

  font-weight: 600;

  display: flex;

  align-items: center;

  gap: 8px;
}

.directory-link:hover {
  gap: 12px;
}

.directory-footer .btn {
  padding: 12px 22px;
}

/*==========================================================
    LOAD MORE
==========================================================*/

.load-more {
  margin-top: 60px;

  text-align: center;
}

.load-more button {
  min-width: 240px;
}

/*==========================================================
    PAGINATION
==========================================================*/

.pagination {
  display: flex;

  justify-content: center;

  gap: 12px;

  margin-top: 60px;

  flex-wrap: wrap;
}

.pagination a {
  width: 46px;

  height: 46px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 12px;

  text-decoration: none;

  color: #555;

  background: #fff;

  border: 1px solid #e5e5e5;

  transition: 0.3s;
}

.pagination a:hover,
.pagination a.active {
  background: var(--color-primary);

  color: #fff;

  border-color: var(--color-primary);
}

/*==========================================================
    EMPTY STATE
==========================================================*/

.no-results {
  text-align: center;

  padding: 80px 30px;

  border: 2px dashed #ddd;

  border-radius: 20px;

  background: #fafafa;
}
.empty-state {
  padding: 80px 30px;

  text-align: center;

  color: #666;

  font-size: 18px;

  border: 2px dashed #ddd;

  border-radius: 20px;

  background: #fafafa;
}

.no-results i {
  font-size: 60px;

  color: var(--color-primary);

  margin-bottom: 20px;
}

.no-results h3 {
  font-family: 'Cinzel', serif;

  margin-bottom: 15px;
}

.no-results p {
  color: #666;

  max-width: 550px;

  margin: auto;

  line-height: 1.8;
}

/*==========================================================
    SKELETON LOADING
==========================================================*/

.skeleton-card {
  background: #fff;

  border-radius: 20px;

  overflow: hidden;

  border: 1px solid #ececec;
}

.skeleton-image {
  height: 240px;

  background: linear-gradient(90deg, #f1f1f1 25%, #e7e7e7 37%, #f1f1f1 63%);

  background-size: 400% 100%;

  animation: skeletonLoading 1.4s infinite;
}

.skeleton-body {
  padding: 25px;
}

.skeleton-line {
  height: 14px;

  border-radius: 10px;

  margin-bottom: 18px;

  background: linear-gradient(90deg, #f1f1f1 25%, #e7e7e7 37%, #f1f1f1 63%);

  background-size: 400% 100%;

  animation: skeletonLoading 1.4s infinite;
}

.skeleton-line.short {
  width: 55%;
}

@keyframes skeletonLoading {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}

/*==========================================================
    RESPONSIVE
==========================================================*/

@media (max-width: 992px) {
  #templeGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .directory-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .directory-sort {
    width: 100%;
  }

  .directory-sort select {
    width: 100%;
  }
}

@media (max-width: 768px) {
  #templeGrid {
    grid-template-columns: 1fr;
  }

  .directory-image {
    height: 220px;
  }

  .directory-body {
    padding: 22px;
  }

  .directory-body h3 {
    font-size: 22px;
  }

  .directory-footer {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }

  .load-more button {
    width: 100%;
  }

  .pagination {
    gap: 8px;
  }
}

/*==========================================================
    TEMPLE STATISTICS
==========================================================*/

.statistics-section {
  position: relative;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.statistics-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(212, 175, 55, 0.18),
    transparent 45%
  );
  pointer-events: none;
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.stat-card {
  text-align: center;
  padding: 45px 25px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  transition: 0.35s;
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.12);
}

.stat-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: rgba(212, 175, 55, 0.18);
  color: var(--color-primary);
}

.stat-card h2 {
  font-family: 'Cinzel', serif;
  font-size: 48px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/*==========================================================
    PILGRIMAGE CIRCUITS
==========================================================*/

.circuit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.circuit-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #ececec;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  transition: 0.35s;
}

.circuit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.14);
}

.circuit-image {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.circuit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s;
}

.circuit-card:hover .circuit-image img {
  transform: scale(1.08);
}

.circuit-body {
  padding: 28px;
}

.circuit-body h3 {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  margin-bottom: 16px;
}

.circuit-body p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 22px;
}

.circuit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.circuit-meta span {
  padding: 8px 15px;
  border-radius: 30px;
  background: #f8f7f3;
  color: #555;
  font-size: 14px;
}

.circuit-meta i {
  color: var(--color-primary);
}

/*==========================================================
    INDIA MAP
==========================================================*/

.india-map-section {
  background: #f8f7f3;
}

.map-wrapper {
  margin-top: 60px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #ececec;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.map-placeholder {
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 60px;
}

.map-placeholder i {
  font-size: 90px;
  color: var(--color-primary);
  margin-bottom: 25px;
}

.map-placeholder h2 {
  font-family: 'Cinzel', serif;
  margin-bottom: 18px;
}

.map-placeholder p {
  max-width: 650px;
  color: #666;
  line-height: 1.9;
}

/*==========================================================
    FEATURE HIGHLIGHTS
==========================================================*/

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #ececec;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
  transition: 0.35s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 85px;
  height: 85px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.14);
  color: var(--color-primary);
  font-size: 34px;
  transition: 0.35s;
}

.feature-card:hover .feature-icon {
  background: var(--color-primary);
  color: #fff;
  transform: rotateY(180deg);
}

.feature-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  margin-bottom: 15px;
}

.feature-card p {
  color: #666;
  line-height: 1.8;
}

/*==========================================================
    HOVER EFFECTS
==========================================================*/

.circuit-card,
.feature-card,
.stat-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/*==========================================================
    TABLET
==========================================================*/

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .circuit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-placeholder {
    min-height: 450px;
  }
}

/*==========================================================
    MOBILE
==========================================================*/

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .circuit-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 35px 20px;
  }

  .stat-card h2 {
    font-size: 38px;
  }

  .circuit-image {
    height: 220px;
  }

  .circuit-body {
    padding: 22px;
  }

  .circuit-body h3 {
    font-size: 22px;
  }

  .feature-card {
    padding: 30px 22px;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }

  .map-placeholder {
    min-height: 350px;
    padding: 40px 25px;
  }

  .map-placeholder i {
    font-size: 70px;
  }
}

/*==========================================================
    FESTIVALS SECTION
==========================================================*/

.festivals-section {
  position: relative;
  background: #f8f7f3;
}

.festival-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.festival-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #ececec;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: 0.35s;
}

.festival-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.14);
}

.festival-image {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.festival-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s;
}

.festival-card:hover .festival-image img {
  transform: scale(1.08);
}

.festival-date {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}

.festival-content {
  padding: 28px;
}

.festival-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  margin-bottom: 16px;
}

.festival-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.festival-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.festival-footer span {
  color: #777;
  font-size: 14px;
}

.festival-footer i {
  color: var(--color-primary);
}

/*==========================================================
    BLOG SECTION
==========================================================*/

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 60px;
}

.blog-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #ececec;
  transition: 0.35s;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.14);
}

.blog-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s;
}

.blog-card:hover .blog-image img {
  transform: scale(1.08);
}

.blog-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
}

.blog-content {
  padding: 28px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  color: #777;
  font-size: 14px;
  flex-wrap: wrap;
}

.blog-meta i {
  color: var(--color-primary);
}

.blog-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  margin-bottom: 18px;
  line-height: 1.4;
}

.blog-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 24px;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
}

.blog-link:hover {
  gap: 14px;
}

/*==========================================================
    CALL TO ACTION
==========================================================*/

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: linear-gradient(rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.88)),
    url('../images/cta/temple-bg.jpg') center center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.15),
    transparent 60%
  );
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: auto;
}

.cta-content h2 {
  font-family: 'Cinzel', serif;
  font-size: 48px;
  margin-bottom: 25px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.9;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 220px;
}

/*==========================================================
    FOOTER ENHANCEMENTS
==========================================================*/

.footer {
  background: #111;
  color: #ddd;
}

.footer-top {
  padding: 80px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer h4 {
  font-family: 'Cinzel', serif;
  color: #fff;
  margin-bottom: 24px;
}

.footer p {
  color: #aaa;
  line-height: 1.9;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 14px;
}

.footer ul a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s;
}

.footer ul a:hover {
  color: var(--color-primary);
  padding-left: 6px;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 25px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #222;
  color: #fff;
  transition: 0.35s;
}

.footer-social a:hover {
  background: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  text-align: center;
  color: #999;
}

/*==========================================================
    RESPONSIVE
==========================================================*/

@media (max-width: 992px) {
  .festival-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-content h2 {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .festival-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .blog-image,
  .festival-image {
    height: 220px;
  }

  .blog-content,
  .festival-content {
    padding: 22px;
  }

  .blog-content h3 {
    font-size: 22px;
  }

  .cta-section {
    padding: 80px 0;
  }

  .cta-content h2 {
    font-size: 32px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/*==========================================================
    TEMPLE DETAILS MODAL
==========================================================*/

.temple-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s;
  z-index: 9999;
  padding: 30px;
}

.temple-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
  position: relative;
  animation: modalZoom 0.35s ease;
}

@keyframes modalZoom {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;

  width: 48px;
  height: 48px;

  border: none;
  border-radius: 50%;

  background: #fff;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

  cursor: pointer;

  font-size: 18px;

  transition: 0.3s;

  z-index: 20;
}

.modal-close:hover {
  background: var(--color-primary);

  color: #fff;
}

.modal-image {
  height: 380px;

  overflow: hidden;
}

.modal-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

.modal-content {
  padding: 40px;
}

.modal-content h2 {
  font-family: 'Cinzel', serif;

  font-size: 38px;

  margin-bottom: 18px;
}

.modal-meta {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-bottom: 25px;
}

.modal-meta span {
  display: flex;

  align-items: center;

  gap: 8px;

  padding: 8px 16px;

  background: #f8f7f3;

  border-radius: 30px;

  color: #555;
}

.modal-meta i {
  color: var(--color-primary);
}

.modal-content p {
  color: #666;

  line-height: 1.9;

  margin-bottom: 18px;
}

.modal-actions {
  display: flex;

  gap: 18px;

  flex-wrap: wrap;

  margin-top: 30px;
}

/*==========================================================
    FLOATING ACTION BUTTONS
==========================================================*/

.floating-buttons {
  position: fixed;

  right: 25px;

  bottom: 25px;

  display: flex;

  flex-direction: column;

  gap: 15px;

  z-index: 999;
}

.float-btn {
  width: 58px;

  height: 58px;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  text-decoration: none;

  color: #fff;

  font-size: 22px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);

  transition: 0.35s;
}

.float-btn:hover {
  transform: translateY(-6px) scale(1.08);
}

.back-top {
  background: #111;
}

.whatsapp {
  background: #25d366;
}

.book-puja {
  background: var(--color-primary);
}

/*==========================================================
    LOADER
==========================================================*/

.page-loader {
  position: fixed;

  inset: 0;

  background: #fff;

  display: flex;

  justify-content: center;

  align-items: center;

  z-index: 99999;

  transition: 0.4s;
}

.loader-ring {
  width: 70px;

  height: 70px;

  border: 5px solid #eee;

  border-top: 5px solid var(--color-primary);

  border-radius: 50%;

  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/*==========================================================
    SCROLL ANIMATIONS
==========================================================*/

.fade-up {
  opacity: 0;

  transform: translateY(60px);

  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;

  transform: none;
}

.fade-left {
  opacity: 0;

  transform: translateX(-60px);

  transition: 0.8s;
}

.fade-left.show {
  opacity: 1;

  transform: none;
}

.fade-right {
  opacity: 0;

  transform: translateX(60px);

  transition: 0.8s;
}

.fade-right.show {
  opacity: 1;

  transform: none;
}

.zoom-in {
  opacity: 0;

  transform: scale(0.85);

  transition: 0.8s;
}

.zoom-in.show {
  opacity: 1;

  transform: scale(1);
}

/*==========================================================
    UTILITIES
==========================================================*/

.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.rounded {
  border-radius: 20px;
}

.shadow {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.hidden {
  display: none !important;
}

/*==========================================================
    ACCESSIBILITY
==========================================================*/

:focus-visible {
  outline: 3px solid var(--color-primary);

  outline-offset: 3px;
}

img {
  max-width: 100%;

  display: block;
}

button {
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
}

/*==========================================================
    CUSTOM SCROLLBAR
==========================================================*/

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f2f2f2;
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);

  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b89227;
}

/*==========================================================
    PRINT
==========================================================*/

@media print {
  .navbar,
  .footer,
  .floating-buttons,
  .page-loader,
  .hero-search,
  .search-card,
  .cta-section {
    display: none !important;
  }

  body {
    background: #fff;

    color: #000;
  }

  .section {
    padding: 30px 0;
  }
}

/*==========================================================
    LARGE DESKTOP
==========================================================*/

@media (min-width: 1600px) {
  .container {
    max-width: 1450px;
  }
}

/*==========================================================
    TABLET
==========================================================*/

@media (max-width: 992px) {
  .modal-image {
    height: 300px;
  }

  .modal-content {
    padding: 30px;
  }
}

/*==========================================================
    MOBILE
==========================================================*/

@media (max-width: 768px) {
  .floating-buttons {
    right: 15px;

    bottom: 15px;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .modal-dialog {
    max-height: 95vh;
  }

  .modal-image {
    height: 220px;
  }

  .modal-content {
    padding: 22px;
  }

  .modal-content h2 {
    font-size: 28px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
  }
}
