/* ==========================================================================
   BRS Bandham (brsbandham.com) - Primary Stylesheet (Vibrant Palette Theme)
   ========================================================================== */

:root {
  --primary: #E91E63;
  --primary-dark: #C2185B;
  --primary-light: #F8BBD0;
  --primary-gradient: linear-gradient(135deg, #E91E63 0%, #D81B60 100%);
  --dark: #1F2937;
  --dark-surface: #111827;
  --white: #FFFFFF;
  --gray: #F8FAFC;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --accent: #FFD54F;
  --accent-hover: #FFCA28;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(233, 30, 99, 0.25);
  --shadow-vibrant: 0 10px 30px -5px rgba(233, 30, 99, 0.3);
  --shadow-dark: 0 10px 30px rgba(0,0,0,0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  font-family: 'Poppins', 'Noto Sans Telugu', sans-serif;
  color: var(--dark);
  background-color: var(--gray);
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--gray);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--gray);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Header & Sticky Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header nav {
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 100%;
}

.site-header nav::-webkit-scrollbar {
  display: none;
}

/* Campaign Top Ticker Banner */
.campaign-ticker-banner {
  max-height: 60px;
  opacity: 1;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.35s ease;
  overflow: hidden;
}

.site-header.scrolled .campaign-ticker-banner {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.site-header.scrolled {
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(233, 30, 99, 0.3);
}

.site-header .nav-link {
  color: #f3f4f6;
  font-weight: 500;
  padding: 0.28rem 0.5rem;
  font-size: 0.78rem;
  line-height: 1.2;
  transition: var(--transition);
  position: relative;
  border-radius: var(--radius-sm);
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .site-header .nav-link {
    font-size: 0.85rem;
    padding: 0.35rem 0.7rem;
  }
}

.site-header.scrolled .nav-link {
  color: #f9fafb;
}

/* Hover state - Vibrant BRS Pink / Rose */
.site-header .nav-link:hover {
  color: #fb7185 !important;
  background: rgba(244, 63, 94, 0.22);
}

.site-header.scrolled .nav-link:hover {
  color: #ff6b81 !important;
  background: rgba(233, 30, 99, 0.28);
}

/* Active state - Bright Gold / Amber */
.site-header .nav-link.active {
  color: #fde047 !important;
  background: rgba(233, 30, 99, 0.35);
  font-weight: 700;
}

.site-header.scrolled .nav-link.active {
  color: #fde047 !important;
  background: rgba(233, 30, 99, 0.4);
  font-weight: 700;
}

/* Active hover state */
.site-header .nav-link.active:hover {
  color: #fef08a !important;
  background: rgba(233, 30, 99, 0.5);
}

.site-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fb7185;
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.site-header .nav-link:hover::after {
  width: 40%;
  background: #fb7185;
}

.site-header .nav-link.active::after {
  width: 60%;
  background: #fde047;
}

/* Buttons & CTAs - Vibrant Palette Theme */
.btn-primary {
  background-color: var(--primary);
  background-image: var(--primary-gradient);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-vibrant);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(233, 30, 99, 0.45);
  color: var(--white);
}

.btn-primary:active {
  transform: scale(0.96);
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(255, 213, 79, 0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(255, 213, 79, 0.6);
}

.btn-accent:active {
  transform: scale(0.96);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
  transform: scale(1.02);
}

.site-header.scrolled .btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  backdrop-filter: none;
}

.site-header.scrolled .btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Background Patterns & Overlays */
.bg-dot-pattern {
  background-image: radial-gradient(#E91E63 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}

.hero-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.92) 0%, rgba(31, 41, 55, 0.85) 60%, rgba(233, 30, 99, 0.35) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Glassmorphism & Theme Cards */
.glass-card {
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.glass-card-dark {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(233, 30, 99, 0.15);
}

/* Badge & Category Pills */
.badge-pink {
  background: rgba(233, 30, 99, 0.12);
  border: 1px solid rgba(233, 30, 99, 0.25);
  color: var(--primary);
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-gold {
  background: rgba(255, 213, 79, 0.25);
  border: 1px solid rgba(255, 213, 79, 0.4);
  color: #B45309;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Stat Counters */
.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

/* Timeline Components */
.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  border-left: 3px solid var(--gray-200);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px) scale(1.05);
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.12);
}

/* Telugu Typography Enhancement */
.telugu-text {
  font-family: 'Noto Sans Telugu', 'Poppins', sans-serif;
  line-height: 1.7;
}

