/* ============================================================
   SHANKHESHWAR GOLD — Home Page Styles
   ============================================================ */

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--purple-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 70% 40%, rgba(107,45,139,0.5) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(61,21,80,0.6) 0%, transparent 50%),
    linear-gradient(135deg, #0A0118 0%, #1E0630 40%, #2A0A50 70%, #3D1550 100%);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
}
.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(212,175,55,0.6), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ===== MARQUEE ===== */
.marquee-bar {
  background: var(--purple);
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
}
.marquee-track span:nth-child(odd) { color: var(--gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.cat-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: block;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
  animation-delay: var(--delay, 0s);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.cat-card-wide {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
}
.cat-card-wide .cat-card-img { height: 280px; }
.cat-card-wide .cat-card-body { display: flex; flex-direction: column; justify-content: center; padding: 40px; background: var(--purple-deep); }
.cat-card-wide .cat-card-body h3 { font-size: 2rem; }

.cat-card-img {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--purple-pale);
}
.cat-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cat-card:hover .cat-card-img img { transform: scale(1.06); }

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,6,48,0.8) 0%, rgba(30,6,48,0.2) 50%, transparent 100%);
}

.cat-card-body {
  padding: 22px 24px;
  background: var(--white);
}
.cat-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 4px;
}
.cat-card-body p { font-size: 13px; color: var(--text-light); }
.cat-arrow {
  display: inline-block;
  margin-top: 12px;
  font-size: 20px;
  color: var(--purple);
  transition: transform var(--transition);
}
.cat-card:hover .cat-arrow { transform: translateX(6px); }

/* ===== WHY SECTION ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  width: 48px; height: 48px;
  background: var(--purple-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-feature h4 {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--purple-dark);
  margin-bottom: 4px;
}
.why-feature p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

.why-visual { position: relative; }

.why-img-stack { position: relative; padding: 30px; }
.why-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-img-main img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.why-img-thumb {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 160px; height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}
.why-img-thumb img { width: 100%; height: 100%; object-fit: cover; }

.why-badge-float {
  position: absolute;
  top: 0; right: 0;
}
.why-badge {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.badge-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.badge-txt {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  margin-top: 6px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-deep) 60%, #0A0118 100%);
}
.cta-banner-bg::after {
  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='%23D4AF37' fill-opacity='0.04'%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");
}
.cta-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-left h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 10px;
}
.cta-left p { color: rgba(255,255,255,0.65); font-size: 15px; }
.cta-right { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card-wide { grid-column: span 2; }
  .why-grid { grid-template-columns: 1fr; gap: 50px; }
  .why-visual { order: -1; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .hero-content { padding: 100px 0 60px; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .cat-card-wide { grid-column: span 2; grid-template-columns: 1fr; }
  .cat-card-wide .cat-card-img { height: 220px; }
  .cat-card-wide .cat-card-body { padding: 24px; }
  .cta-banner-content { flex-direction: column; text-align: center; }
  .cta-right { justify-content: center; flex-direction: column; width: 100%; }
  .cta-right .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .cat-card-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-divider { display: none; }
}
