/* ════════════════════════════════════════════════
   VVS GINGER MURABBA — UPGRADED STYLE.CSS
   Same color theme · All FX animations added
════════════════════════════════════════════════ */

/* ── CSS VARIABLES ─────────────────────────── */
:root {
    --ginger: #f89d1c;
    --ginger-dark: #d35400;
    --ginger-deep: #b8440a;
    --cream: #fffaf0;
    --dark: #1a1a1a;
    --glass-bg: rgba(255,255,255,0.72);
    --glass-blur: blur(18px);
    --glass-border: rgba(255,255,255,0.4);
    --shadow-warm: 0 20px 60px rgba(211,84,0,0.15);
    --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── RESET & BASE ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    padding-bottom: 120px;
    cursor: none;
    overflow-x: hidden;
    background: #fefefe;
}

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

@media (max-width: 768px) {
    body { cursor: auto; }
}

/* ════════════════════════════════════════════════
   CINEMATIC MORPHING LOADER
════════════════════════════════════════════════ */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    overflow: hidden;
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

#page-loader.loader-exit {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.loader-bg-wipe {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ginger-dark) 0%, var(--ginger) 50%, #111 100%);
    animation: loaderBgPulse 2s ease-in-out infinite alternate;
    opacity: 0.15;
}

@keyframes loaderBgPulse {
    from { opacity: 0.1; transform: scale(1); }
    to { opacity: 0.25; transform: scale(1.08); }
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.morph-svg {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 30px var(--ginger));
}

.morph-path {
    fill: none;
    stroke: var(--ginger);
    stroke-width: 3;
    transition: d 0.5s cubic-bezier(0.68,-0.55,0.27,1.55);
    animation: morphGlow 1.2s ease-in-out infinite alternate;
}

@keyframes morphGlow {
    from { stroke: var(--ginger); filter: drop-shadow(0 0 8px var(--ginger)); }
    to   { stroke: var(--ginger-dark); filter: drop-shadow(0 0 24px var(--ginger-dark)); }
}

.loader-text-wrap {
    display: flex;
    gap: 4px;
}

.loader-brand-letter {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--ginger);
    display: inline-block;
    animation: letterDrop 0.6s var(--transition) both;
    animation-delay: calc(var(--i) * 0.15s + 0.3s);
    text-shadow: 0 0 30px var(--ginger);
}

@keyframes letterDrop {
    from { opacity: 0; transform: translateY(-40px) rotateX(90deg); }
    to   { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

.loader-tagline {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: fadeInUp 0.6s 0.9s var(--transition) both;
}

.loader-progress-bar {
    width: 180px;
    height: 3px;
    background: rgba(255,255,255,0.15);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 10px;
}

.loader-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ginger-dark), var(--ginger));
    border-radius: 99px;
    animation: progressFill 2s ease-in-out forwards;
}

@keyframes progressFill {
    from { width: 0%; }
    to   { width: 100%; }
}

/* ════════════════════════════════════════════════
   PAGE WIPE TRANSITION
════════════════════════════════════════════════ */
#page-wipe {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--ginger);
    clip-path: inset(0 100% 0 0);
    pointer-events: none;
    transition: clip-path 0.35s var(--transition);
}

#page-wipe.wipe-in {
    clip-path: inset(0 0% 0 0);
    transition: clip-path 0.35s var(--transition);
}

#page-wipe.wipe-out {
    clip-path: inset(0 0 0 100%);
    transition: clip-path 0.35s 0.05s var(--transition);
}

/* ════════════════════════════════════════════════
   MAGNETIC CUSTOM CURSOR + LIQUID TRAIL
════════════════════════════════════════════════ */
#cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--ginger);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99990;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}

#cursor-ring {
    position: fixed;
    width: 38px;
    height: 38px;
    border: 2px solid var(--ginger);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99989;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, opacity 0.3s;
    opacity: 0.7;
}

#cursor-ring.cursor-hover {
    width: 56px;
    height: 56px;
    background: rgba(248,157,28,0.1);
    border-color: var(--ginger-dark);
}

#cursor-ring.cursor-expand {
    width: 70px;
    height: 70px;
    opacity: 0.4;
    border-color: var(--ginger);
}

#cursor-dot.cursor-hover {
    width: 14px;
    height: 14px;
    background: var(--ginger-dark);
}

#cursor-trail-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99988;
}

.trail-dot {
    position: fixed;
    border-radius: 50%;
    background: var(--ginger);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: trailFade 0.6s ease-out forwards;
}

@keyframes trailFade {
    0%   { opacity: 0.55; transform: translate(-50%,-50%) scale(1); }
    100% { opacity: 0;    transform: translate(-50%,-50%) scale(0.2); }
}

@media (max-width: 768px) {
    #cursor-dot, #cursor-ring, #cursor-trail-container { display: none; }
}

/* ════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════ */
.navbar {
    background-color: rgba(255,255,255,0.95) !important;
    border-bottom: 2px solid var(--ginger);
    backdrop-filter: blur(12px);
    transition: box-shadow 0.3s, background 0.3s;
}

.navbar.nav-scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.12) !important;
    background-color: rgba(255,255,255,0.98) !important;
}

