/*
Theme Name: Moonveli
Theme URI: https://moonveli.com
Author: Moonveli Team
Author URI: https://moonveli.com
Description: High-converting, colorful & energetic one-page WordPress theme for Beauty, Fit & Wellness brands with direct WhatsApp ordering and professional vector SVG icons.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moonveli
Tags: one-column, e-commerce, custom-background, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options
*/

:root {
  --pink: #ff4fa3;
  --pink-2: #ff8bc6;
  --violet: #8b3df0;
  --violet-2: #b388ff;
  --gold: #ffc83d;
  --deep: #2b0a4e;
  --sun: #ff7a3d;
  --bg: #fff7fb;
  --ink: #2a1540;
  --card: #ffffff;
  --grad-main: linear-gradient(120deg, var(--pink) 0%, var(--violet) 55%, #5b2bd6 100%);
  --grad-warm: linear-gradient(120deg, var(--gold), var(--sun));
  --shadow: 0 16px 40px -14px rgba(139, 61, 240, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Hind Siliguri', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', 'Hind Siliguri', sans-serif;
}

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

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

/* header */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 247, 251, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139, 61, 240, 0.12);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--violet);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold);
}

.navlinks {
  display: flex;
  gap: 30px;
  font-weight: 600;
  list-style: none;
  align-items: center;
}

.navlinks a {
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 3px;
  width: 0;
  background: var(--grad-main);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.navlinks a:hover::after {
  width: 100%;
}

.navcta {
  background: var(--grad-main);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: var(--shadow);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.navcta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(139, 61, 240, 0.5);
}

.mobile-only-cta {
  display: none;
}

/* Mobile-only WhatsApp CTA inside hamburger dropdown */
.mobile-menu-cta {
  display: none !important;
}

.burger {
  display: none;
  background: none;
  border: 0;
  font-size: 1.8rem;
  color: var(--violet);
  cursor: pointer;
  line-height: 1;
}

/* hero */
.hero {
  padding: 150px 0 70px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.16;
  z-index: -1;
  pointer-events: none;
}

.blob1 {
  width: 280px;
  height: 280px;
  background: var(--grad-warm);
  top: 20px;
  right: 20px;
}

.blob2 {
  width: 240px;
  height: 240px;
  background: var(--grad-main);
  bottom: 20px;
  left: 20px;
  opacity: 0.18;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  color: var(--violet);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.eyebrow-ic {
  color: var(--pink);
  flex-shrink: 0;
}

.hero h1 {
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 span {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.1rem;
  color: #5a4470;
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: var(--grad-main);
  color: #fff !important;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(139, 61, 240, 0.5);
}

.btn-primary svg {
  transition: transform 0.25s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-ghost {
  background: #fff;
  color: var(--violet);
  border: 2px solid #efd9ff;
}

.btn-ghost:hover {
  background: #faf3ff;
  transform: translateY(-3px);
}

.stats {
  display: flex;
  gap: 28px;
  margin-top: 38px;
}

.stat b {
  font-size: 1.5rem;
  display: block;
  color: var(--violet);
}

.stat span {
  font-size: 0.85rem;
  color: #876c9c;
}

.hero-r {
  position: relative;
}

.hero-img-wrap {
  position: relative;
  z-index: 1;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  transition: transform 0.4s ease;
}

.hero-img-wrap:hover {
  transform: rotate(0deg);
}

.hero-img-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.medal {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(139, 61, 240, 0.3);
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}

.medal img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--gold) inset;
}

.badge-float {
  position: absolute;
  bottom: -15px;
  right: 0;
  background: #fff;
  padding: 12px 20px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 5s ease-in-out infinite reverse;
  z-index: 2;
}

.badge-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(139, 61, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  flex-shrink: 0;
}

.badge-float b {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.badge-float span {
  font-size: 0.78rem;
  color: #876c9c;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* section headers */
.sec-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 50px;
}

.sec-head .tag {
  color: var(--pink);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.sec-head h2 {
  font-size: 2.3rem;
  margin: 10px 0 14px;
}

.sec-head p {
  color: #5a4470;
}

/* categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.cat-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow);
  display: block;
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cat-card:hover img {
  transform: scale(1.08);
}

.cc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(43, 10, 78, 0.85), rgba(43, 10, 78, 0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: #fff;
}

.cc-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.cc-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* products */
.products {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(253, 241, 250, 0.82));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.pcard {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -15px rgba(139, 61, 240, 0.3);
}

.pimg {
  height: 220px;
  overflow: hidden;
  background: #f7eef9;
}

.pimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pcard:hover .pimg img {
  transform: scale(1.06);
}

.pbody {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pbody h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.pbody p {
  font-size: 0.88rem;
  color: #876c9c;
  margin-bottom: 16px;
  line-height: 1.5;
  flex-grow: 1;
}

.prow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.price {
  font-weight: 800;
  color: var(--violet);
  font-size: 1.2rem;
}

.pbtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.pbtn:hover {
  filter: brightness(1.08);
  transform: scale(1.04);
}

/* why us (luxury vector icon boxes) */
#why {
  padding: 90px 0 100px;
  position: relative;
  z-index: 2;
}

.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  background: #fff;
  border-radius: 24px;
  padding: 34px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(139, 61, 240, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px -10px rgba(139, 61, 240, 0.25);
}

.why-card .ic {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #fff;
  box-shadow: 0 10px 24px -4px rgba(139, 61, 240, 0.4);
  transition: transform 0.3s ease;
}

.why-card:hover .ic {
  transform: scale(1.1);
}

.why-card h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: var(--ink);
}

.why-card p {
  font-size: 0.88rem;
  color: #876c9c;
  line-height: 1.6;
}

/* testimonials (crisp vector stars) */
.testi {
  background: linear-gradient(180deg, rgba(43, 10, 78, 0.94) 0%, rgba(27, 6, 50, 0.96) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  position: relative;
  z-index: 2;
  padding-bottom: 100px;
}

.testi .sec-head h2,
.testi .sec-head p {
  color: #fff;
}

.testi .sec-head p {
  opacity: 0.75;
}

.tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.tcard {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 220px;
  box-sizing: border-box;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.tcard:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 200, 61, 0.3);
}

.stars-vector {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
}

.tcard p {
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0.92;
  margin-bottom: 20px;
  flex-grow: 1;
}

.tperson {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tperson img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--gold);
}

/* cta band */
.sec-cta {
  padding: 80px 24px;
  position: relative;
  z-index: 2;
}

.ctaband {
  background: var(--grad-main);
  text-align: center;
  color: #fff;
  border-radius: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 30px;
  box-shadow: 0 20px 50px -10px rgba(139, 61, 240, 0.45);
  position: relative;
  z-index: 2;
}

.ctaband h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.ctaband p {
  opacity: 0.9;
  font-size: 1.05rem;
  margin-bottom: 26px;
  max-width: 600px;
  margin-inline: auto;
}

.ctaband .btn-primary {
  background: #fff;
  color: var(--violet) !important;
}

.ctaband .btn-primary:hover {
  background: #faf3ff;
}

/* footer */
footer.site-footer {
  background: rgba(25, 5, 48, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  padding: 70px 0 26px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.footer-moon {
  display: none !important;
}

.fgrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.fbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.fbrand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--gold);
}

footer p {
  opacity: 0.75;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 320px;
}

footer h5 {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--gold);
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  opacity: 0.85;
}

footer ul a:hover {
  color: var(--gold);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list li svg {
  flex-shrink: 0;
}

.fbottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.6;
}

/* floating whatsapp fab */
.fab {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5);
  z-index: 99999 !important;
  animation: pulse 2.2s infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fab:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.65);
}

