/* Base Styles */
:root {
  --primary-color: #e28014;
  --primary-dark: #c96d0f;
  --primary-light: #f0a94d;
  --secondary-color: #8a2be2;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --black: #000000;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Loader Styles */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 100px;
  height: 100px;
  animation: loaderSpin 2s linear infinite, loaderPulse 2s ease-in-out infinite;
}

@keyframes loaderSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.1) rotate(180deg);
    opacity: 0.7;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.logo span {
  color: var(--text-dark);
}

/* Menu Toggle */
.menu-toggle {
  cursor: pointer;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-icon {
  width: 40px;
  height: 40px;
  transition: var(--transition);
}

.hamburger-icon:hover {
  transform: scale(1.1);
}

.cross-icon {
  font-size: 2rem;
  color: var(--primary-color);
  display: none;
  cursor: pointer;
}

/* Responsive Menu */
.responsive-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 80px 20px 20px;
  z-index: 1000;
  transition: right 0.3s ease;
}

.responsive-menu.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: var(--primary-color);
  cursor: pointer;
  z-index: 1001;
}

.menu-list {
  list-style: none;
}

.menu-list li {
  margin: 0 0 20px 0;
}

.menu-list a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.menu-list a:hover,
.menu-list a.active {
  color: var(--primary-color);
}

.menu-list a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.menu-list a:hover::after,
.menu-list a.active::after {
  width: 100%;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(226, 128, 20, 0.3);
}

.btn i {
  margin-right: 8px;
}

/* Enhanced Full-Width Parallax Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.parallax-hero {
  background: #000;
  box-shadow: none;
}

.parallax-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out,
    transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(100%) scale(1.1);
  overflow: hidden;
}

.slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.slide.prev {
  transform: translateX(-100%) scale(1.1);
}

/* Parallax Background Layer */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  will-change: transform;
  transition: transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateZ(0) scale(1.1);
}

.slide.active .parallax-bg {
  transform: translateZ(0) scale(1);
  animation: parallaxFloat 20s ease-in-out infinite;
}

.slide[data-bg] .parallax-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
    var(--slide-bg);
}

/* Dynamic background setting */
.slide[data-bg="assets/images/shiva1.webp"] .parallax-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
    url("../assets/images/shiva1.webp");
}

.slide[data-bg="assets/images/shiva2.jpeg"] .parallax-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
    url("../assets/images/shiva2.jpeg");
}

.slide[data-bg="assets/images/shiva3.jpg"] .parallax-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
    url("../assets/images/shiva3.jpg");
}

@keyframes parallaxFloat {
  0%,
  100% {
    transform: translateZ(0) scale(1) translateY(0px);
  }
  25% {
    transform: translateZ(0) scale(1) translateY(-5px) translateX(2px);
  }
  50% {
    transform: translateZ(0) scale(1) translateY(0px) translateX(-2px);
  }
  75% {
    transform: translateZ(0) scale(1) translateY(5px) translateX(2px);
  }
}

.slide-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.video-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.video-slide .slide-content {
  z-index: 2;
}

.video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../assets/images/shiva1.webp") no-repeat center center/cover;
  z-index: 0;
}

.video-placeholder {
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

.video-placeholder i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Audio Section */
.audio-section {
  padding: 60px 0;
  background-color: var(--bg-light);
  text-align: center;
  padding-bottom: 130px;
}

.audio-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--text-dark);
  position: relative;
}

