/* Premium Sikh Heritage Design System for sultanpurlodhi.org */

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

:root {
  /* Curated spiritual color palette */
  --bg-dark: #07090e;              /* Deep spiritual charcoal navy */
  --bg-surface: #0d111a;           /* Secondary dark surface */
  --bg-surface-elevated: #141b27;  /* High elevation dark surface */
  --bg-card: rgba(20, 27, 39, 0.7);/* Frosted glassmorphic card base */
  
  --color-kesri: #FF9F1C;          /* Sacred saffron (spirit & sovereignty) */
  --color-kesri-rgb: 255, 159, 28;
  --color-gold: #E5A93C;           /* Rich historical gold (Darbar Sahib purity) */
  --color-gold-rgb: 229, 169, 60;
  --color-cream: #FDFBF7;          /* Soft holy cream for highlights */
  
  --color-text-primary: #F8FAFC;   /* Soft white headings */
  --color-text-secondary: #CBD5E1; /* High legibility light grey for text */
  --color-text-muted: #64748B;      /* Low contrast muted text */
  
  --color-border: rgba(229, 169, 60, 0.08); /* Subtle gold border */
  --color-border-hover: rgba(229, 169, 60, 0.3); /* Glowing gold border */
  --color-border-white: rgba(255, 255, 255, 0.06);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Saadh', 'Lohit Gurmukhi', 'Noto Sans Gurmukhi', 'Arial', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global resets and body override */
body.elementor-default, body {
  background-color: var(--bg-dark);
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  margin: 0;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Navigation System */
.spl-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(7, 9, 14, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}
.spl-nav.scrolled {
  padding: 14px 60px;
  background: rgba(7, 9, 14, 0.85);
  border-bottom: 1px solid rgba(229, 169, 60, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.spl-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, var(--color-kesri), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}
.spl-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.spl-nav ul a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}
.spl-nav ul a:hover {
  color: var(--color-gold);
}

/* Hero Section */
.spl-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 250px 20px 110px 20px;
  overflow: hidden;
  background-attachment: fixed;
}
.spl-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 9, 14, 0.4) 0%, rgba(7, 9, 14, 0.85) 70%, var(--bg-dark) 100%),
              linear-gradient(to bottom, rgba(7, 9, 14, 0.3) 0%, var(--bg-dark) 100%);
  z-index: 1;
}
.spl-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 950px;
  width: 100%;
}
.spl-ik {
  font-size: 5rem;
  color: var(--color-gold);
  display: inline-block;
  margin-bottom: 24px;
  animation: spiritualGlow 4s ease-in-out infinite alternate;
}
@keyframes spiritualGlow {
  from {
    text-shadow: 0 0 20px rgba(229, 169, 60, 0.3);
    transform: scale(1);
  }
  to {
    text-shadow: 0 0 50px rgba(229, 169, 60, 0.85), 0 0 80px rgba(255, 159, 28, 0.4);
    transform: scale(1.05);
  }
}
.spl-hero h1 {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--color-kesri) 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  letter-spacing: -1px;
}
.spl-hero h2 {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-cream);
  margin-bottom: 25px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}
.spl-hero-intro {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Premium Button System */
.spl-btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.spl-btn-premium {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-kesri) 0%, var(--color-gold) 100%);
  color: #000 !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(255, 159, 28, 0.25);
  border: 1px solid transparent;
}
.spl-btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 159, 28, 0.45);
}
.spl-btn-outline {
  display: inline-block;
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-primary) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-smooth);
}
.spl-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-gold);
  color: var(--color-gold) !important;
  transform: translateY(-3px);
}

/* Heritage Chips */
.spl-chips-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.spl-chip {
  background: rgba(229, 169, 60, 0.06);
  border: 1px solid rgba(229, 169, 60, 0.18);
  color: var(--color-gold);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}
.spl-chip:hover {
  background: rgba(229, 169, 60, 0.12);
  border-color: var(--color-gold);
  box-shadow: 0 0 15px rgba(229, 169, 60, 0.2);
}

