/**
 * Custom CSS for Tozan 2025 Website
 * 
 * This stylesheet provides:
 * - CSS custom properties for easy theming
 * - Responsive design for all device sizes
 * - Smooth animations and transitions
 * - Accessible and semantic styling
 * 
 * Structure:
 * 1. CSS Custom Properties (Variables)
 * 2. Global Styles
 * 3. Navigation
 * 4. Hero Section
 * 5. Content Sections
 * 6. Gallery Section
 * 7. Visa Section
 * 8. Footer
 * 9. Responsive Design (Media Queries)
 */

/* ============================================================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================================================
   Centralized color scheme and design tokens for easy customization.
   Modify these values to change the entire site's appearance.
*/
:root {
  /* Color Scheme - Inspired by reference images */
  --primary-color: #6b8e23;
  /* Olive green - main brand color */
  --secondary-color: #8b7355;
  /* Brown tone - secondary accents */
  --accent-color: #d4af37;
  /* Gold - highlights and CTAs */
  --background-color: #ffffff;
  /* White - main background */
  --text-color: #333333;
  /* Dark gray - body text */
  --overlay-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent overlay for hero */
  --light-bg-color: #f8f9fa;
  /* Light gray - alternating sections */
  --white-color: #ffffff;
  /* Pure white */
  --shadow-color: rgba(0, 0, 0, 0.1);
  /* Subtle shadows */
  --footer-text-color: rgba(255, 255, 255, 0.8);
  /* Footer text */
  --footer-text-muted-color: rgba(255, 255, 255, 0.6);
  /* Muted footer text */
  --footer-divider-color: rgba(255, 255, 255, 0.2);
  /* Footer divider line */

  /* Typography - Inter font for modern, professional look */
  --font-family-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-base: 1rem;
  /* 16px - body text */
  --font-size-lg: 1.125rem;
  /* 18px - large body text */
  --font-size-xl: 1.25rem;
  /* 20px - small headings */
  --font-size-2xl: 1.5rem;
  /* 24px - medium headings */
  --font-size-3xl: 2.25rem;
  /* 36px - large headings */
  --font-size-4xl: 3rem;
  /* 48px - section titles */
  --font-size-5xl: 4rem;
  /* 64px - hero title */
  --font-weight-normal: 400;
  /* Regular weight */
  --font-weight-medium: 500;
  /* Medium weight */
  --font-weight-semibold: 600;
  /* Semi-bold weight */
  --font-weight-bold: 700;
  /* Bold weight */
  --font-weight-extrabold: 800;
  /* Extra bold weight */
  --font-weight-black: 900;
  /* Black weight */
  --line-height-base: 1.6;
  /* Optimal readability */
  --line-height-tight: 1.2;
  /* Tight line height for headings */

  /* Spacing - Consistent spacing scale */
  --spacing-xs: 0.5rem;
  /* 8px - tight spacing */
  --spacing-sm: 1rem;
  /* 16px - small spacing */
  --spacing-md: 1.5rem;
  /* 24px - medium spacing */
  --spacing-lg: 2rem;
  /* 32px - large spacing */
  --spacing-xl: 3rem;
  /* 48px - extra large spacing */
  --spacing-2xl: 5rem;
  /* 80px - section spacing */

  /* Layout - Reusable layout values */
  --container-max-width: 800px;
  /* Max width for content containers */
  --border-radius: 0.25rem;
  /* Standard border radius (4px) */
  --transition-speed: 0.3s;
  /* Standard transition duration */
}

/* ============================================================================
   GLOBAL STYLES
   ============================================================================
   Base styles applied to all elements and the document
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Enable smooth scrolling for anchor links */
}

body {
  font-family: var(--font-family-base);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: var(--line-height-base);
}

/* ============================================================================
   NAVIGATION
   ============================================================================
   Fixed navigation bar with smooth transitions and active state highlighting
   Transparent at top, becomes solid black background on scroll
*/
.navbar {
  background-color: transparent !important;
  box-shadow: none !important;
  transition: all var(--transition-speed) ease;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.navbar .container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Navbar - transparent at top */
.navbar {
  transition: all 0.3s ease;
  background-color: transparent !important;
}

/* Navbar with solid background when scrolled */
.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.98) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
  font-weight: var(--font-weight-bold);
  font-size: 1.25rem;
  color: var(--white-color) !important;
  transition: color var(--transition-speed) ease;
  letter-spacing: -0.01em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.navbar.scrolled .navbar-brand {
  color: var(--white-color) !important;
}