.nav-link {
    font-weight: 600;
    color: #444 !important;
    transition: 0.3s;
    position: relative;
    padding-bottom: 4px !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--ginger-dark);
    transition: width 0.3s var(--transition), left 0.3s var(--transition);
}

.nav-link:hover::after { width: 100%; left: 0; }
.nav-link:hover { color: var(--ginger-dark) !important; }

/* ════════════════════════════════════════════════
   HERO — KINETIC TYPOGRAPHY REVEAL
════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #111;
}

.hero-parallax-bg {
    position: absolute;
    inset: -10%;
    background: url('image/bg.jpeg') center/cover no-repeat;
    will-change: transform;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Kinetic Lines */
.kinetic-line {
    overflow: hidden;
    line-height: 1.1;
    margin-bottom: 0.1em;
}

.kinetic-word {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    color: #fff;
    animation: kineticReveal 0.8s var(--transition) both;
    animation-delay: var(--delay);
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    letter-spacing: -0.02em;
}

.kinetic-word.w-gold {
    color: var(--ginger);
    -webkit-text-stroke: 1px var(--ginger-dark);
    text-shadow: 0 0 60px rgba(248,157,28,0.4);
}

@keyframes kineticReveal {
    from {
        opacity: 0;
        transform: translateY(80px) skewY(6deg);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) skewY(0deg);
        filter: blur(0);
    }
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
}

.kinetic-fade {
    animation: kineticFadeIn 0.7s var(--transition) both;
    animation-delay: var(--delay);
}

@keyframes kineticFadeIn {
    from { opacity: 0; transform: translateY(30px); filter: blur(4px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* Hero particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hparticle {
    position: absolute;
    background: var(--ginger);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0%   { transform: translateY(0) scale(1);    opacity: var(--op, 0.4); }
    50%  { transform: translateY(-40px) scale(1.2); opacity: 0.7; }
    100% { transform: translateY(0) scale(1);    opacity: var(--op, 0.4); }
}

/* ════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════ */
.btn-ginger {
    background: linear-gradient(135deg, var(--ginger-dark), var(--ginger));
    color: white;
    border-radius: 50px;
    padding: 12px 38px;
    border: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--transition), box-shadow 0.3s;
}

.btn-ginger::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ginger), var(--ginger-dark));
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-ginger:hover {
    color: white;
    box-shadow: 0 8px 30px rgba(211,84,0,0.5);
}

.btn-ginger:hover::before { opacity: 1; }
.btn-ginger span { position: relative; z-index: 1; }

/* Add to Cart ripple */
.add-cart-btn { position: relative; overflow: hidden; }
.add-cart-btn .btn-inner { position: relative; z-index: 1; }
.btn-ripple {
    position: absolute;
    width: 0; height: 0;
    background: rgba(255,255,255,0.35);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
}
.btn-ripple.ripple-anim {
    animation: rippleBurst 0.55s ease-out forwards;
}
@keyframes rippleBurst {
    from { width: 0; height: 0; opacity: 1; }
    to   { width: 300px; height: 300px; opacity: 0; }
}

/* ════════════════════════════════════════════════
   SECTIONS
════════════════════════════════════════════════ */
.section-padding { padding: 100px 0; }
.bg-ginger { background-color: var(--ginger); }

.letter-space { letter-spacing: 5px; }

/* ── About Section ── */
#about {
    position: relative;
    background-color: rgba(251,236,93,0.12);
    overflow: hidden;
}

#about::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('image/ginger.png');
    background-size: cover;
    background-position: center;
    opacity: 0.07;
    z-index: 0;
}

#about .container { position: relative; z-index: 1; }

/* ════════════════════════════════════════════════
   GLASSMORPHIC CARDS
════════════════════════════════════════════════ */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--shadow-warm), inset 0 1px 0 rgba(255,255,255,0.6);
    transition: transform 0.4s var(--transition), box-shadow 0.4s;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(211,84,0,0.2), inset 0 1px 0 rgba(255,255,255,0.8);
}

/* Benefit items stagger hover */
.benefit-item {
    transition: transform 0.25s var(--transition), color 0.25s;
    cursor: default;
}
.benefit-item:hover { transform: translateX(6px); }

/* ── Stat Pills ── */
.stat-pill {
    background: white;
    border-radius: 20px;
    padding: 20px 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    transition: transform 0.3s var(--transition), box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.stat-pill::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ginger-dark), var(--ginger));
    transform: scaleX(0);
    transition: transform 0.35s var(--transition);
    transform-origin: left;
}
.stat-pill:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(211,84,0,0.15); }
.stat-pill:hover::before { transform: scaleX(1); }
.stat-pct { font-size: 1.5rem; font-weight: 700; color: var(--ginger); }

/* ════════════════════════════════════════════════
   CANDY CARDS
════════════════════════════════════════════════ */
.candy-card {
    background: white;
    color: #333;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.4s var(--transition), box-shadow 0.4s, border 0.3s;
    height: 100%;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.candy-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(248,157,28,0.06), transparent);
    transition: left 0.5s ease;
}

.candy-card:hover::before { left: 100%; }

