/*--------------------------------------------------------------
# Mahakal Online — Premium Theme Overlay
# Loaded AFTER main.css to elevate the look (gold/dark casino feel).
# Only colors, gradients, shadows, borders, transitions — layout untouched.
--------------------------------------------------------------*/
/* ---------- Premium fonts (whole website) ---------- */
:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --heading-font: "Poppins", "Inter", sans-serif;
  --nav-font: "Poppins", "Inter", sans-serif;
}
body {
  font-family: var(--default-font);
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6,
.section-title h2,
.section-heading,
.sitename,
.hero h1,
.services-title,
.cta-content h2 {
  font-family: var(--heading-font) !important;
  letter-spacing: 0.2px;
}
.navmenu a,
.btn,
.btn-getstarted,
.read-more-btn { font-family: var(--nav-font); }

:root {
  --mk-gold: #f5b301;
  --mk-gold-2: #ffd34e;
  --mk-orange: #f85d23;
  --mk-ink: #0b0b12;
  --mk-grad: linear-gradient(135deg, #f85d23 0%, #f5b301 100%);
  --mk-grad-soft: linear-gradient(135deg, rgba(248, 93, 35, 0.12), rgba(245, 179, 1, 0.12));
  --mk-shadow: 0 18px 45px -18px rgba(0, 0, 0, 0.45);
  --mk-shadow-gold: 0 12px 30px -8px rgba(245, 179, 1, 0.45);
}

html { scroll-behavior: smooth; }

/* ---------- Premium scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #14141c; }
::-webkit-scrollbar-thumb {
  background: var(--mk-grad);
  border-radius: 10px;
}

/* ---------- Text selection ---------- */
::selection { background: var(--mk-orange); color: #fff; }

/* ---------- Top bar redesign (light orange / premium) ---------- */
.header {
  background: linear-gradient(100deg, #ffe0b0 0%, #ffc77f 52%, #ffb567 100%) !important;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #f85d23, #f5b301, #f85d23) 1;
  box-shadow: 0 8px 24px -16px rgba(120, 60, 10, 0.5);
  padding: 6px 0 !important;
}

/* Brand logo (shows full trishul logo cleanly) */
.header .logo img {
  max-height: 52px !important;
  max-width: 70px !important;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

/* Site name: deep brown — high contrast on light orange */
.header .sitename {
  background: linear-gradient(90deg, #5a2408 0%, #7a3410 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--heading-font), sans-serif;
  font-weight: 800 !important;
  font-size: 26px !important;
  letter-spacing: 1px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  margin: 0 !important;
}
@media (max-width: 576px) {
  .header .sitename { font-size: 19px !important; letter-spacing: 0.5px; }
  .header .logo img { max-height: 44px !important; max-width: 44px !important; }
}

/* Desktop nav links: deep brown, red-orange hover (mobile dropdown unaffected) */
@media (min-width: 1200px) {
  .header .navmenu a,
  .header .navmenu a:focus {
    color: #4a210a !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
  }
  .header .navmenu a:hover,
  .header .navmenu li:hover > a,
  .header .navmenu .active {
    color: #9c2a06 !important;
  }
  .header .navmenu > ul > li > a:before {
    background: linear-gradient(90deg, #b3300a, #7a3410) !important;
    height: 3px;
    bottom: -4px;
  }
}

/* Mobile hamburger visible on light orange */
.header .mobile-nav-toggle { color: #4a210a !important; }

/* Join button: deep orange CTA pops on light orange */
.header .btn-getstarted {
  background: linear-gradient(135deg, #f85d23 0%, #d8400c 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px;
  box-shadow: 0 8px 20px -8px rgba(216, 64, 12, 0.6);
}
.header .btn-getstarted:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* ---------- Premium buttons + glow ---------- */
.btn-getstarted,
.hero-cta .btn-primary,
.faq-cta .btn-primary,
.cta-buttons .btn-primary,
.btn-discover {
  background: var(--mk-grad) !important;
  border: none !important;
  color: #1a1208 !important;
  font-weight: 700 !important;
  box-shadow: var(--mk-shadow-gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-getstarted:hover,
.hero-cta .btn-primary:hover,
.faq-cta .btn-primary:hover,
.cta-buttons .btn-primary:hover,
.btn-discover:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 18px 40px -10px rgba(245, 179, 1, 0.6);
  color: #1a1208 !important;
}
.cta-buttons .btn-outline:hover {
  background: var(--mk-grad) !important;
  border-color: transparent !important;
  color: #1a1208 !important;
}

/* ---------- Hero ---------- */
.hero .hero-tag {
  background: var(--mk-grad-soft);
  border: 1px solid rgba(245, 179, 1, 0.35);
  border-radius: 50px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
}
.hero .hero-tag i { color: var(--mk-gold); }
.hero .highlight {
  background: var(--mk-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .hero-image-wrapper .hero-image {
  border-radius: 16px !important;
  box-shadow: var(--mk-shadow);
  border: 1px solid rgba(245, 179, 1, 0.2);
}
.hero .hero-image-wrapper .stat-card {
  border: 1px solid rgba(245, 179, 1, 0.25);
  box-shadow: var(--mk-shadow);
}
.hero .hero-image-wrapper .stat-card .stat-value { color: var(--mk-orange); }
.hero-features li i { color: var(--mk-gold) !important; }

/* ---------- Section titles: gold underline ---------- */
.section-title h2::after,
.section-heading::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: var(--mk-grad);
}
.about .section-heading::after { margin-left: auto; margin-right: auto; }
.services-title { position: relative; }

/* ---------- Cards: lift + gold edge on hover ---------- */
.feature-box,
.service-card,
.stats-card,
.testimonial-item,
.contact-card,
.member-card,
.step-content {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.feature-box:hover,
.service-card:hover,
.stats-card:hover,
.testimonial-item:hover,
.contact-card:hover,
.member-card:hover,
.step-content:hover {
  transform: translateY(-6px);
  box-shadow: var(--mk-shadow);
  border-color: rgba(245, 179, 1, 0.45);
}

/* Icon containers in gold gradient */
.feature-box .icon-container,
.service-icon,
.stats-icon,
.step-icon,
.contact-card .icon-box {
  background: var(--mk-grad) !important;
  color: #1a1208 !important;
}
.feature-box .icon-container i,
.service-icon i,
.stats-icon i,
.step-icon i,
.contact-card .icon-box i { color: #1a1208 !important; }

/* Stats numbers + progress bars gold */
.stats-number,
.stats .stats-number span,
.progress-percent { color: var(--mk-orange) !important; }
.progress-bar { background: var(--mk-grad) !important; }

/* Testimonials stars + about images */
.testimonial-item .stars i { color: var(--mk-gold) !important; }
.about .about-image-grid img {
  border-radius: 14px;
  box-shadow: var(--mk-shadow);
}
.experience-badge {
  background: var(--mk-grad) !important;
  color: #1a1208 !important;
  box-shadow: var(--mk-shadow-gold);
}

/* Read-more / service links */
.read-more-btn { color: var(--mk-orange) !important; font-weight: 600; }
.read-more-btn:hover { color: var(--mk-gold) !important; }

/* FAQ active pill */
.faq .nav-pills .nav-link.active {
  background: var(--mk-grad) !important;
  color: #1a1208 !important;
  border: none !important;
}
.faq .faq-item:hover .question { color: var(--mk-orange); }

/* ---------- Clients strip subtle ---------- */
.clients .clients-slide img {
  filter: grayscale(20%);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.clients .clients-slide img:hover { filter: none; transform: scale(1.05); }

/* ---------- WhatsApp float: pulse ---------- */
.whatsapp-float {
  background: linear-gradient(135deg, #25d366, #128c4b) !important;
  box-shadow: 0 6px 18px rgba(18, 140, 75, 0.5) !important;
  animation: mkPulse 2.2s infinite;
}
@keyframes mkPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Scroll-top ---------- */
.scroll-top { background: var(--mk-grad) !important; }
.scroll-top i { color: #1a1208 !important; }

/* ---------- Footer accents ---------- */
.footer .sitename,
.footer .footer-links a:hover,
.footer .footer-contact a { color: var(--mk-gold) !important; }
.footer .social-links a {
  background: var(--mk-grad) !important;
  color: #1a1208 !important;
  border: none !important;
}

/* ---------- Links accent unify ---------- */
a { transition: color 0.2s ease; }

/*--------------------------------------------------------------
# Responsive optimization — Web + Mobile (mobile-first audience)
--------------------------------------------------------------*/
html, body { overflow-x: clip; max-width: 100%; }
img { max-width: 100%; height: auto; }

/* Tablets and below */
@media (max-width: 991.98px) {
  .section { padding: 48px 0 !important; }
  .map-wrapper, .map-wrapper iframe { min-height: 280px; }
  .about .about-content-box { margin-top: 28px; }
}

/* Phones */
@media (max-width: 767.98px) {
  .section { padding: 38px 0 !important; }
  .hero { padding-top: 22px; }
  .hero h1 { font-size: 1.85rem !important; line-height: 1.28 !important; }
  .hero .lead, .hero p.lead { font-size: 0.98rem !important; }
  .section-title h2, .section-heading { font-size: 1.5rem !important; }
  .section-title p { font-size: 0.95rem !important; }

  /* Full-width, large tap-target CTAs (mobile conversions) */
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn,
  .cta-buttons a,
  .faq-cta .btn-primary,
  .btn-discover {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .cta-buttons { flex-direction: column; }

  /* Card breathing room */
  .feature-box, .service-card, .testimonial-item,
  .contact-card, .member-card, .step-content { padding: 1.25rem; }

  /* Floating WhatsApp clear of scroll-top */
  .whatsapp-float { width: 56px; height: 56px; font-size: 28px; bottom: 84px; right: 16px; }
  .scroll-top { right: 16px !important; }

  /* Hero overlay stat cards: smaller so they don't cover image */
  .hero .hero-image-wrapper { padding: 0 8px; }
  .hero .hero-image-wrapper .stat-card { padding: 0.55rem 0.7rem; }
  .hero .hero-image-wrapper .stat-card .stat-value { font-size: 1.3rem; }

  /* Contact cards stack nicely */
  .contact-cards-container { gap: 14px; }
}

/* Small phones — keep header on one line */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem !important; }
  .container { padding-left: 14px; padding-right: 14px; }
  .header .sitename { font-size: 16px !important; letter-spacing: 0.4px; }
  .header .logo img { max-height: 40px !important; max-width: 48px !important; }
  .header .btn-getstarted { padding: 7px 13px !important; font-size: 12.5px !important; margin-left: 8px !important; }
  .testimonial-item p { font-size: 0.95rem; }
}

/* Large desktops — premium centered width */
@media (min-width: 1400px) {
  .container, .container-xl { max-width: 1240px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
  * { scroll-behavior: auto !important; }
}