.nav-link {
  color: var(--white-color) !important;
  font-weight: var(--font-weight-medium);
  font-size: 0.9375rem;
  transition: color var(--transition-speed) ease;
  letter-spacing: 0.01em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.nav-link:hover {
  color: var(--accent-color) !important;
}

.navbar.scrolled .nav-link {
  color: var(--white-color) !important;
}

.navbar.scrolled .nav-link:hover {
  color: var(--accent-color) !important;
}

/* Mobile hamburger menu icon - white on transparent navbar */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar.scrolled .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* ============================================================================
   HERO SECTION
   ============================================================================
   Full-viewport hero with video background, overlay, and centered content
*/
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Hero background video */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Hero slideshow styles */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slideshow .carousel-inner {
  height: 100%;
}

.hero-slideshow .carousel-item {
  height: 100%;
}

.hero-slide-image {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Carousel controls styling for hero section */
.hero-slideshow .carousel-control-prev,
.hero-slideshow .carousel-control-next {
  width: 5%;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.hero-slideshow .carousel-control-prev:hover,
.hero-slideshow .carousel-control-next:hover {
  opacity: 1;
}

.hero-slideshow .carousel-control-prev-icon,
.hero-slideshow .carousel-control-next-icon {
  width: 2rem;
  height: 2rem;
  background-size: 100%;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

/* Carousel indicators styling for hero section */
.hero-slideshow .carousel-indicators {
  bottom: 2rem;
  margin-bottom: 0;
}

.hero-slideshow .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.hero-slideshow .carousel-indicators button.active {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-color);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white-color);
  padding: var(--spacing-lg);
}

.hero-content h1 {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-black);
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-normal);
  margin-bottom: var(--spacing-xl);
  line-height: 1.5;
  opacity: 0.95;
}

.hero-content .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem var(--spacing-lg);
  font-size: var(--font-size-lg);
}

.hero-content .btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

/* ============================================================================
   CONTENT SECTIONS
   ============================================================================
   Reusable styles for all content sections (About, Temple, Details)
*/
.content-section {
  padding: var(--spacing-2xl) 0;
}

.content-section.bg-light {
  background-color: var(--light-bg-color);
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-black);
  margin-bottom: var(--spacing-lg);
  color: var(--primary-color);
  text-align: center;
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-content p {
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-base);
}

.section-content .lead {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  color: var(--secondary-color);
  margin-bottom: var(--spacing-lg);
}

.section-content h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.section-content ul {
  margin-bottom: var(--spacing-md);
}

.section-content ul li {
  margin-bottom: var(--spacing-xs);
  line-height: var(--line-height-base);
}

/* Temple Images */
.temple-images .image-placeholder {
  background-color: var(--light-bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.temple-images .placeholder-box {
  background-color: var(--light-bg-color);
  border: 2px dashed var(--secondary-color);
  border-radius: var(--border-radius);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.temple-images img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-speed) ease;
}

.temple-images img:hover {
  transform: scale(1.05);
}

/* Pilgrimage Details Styling */
.content-section .alert {
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.content-section .alert-heading {
  color: var(--primary-color);
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
}

.content-section .list-unstyled li {
  padding-left: var(--spacing-sm);
}

.content-section .list-unstyled li strong {
  color: var(--primary-color);
}

/* ============================================================================
   GALLERY SECTION
   ============================================================================
   Responsive grid gallery with filter buttons and lightbox integration
*/
.gallery-section {
  padding: var(--spacing-2xl) 0;
  background-color: var(--light-bg-color);
}

.gallery-filters {
  text-align: center;
}

.gallery-filters .btn {
  margin: 0 var(--spacing-xs) var(--spacing-sm);
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  transition: all var(--transition-speed) ease;
}

.gallery-filters .btn.active {
  background-color: var(--primary-color);
  color: var(--white-color);
  border-color: var(--primary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  background-color: var(--light-bg-color);
  transition: transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease, opacity 0.3s ease;
  aspect-ratio: 4 / 3;
  opacity: 1;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-color);
}

.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

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

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

.gallery-item .placeholder-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-bg-color);
  border: 2px dashed var(--secondary-color);
}