/* Section Header Style */
.spl-sec-title-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 55px auto;
}
.spl-sec-subtitle {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}
.spl-sec-title {
  font-family: var(--font-body);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}
.spl-sec-title-wrap p {
  color: var(--color-text-secondary);
  font-size: 1.15rem;
  line-height: 1.8;
}

/* Sacred Overview Section */
.spl-overview {
  padding: 100px 20px;
  background-color: var(--bg-dark);
}
.spl-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 50px auto 0 auto;
}
.spl-overview-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 35px 30px;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.spl-overview-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-hover);
  box-shadow: 0 20px 40px rgba(229, 169, 60, 0.12), inset 0 1px 0 rgba(255,255,255,0.05);
}
.spl-overview-card-icon {
  font-size: 2.5rem;
  color: var(--color-kesri);
  margin-bottom: 20px;
  display: inline-block;
}
.spl-overview-card h3 {
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--color-gold);
  margin-bottom: 15px;
}
.spl-overview-card p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Premium Timeline Section */
.spl-timeline-section {
  padding: 100px 20px;
  background-color: var(--bg-surface);
  position: relative;
}
.spl-timeline-container {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  padding-left: 36px;
}
.spl-timeline-container::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-kesri), var(--color-gold), rgba(229, 169, 60, 0.05));
}
.spl-timeline-node {
  position: relative;
  margin-bottom: 60px;
}
.spl-timeline-node:last-child {
  margin-bottom: 0;
}
.spl-timeline-node::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 4px solid var(--color-kesri);
  box-shadow: 0 0 12px rgba(255, 159, 28, 0.6);
  z-index: 2;
  transition: var(--transition-smooth);
}
.spl-timeline-node:hover::before {
  background: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(229, 169, 60, 0.85);
  transform: scale(1.2);
}
.spl-timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 30px;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.spl-timeline-content:hover {
  border-color: var(--color-border-hover);
  transform: translateX(6px);
  box-shadow: 0 15px 40px rgba(229, 169, 60, 0.08);
}
.spl-timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}
.spl-timeline-header h3 {
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--color-kesri);
  margin: 0;
}
.spl-timeline-step {
  background: rgba(229, 169, 60, 0.08);
  border: 1px solid rgba(229, 169, 60, 0.25);
  color: var(--color-gold);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
}
.spl-timeline-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

/* Sacred Gurdwaras Section */
.spl-gurdwaras {
  padding: 100px 20px;
  background-color: var(--bg-dark);
}
.spl-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 36px;
  max-width: 1300px;
  margin: 50px auto 0 auto;
}
.spl-card-premium {
  background: var(--bg-card);
  border: 1px solid var(--color-border-white);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}
.spl-card-premium:hover {
  transform: translateY(-10px);
  border-color: var(--color-border-hover);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(229, 169, 60, 0.1);
}
.spl-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.spl-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.spl-card-premium:hover .spl-card-img-wrap img {
  transform: scale(1.08);
}
.spl-card-label {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7, 9, 14, 0.75);
  border: 1px solid var(--color-kesri);
  color: var(--color-kesri);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.spl-card-body-premium {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.spl-card-body-premium h3 {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 12px;
}
.spl-card-body-premium p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 24px;
}
.spl-card-btn {
  display: block;
  width: 100%;
  background: rgba(229, 169, 60, 0.05);
  color: var(--color-gold) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(229, 169, 60, 0.25);
  transition: var(--transition-smooth);
}
.spl-card-premium:hover .spl-card-btn {
  background: linear-gradient(90deg, var(--color-kesri), var(--color-gold));
  color: #000 !important;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(255, 159, 28, 0.2);
}

