/* Solapur Education Society (SES) Ultra-Premium Custom Styling */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #0F2540;
  --color-navy-dark: #09172A;
  --color-secondary: #2563EB;
  --color-accent: #D4AF37;
  --color-accent-light: #F7E7B4;
  --color-accent-dark: #9A7B1C;
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-text: #1E293B;
  --color-muted: #64748B;
}

/* Lenis Inertial Scroll Support */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

html {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

.font-heading {
  font-family: 'Outfit', sans-serif;
}

.font-serif-heritage {
  font-family: 'Cinzel', serif;
}

/* Ambient Glow & Layering */
.ambient-glow-gold {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0) 70%);
}

.ambient-glow-blue {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 70%);
}

/* Luxury Glassmorphism Header & Navigation */
.glass-nav-pill {
  background: rgba(15, 37, 64, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px -15px rgba(9, 23, 42, 0.5);
}

.glass-nav-pill-scrolled {
  background: rgba(9, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* Glass Cards */
.glass-card-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 50px -10px rgba(15, 37, 64, 0.06);
}

.glass-card-dark {
  background: rgba(15, 37, 64, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.4);
}

/* Luxury Typography & Metallic Gradients */
.gold-foil-text {
  background: linear-gradient(135deg, #F7E7B4 0%, #D4AF37 40%, #B58E22 70%, #F7E7B4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.blue-gradient-text {
  background: linear-gradient(135deg, #60A5FA 0%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hover Dynamics */
.hover-card-premium {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-card-premium:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 60px -15px rgba(15, 37, 64, 0.18);
  border-color: rgba(212, 175, 55, 0.4);
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Swiper Parallax & Zoom Effects */
.hero-swiper .swiper-slide-active img {
  transform: scale(1.08);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-swiper .swiper-slide img {
  transform: scale(1);
  transition: transform 1s ease-out;
}

/* Swiper Custom Progress & Pagination */
.swiper-progress-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.swiper-progress-fill {
  height: 100%;
  background: #D4AF37;
  width: 0%;
  transition: width 0.1s linear;
}

.swiper-custom-next, .swiper-custom-prev {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(15, 37, 64, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.swiper-custom-next:hover, .swiper-custom-prev:hover {
  background: #D4AF37;
  color: #0F2540;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
}

/* Stamp Badge */
.stamp-badge {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px dashed #D4AF37;
  animation: rotateStamp 25s linear infinite;
}

@keyframes rotateStamp {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Subtle Grid Pattern */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(15, 37, 64, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 37, 64, 0.04) 1px, transparent 1px);
}

.bg-dark-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}