.gallery-item .video-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--border-radius);
}

/* ============================================================================
   VISA SECTION
   ============================================================================
   Timeline-style visa process guide with collapsible steps
*/
.visa-section {
  padding: var(--spacing-2xl) 0;
  background-color: var(--background-color);
}

.visa-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Timeline vertical line connecting all steps */
.visa-timeline::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom,
      var(--primary-color),
      var(--secondary-color));
}

.visa-step {
  position: relative;
  margin-bottom: 50px;
  padding-left: 100px;
}

.visa-step:last-child {
  margin-bottom: 0;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  box-shadow: 0 4px 15px var(--shadow-color);
  z-index: 1;
}

.step-content {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
}

.step-content:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 20px var(--shadow-color);
}

.step-title {
  color: var(--primary-color);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.collapse-toggle {
  color: var(--primary-color);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  transition: transform var(--transition-speed) ease;
}

.collapse-toggle:hover {
  color: var(--secondary-color);
}

.collapse-toggle[aria-expanded="false"] i {
  transform: rotate(180deg);
}

.collapse-toggle i {
  transition: transform var(--transition-speed) ease;
  font-size: 1.2rem;
}

.step-details {
  color: var(--text-color);
  line-height: var(--line-height-base);
}

.step-details h4 {
  color: var(--secondary-color);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.step-details ul {
  margin-left: var(--spacing-lg);
}

.step-details ul li {
  margin-bottom: var(--spacing-xs);
}

/* Document checklist with custom checkbox styling */
.document-checklist {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.document-checklist li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 10px;
  background-color: var(--light-bg-color);
  border-radius: var(--border-radius);
  transition: background-color 0.2s ease;
}

.document-checklist li:hover {
  background-color: var(--light-bg-color);
}

.document-checklist input[type="checkbox"] {
  margin-right: 12px;
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.document-checklist label {
  cursor: pointer;
  margin-bottom: 0;
  flex: 1;
}

/* Additional information cards below visa timeline */
.visa-additional-info {
  max-width: 900px;
  margin: 0 auto;
}

.info-card {
  background-color: var(--white-color);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--shadow-color);
  height: 100%;
}

.info-card h4 {
  color: var(--primary-color);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
}

.info-card h4 i {
  margin-right: 10px;
  color: var(--accent-color);
}

.info-card ul {
  margin-bottom: 0;
}

.info-card ul li {
  margin-bottom: var(--spacing-xs);
}

.info-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
}

.info-card a:hover {
  text-decoration: underline;
}

/* ============================================================================
   FOOTER
   ============================================================================
   Site footer with contact information and links
*/
.footer {
  background-color: var(--text-color);
  color: var(--white-color);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.footer-heading {
  color: var(--accent-color);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
}

.footer-text {
  color: var(--footer-text-color);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  margin-bottom: 0;
}

.footer-links {
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--footer-text-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease,
    padding-left var(--transition-speed) ease;
  display: inline-block;
}

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

.footer-contact {
  margin: 0;
  padding: 0;
}

.footer-contact li {
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--accent-color);
  margin-right: var(--spacing-xs);
  margin-top: 3px;
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--footer-text-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.footer-contact a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.footer-divider {
  border-color: var(--footer-divider-color);
  margin: var(--spacing-lg) 0;
}

.footer-copyright {
  color: var(--footer-text-muted-color);
  font-size: 0.9rem;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================
   Media queries for different screen sizes
   Breakpoints: 1920px (large desktop), 1200px (desktop), 992px (tablet landscape),
                768px (tablet portrait), 576px (mobile), 375px (small mobile)
*/

/* Desktop - Large screens (1920px and above) */
@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
  }

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

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

/* Desktop - Standard (1200px to 1919px) */
@media (min-width: 1200px) and (max-width: 1919px) {
  .container {
    max-width: 1140px;
  }
}

/* Tablet - Landscape and small desktop (992px to 1199px) */
@media (max-width: 1199px) {
  .hero-content h1 {
    font-size: var(--font-size-4xl);
  }

  .section-content {
    max-width: 100%;
    padding: 0 var(--spacing-md);
  }
}

/* Tablet - Portrait (768px to 991px) */
@media (max-width: 991px) {
  .section-content h3 {
    font-size: var(--font-size-xl);
  }

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

  .gallery-filters .btn {
    padding: 0.4rem 1.2rem;
    font-size: 0.95rem;
  }

  .hero-content h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-content .lead {
    font-size: var(--font-size-xl);
  }

  .content-section {
    padding: var(--spacing-xl) 0;
  }
}

/* Mobile - Large (576px to 767px) */
@media (max-width: 767px) {

  /* Typography adjustments */
  .hero-content h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-content .lead {
    font-size: var(--font-size-lg);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .section-content p {
    font-size: var(--font-size-base);
  }

  .section-content .lead {
    font-size: var(--font-size-lg);
  }

  .section-content h3 {
    font-size: var(--font-size-lg);
  }

  /* Spacing adjustments */
  .content-section {
    padding: var(--spacing-lg) 0;
  }

  .section-content {
    padding: 0 var(--spacing-sm);
  }

  /* Gallery adjustments */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .gallery-filters .btn {
    margin: 0 0.25rem 0.5rem;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }

  /* Visa Section Responsive */
  .visa-timeline::before {
    left: 30px;
  }

  .visa-step {
    padding-left: 80px;
    margin-bottom: var(--spacing-xl);
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: var(--font-size-2xl);
  }

  .step-content {
    padding: var(--spacing-lg);
  }

  .step-title {
    font-size: var(--font-size-xl);
    flex-direction: column;
    align-items: flex-start;
  }

  .step-details h4 {
    font-size: var(--font-size-base);
  }

  .info-card {
    margin-bottom: var(--spacing-lg);
  }

  /* Footer Responsive */
  .footer {
    padding: var(--spacing-xl) 0 var(--spacing-md);
  }

  .footer-heading {
    font-size: var(--font-size-lg);
  }

  .footer .col-md-4 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
  }

  .footer-links,
  .footer-contact {
    text-align: center;
  }

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

  /* Navigation adjustments */
  .navbar-brand {
    font-size: var(--font-size-lg);
  }

  .nav-link {
    padding: var(--spacing-xs) 0;
  }

  /* Hero adjustments */
  .hero-section {
    background-attachment: scroll;
  }

  /* Hero slideshow mobile adjustments */
  .hero-slideshow .carousel-control-prev,
  .hero-slideshow .carousel-control-next {
    width: 8%;
  }

  .hero-slideshow .carousel-control-prev-icon,
  .hero-slideshow .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .hero-slideshow .carousel-indicators {
    bottom: 1rem;
  }

  .hero-slideshow .carousel-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 3px;
  }

  /* Message cards mobile adjustments */
  .message-card {
    margin-bottom: 2rem;
  }

  .message-photo {
    padding: 1.5rem 1.5rem 1rem;
  }

  .message-photo img {
    width: 80px;
    height: 80px;
  }

  .message-content {
    padding: 1rem 1.5rem 1.5rem;
  }

  .quote-icon {
    font-size: 1.5rem;
    top: 0.25rem;
    left: 1rem;
  }

  .hero-content {
    padding: var(--spacing-md);
  }

  .hero-content .btn-primary {
    padding: 0.6rem var(--spacing-md);
    font-size: var(--font-size-base);
  }
}

/* Mobile - Small (375px to 575px) */
@media (max-width: 575px) {

  /* Typography adjustments for small mobile */
  .hero-content h1 {
    font-size: var(--font-size-2xl);
  }

  /* Hero slideshow small mobile adjustments */
  .hero-slideshow .carousel-control-prev,
  .hero-slideshow .carousel-control-next {
    width: 10%;
  }

  .hero-slideshow .carousel-control-prev-icon,
  .hero-slideshow .carousel-control-next-icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .hero-slideshow .carousel-indicators {
    bottom: 0.5rem;
  }

  .hero-slideshow .carousel-indicators button {
    width: 8px;
    height: 8px;
    margin: 0 2px;
  }

  /* Message cards small mobile adjustments */
  .message-photo {
    padding: 1rem 1rem 0.75rem;
  }

  .message-photo img {
    width: 70px;
    height: 70px;
  }

  .member-name {
    font-size: 1rem;
  }

  .member-role {
    font-size: 0.8rem;
  }

  .message-content {
    padding: 1rem 1.25rem 1.25rem;
  }

  .message-content p {
    font-size: 0.9rem;
    padding-left: 0.75rem;
  }

/* ============================================================================
   MESSAGE CARDS SECTION
   ============================================================================
   Floating message cards for community testimonials
*/
.message-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  border: none;
}

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

.message-photo {
  text-align: center;
  padding: 2rem 2rem 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.message-photo img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.member-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}

.member-role {
  font-size: 0.9rem;
  color: var(--muted-color);
  font-style: italic;
}

.message-content {
  padding: 1.5rem 2rem 2rem;
  position: relative;
}

.quote-icon {
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
}

.message-content p {
  font-style: italic;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  padding-left: 1rem;
  position: relative;
  z-index: 1;
}

/* Map container styling */
.map-container {
  border-radius: 0;
  overflow: hidden;
}

.map-container iframe {
  display: block;
  width: 100%;
}

  .hero-content .lead {
    font-size: var(--font-size-base);
  }

  .section-title {
    font-size: var(--font-size-xl);
  }

  .section-content h3 {
    font-size: var(--font-size-base);
  }

  .section-content p {
    font-size: 0.95rem;
  }

  /* Spacing adjustments for small mobile */
  .content-section {
    padding: var(--spacing-md) 0;
  }

  .section-content {
    padding: 0 var(--spacing-xs);
  }

  /* Hero adjustments */
  .hero-content {
    padding: var(--spacing-sm);
  }

  .hero-content .btn-primary {
    padding: 0.5rem var(--spacing-sm);
    font-size: 0.9rem;
  }

  /* Gallery adjustments */
  .gallery-grid {
    gap: var(--spacing-xs);
  }

  .gallery-filters .btn {
    margin: 0 0.2rem 0.4rem;
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
  }

  /* Temple images */
  .temple-images .image-placeholder {
    margin-bottom: var(--spacing-md);
  }

  /* Visa Section Mobile */
  .visa-timeline::before {
    left: 20px;
  }

  .visa-step {
    padding-left: 60px;
    margin-bottom: var(--spacing-lg);
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-xl);
  }

  .step-content {
    padding: var(--spacing-md);
  }

  .step-title {
    font-size: var(--font-size-base);
    flex-direction: column;
    align-items: flex-start;
  }

  .step-details {
    font-size: 0.9rem;
  }

  .step-details h4 {
    font-size: 0.95rem;
  }

  .step-details ul {
    margin-left: var(--spacing-sm);
  }

  .document-checklist li {
    padding: 6px;
    font-size: 0.9rem;
  }

  .document-checklist input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }

  .info-card {
    padding: var(--spacing-md);
  }

  .info-card h4 {
    font-size: var(--font-size-base);
  }

  /* Footer Mobile */
  .footer {
    padding: var(--spacing-md) 0 var(--spacing-sm);
  }

  .footer-heading {
    font-size: var(--font-size-base);
  }

  .footer-text {
    font-size: 0.85rem;
  }

  .footer-copyright {
    font-size: 0.8rem;
  }

  .footer .col-md-4 {
    margin-bottom: var(--spacing-md);
  }

  /* Navigation adjustments */
  .navbar-brand {
    font-size: var(--font-size-base);
  }
}