/* Bebe Nanaki Highlight Section */
.spl-bebe-section {
  padding: 100px 20px;
  background-color: var(--bg-surface);
}
.spl-bebe-box {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 40px;
}
.spl-bebe-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-kesri), var(--color-gold));
}
.spl-bebe-icon-decor {
  font-size: 5rem;
  color: rgba(229, 169, 60, 0.15);
  flex-shrink: 0;
  text-shadow: 0 0 20px rgba(229, 169, 60, 0.1);
}
.spl-bebe-content h3 {
  font-family: var(--font-body);
  font-size: 2.2rem;
  color: var(--color-kesri);
  margin-bottom: 20px;
}
.spl-bebe-content p {
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
}

/* Split Feature Section */
.spl-split-section {
  padding: 100px 20px;
  background-color: var(--bg-dark);
}
.spl-split-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.spl-split-img {
  width: 100%;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(229, 169, 60, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.spl-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spl-split-content h3 {
  font-family: var(--font-body);
  font-size: 2.4rem;
  color: var(--color-gold);
  margin-bottom: 20px;
}
.spl-split-content p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: 35px;
}

/* Pilgrim Guide Strip */
.spl-guide-section {
  padding: 100px 20px;
  background-color: var(--bg-surface);
}
.spl-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 50px auto 0 auto;
}
.spl-guide-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border-white);
  border-radius: 16px;
  padding: 30px 24px;
  position: relative;
  transition: var(--transition-smooth);
}
.spl-guide-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: 0 10px 25px rgba(229, 169, 60, 0.08);
}
.spl-guide-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255, 159, 28, 0.35), rgba(229, 169, 60, 0.1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  display: block;
}
.spl-guide-card h4 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--color-gold);
  margin-bottom: 12px;
}
.spl-guide-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* Footer CTA */
.spl-footer-cta {
  padding: 120px 20px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #000 100%);
  text-align: center;
  border-top: 1px solid var(--color-border);
}
.spl-footer-cta-inner {
  max-width: 800px;
  margin: 0 auto;
}
.spl-footer-cta h3 {
  font-family: var(--font-body);
  font-size: 2.4rem;
  color: var(--color-text-primary);
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Traditional Divider Motif */
.traditional-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
}
.traditional-divider::before,
.traditional-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  max-width: 150px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.traditional-divider-icon {
  margin: 0 20px;
  color: var(--color-gold);
  font-size: 1.6rem;
}

/* Under Construction Popup adjustments */
.spl-popup-overlay {
  z-index: 10000;
}

/* Responsiveness adjustments */
@media(max-width: 991px) {
  .spl-nav {
    padding: 15px 30px;
  }
  .spl-nav.scrolled {
    padding: 12px 30px;
  }
  .spl-nav ul {
    gap: 20px;
  }
  .spl-hero h1 {
    font-size: 3.8rem;
  }
  .spl-hero h2 {
    font-size: 1.45rem;
  }
  .spl-split-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .spl-split-img {
    height: 300px;
  }
  .spl-bebe-box {
    flex-direction: column;
    text-align: center;
    padding: 35px 25px;
  }
  .spl-bebe-box::before {
    width: 100%;
    height: 6px;
  }
}

@media(max-width: 768px) {
  .spl-nav {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
    position: relative;
    background: rgba(7, 9, 14, 0.95);
  }
  .spl-nav.scrolled {
    padding: 15px 20px;
  }
  .spl-nav ul {
    width: 100%;
    justify-content: center;
    padding-left: 0;
  }
  .spl-hero h1 {
    font-size: 2.8rem;
  }
  .spl-hero h2 {
    font-size: 1.25rem;
  }
  .spl-hero-intro {
    font-size: 1.1rem;
  }
  .spl-sec-title {
    font-size: 2.2rem;
  }
  .spl-timeline-container {
    padding-left: 24px;
  }
  .spl-timeline-container::before {
    left: 5px;
  }
  .spl-timeline-node::before {
    left: -24px;
    width: 18px;
    height: 18px;
    border-width: 3px;
  }
  .spl-bebe-content h3 {
    font-size: 1.8rem;
  }
  .spl-split-content h3 {
    font-size: 1.8rem;
  }
}
