/* ═══════════════ SIKHVOTES SHARED STYLES ═══════════════ */

:root {
  --navy: #0A192F;
  --navy-light: #112240;
  --navy-mid: #0F2348;
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --text-main: #334155;
  --text-muted: #64748B;
  --bg-cream: #f1f5f9;
}
body { font-family: 'Outfit', sans-serif; background-color: var(--bg-cream); color: var(--text-main); overflow-x: hidden; }
h1, h2, h3, .serif { font-family: 'Playfair Display', serif; }

/* ── BILINGUAL TOGGLE ── */
.lang-pa { display: none; font-family: 'Noto Sans Gurmukhi', sans-serif; }
body.show-punjabi .lang-en { display: none; }
body.show-punjabi .lang-pa { display: inline; }
body.show-punjabi h1 .lang-pa, body.show-punjabi h2 .lang-pa, body.show-punjabi h3 .lang-pa { font-family: 'Noto Sans Gurmukhi', sans-serif; }
body.show-punjabi * { letter-spacing: normal !important; }
body.show-punjabi .shine-gold { line-height: 1.4; padding-top: 0.1em; }
body.show-punjabi nav a { font-size: 0.95rem; }
body.show-punjabi nav button { font-size: 0.95rem; }
body.show-punjabi .lang-pa { font-size: 110%; }

/* ── METALLIC SHINE ── */
.shine-gold {
  background: linear-gradient(to right, #D4AF37 20%, #FFF2CD 40%, #FFF2CD 60%, #D4AF37 80%);
  background-size: 200% auto; color: #000;
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: shine 3.5s linear infinite; display: inline-block;
  padding-bottom: 0.2em; margin-bottom: -0.2em;
}
@keyframes shine { to { background-position: 200% center; } }

/* ── FLOAT ── */
.float-slow { animation: float 6s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-12px); } 100% { transform: translateY(0); } }

/* ── SCROLL REVEALS ── */
.fade-up { opacity: 0; transform: translateY(24px); filter: blur(8px); transition: opacity 0.8s cubic-bezier(0.32, 0.72, 0, 1), transform 0.8s cubic-bezier(0.32, 0.72, 0, 1), filter 0.8s cubic-bezier(0.32, 0.72, 0, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }

/* ── PARALLAX ── */
.parallax-bg { background-position: center center; background-repeat: no-repeat; background-size: cover; position: relative; }
@media (min-width: 1024px) { .parallax-bg { background-attachment: fixed; } }
.parallax-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,25,47,0.85), rgba(10,25,47,0.65)); }

/* ── GLASS NAV ── */
.glass-nav { background: rgba(10,25,47,0.98); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(212,175,55,0.2); }

/* ── FLOATING NAV ── */
.glass-nav-float {
  margin: 1rem auto 0;
  max-width: 1200px;
  border-radius: 9999px;
  border: 1px solid rgba(212,175,55,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
  animation: goldGlow 4s ease-in-out infinite;
}
@media (max-width: 768px) { .glass-nav-float { margin: 0.5rem 0.5rem 0; border-radius: 1rem; } }

@keyframes goldGlow {
  0%, 100% { border-color: rgba(212,175,55,0.15); box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 15px rgba(212,175,55,0.05), inset 0 1px 0 rgba(255,255,255,0.05); }
  50% { border-color: rgba(212,175,55,0.4); box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 25px rgba(212,175,55,0.15), inset 0 1px 0 rgba(255,255,255,0.05); }
}

/* ── PREMIUM TRANSITIONS ── */
.premium-ease { transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }

/* ── BUTTON PHYSICS ── */
.btn-primary { transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1); }
.btn-primary:active { transform: scale(0.98) translateY(1px) !important; }
.btn-primary:hover { transform: translateY(-3px); }

.btn-outline { transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1); }
.btn-outline:active { transform: scale(0.98) translateY(1px) !important; }
.btn-outline:hover { transform: translateY(-3px); }

/* ── TABS ── */
.tab-content { display: none; animation: fadeIn 0.5s ease; }
.tab-content.active { display: block; }
.tab-btn.active { color: var(--navy); border-bottom: 2px solid var(--gold); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ── MODAL ── */
.modal { display: none; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; background: rgba(10,25,47,0.9); backdrop-filter: blur(5px); opacity: 0; transition: opacity 0.3s ease; padding: 20px; }
.modal.active { display: flex; opacity: 1; }
.modal-content { transform: scale(0.95); transition: transform 0.3s ease; width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto; }
.modal.active .modal-content { transform: scale(1); }

/* ── DEMO OVERLAY ── */
.demo-overlay-active { transform: translateY(0) !important; }

/* ── REVIEW CAROUSEL ── */
.reviews-track { display: flex; transition: transform 0.6s ease; }

/* ── PILLAR CARDS ── */
.pillar-card { transition: all 0.35s ease; }
.pillar-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(0,0,0,0.3); border-color: rgba(212,175,55,0.45); }

/* ── LIVE PULSE ── */
@keyframes livePulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
.live-dot { animation: livePulse 2s infinite; }