/* Mobile - Extra Small (below 375px) */
@media (max-width: 374px) {

  /* Further reduce typography for very small screens */
  .hero-content h1 {
    font-size: var(--font-size-xl);
  }

  .section-title {
    font-size: var(--font-size-lg);
  }

  /* Reduce spacing further */
  .content-section {
    padding: var(--spacing-sm) 0;
  }

  /* Visa timeline adjustments */
  .step-number {
    width: 35px;
    height: 35px;
    font-size: var(--font-size-lg);
  }

  .visa-step {
    padding-left: 50px;
  }

  .visa-timeline::before {
    left: 17px;
  }
}

/* ============================================================================
   OVERFLOW PREVENTION
   ============================================================================
   Prevents horizontal scrolling and ensures media elements stay within bounds
*/

/* Prevent horizontal scrolling on all screen sizes */
body {
  overflow-x: hidden;
}

.container-fluid,
.container {
  overflow-x: hidden;
}

/* Ensure images don't cause overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Ensure videos don't cause overflow */
video {
  max-width: 100%;
  height: auto;
}

/* ============================================================================
   REQUIREMENTS SECTION - Enhanced Styling
   ============================================================================ */

/* Hover lift effect for requirement cards */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Requirement item hover effect */
.requirement-item {
  transition: all 0.2s ease;
}

