@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Earthy, Cultural & Professional Color Palette */
  --bg-primary: #fdfbf7; /* Warm, off-white parchment feel */
  --bg-secondary: #f4efe6;
  --bg-dark: #2a2320; /* Deep brown/charcoal */
  --bg-glass: rgba(253, 251, 247, 0.9);
  
  --text-primary: #2a2320;
  --text-secondary: #5c4f48;
  --text-muted: #8c7e75;
  --text-light: #fdfbf7;
  
  --accent-primary: #a74635; /* Terracotta / Saffron */
  --accent-hover: #8c382a;
  --accent-faded: rgba(167, 70, 53, 0.1);
  
  --border-color: rgba(42, 35, 32, 0.1);
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-cursive: 'Great Vibes', cursive;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-smooth);
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 7rem 0;
}

.accent-text {
  color: var(--accent-primary);
}

/* Custom Scrollbar */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: #d4c8b8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.loading-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
  /* Increased opacity to make it more visible */
}

@media (min-width: 769px) {
  .loading-bg-image {
    object-fit: contain;
    /* Ensure the entire sarod is visible on desktop */
  }
}

.loading-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(253, 251, 247, 0.85) 0%, rgba(244, 239, 230, 0.95) 100%);
}

.mandala-container {
  position: absolute;
  left: 50%;
  bottom: -250px;
  /* Shift it halfway out of the screen at the bottom */
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  color: rgba(139, 58, 43, 0.15);
  /* Redwood Sarod color, subtle transparency */
  z-index: 1;
  animation: rotateMandala 20s linear infinite;
  pointer-events: none;
}

.mandala-svg {
  width: 100%;
  height: 100%;
}