.audio-section h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.audio-player {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.audio-player h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.audio-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.progress-container {
  width: 100%;
  height: 10px;
  background-color: #ddd;
  border-radius: 5px;
  overflow: hidden;
  margin: 10px 0;
}

.progress-bar {
  height: 100%;
  background-color: var(--primary-color);
  width: 0%;
  border-radius: 5px;
  transition: width 0.1s linear;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.controls button {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.controls button:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.volume-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.volume-controls input {
  width: 100px;
}

.audio-list {
  margin-top: 30px;
  text-align: left;
}

.audio-list h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.audio-tracks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audio-track {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #f0f0f0;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.audio-track:hover {
  background: #e0e0e0;
}

.audio-track.active {
  background: var(--primary-light);
  color: white;
}

.audio-track i {
  margin-right: 10px;
  color: var(--primary-color);
}

.audio-track.active i {
  color: white;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

.slide-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Shiva decorations for hero section */
.hero::before {
  content: "ლ(ಠ益ಠ)ლ";
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
  transform: rotate(-30deg);
  z-index: 1;
}

.hero::after {
  content: "🔱";
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
  z-index: 1;
}

.slider-nav {
  position: absolute;
  bottom: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 3;
}

.slider-nav span {
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  cursor: pointer;
  transition: var(--transition);
}

.slider-nav span:hover {
  background-color: var(--primary-color);
}

/* Slide Indicators */
.slide-indicators {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 4;
}

.slide-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.slide-indicator.active {
  background-color: var(--primary-color);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(226, 128, 20, 0.5);
}

.slide-indicator:hover {
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

/* Enhanced Parallax Elements */
.parallax-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-symbol {
  position: absolute;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.1);
  animation: floatSymbol 15s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

.symbol-1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.symbol-2 {
  top: 60%;
  right: 15%;
  animation-delay: -4s;
  animation-duration: 16s;
}

.symbol-3 {
  bottom: 25%;
  left: 20%;
  animation-delay: -8s;
  animation-duration: 14s;
}

@keyframes floatSymbol {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.1;
  }
  25% {
    transform: translate(15px, -10px) rotate(5deg) scale(1.1);
    opacity: 0.2;
  }
  50% {
    transform: translate(-10px, -20px) rotate(-3deg) scale(0.9);
    opacity: 0.15;
  }
  75% {
    transform: translate(20px, -5px) rotate(8deg) scale(1.05);
    opacity: 0.25;
  }
}

/* Hero Bottom Blend Effect */
.hero-bottom-blend {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(248, 249, 250, 0.3) 30%,
    rgba(248, 249, 250, 0.7) 70%,
    var(--bg-light) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Enhanced slide content positioning */
.slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 0 30px;
  animation: slideContentFadeIn 2s ease-out;
}

@keyframes slideContentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.slide-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  margin-bottom: 25px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
  line-height: 1.2;
}

.slide-content p {
  font-size: 1.3rem;
  margin-bottom: 35px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Enhanced button styling for hero section */
.slide-content .btn {
  padding: 15px 35px;
  font-size: 1.1rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  box-shadow: 0 6px 20px rgba(226, 128, 20, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-content .btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(226, 128, 20, 0.6);
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-color)
  );
  border-color: rgba(255, 255, 255, 0.4);
}

/* Location Section */
.location-section {
  padding: 60px 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.location-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.location-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.location-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.location-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.location-btn {
  padding: 15px 30px;
  font-size: 1rem;
}

/* Enhanced Categories Carousel Section */
.categories {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.categories::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="none"><path d="M20 20h60v60H20z" fill="%23ff6a54" opacity="0.02"/></svg>')
    repeat;
  pointer-events: none;
}

.section-title {
  font-family: "Playfair Display", serif;
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: var(--text-dark);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 15px 0 25px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.carousel-stats {
  display: inline-block;
  background: rgba(255, 106, 84, 0.1);
  padding: 8px 20px;
  border-radius: 25px;
  border: 2px solid rgba(255, 106, 84, 0.2);
  color: #ff6a54;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Carousel Container Styles */
.country-carousel-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 60px;
  margin: 0 -20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 25px;
  padding: 20px 0;
}

.carousel-slide {
  min-width: 320px;
  flex-shrink: 0;
  position: relative;
}

/* Enhanced Category Cards */
.category-card {
  position: relative;
  height: 280px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  transition: all 0.4s ease;
  z-index: 1;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 106, 84, 0.5);
}

.category-card:hover::before {
  background: linear-gradient(
    135deg,
    rgba(255, 106, 84, 0.7) 0%,
    rgba(255, 156, 84, 0.5) 50%,
    rgba(255, 106, 84, 0.8) 100%
  );
}

.category-card.featured {
  border-color: rgba(255, 215, 0, 0.6);
  position: relative;
}

.category-card.featured::after {
  content: "⭐";
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  z-index: 3;
  animation: pulse 2s infinite;
}

/* Country Flag */
.country-flag {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 1.8rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Card Content */
.card-content {
  padding: 20px;
  z-index: 2;
  position: relative;
  margin-top: auto;
  text-align: center;
}

.card-content h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  z-index: 2;
  position: relative;
}

.temple-count {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.country-description {
  font-size: 0.9rem;
  opacity: 0.85;
  font-style: italic;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Card Stats */
.card-stats {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 3;
}

.stat-item {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-item i {
  margin-right: 5px;
  color: #ffd700;
}

/* Carousel Navigation */
.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: #ff6a54;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  pointer-events: all;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 106, 84, 0.2);
}

.carousel-btn:hover {
  background: #ff6a54;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 106, 84, 0.3);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 106, 84, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator.active {
  background: #ff6a54;
  transform: scale(1.2);
  border-color: rgba(255, 106, 84, 0.3);
}

/* View Controls */
.view-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 20px 0;
}

.view-toggle {
  padding: 10px 15px;
  border: 2px solid rgba(255, 106, 84, 0.3);
  background: transparent;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #666;
  font-size: 1rem;
}

.view-toggle.active {
  background: #ff6a54;
  color: white;
  border-color: #ff6a54;
}

.view-toggle:hover {
  border-color: #ff6a54;
  color: #ff6a54;
}

.view-toggle.active:hover {
  color: white;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.secondary-btn {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.2);
}

.secondary-btn:hover {
  background: linear-gradient(135deg, #495057 0%, #343a40 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

.secondary-btn i {
  margin-right: 8px;
}

.category-card-link {
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.category-card-link:hover {
  text-decoration: none;
}

/* Animation for featured cards */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Grid and List View States */
.carousel-container.grid-view .carousel-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  transform: none !important;
}

.carousel-container.grid-view .carousel-slide {
  min-width: auto;
}

.carousel-container.list-view .carousel-track {
  flex-direction: column;
  gap: 15px;
  transform: none !important;
}

.carousel-container.list-view .carousel-slide {
  min-width: auto;
  width: 100%;
}

.carousel-container.list-view .category-card {
  height: 120px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.carousel-container.list-view .card-content {
  margin-top: 0;
  text-align: left;
  flex: 1;
}

.carousel-container.list-view .country-flag {
  position: relative;
  top: auto;
  left: auto;
  margin-right: 20px;
}

/* Hide carousel controls in grid/list view */
.carousel-container.grid-view .carousel-controls,
.carousel-container.list-view .carousel-controls {
  display: none;
}

/* Enhanced Mobile Responsive Design for Carousel */
@media (max-width: 1200px) {
  .carousel-slide {
    min-width: 300px;
  }

  .carousel-container {
    padding: 0 50px;
  }

  .category-card {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .categories {
    padding: 50px 0;
  }

  .carousel-container {
    padding: 0 35px;
    margin: 0 -10px;
  }

  .carousel-slide {
    min-width: 280px;
    flex-shrink: 0;
  }

  .category-card {
    height: 260px;
    margin: 0 5px;
  }

  .card-content {
    padding: 18px;
  }

  .card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
  }

  .temple-count {
    font-size: 1rem;
  }

  .country-description {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .carousel-controls {
    padding: 0 5px;
  }

  .view-controls {
    margin: 25px 0 15px 0;
    gap: 8px;
  }

  .view-toggle {
    padding: 10px 14px;
    font-size: 0.85rem;
    min-width: 80px;
  }

  .quick-actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .secondary-btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 25px;
    font-size: 0.9rem;
  }

  .carousel-stats {
    font-size: 0.85rem;
    padding: 6px 16px;
  }

  .section-subtitle {
    font-size: 1rem;
    margin: 12px 0 20px 0;
  }
}

@media (max-width: 480px) {
  .categories {
    padding: 40px 0;
  }

  .carousel-container {
    padding: 0 25px;
    margin: 0 -5px;
    overflow: visible;
  }

  .carousel-track {
    gap: 15px;
    padding: 15px 0;
  }

  .carousel-slide {
    min-width: 260px;
    flex-shrink: 0;
  }

  .category-card {
    height: 220px;
    margin: 0;
    border-radius: 16px;
  }

  .card-content {
    padding: 15px;
  }

  .card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }

  .temple-count {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .country-description {
    font-size: 0.8rem;
  }

  .country-flag {
    font-size: 1.3rem;
    padding: 6px;
    top: 12px;
    left: 12px;
  }

  .card-stats {
    bottom: 12px;
    right: 12px;
  }

  .stat-item {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-controls {
    padding: 0;
  }

  .carousel-indicators {
    margin-top: 20px;
    gap: 6px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .view-controls {
    flex-wrap: wrap;
    gap: 6px;
    margin: 20px 0 15px 0;
    justify-content: center;
  }

  .view-toggle {
    padding: 8px 12px;
    font-size: 0.8rem;
    min-width: 70px;
    border-radius: 20px;
  }

  .quick-actions {
    margin-top: 25px;
    gap: 12px;
  }

  .secondary-btn {
    max-width: 240px;
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin: 10px 0 15px 0;
  }

  .carousel-stats {
    font-size: 0.8rem;
    padding: 5px 14px;
  }
}

@media (max-width: 360px) {
  .carousel-container {
    padding: 0 20px;
  }

  .carousel-slide {
    min-width: 240px;
  }

  .category-card {
    height: 200px;
  }

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

  .view-toggle {
    padding: 6px 10px;
    font-size: 0.75rem;
    min-width: 60px;
  }

  .secondary-btn {
    max-width: 200px;
    padding: 10px 18px;
    font-size: 0.8rem;
  }
}

/* Smooth Transitions for View Changes */
.carousel-container.transitioning .carousel-track {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.carousel-container.grid-view .carousel-track,
.carousel-container.list-view .carousel-track {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-slide.fade-in {
  animation: slideInFade 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInFade {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Section Highlight Effect */
.section-highlight {
  position: relative;
  animation: sectionHighlight 2s ease-in-out;
}

.section-highlight::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(
    135deg,
    rgba(255, 106, 84, 0.15) 0%,
    rgba(255, 156, 84, 0.1) 50%,
    rgba(255, 106, 84, 0.15) 100%
  );
  border-radius: 20px;
  z-index: -1;
  animation: highlightPulse 2s ease-in-out;
}

@keyframes sectionHighlight {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes highlightPulse {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

/* Enhanced Grid View for Mobile */
.carousel-container.grid-view .carousel-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  transform: none !important;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .carousel-container.grid-view .carousel-track {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 15px 0;
  }
}

@media (max-width: 480px) {
  .carousel-container.grid-view .carousel-track {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px 0;
  }

  .carousel-container.grid-view .carousel-slide {
    min-width: auto;
    width: 100%;
  }
}

/* Enhanced List View for Mobile */
.carousel-container.list-view .carousel-track {
  flex-direction: column;
  gap: 12px;
  transform: none !important;
  padding: 15px 0;
}

.carousel-container.list-view .carousel-slide {
  min-width: auto;
  width: 100%;
}

.carousel-container.list-view .category-card {
  height: auto;
  min-height: 100px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 15px;
}

.carousel-container.list-view .country-flag {
  position: relative;
  top: auto;
  left: auto;
  margin-right: 15px;
  background: transparent;
  border: none;
  backdrop-filter: none;
  font-size: 2rem;
}

.carousel-container.list-view .card-content {
  margin-top: 0;
  text-align: left;
  flex: 1;
  padding: 0;
  color: #333;
}

.carousel-container.list-view .card-content h3 {
  color: #333;
  text-shadow: none;
  margin-bottom: 5px;
}

.carousel-container.list-view .temple-count,
.carousel-container.list-view .country-description {
  color: #666;
  text-shadow: none;
}

.carousel-container.list-view .card-stats {
  position: relative;
  bottom: auto;
  right: auto;
  margin-left: 15px;
}

.carousel-container.list-view .stat-item {
  background: rgba(255, 106, 84, 0.1);
  color: #ff6a54;
  border: 1px solid rgba(255, 106, 84, 0.3);
}

@media (max-width: 480px) {
  .carousel-container.list-view .category-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
  }

  .carousel-container.list-view .country-flag {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .carousel-container.list-view .card-content {
    text-align: center;
  }

  .carousel-container.list-view .card-stats {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* Popular Temples */
.popular-temples {
  padding: 80px 0;
  background-color: var(--bg-light);
  position: relative;
}

.temples-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.temple-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.temple-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.temple-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.temple-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.temple-card:hover .temple-img img {
  transform: scale(1.1);
}

/* Shiva decorations for temple cards */
.temple-card::before {
  content: "🔱";
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  color: rgba(226, 128, 20, 0.3);
  z-index: 3;
}

.temple-info {
  padding: 20px;
  position: relative;
  z-index: 2;
}

.temple-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.temple-info p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.temple-meta {
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.temple-meta span {
  margin-right: 15px;
  font-size: 0.9rem;
}

.temple-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

/* Mantras Section */
.mantras {
  padding: 80px 0;
}

.mantra-slider {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 50px 30px;
  position: relative;
  border: 1px solid rgba(226, 128, 20, 0.2);
}

.mantra-slider::before {
  content: "ॐ";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  color: var(--primary-color);
  background-color: var(--white);
  padding: 0 15px;
}

.mantra-slide {
  display: none;
}

.mantra-slide.active {
  display: block;
  animation: fadeIn 1s ease;
}

.mantra-slide p {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.mantra-slide .translation {
  font-size: 1.2rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 30px;
}

.mantra-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.mantra-actions .btn {
  display: flex;
  align-items: center;
  padding: 10px 20px;
}

/* Shiva decorations for mantra section */
.mantra-slider::after {
  content: "ॐ";
  position: absolute;
  bottom: -20px;
  right: 20px;
  font-size: 3rem;
  color: var(--primary-color);
  background-color: var(--white);
  padding: 0 15px;
}

/* Temple List Page */
.temple-list-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../assets/images/shiva3.jpg") no-repeat center center/cover;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  position: relative;
}

.temple-list-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

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

/* Filter Section */
.filter-section {
  padding: 40px 0;
  background-color: var(--bg-light);
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: end;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.filter-group label i {
  margin-right: 8px;
  color: var(--primary-color);
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
}

.filter-btn {
  height: fit-content;
  padding: 12px 20px;
}

/* Temple List */
.temple-list-section {
  padding: 60px 0;
}

.temple-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.temple-item {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.temple-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.temple-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.temple-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.temple-item:hover .temple-image img {
  transform: scale(1.1);
}

.temple-details {
  padding: 20px;
  position: relative;
  z-index: 2;
}

.temple-details h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.temple-details p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.temple-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.temple-meta span {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.temple-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

.temple-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Temple Details Full-Width Sliding Gallery */
.temple-single-row-gallery {
  position: relative;
  height: 500px;
  overflow: hidden;
  background-color: var(--bg-light);
  padding: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.single-row-container {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(0, 0, 0, 0.02) 100%
  );
}

.slider-track {
  position: relative;
  width: 300%;
  height: 100%;
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-panel {
  position: relative;
  width: 33.333%;
  height: 100%;
  flex-shrink: 0;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-panel.active {
  /* Active state handled by transform on slider-track */
}

.slider-track.slide-0 {
  transform: translateX(0%);
}

.slider-track.slide-1 {
  transform: translateX(-33.333%);
}

.slider-track.slide-2 {
  transform: translateX(-66.666%);
}

.images-row {
  display: flex;
  gap: 25px;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 50px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.images-row::-webkit-scrollbar {
  display: none;
}

.image-card {
  flex: 0 0 auto;
  height: 440px;
  width: 550px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  cursor: pointer;
  background-color: var(--white);
  position: relative;
}

.image-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  z-index: 5;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
}

.image-card:hover img {
  transform: scale(1.05);
}

.image-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 100%
  );
  opacity: 0;
  transition: var(--transition);
}

.image-card:hover::after {
  opacity: 1;
}

.breadcrumb-menu {
  position: absolute;
  top: 30px;
  left: 50px;
  z-index: 15;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 12px 18px;
  border-radius: 8px;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.breadcrumb-menu ol {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.breadcrumb-menu li {
  margin-right: 10px;
  font-size: 0.9rem;
}

.breadcrumb-menu li:not(:last-child)::after {
  content: ">";
  margin-left: 10px;
  color: var(--text-light);
}

.breadcrumb-menu a {
  text-decoration: none;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.breadcrumb-menu a:hover {
  color: var(--primary-color);
}

.breadcrumb-menu .current {
  color: var(--primary-color);
  font-weight: 600;
}

.single-row-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 15;
  pointer-events: none;
  padding: 0 30px;
}

.single-row-nav span {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  pointer-events: all;
  backdrop-filter: blur(15px);
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.single-row-nav span:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(226, 128, 20, 0.4);
}

.single-row-nav .prev {
  margin-left: 0;
}

.single-row-nav .next {
  margin-right: 0;
}

.single-row-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 15;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.single-row-indicators .indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.single-row-indicators .indicator.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
  border-color: var(--primary-color);
}

.single-row-indicators .indicator:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
/* Responsive Design for Full-Width Single-Row Gallery */
@media (max-width: 1200px) {
  .temple-single-row-gallery {
    height: 450px;
  }

  .slider-wrapper {
    height: 450px;
  }

  .image-card {
    height: 390px;
    width: 480px;
  }

  .images-row {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .temple-single-row-gallery {
    height: 400px;
  }

  .slider-wrapper {
    height: 400px;
  }

  .slide-panel {
    padding: 20px 0;
  }

  .images-row {
    gap: 20px;
    padding: 0 30px;
  }

  .image-card {
    height: 360px;
    width: 420px;
  }

  .single-row-nav {
    padding: 0 20px;
  }

  .single-row-nav span {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .breadcrumb-menu {
    top: 20px;
    left: 30px;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .temple-single-row-gallery {
    height: 350px;
  }

  .slider-wrapper {
    height: 350px;
  }

  .slide-panel {
    padding: 15px 0;
  }

  .images-row {
    gap: 15px;
    padding: 0 20px;
  }

  .image-card {
    height: 320px;
    width: 380px;
  }

  .single-row-nav {
    padding: 0 15px;
  }

  .single-row-nav span {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .single-row-indicators {
    bottom: 20px;
    gap: 12px;
    padding: 8px 16px;
  }

  .single-row-indicators .indicator {
    width: 14px;
    height: 14px;
  }

  .breadcrumb-menu {
    display: none;
  }
}

/* Open in App Banner (Mobile View) */
.open-app-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 20px;
}

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

.open-app-img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.open-app-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}

.open-app-btn:hover {
  background-color: var(--primary-dark);
}

/* Show open-app-banner only on mobile devices */
@media (max-width: 768px) {
  .open-app-banner {
    display: block;
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .open-app-banner {
    display: block;
  }

  .breadcrumb-menu {
    display: none;
  }

  .temple-details-slider .slider-nav span {
    width: 40px;
    height: 40px;
    margin: 0 10px;
  }

  .banner-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .temple-details-slider {
    height: 40vh;
  }

  .breadcrumb-menu ol {
    flex-direction: column;
    align-items: flex-start;
  }

  .breadcrumb-menu li {
    margin-bottom: 5px;
  }

  .breadcrumb-menu li:not(:last-child)::after {
    content: "";
    margin-left: 0;
  }

  .banner-content span {
    font-size: 0.9rem;
  }
}

/* Temple Media */
.temple-media {
  padding: 60px 0;
}

.media-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-slide {
  display: none;
}

.media-slide.active {
  display: block;
}

.media-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.media-slider .slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.media-slider .slider-nav span {
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 15px;
  cursor: pointer;
  transition: var(--transition);
}

.media-slider .slider-nav span:hover {
  background-color: var(--primary-color);
}

/* Temple Info Section */
.temple-info-section {
  padding: 40px 0 80px;
}

.temple-info-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.temple-basic-info h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.category-badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 10px;
  margin-bottom: 15px;
}

.temple-description {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.temple-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.detail-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

.detail-item h3 i {
  margin-right: 10px;
  color: var(--primary-color);
}

.detail-item p {
  color: var(--text-light);
  margin-left: 28px;
}

.temple-actions {
  display: flex;
  gap: 20px;
}

.temple-actions .btn {
  display: flex;
  align-items: center;
  padding: 12px 25px;
}

/* Related Content */
.temple-related-content {
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 30px;
  position: relative;
}

.temple-related-content h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 10px;
}

.temple-related-content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.related-mantras {
  margin-bottom: 40px;
}

.mantra-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mantra-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mantra-item p {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.copy-btn {
  padding: 8px 15px;
  background-color: var(--primary-light);
  font-size: 0.8rem;
}

.copy-btn:hover {
  background-color: var(--primary-color);
}

.nearby-temples-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nearby-temple-item {
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nearby-temple-item h4 {
  margin-bottom: 8px;
  color: var(--text-dark);
}

.nearby-temple-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.nearby-temple-item p i {
  margin-right: 8px;
}

/* Animation for Shiva Trident */
.trident-animation {
  position: relative;
  display: inline-block;
}

.trident-animation::before {
  content: "🔱";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--primary-color);
  animation: tridentFloat 3s ease-in-out infinite;
  opacity: 0.8;
}

@keyframes tridentFloat {
  0% {
    transform: translate(-50%, 0) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -20px) rotate(10deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 0) rotate(0deg);
    opacity: 0.8;
  }
}

/* Additional Shiva-related styles */
.shiva-symbol {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0 5px;
}

/* Floating Shiva symbols */
.floating-shiva {
  position: absolute;
  font-size: 2rem;
  color: rgba(226, 128, 20, 0.7);
  animation: floatShiva 10s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatShiva {
  0% {
    transform: translateY(100vh) rotate(0deg);
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
  }
}

/* Shiva Lingam decoration */
.shiva-lingam {
  position: relative;
  display: inline-block;
}

.shiva-lingam::after {
  content: "ლ(ಠ益ಠ)ლ";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
  opacity: 0.7;
  animation: lingamGlow 2s ease-in-out infinite alternate;
}

@keyframes lingamGlow {
  0% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

/* Footer styles */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 50px 0 20px;
}

/* App Install Banner */
.app-install-banner {
  width: 100%;
  background-color: #001f3f; /* Dark blue background */
  padding: 30px 0;
}

.app-install-content {
  display: flex;
  align-items: center;
  background-color: #e28014; /* Orange inner container */
  width: 100%;
  margin: 0 auto;
}

.app-preview {
  flex: 1;
  text-align: center;
}

.app-preview-img {
  max-width: 100%;
  height: 300px;
  margin-top: -50px;
  margin-bottom: -8px;
}

.app-text {
  flex: 1;
  color: white;
}

.app-text h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: white;
}

.app-text p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #f0f0f0; /* Lighter white for paragraph */
  line-height: 1.6;
}

.app-download-buttons {
  display: flex;
  gap: 20px;
}

.app-download-btn {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  background-color: transparent;
  border: 2px solid white;
  color: white;
  min-width: 150px;
}

.app-download-btn i {
  font-size: 1.8rem;
  margin-right: 10px;
}

.app-download-btn span {
  font-size: 0.9rem;
  text-align: left;
}

.app-download-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.footer-logo p {
  color: #aaa;
  line-height: 1.6;
}

.footer-links h3,
.footer-social h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-social h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: #aaa;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
}

/* Animations for page load */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-card,
.temple-card,
.temple-item {
  animation: fadeIn 0.6s ease forwards;
}

/* Media Queries */
/* Enhanced Mobile Responsive Design for Parallax Hero */
@media (max-width: 1024px) {
  .hero {
    height: 90vh;
  }

  .slide-content h1 {
    font-size: 3rem;
  }

  .floating-symbol {
    font-size: 2rem;
  }

  .hero-bottom-blend {
    height: 80px;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    padding: 15px 0;
  }

  .nav {
    width: 100%;
    justify-content: flex-end;
  }

  /* Mobile parallax hero adjustments */
  .hero {
    height: 85vh;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }

  .parallax-bg {
    background-attachment: scroll; /* Fix for mobile */
    width: 100%;
    height: 100%;
  }

  .slide-content {
    padding: 0 20px;
    max-width: 90%;
  }

  .slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
  }

  .slide-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }

  .slide-content .btn {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .floating-symbol {
    font-size: 1.8rem;
    opacity: 0.05;
  }

  .hero-bottom-blend {
    height: 60px;
  }

  .slider-nav {
    bottom: 20px;
  }

  .slider-nav span {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .temple-info-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 80vh;
  }

  .slide-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .slide-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .slide-content .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .floating-symbol {
    display: none; /* Hide decorative elements on very small screens */
  }

  .hero-bottom-blend {
    height: 40px;
  }

  .slider-nav span {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    margin: 0 5px;
  }

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

  .temple-details-grid {
    grid-template-columns: 1fr;
  }

  .app-download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .app-download-btn {
    width: 80%;
    max-width: 200px;
    justify-content: center;
    text-align: center;
  }

  .app-install-content {
    flex-direction: column;
    text-align: center;
  }

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

@media (max-width: 375px) {
  .hero {
    height: 75vh;
  }

  .slide-content h1 {
    font-size: 1.7rem;
  }

  .slide-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .slide-content .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .app-install-content {
    flex-direction: column;
    padding: 20px 15px;
  }

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

  .app-download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .app-download-btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }

  .app-install-banner {
    height: auto;
  }
}

@media (max-width: 480px) {
  .slide-content h1 {
    font-size: 1.5rem;
  }

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

  .temple-details-grid {
    grid-template-columns: 1fr;
  }

  .app-download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .app-download-btn {
    width: 80%;
    max-width: 200px;
    justify-content: center;
    text-align: center;
  }

  .app-install-content {
    flex-direction: column;
    text-align: center;
  }

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