@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Noto Sans Devanagari', Arial, sans-serif;
  background: #ffffff;
  color: #17212a;
}

.font-display {
  font-family: 'Noto Sans Devanagari', 'Playfair Display', serif;
}

.font-body {
  font-family: 'Noto Sans Devanagari', Arial, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: #bfe7f8;
  color: #17212a;
}

.nav-link.active {
  background-color: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #bfdbfe !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.mobile-nav-link.active {
  background-color: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #bfdbfe !important;
}

.site-brand-logo {
  width: 3.25rem;
  height: 3.25rem;
}

@media (min-width: 640px) {
  .site-brand-logo {
    width: 3.75rem;
    height: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .site-brand-logo {
    width: 4rem;
    height: 4rem;
  }
}

#site-header {
  transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  will-change: transform;
  transform: translateZ(0); /* Prevent backdrop-blur rasterization blur & flicker */
}

#header-content {
  transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#site-logo {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s ease, height 0.3s ease;
  will-change: transform;
  transform: translateZ(0);
}

.header-small {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04) !important;
  background-color: rgba(255, 255, 255, 0.98) !important;
}

.header-small #header-content {
  padding-top: 0.35rem !important;
  padding-bottom: 0.35rem !important;
}

.header-small #site-logo {
  width: 46px !important;
  height: 46px !important;
}

.header-small .brand-title {
  font-size: 1.125rem !important;
}

.header-small .brand-subtitle {
  font-size: 0.75rem !important;
}


/* Photobox Gallery & Slide-in Styles */
@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutToLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(40px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.photobox-slide-in {
  animation: slideInFromRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.photobox-modal-animate {
  animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-next-enter {
  animation: slideInFromRight 0.3s ease-out forwards;
}

.slide-prev-enter {
  animation: slideInFromLeft 0.3s ease-out forwards;
}

/* Hide scrollbar for photo thumbnails */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
@keyframes dualColorBlink {
    0%, 100% { color: #1688ca; } /* पहिला रंग (निळा) */
    50% { color: #dc2626; }     /* दुसरा रंग (लाल) */
}

.animate-dual-blink {
    animation: dualColorBlink 1.2s infinite;
}