@keyframes rotateMandala {
  from {
    transform: translateX(-50%) rotate(0deg);
  }

  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

@media (max-width: 768px) {
  .mandala-container {
    width: 350px;
    height: 350px;
    left: 50%;
    bottom: -175px;
  }
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  width: 100%;
  padding: 0 2.5rem;
  z-index: 2;
  /* Sit above the mandala */
}

.loading-logo-wrapper {
  width: 300px;
  height: 150px;
  overflow: hidden;
  margin: 0 auto 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.loading-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.loading-text-container {
  text-align: center;
  width: 100%;
}

.loading-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.loading-subtitle {
  font-family: var(--font-cursive);
  font-size: 2.2rem;
  font-weight: 600;
  color: #8c382a;
  /* Red Wood Sarod color */
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(253, 251, 247, 0.8);
}

.loading-progress-bar {
  width: 100%;
  height: 3px;
  background-color: rgba(140, 56, 42, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.loading-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--accent-primary);
}

.loading-description {
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: #5c2e1f;
  /* Darker red wood for readability */
  line-height: 1.6;
  letter-spacing: 0.5px;
}.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 60px;
  width: 140px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
}

.desktop-logo {
  display: block;
}

.mobile-logo {
  display: none;
}

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

.nav-item {
  position: relative;
}

.nav-item>a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.navbar:not(.scrolled) .nav-item>a {
  color: rgba(255, 255, 255, 0.9);
}

.navbar:not(.scrolled) .nav-item>a:hover {
  color: #fff;
}

.navbar.scrolled .nav-item>a:hover {
  color: var(--accent-primary);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  min-width: 220px;
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.dropdown-menu a {
  padding: 0.8rem 1.5rem;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0.5px;
  font-weight: 400;
  color: var(--text-primary);
  display: block;
}

.dropdown-menu a:hover {
  background: var(--bg-secondary);
  color: var(--accent-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: 1rem;
  border-left: 1px solid var(--border-color);
  padding-left: 2.5rem;
}

.text-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-link:hover {
  color: var(--text-primary);
}

.primary-btn {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  font-weight: 500;
}

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

.mobile-only {
  display: none;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
}

.mobile-menu a {
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.mobile-dropdown-item {
  display: block !important;
  padding: 1rem 2rem 1rem 3.5rem !important;
  font-size: 0.9rem !important;
  text-transform: none !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.mobile-dropdown-item:last-child {
  border-bottom: none !important;
}

.mobile-actions {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-actions .primary-btn {
  text-align: center;
  padding: 1rem;
}

@media (max-width: 992px) {
  .desktop-only {
    display: none;
  }

  .desktop-logo {
    display: none;
  }

  .mobile-logo {
    display: block;
  }

  .mobile-only {
    display: block;
    color: var(--text-primary);
    transition: color 0.3s ease;
  }

  .navbar:not(.scrolled) .mobile-only {
    color: rgba(255, 255, 255, 0.9);
  }

  .navbar.scrolled .mobile-only {
    color: var(--text-primary);
  }
}

color: var(--text-primary);
}
}.hero-section {
  position: relative;
  height: 300vh;
  /* 3 slides */
  background-color: var(--bg-primary);
}

.sticky-container {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  /* small viewport height: excludes iOS Safari browser chrome */
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 80% top;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
  will-change: opacity;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(253, 251, 247, 0) 0%, rgba(253, 251, 247, 0.4) 60%, rgba(253, 251, 247, 1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text-stack {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text-wrapper {
  max-width: 550px;
}

.absolute-text {
  position: absolute;
  top: 20%;
  left: 4rem;
  width: calc(100% - 6rem);
  max-width: 550px;
  will-change: opacity, transform;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-cursive);
  font-size: 5rem;
  line-height: 1.05;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin-bottom: 3.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.primary-btn.large {
  padding: 1.1rem 2.5rem;
  font-size: 0.95rem;
  border-radius: 2px;
}

.secondary-btn {
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 1rem 2.5rem;
  border-radius: 2px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.secondary-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  z-index: 2;
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
  font-weight: 500;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  50.1% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Specific alignment for 3rd slide on desktop to keep text off faces */
@media (min-width: 769px) {
  .hero-text-3 {
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
  }

  .hero-text-3 .hero-title {
    color: #fdfbf7;
    /* Light text for visibility */
  }

  .hero-text-3 .hero-description {
    color: rgba(253, 251, 247, 0.9);
    /* Light text for visibility */
    margin-top: 15rem;
    /* Push only the description down into the black space */
    margin-left: auto;
    margin-right: auto;
    max-width: 380px;
    /* Constrain width so it fits between the faces */
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {

  /* Fix sticky container to visible viewport on mobile */
  .sticky-container {
    height: 100svh;
  }

  /* Image: fade to transparent by 65% — leaves clean dark zone for text */
  .hero-image {
    background-position: center top;
    mask-image: linear-gradient(to bottom,
        rgba(0, 0, 0, 1) 28%,
        rgba(0, 0, 0, 0.5) 52%,
        rgba(0, 0, 0, 0) 68%);
    -webkit-mask-image: linear-gradient(to bottom,
        rgba(0, 0, 0, 1) 28%,
        rgba(0, 0, 0, 0.5) 52%,
        rgba(0, 0, 0, 0) 68%);
  }

  /* Specific adjustment for the 3rd slide (guru-sisso.jpeg) to keep faces visible */
  .hero-image-3 {
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center 12%;
  }

  /* Dark overlay at bottom — gives text a clean, readable dark canvas */
  .hero-overlay {
    background: linear-gradient(to bottom,
        rgba(6, 4, 3, 0) 0%,
        rgba(6, 4, 3, 0.45) 40%,
        rgba(6, 4, 3, 0.86) 65%,
        rgba(6, 4, 3, 0.97) 100%);
  }

  /* Text block: above scroll indicator, below the face */
  .absolute-text {
    top: auto;
    bottom: 15%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.6rem;
    text-align: center;
  }

  /* Compact subtitle */
  .hero-subtitle {
    font-size: 0.7rem;
    letter-spacing: 3.5px;
    color: rgba(200, 110, 65, 1);
    margin-bottom: 0.6rem;
  }

  /* Compact title — override global 2rem bottom margin */
  .hero-title {
    font-size: 2.4rem;
    line-height: 1.1;
    color: rgba(248, 242, 232, 1);
    margin-bottom: 0.75rem;
  }

  /* Compact description — override global 3.5rem bottom margin */
  .hero-description {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(190, 180, 168, 0.95);
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Scroll indicator: anchored at bottom with visible gap from text block */
  .scroll-indicator {
    left: 0;
    width: 100%;
    bottom: 2%;
    align-items: center;
    gap: 0.5rem;
  }

  .scroll-text {
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    color: rgba(170, 160, 148, 0.88);
  }

  .scroll-line {
    height: 36px;
  }
}.founders-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founders-header {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.founder-avatar-container {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.founder-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-color, #e0b06b);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.founder-title {
  margin-bottom: 2.5rem;
}

.message-body {
  padding: 3.5rem;
  border-radius: 20px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.message-body p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.founder-signature {
  margin-top: 3rem;
  text-align: right;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.founder-signature .blessings {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .message-body {
    padding: 2rem;
  }
  
  .founder-avatar {
    width: 120px;
    height: 120px;
  }

  .message-paragraph {
    font-size: 1rem;
    line-height: 1.6;
  }
}
.about-section {
  background-color: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/sur-sangam.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

.about-content-full {
  max-width: 1000px;
  margin: 0 auto;
}

.about-header-center {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.about-text-container {
  padding: 3.5rem;
  border-radius: 20px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about-text-container {
    padding: 2rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }

  .about-text {
    font-size: 1rem;
    line-height: 1.6;
  }
}
/* ===========================
   PHOTO GALLERY SECTION
=========================== */
.photo-gallery-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pg-intro {
  max-width: 640px;
  margin: 1.5rem 0 3rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---- Carousel Wrapper ---- */
.pg-carousel-wrapper {
  position: relative;
  width: 100%;
}

/* ---- Scroll Buttons for Desktop ---- */
.pg-scroll-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--accent-primary);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(42, 35, 32, 0.1);
  transition: all 0.3s ease;
  padding-bottom: 4px;
}

.pg-scroll-btn:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: translateY(-50%) scale(1.05);
}

.pg-scroll-left {
  left: -24px;
}

.pg-scroll-right {
  right: -24px;
}

@media (min-width: 900px) {
  .pg-scroll-btn {
    display: flex;
    /* Show buttons on desktop */
  }
}

/* ---- Horizontal Scroll Grid ---- */
.pg-grid {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  /* Space for scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) var(--bg-secondary);
  scroll-behavior: smooth;
  /* Smooth scrolling when buttons are clicked */
}

/* Custom Scrollbar for webkit */
.pg-grid::-webkit-scrollbar {
  height: 8px;
}

.pg-grid::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

.pg-grid::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

/* ---- Card Container ---- */
.pg-item-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: min-content;
  /* Shrink to exactly the width of the image */
}

/* ---- Image Wrapper ---- */
.pg-item {
  position: relative;
  flex: 0 0 auto;
  height: 380px;
  /* Fixed height for row */
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  background: #1a1412;
  box-shadow: 0 4px 18px rgba(42, 35, 32, 0.1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
}

.pg-item:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 16px 40px rgba(42, 35, 32, 0.2);
}

.pg-item:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 3px;
}

/* ---- Photo ---- */
.pg-photo {
  height: 100%;
  width: auto;
  max-width: 80vw;
  /* Prevent huge landscape images from taking over the screen on mobile */
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  filter: brightness(0.88);
}

.pg-item:hover .pg-photo {
  transform: scale(1.07);
  filter: brightness(0.65);
}

/* ---- Hover Overlay ---- */
.pg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 35, 32, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease;
}

.pg-item:hover .pg-overlay {
  background: rgba(42, 35, 32, 0.3);
}

/* ---- Description (Below Image) ---- */
.pg-text-container {
  padding: 0 0.5rem;
}

.pg-description {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-style: normal;
  text-shadow: none;
}

/* ---- Zoom icon — center, appears on hover ---- */
.pg-zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(253, 251, 247, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(253, 251, 247, 0.25);
  color: #fdfbf7;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.pg-item:hover .pg-zoom-icon {
  opacity: 1;
  transform: scale(1);
  background: var(--accent-primary);
}

/* ===========================
   LIGHTBOX
=========================== */
.pg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(12, 9, 7, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 5rem;
  backdrop-filter: blur(10px);
}

.pg-lb-content {
  position: relative;
  max-width: 840px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
  background: var(--bg-primary);
  /* Use theme background */
}

.pg-lb-img-wrap {
  position: relative;
  width: 100%;
}

.pg-lb-img-wrap img {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Lightbox Footer (Description & Counter) */
.pg-lb-footer {
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.pg-lb-caption {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.pg-lb-counter {
  font-size: 0.85rem;
  font-family: var(--font-heading);
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Nav arrows */
.pg-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(253, 251, 247, 0.08);
  border: 1px solid rgba(253, 251, 247, 0.18);
  color: #fdfbf7;
  font-size: 2.6rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
  padding: 0;
}

.pg-lb-nav:hover {
  background: var(--accent-primary);
  transform: translateY(-50%) scale(1.08);
}

.pg-lb-prev {
  left: 2rem;
}

.pg-lb-next {
  right: 2rem;
}

/* Close */
.pg-lb-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(253, 251, 247, 0.1);
  border: 1px solid rgba(253, 251, 247, 0.18);
  color: #fdfbf7;
  font-size: 0.95rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}

.pg-lb-close:hover {
  background: var(--accent-primary);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .pg-lightbox {
    padding: 1.5rem 3.5rem;
  }

  .pg-lb-prev {
    left: 1rem;
  }

  .pg-lb-next {
    right: 1rem;
  }

  .pg-item {
    height: 320px;
  }
}

@media (max-width: 560px) {
  .pg-grid {
    gap: 1rem;
  }

  .pg-description {
    font-size: 0.75rem;
  }

  .pg-lightbox {
    padding: 1rem;
  }

  .pg-lb-prev {
    left: 0.4rem;
  }

  .pg-lb-next {
    right: 0.4rem;
  }

  .pg-lb-nav {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }

  .pg-item {
    height: 280px;
  }
}.events-section {
  position: relative;
  background-color: var(--bg-dark);
}

.events-header {
  margin-bottom: 4rem;
}

.events-lists-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.events-group-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.event-card {
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.event-status {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-past {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.badge-future {
  background-color: var(--accent-color, #e0b06b);
  color: var(--bg-dark);
}

.event-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
}

.event-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.event-body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.event-paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
}

.event-paragraph em {
  font-size: 1.25rem;
  color: var(--text-primary);
  display: block;
  margin-bottom: 1rem;
  border-left: 3px solid var(--accent-color, #e0b06b);
  padding-left: 1.5rem;
}

.btn-read-more {
  background: none;
  border: none;
  color: var(--accent-color, #e0b06b);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-top: 0.5rem;
  text-align: left;
  transition: color 0.3s ease;
  width: fit-content;
}

.btn-read-more:hover {
  color: #fff;
  text-decoration: underline;
}

/* Auto-scrolling carousel styles */
.event-carousel-wrapper {
  margin-top: 2rem;
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.event-carousel-wrapper::before,
.event-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.event-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

.event-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

.event-carousel-track {
  display: flex;
  width: max-content;
  animation: scroll-left 25s linear infinite;
  gap: 1.5rem;
}

.event-carousel-track:hover {
  animation-play-state: paused;
}

.event-carousel-image-container {
  width: 280px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}

.event-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-carousel-image:hover {
  transform: scale(1.05);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

@media (max-width: 768px) {
  .events-group-title {
    font-size: 1.5rem;
  }

  .event-card {
    padding: 1.5rem;
    border-radius: 15px;
  }
  
  .event-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .event-title {
    font-size: 1.5rem;
  }

  .event-paragraph {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .event-paragraph em {
    font-size: 1.1rem;
    padding-left: 1rem;
  }

  .event-carousel-wrapper {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .event-carousel-image-container {
    width: 200px;
    height: 140px;
  }
}
.gallery-section {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.gallery-intro {
  max-width: 700px;
  margin: 1.5rem 0 3rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
}

.gallery-section .title-separator {
  margin: 1.5rem 0 0;
}

.gallery-horizontal-scroll {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding-bottom: 2rem; /* space for scrollbar */
  margin-bottom: 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) var(--bg-secondary);
}

.gallery-horizontal-scroll::-webkit-scrollbar {
  height: 8px;
}
.gallery-horizontal-scroll::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}
.gallery-horizontal-scroll::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

.gallery-video-item {
  flex: 0 0 450px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-bottom: 3px solid var(--accent-primary);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
}

.gallery-caption {
  padding: 2rem;
}

.gallery-caption h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.gallery-caption p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.gallery-actions {
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .gallery-video-item {
    flex: 0 0 320px;
  }
}

@media (max-width: 768px) {
  .gallery-video-item {
    flex: 0 0 85vw;
  }
  .gallery-horizontal-scroll {
    gap: 1rem;
    padding-bottom: 1rem;
  }
}
.footer-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 6rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo-image {
  height: 90px;
  width: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 2px solid var(--accent-primary);
}

.footer-desc {
  color: rgba(253, 251, 247, 0.7);
  max-width: 320px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

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

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(253, 251, 247, 0.7);
  font-size: 0.95rem;
}

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

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(253, 251, 247, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(253, 251, 247, 0.5);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(253, 251, 247, 0.5);
}

.footer-bottom-links a:hover {
  color: var(--text-light);
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