.candy-card:hover {
    transform: translateY(-14px) scale(1.01);
    border: 1px solid var(--ginger-dark);
    box-shadow: 0 25px 60px rgba(211,84,0,0.25);
}

.featured-card {
    border: 2px solid var(--ginger-dark) !important;
    background: linear-gradient(160deg, #fff 80%, rgba(248,157,28,0.05) 100%);
}

.img-container img {
    height: 250px;
    width: 100%;
    object-fit: contain;
    background-color: #fff;
    transition: transform 0.45s var(--transition);
}

.candy-card:hover .img-container img { transform: scale(1.05) rotate(-1deg); }

/* Pulsing badges */
.pulse-badge {
    animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(248,157,28,0.4); }
    50%       { box-shadow: 0 0 0 8px rgba(248,157,28,0); }
}

/* Section title accent */
.title-underline {
    width: 60px; height: 4px;
    background: white;
    border-radius: 99px;
    margin: 12px auto 0;
    animation: titleUnderlineGrow 0.8s 0.3s var(--transition) both;
}

@keyframes titleUnderlineGrow {
    from { width: 0; }
    to   { width: 60px; }
}

/* ════════════════════════════════════════════════
   CART BAR
════════════════════════════════════════════════ */
#cart-status {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(22,22,22,0.97);
    backdrop-filter: blur(16px);
    z-index: 1200;
    padding: 12px 0;
    border-top: 3px solid var(--ginger);
}

#cart-status.cart-bounce {
    animation: cartShake 0.4s var(--transition);
}

@keyframes cartShake {
    0%,100% { transform: translateY(0); }
    25%      { transform: translateY(-6px); }
    75%      { transform: translateY(-3px); }
}

.cart-input { max-width: 150px; }

/* ════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════ */
.glass-contact-item {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s var(--transition);
}
.glass-contact-item:hover { transform: translateX(8px); }

.fancy-input {
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 12px 16px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
    background: rgba(255,255,255,0.9);
}

.fancy-input:focus {
    border-color: var(--ginger);
    box-shadow: 0 0 0 4px rgba(248,157,28,0.15);
    transform: translateY(-2px);
    outline: none;
}

/* ════════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════════ */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
    transition-delay: var(--rv, 0s);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════
   SMOOTH PARALLAX GLASSMORPHIC PARALLAX LAYERS
════════════════════════════════════════════════ */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, #fefefe, transparent);
    z-index: 3;
    pointer-events: none;
}

/* ════════════════════════════════════════════════
   FOOTER — DO NOT CHANGE THESE STYLES
════════════════════════════════════════════════ */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background-color: #1a252f !important;
    color: white;
    padding: 15px 0;
    display: block;
}

.footer-left-side { display: inline-block; }
.created-inline-wrapper { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.created-text { font-size: 0.65rem; color: rgba(255,255,255,0.4); text-transform: uppercase; margin: 0; }

.matrix-brand { display: flex; align-items: center; gap: 8px; text-decoration: none !important; position: relative; }
.m-red   { color: #FF0000; font-weight: 700; transition: 0.3s; }
.b-white { color: #FFFFFF; font-weight: 700; transition: 0.3s; }

.matrix-brand:hover .m-red   { text-shadow: 0 0 15px #FF0000; }
.matrix-brand:hover .b-white { text-shadow: 0 0 15px #FFFFFF; }

.matrix-logo-circle-zoom {
    width: 28px; height: 28px;
    background: #fff; border-radius: 50%; overflow: hidden;
    display: flex; justify-content: center; align-items: center;
}
.matrix-logo-circle-zoom img { width: 100%; height: 100%; object-fit: cover; }

/* Glitter particles */
.star-dust {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10060;
    animation: explode 1s ease-out forwards;
}

@keyframes explode {
    0%   { transform: translate(0,0) scale(1); opacity: 1; }
    100% { transform: translate(var(--x),var(--y)) scale(0); opacity: 0; }
}

/* ════════════════════════════════════════════════
   NAVBAR SCROLLED
════════════════════════════════════════════════ */
.navbar-brand {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

/* ════════════════════════════════════════════════
   FLOATING WHATSAPP (if used)
════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 120px;
    right: 30px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 2000;
    transition: 0.3s;
}

/* ════════════════════════════════════════════════
   MOBILE RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .kinetic-word { font-size: clamp(2.5rem, 14vw, 4rem); }
    .hero-section { height: 85vh; }
    .whatsapp-float { bottom: 115px; right: 20px; padding: 15px; border-radius: 50%; }
    .whatsapp-float span { display: none; }
    .matrix-fixed-footer { height: auto; padding: 10px 0; }
    .footer-flex-container { flex-direction: column; gap: 8px; }
    .footer-side { text-align: center !important; }
    .glass-card { backdrop-filter: none; background: white; }
    .section-padding { padding: 70px 0; }
}

@media (max-width: 576px) {
    .kinetic-word { font-size: 2.8rem; }
    .loader-brand-letter { font-size: 2rem; }
    .stat-pill { padding: 14px 8px; }
}

/* ── Utility ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.border-ginger { border-color: var(--ginger-dark) !important; }