.requirement-item:hover {
  background-color: #e9ecef !important;
  transform: translateX(5px);
}

/* Gradient backgrounds for card headers */
.bg-gradient {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.bg-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: shimmer 3s infinite;
  z-index: -1;
}

@keyframes shimmer {

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

  50% {
    transform: translate(10%, 10%);
  }
}

/* Card header icon styling */
.card-header .display-4 {
  display: block;
  margin-bottom: 1rem;
}

.card-header h4 {
  position: relative;
  z-index: 2;
}

.card-header i {
  position: relative;
  z-index: 2;
}

/* Icon styling in requirements */
.requirements-list .bi-check-circle-fill {
  flex-shrink: 0;
}

/* Card body padding adjustment for better spacing */
.requirements-list .requirement-item:last-child {
  margin-bottom: 0 !important;
}

/* Responsive adjustments for requirements section */
@media (max-width: 991px) {
  .hover-lift:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 767px) {
  .requirements-list .requirement-item {
    font-size: 0.9rem;
  }

  .card-header h4 {
    font-size: 1.25rem;
  }

  .card-header .display-4 {
    font-size: 2.5rem;
  }
}


/* ============================================================================
   AUDIO CONTROL BANNER
   ============================================================================ */

.audio-control-banner {
  position: sticky;
  top: 70px;
  z-index: 999;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

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

.audio-control-banner .alert {
  border-radius: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#audio-play-btn {
  white-space: nowrap;
  transition: all 0.3s ease;
}

#audio-play-btn:hover {
  transform: scale(1.05);
}