/* ── HIDE SCROLLBAR ── */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ── GRAIN OVERLAY ── */
.grain-overlay { position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── DOUBLE-BEZEL CARD ── */
.bezel-outer { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); padding: 6px; border-radius: 2rem; }
.bezel-inner { border-radius: calc(2rem - 6px); box-shadow: inset 0 1px 1px rgba(255,255,255,0.08); }

/* ── TINTED SHADOWS ── */
.shadow-navy { box-shadow: 0 24px 64px rgba(10, 25, 47, 0.5); }
.shadow-gold { box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15); }

/* ── RING PULSE (Demo Video) ── */
@keyframes ringPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.08);opacity:.7} }

/* ── AUTHORITY MARQUEE ── */
.marquee-strip {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 35s linear infinite !important;
  will-change: transform;
  pointer-events: none;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  padding: 0 0.25rem;
  color: #D4AF37;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  pointer-events: none;
  user-select: none;
}
.marquee-item svg {
  color: #D4AF37;
  opacity: 0.6;
  flex-shrink: 0;
}
.marquee-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(212,175,55,0.25);
  font-size: 0.5rem;
  padding: 0 1.5rem;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
@media (max-width: 768px) {
  .marquee-item { font-size: 0.65rem; letter-spacing: 0.12em; gap: 0.4rem; }
  .marquee-item svg { width: 12px; height: 12px; }
  .marquee-sep { padding: 0 1rem; font-size: 0.4rem; }
}

/* ── SECTION FEATHER BLENDING ── */
.section-fade-top {
  position: relative;
}
.section-fade-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, var(--fade-from, #060F1F), transparent);
  z-index: 5;
  pointer-events: none;
}
.section-fade-bottom {
  position: relative;
}
.section-fade-bottom::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--fade-to, #0A192F), transparent);
  z-index: 5;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════ */
/* ── MOBILE MENU (Dropdown Popup) ── */
/* ══════════════════════════════════════════════════════ */

/* Backdrop overlay — click to dismiss */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Popup card */
.mobile-menu-popup {
  position: fixed;
  top: 5rem;
  right: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  background: rgba(10, 25, 47, 0.82);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 1.25rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.08), inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.97);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.32, 0.72, 0, 1),
              transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              visibility 0s linear 0.45s;
  will-change: transform, opacity;
}
.mobile-menu-popup.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition: opacity 0.35s cubic-bezier(0.32, 0.72, 0, 1),
              transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              visibility 0s linear 0s;
}

.mobile-menu-popup .menu-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu-popup .menu-link {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.75rem 1rem;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transform: translateY(-8px);
}
.mobile-menu-popup.open .menu-link {
  opacity: 1;
  transform: translateY(0);
  transition: background 0.2s ease, color 0.2s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.mobile-menu-popup.open .menu-link:nth-child(1) { transition-delay: 0.04s; }
.mobile-menu-popup.open .menu-link:nth-child(2) { transition-delay: 0.07s; }
.mobile-menu-popup.open .menu-link:nth-child(3) { transition-delay: 0.10s; }
.mobile-menu-popup.open .menu-link:nth-child(4) { transition-delay: 0.13s; }
.mobile-menu-popup.open .menu-link:nth-child(5) { transition-delay: 0.16s; }
.mobile-menu-popup.open .menu-link:nth-child(6) { transition-delay: 0.19s; }
.mobile-menu-popup .menu-link { transition-delay: 0s; }

.mobile-menu-popup .menu-link:active {
  transform: scale(0.97);
  background: rgba(212, 175, 55, 0.15);
  color: #D4AF37;
}
.mobile-menu-popup .menu-link.active-page {
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.08);
}

.mobile-menu-popup .menu-divider {
  height: 1px;
  background: rgba(212, 175, 55, 0.1);
  margin: 0.5rem 0;
}

.mobile-menu-popup .menu-actions {
  display: flex;
  gap: 8px;
  padding-top: 0.75rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease 0.2s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}
.mobile-menu-popup.open .menu-actions {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-popup .menu-actions button,
.mobile-menu-popup .menu-actions a {
  flex: 1;
  text-align: center;
  padding: 0.625rem;
  border-radius: 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  -webkit-tap-highlight-color: transparent;
}

/* HAMBURGER ICON */
.hamburger {
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 210;
  padding: 4px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #D4AF37;
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1),
              opacity 0.3s ease;
  transform-origin: center;
  will-change: transform;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ── MOBILE SHINE FIX ── */
@media (max-width: 768px) {
  .shine-gold {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: background-position;
    animation: shine 4s linear infinite;
  }
}

/* ── HIDE VIEWING BADGE ON SMALL MOBILE ── */
@media (max-width: 480px) {
  .viewing-badge { display: none; }
}

/* ── SERVICES SUBNAV ── */
.subnav-link.active {
  color: #FFFFFF !important;
  background: #D4AF37 !important;
  box-shadow: 0 0 14px rgba(212,175,55,0.4);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