@keyframes pulse {
  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);
  }
}

/* mobile responsive styles */
@media (max-width: 860px) {
  .wrap {
    padding: 0 16px;
  }
  .nav {
    padding: 10px 16px;
  }
  .navcta {
    display: none !important;
  }
  .mobile-menu-cta {
    display: block !important;
    background: var(--grad-main);
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    margin-top: 6px;
    box-shadow: var(--shadow);
  }
  .brand {
    font-size: 1.15rem;
    gap: 8px;
    max-width: calc(100% - 50px);
    overflow: hidden;
  }
  .brand span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand img {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
  .navlinks {
    display: none !important;
  }
  .navlinks.mobile-open {
    display: flex !important;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(255,247,251,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 14px 28px rgba(139,61,240,0.15);
    border-bottom: 1px solid rgba(139,61,240,0.15);
    z-index: 49;
  }
  .burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
    color: var(--violet);
    background: none;
    border: none;
    cursor: pointer;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 105px;
    padding-bottom: 50px;
    text-align: center;
  }
  .blob1 {
    width: 180px;
    height: 180px;
    top: 10px;
    right: 10px;
  }
  .blob2 {
    width: 150px;
    height: 150px;
    bottom: 10px;
    left: 10px;
  }
  .cat-card {
    height: 220px;
  }
  .hero p.lead {
    margin-inline: auto;
    font-size: 0.95rem;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.3rem);
    line-height: 1.25;
  }
  .ctas {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .stats {
    justify-content: center;
    gap: 16px;
  }
  .cat-grid,
  .pgrid,
  .why,
  .tgrid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 60px 0;
  }
  .testi {
    padding: 60px 0 70px;
  }
  .sec-head h2 {
    font-size: clamp(1.6rem, 5.5vw, 2.1rem);
    line-height: 1.3;
  }
  .ctaband {
    padding: 40px 20px;
    border-radius: 28px;
    margin: 0 12px;
  }
  .ctaband h2 {
    font-size: 1.7rem;
  }
  .fgrid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-img-wrap {
    transform: none;
  }
  footer p {
    max-width: 100%;
  }
  .footer-moon {
    display: none;
  }
  .badge-float {
    right: 12px;
    bottom: -12px;
    padding: 10px 16px;
  }
  .medal {
    top: -15px;
    left: 8px;
    width: 84px;
    height: 84px;
  }
}

/* ==========================================================================
   Moonveli 3D Celestial WebGL Canvas & Smooth Scrolling Styles
   ========================================================================== */

#moonveli-webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

/* Lenis Smooth Scroll Recommended Base Styles */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Ensure sections layer cleanly above the WebGL background */
.hero,
#categories,
.products,
#why,
.testi,
.sec-cta,
.ctaband,
.site-footer {
  position: relative;
  z-index: 2;
}

/* Floating Flower Petals Background Effect */
.petals {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: 0;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  animation: floatPetal linear infinite;
}

@keyframes floatPetal {
  0% {
    transform: translateY(108vh) rotate(0deg);
    opacity: 0;
  }
  8% {
    opacity: 0.65;
  }
  92% {
    opacity: 0.42;
  }
  100% {
    transform: translateY(-12vh) rotate(540deg);
    opacity: 0;
  }
}

/* Glassmorphism & Elevation for Cards */
.pcard,
.why-card,
.cat-card,
.tcard {
  will-change: transform;
  transform-style: preserve-3d;
  transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.28s ease;
}

/* Magnetic Button Smooth Reset */
.navcta,
.ctas .btn-primary {
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}