#audio-play-btn.playing {
  background-color: #dc3545;
  border-color: #dc3545;
}

#audio-play-btn.playing:hover {
  background-color: #bb2d3b;
  border-color: #b02a37;
}


/* ============================================================================
   ENHANCED GALLERY STYLES
   ============================================================================ */

/* Gallery item hover effects */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Gallery overlay */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
  font-size: 3rem;
  color: white;
  animation: zoomPulse 1.5s infinite;
}

@keyframes zoomPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

/* Filter buttons enhancement */
.gallery-filters .btn {
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  margin: 0.3rem;
}

.gallery-filters .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.gallery-filters .btn.active {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 142, 35, 0.3);
}

/* Gallery grid masonry effect */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

/* Fade in animation for gallery items */
.gallery-item {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.gallery-item:nth-child(1) {
  animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
  animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
  animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
  animation-delay: 0.4s;
}

.gallery-item:nth-child(5) {
  animation-delay: 0.5s;
}

.gallery-item:nth-child(6) {
  animation-delay: 0.6s;
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }

  .gallery-filters .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   ENHANCED PILGRIMAGE DETAILS STYLES - SLEEK SIDEBAR
   ============================================================================ */

/* Sidebar Navigation */
.details-sidebar {
  position: fixed;
  left: -280px;
  top: 0;
  width: 280px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: left 0.3s ease;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
}

/* Show sidebar only when details section is in view */
.details-sidebar.show {
  opacity: 1;
  visibility: visible;
}



.details-sidebar.active {
  left: 0;
}

.sidebar-header {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #007bff, #28a745);
  color: white;
  font-weight: 600;
}

.sidebar-header i {
  font-size: 1.2rem;
  margin-right: 0.75rem;
}

.sidebar-title {
  font-size: 1.1rem;
}

/* Sidebar Progress Bar */
.sidebar-progress {
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  position: relative;
}

.sidebar-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #007bff, #28a745);
  width: 0%;
  transition: width 0.3s ease;
}

