/* ============================================================
   SHANKHESHWAR GOLD — Global Stylesheet
   Theme: Royal Purple (#6B2D8B) + Gold (#D4AF37)
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Lato:wght@300;400;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --purple:        #6B2D8B;
  --purple-dark:   #3D1550;
  --purple-deep:   #1E0630;
  --purple-light:  #9B4DB5;
  --purple-pale:   #F3E8FA;
  --gold:          #D4AF37;
  --gold-light:    #F0D060;
  --gold-dark:     #A67C00;
  --white:         #FFFFFF;
  --cream:         #FDF9FF;
  --text-dark:     #1A0730;
  --text-mid:      #4A2265;
  --text-light:    #8C6BA0;
  --border:        rgba(107,45,139,0.15);
  --shadow-sm:     0 2px 12px rgba(107,45,139,0.12);
  --shadow-md:     0 8px 32px rgba(107,45,139,0.18);
  --shadow-lg:     0 20px 60px rgba(107,45,139,0.25);
  --shadow-gold:   0 8px 32px rgba(212,175,55,0.25);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ---------- Typography ---------- */
.display-font { font-family: 'Playfair Display', serif; }
.serif-font   { font-family: 'Cormorant Garamond', serif; }

h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.25; }

/* ---------- Section Utilities ---------- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-pale);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 580px;
}

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* Gold divider */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
}
.gold-divider.center { justify-content: center; }
.gold-divider::before, .gold-divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.gold-divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.gold-divider span {
  color: var(--gold);
  font-size: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  border-color: var(--purple);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--purple-dark);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212,175,55,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  border-color: #25D366;
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.45);
}

.btn-lg { padding: 18px 44px; font-size: 15px; }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* WhatsApp SVG icon */
.wa-icon {
  width: 20px; height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(30, 6, 48, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 68px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}
.navbar.scrolled .nav-logo img { height: 44px; }

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .brand { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--white); letter-spacing: 1px; }
.nav-logo-text .tagline { font-family: 'Lato', sans-serif; font-size: 9px; font-weight: 400; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color var(--transition);
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--purple-deep);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mob-cta { margin-top: 12px; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  position: relative;
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-dark) 50%, #2A0A50 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-content .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-hero-content .breadcrumb a { color: var(--gold); }
.page-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 500px;
}

/* ---------- FLOATING WHATSAPP ---------- */
.float-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: all var(--transition);
  animation: pulse-wa 2.5s infinite;
}
.float-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37,211,102,0.6);
  animation: none;
}
.float-whatsapp svg { width: 30px; height: 30px; fill: white; }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0.12); }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--purple-deep);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-brand .logo-wrap img {
  height: 70px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  color: rgba(255,255,255,0.6);
}
.social-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}
.social-btn svg { width: 18px; height: 18px; fill: currentColor; }

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--gold);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li a::before { content: '›'; color: var(--gold); font-size: 16px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.footer-contact-item svg {
  width: 18px; height: 18px;
  fill: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom .gold { color: var(--gold); }

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }

/* ---------- PRODUCT CARD ---------- */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--purple-pale);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,6,48,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.product-card:hover .product-card-overlay { opacity: 1; }

.product-card-body {
  padding: 18px 20px;
}
.product-card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 6px;
}
.product-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.product-card-tag {
  font-size: 12px;
  color: var(--text-light);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10,2,20,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-content {
  position: relative;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
}
.lightbox-content img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: -50px; right: 0;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: var(--purple); }

.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(107,45,139,0.8);
  border: none;
  color: white;
  width: 50px; height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  z-index: 2001;
}
.lightbox-nav:hover { background: var(--purple); transform: translateY(-50%) scale(1.1); }
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

.lightbox-info {
  text-align: center;
  margin-top: 16px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.lightbox-info strong { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 16px; }

/* ---------- WHATSAPP INQUIRY BAR ---------- */
.inquiry-bar {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-deep));
  border-top: 1px solid rgba(212,175,55,0.2);
  padding: 18px 0;
}
.inquiry-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.inquiry-bar p { color: rgba(255,255,255,0.85); font-size: 15px; }
.inquiry-bar p strong { color: var(--gold); }

/* ---------- CATEGORY CHIPS ---------- */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.cat-chip {
  padding: 8px 22px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
}
.cat-chip:hover, .cat-chip.active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* ---------- PRODUCT GRID ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---------- STAT CARDS ---------- */
.stats-bar {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-deep) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(2n) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .lightbox-prev { left: -60px; }
  .lightbox-next { right: -60px; }
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .section { padding: 70px 0; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 56px 0; }
  .float-whatsapp { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .float-whatsapp svg { width: 26px; height: 26px; }
  .inquiry-bar-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 400px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