/* Sidebar Navigation Links */
.sidebar-nav {
  padding: 1rem 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  color: #495057;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.sidebar-link:hover {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
  text-decoration: none;
  border-left-color: #007bff;
}

.sidebar-link.active {
  background: rgba(0, 123, 255, 0.15);
  color: #007bff;
  border-left-color: #007bff;
  font-weight: 500;
}

.sidebar-link i {
  font-size: 1rem;
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
}

.sidebar-link span {
  font-size: 0.9rem;
}

/* Sidebar Toggle Button */
.sidebar-toggle {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #007bff, #28a745);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

.sidebar-toggle.visible {
  opacity: 1;
  visibility: visible;
}

.sidebar-toggle:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Content Area Adjustment */
.details-content {
  transition: margin-left 0.3s ease;
}

.details-content.sidebar-open {
  margin-left: 280px;
}

/* Overlay for mobile */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Section Styling */
.detail-section {
  scroll-margin-top: 160px;
  position: relative;
}

.section-header {
  position: relative;
  padding: 1rem 0;
  border-bottom: 2px solid #e9ecef;
  margin-bottom: 1.5rem !important;
}

.section-header::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #007bff, #28a745);
}

.detail-section:target .section-header {
  animation: highlightSection 2s ease-in-out;
}

@keyframes highlightSection {
  0% {
    background-color: transparent;
  }

  50% {
    background-color: rgba(0, 123, 255, 0.1);
  }

  100% {
    background-color: transparent;
  }
}

/* Back to Top Button */
.back-to-toc {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.back-to-toc.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-toc:hover {
  background: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .details-sidebar {
    left: -280px;
  }

  .details-content.sidebar-open {
    margin-left: 0;
  }

  .sidebar-toggle {
    left: 20px;
  }
}

@media (max-width: 768px) {
  .details-sidebar {
    width: 100%;
    left: -100%;
  }

  .details-sidebar.active {
    left: 0;
  }

  .sidebar-link {
    padding: 1rem 1.25rem;
  }

  .sidebar-link span {
    font-size: 1rem;
  }

  .detail-section {
    scroll-margin-top: 80px;
  }
}

/* Gallery Groups Layout */
.gallery-groups {
  padding: 2rem 0;
}

.gallery-group-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
}

.gallery-group-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-group-image {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.gallery-group-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-group-card:hover .gallery-group-image img {
  transform: scale(1.1);
}

.gallery-group-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 123, 255, 0.8), rgba(40, 167, 69, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-group-card:hover .gallery-group-overlay {
  opacity: 1;
}

.gallery-group-content {
  text-align: center;
  color: white;
  padding: 2rem;
}

.gallery-group-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.gallery-group-content p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.gallery-stats .badge {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

.gallery-view-btn {
  border: 2px solid white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

.gallery-view-btn:hover {
  background: white;
  color: #007bff;
  transform: translateY(-2px);
}

.gallery-group-info {
  padding: 2rem;
}

.gallery-group-info h4 {
  color: #333;
  font-weight: 600;
  margin-bottom: 1rem;
}

.gallery-group-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

/* Coming Soon Card */
.gallery-group-card.coming-soon {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 2px dashed #dee2e6;
}

.coming-soon-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  color: #6c757d;
  text-align: center;
  padding: 2rem;
}

.coming-soon-content i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.coming-soon-content h4 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.coming-soon-content p {
  opacity: 0.7;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .gallery-group-image {
    height: 400px;
  }

  .gallery-group-content h3 {
    font-size: 1.5rem;
  }

  .gallery-group-content {
    padding: 1.5rem;
  }

  .gallery-group-info {
    padding: 1.5rem;
  }
}