/* ==========================================================================
   TheKaamPitara — Neumorphism (soft UI) theme
   Loaded after style.css when Admin → Settings → Appearance → Design style = Neumorphism.
   Every surface shares one soft background; depth comes from paired light/dark shadows:
     raised  = element sits above the surface   (cards, buttons, chips)
     inset   = element is pressed into the surface (inputs, active states, icon wells)
   ========================================================================== */

.theme-neu {
    --neu-bg: #e7eaf3;
    --neu-light: #ffffff;
    --neu-dark: rgba(158, 166, 196, .55);
    --neu-dark-strong: rgba(140, 148, 182, .7);
    --kp-muted: #5f5c78;           /* darker than classic for contrast on the grey surface */
    --kp-line: rgba(160, 166, 196, .35);
    --kp-soft: var(--neu-bg);
    --kp-radius: 24px;
    --kp-radius-sm: 16px;

    --neu-raised: 8px 8px 18px var(--neu-dark), -8px -8px 18px var(--neu-light);
    --neu-raised-sm: 4px 4px 10px var(--neu-dark), -4px -4px 10px var(--neu-light);
    --neu-raised-lg: 14px 14px 30px var(--neu-dark-strong), -14px -14px 30px var(--neu-light);
    --neu-inset: inset 5px 5px 10px var(--neu-dark), inset -5px -5px 10px var(--neu-light);
    --neu-inset-sm: inset 3px 3px 6px var(--neu-dark), inset -3px -3px 6px var(--neu-light);

    background: var(--neu-bg);
}

/* ---------- Shared surfaces ---------- */
.theme-neu .section,
.theme-neu .section-soft,
.theme-neu .section-dark,
.theme-neu .hero,
.theme-neu .page-hero,
.theme-neu .site-footer,
.theme-neu .topbar { background: var(--neu-bg); }

.theme-neu .service-card,
.theme-neu .feature-box,
.theme-neu .portfolio-card,
.theme-neu .post-card,
.theme-neu .testimonial-card,
.theme-neu .side-card,
.theme-neu .form-card,
.theme-neu .process-step,
.theme-neu .collage-card,
.theme-neu .faq-accordion .accordion-item {
    background: var(--neu-bg);
    border: 0 !important;
    box-shadow: var(--neu-raised);
}
.theme-neu .service-card:hover,
.theme-neu .feature-box:hover,
.theme-neu .portfolio-card:hover,
.theme-neu .post-card:hover,
.theme-neu .process-step:hover {
    box-shadow: var(--neu-raised-lg);
    transform: translateY(-4px);
}

/* ---------- Buttons ---------- */
.theme-neu .btn { border: 0; }
.theme-neu .btn-primary {
    background: linear-gradient(145deg, color-mix(in srgb, var(--kp-primary) 85%, white), var(--kp-primary-dark));
    box-shadow: 6px 6px 14px var(--neu-dark-strong), -6px -6px 14px var(--neu-light);
}
.theme-neu .btn-accent {
    background: linear-gradient(145deg, color-mix(in srgb, var(--kp-accent) 80%, white), var(--kp-accent));
    box-shadow: 6px 6px 14px var(--neu-dark-strong), -6px -6px 14px var(--neu-light);
}
.theme-neu .btn-whatsapp {
    background: linear-gradient(145deg, #27c46a, #179c50);
    box-shadow: 6px 6px 14px var(--neu-dark-strong), -6px -6px 14px var(--neu-light);
}
.theme-neu .btn-outline-primary,
.theme-neu .btn-outline-light,
.theme-neu .btn-light {
    background: var(--neu-bg);
    color: var(--kp-primary);
    box-shadow: var(--neu-raised-sm);
}
.theme-neu .btn-outline-primary:hover,
.theme-neu .btn-outline-light:hover,
.theme-neu .btn-light:hover {
    background: var(--neu-bg);
    color: var(--kp-primary-dark);
    box-shadow: var(--neu-raised);
}
.theme-neu .btn:active,
.theme-neu .btn-outline-primary:active,
.theme-neu .btn-light:active {
    transform: translateY(0);
    box-shadow: var(--neu-inset-sm);
}

/* ---------- Top bar & header ---------- */
.theme-neu .topbar { color: var(--kp-muted); border-bottom: 1px solid var(--kp-line); }
.theme-neu .topbar a, .theme-neu .topbar span, .theme-neu .social-mini a { color: var(--kp-muted); }
.theme-neu .topbar a:hover { color: var(--kp-primary); }
.theme-neu .topbar i { color: var(--kp-primary); }

.theme-neu .site-header,
.theme-neu .site-header.scrolled {
    background: var(--neu-bg);
    border-bottom: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.theme-neu .site-header.scrolled { box-shadow: 0 8px 18px -6px var(--neu-dark); }
.theme-neu .nav-link.active { background: var(--neu-bg); box-shadow: var(--neu-inset-sm); }
.theme-neu .navbar-toggler { width: 46px; height: 46px; border-radius: 14px; box-shadow: var(--neu-raised-sm); }
.theme-neu .offcanvas { background: var(--neu-bg); }
.theme-neu .mega-menu { background: var(--neu-bg); box-shadow: var(--neu-raised-lg); }
.theme-neu .mega-item:hover { background: var(--neu-bg); box-shadow: var(--neu-inset-sm); }
.theme-neu .mega-footer { border-top-color: var(--kp-line); }

/* ---------- Icon wells (pressed-in circles/squares) ---------- */
.theme-neu .service-icon,
.theme-neu .mega-icon,
.theme-neu .ci-icon,
.theme-neu .feature-icon {
    background: var(--neu-bg);
    box-shadow: var(--neu-inset-sm);
}
.theme-neu .feature-icon { color: var(--kp-accent-dark); }
.theme-neu .ci-wa { color: var(--kp-wa); }
.theme-neu .service-card:hover .service-icon {
    background: var(--kp-primary);
    color: #fff;
    box-shadow: var(--neu-raised-sm);
}
.theme-neu .service-card::before { display: none; }

/* ---------- Hero (light soft version) ---------- */
.theme-neu .hero { color: var(--kp-body); padding: 96px 0 110px; }
.theme-neu .hero-bg {
    background: radial-gradient(520px 360px at 82% 30%, color-mix(in srgb, var(--kp-accent) 22%, transparent), transparent 70%);
}
.theme-neu .hero-bg::after { display: none; }
.theme-neu .hero-title { color: var(--kp-ink); }
.theme-neu .hero-title span { color: var(--kp-primary); }
.theme-neu .hero-title span::after { background: var(--kp-accent); opacity: .55; }
.theme-neu .hero-lead { color: var(--kp-body); }
.theme-neu .hero-badges li { color: var(--kp-ink); font-weight: 500; }
.theme-neu .hero-badges i { color: var(--kp-primary); }

/* the treasure box sits on a soft raised disc */
.theme-neu .pitara-visual::before {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    width: 78%; aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--neu-bg);
    box-shadow: var(--neu-raised-lg);
}
.theme-neu .pitara-visual::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 7%;
    width: 64%; aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    box-shadow: var(--neu-inset);
}
.theme-neu .pitara-glow { opacity: .55; }
.theme-neu .pitara-box { z-index: 1; filter: drop-shadow(10px 18px 18px rgba(80, 60, 140, .28)); }
.theme-neu .pitara-chip {
    z-index: 2;
    background: var(--neu-bg);
    color: var(--kp-ink);
    box-shadow: var(--neu-raised-sm);
}

/* ---------- Eyebrows ---------- */
.theme-neu .eyebrow,
.theme-neu .eyebrow-light,
.theme-neu .section-head-light .eyebrow {
    background: var(--neu-bg);
    color: var(--kp-primary);
    border: 0;
    box-shadow: var(--neu-inset-sm);
}

/* ---------- Stats: separate raised tiles ---------- */
.theme-neu .stats-strip { margin-top: -40px; }
.theme-neu .stats-grid {
    background: transparent;
    box-shadow: none;
    overflow: visible;
    gap: 1.5rem;
}
.theme-neu .stat {
    background: var(--neu-bg);
    border: 0 !important;
    border-radius: var(--kp-radius);
    box-shadow: var(--neu-raised);
}
@media (max-width: 767.98px) { .theme-neu .stats-grid { gap: 1rem; } }

/* ---------- About collage ---------- */
.theme-neu .collage-center {
    box-shadow: 0 0 0 12px var(--neu-bg), 10px 10px 24px var(--neu-dark-strong), -10px -10px 24px var(--neu-light);
}

/* ---------- Process (was a dark band) ---------- */
.theme-neu .section-dark { color: var(--kp-body); }
.theme-neu .section-dark h2,
.theme-neu .section-dark h3 { color: var(--kp-ink); }
.theme-neu .section-head-light p { color: var(--kp-muted); }
.theme-neu .process-step p { color: var(--kp-muted); }
.theme-neu .step-no {
    display: inline-grid; place-items: center;
    width: 64px; height: 64px; border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: var(--neu-inset);
}

/* ---------- Portfolio & blog thumbnails: image framed inside the card ---------- */
.theme-neu .portfolio-thumb,
.theme-neu .post-thumb {
    margin: 12px 12px 0;
    border-radius: 18px;
    box-shadow: var(--neu-inset-sm);
}
.theme-neu .portfolio-overlay { background: var(--neu-bg); box-shadow: var(--neu-raised-sm); }
.theme-neu .badge-soft { background: var(--neu-bg); box-shadow: var(--neu-inset-sm); }

/* ---------- Testimonials (room for shadows inside the scroller) ---------- */
.theme-neu .testimonial-track { padding: 1.5rem 1.25rem 2rem; margin: -1.5rem -1.25rem 0; }
@media (max-width: 575.98px) { .theme-neu .testimonial-track { padding-inline: .75rem; margin-inline: -.75rem; } }
.theme-neu .testimonial-card::after { color: rgba(160, 166, 196, .35); }
.theme-neu .btn-round {
    background: var(--neu-bg);
    border: 0;
    color: var(--kp-primary);
    box-shadow: var(--neu-raised-sm);
}
.theme-neu .btn-round:hover { background: var(--neu-bg); color: var(--kp-primary); box-shadow: var(--neu-inset-sm); }

/* ---------- FAQ ---------- */
.theme-neu .faq-accordion .accordion-item { margin-bottom: 1.1rem; }
.theme-neu .faq-accordion .accordion-button,
.theme-neu .faq-accordion .accordion-button:not(.collapsed) { background: var(--neu-bg); }
.theme-neu .faq-accordion .accordion-collapse.show,
.theme-neu .faq-accordion .accordion-body { background: var(--neu-bg); }

/* ---------- CTA band & accent side cards: coloured, raised off the surface ---------- */
.theme-neu .cta-inner,
.theme-neu .side-card-accent {
    box-shadow: 12px 12px 28px var(--neu-dark-strong), -12px -12px 28px var(--neu-light);
}
.theme-neu .side-card-accent {
    background: linear-gradient(145deg, color-mix(in srgb, var(--kp-primary) 88%, white), var(--kp-primary-dark));
}
.theme-neu .cta-inner .btn-outline-light,
.theme-neu .side-card-accent .btn-light {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .25);
}
.theme-neu .cta-inner .btn-outline-light:hover,
.theme-neu .side-card-accent .btn-light:hover { background: #fff; color: var(--kp-primary); }

/* ---------- Forms ---------- */
.theme-neu .form-control,
.theme-neu .form-select,
.theme-neu .blog-search {
    background-color: var(--neu-bg);
    border: 0;
    box-shadow: var(--neu-inset);
}
.theme-neu .form-control:focus,
.theme-neu .form-select:focus {
    background-color: var(--neu-bg);
    box-shadow: var(--neu-inset), 0 0 0 3px color-mix(in srgb, var(--kp-primary) 35%, transparent);
}
.theme-neu .form-control.is-invalid,
.theme-neu .was-validated .form-control:invalid {
    box-shadow: var(--neu-inset), 0 0 0 2px rgba(214, 60, 60, .55);
}
.theme-neu .blog-search:focus-within { box-shadow: var(--neu-inset), 0 0 0 3px color-mix(in srgb, var(--kp-primary) 35%, transparent); }
.theme-neu .blog-search input { background: transparent; }
.theme-neu .alert { border: 0; box-shadow: var(--neu-raised-sm); }

/* ---------- Chips, filters, pagination ---------- */
.theme-neu .chip-filter a,
.theme-neu .chip-filter button {
    background: var(--neu-bg);
    border: 0;
    box-shadow: var(--neu-raised-sm);
}
.theme-neu .chip-filter a:hover,
.theme-neu .chip-filter button:hover { color: var(--kp-primary); }
.theme-neu .chip-filter .active {
    background: var(--neu-bg) !important;
    color: var(--kp-primary) !important;
    box-shadow: var(--neu-inset-sm);
}
.theme-neu .pagination .page-link { background: var(--neu-bg); box-shadow: var(--neu-raised-sm); }
.theme-neu .pagination .active .page-link { background: var(--neu-bg); color: var(--kp-primary); box-shadow: var(--neu-inset-sm); }

/* ---------- Inner page hero ---------- */
.theme-neu .page-hero { color: var(--kp-body); padding: 72px 0 64px; }
.theme-neu .page-hero::before {
    right: -80px; top: -120px;
    width: 380px; height: 380px;
    background: var(--neu-bg);
    box-shadow: var(--neu-raised-lg);
}
.theme-neu .page-hero h1 { color: var(--kp-ink); }
.theme-neu .breadcrumb a { color: var(--kp-muted); }
.theme-neu .breadcrumb a:hover, .theme-neu .breadcrumb-item.active { color: var(--kp-primary); }
.theme-neu .breadcrumb-item + .breadcrumb-item::before { color: var(--kp-muted); }
.theme-neu .post-hero-meta i { color: var(--kp-primary); }

/* ---------- Detail pages ---------- */
.theme-neu .include-item { background: var(--neu-bg); box-shadow: var(--neu-raised-sm); }
.theme-neu .side-links a { border-bottom-color: var(--kp-line); }
.theme-neu .post-tags span { background: var(--neu-bg); box-shadow: var(--neu-inset-sm); }
.theme-neu .share-bar { border-top-color: var(--kp-line); }
.theme-neu .share-bar a,
.theme-neu .share-bar button { background: var(--neu-bg); box-shadow: var(--neu-raised-sm); }
.theme-neu .share-bar a:hover,
.theme-neu .share-bar button:hover { background: var(--neu-bg); color: var(--kp-primary); box-shadow: var(--neu-inset-sm); }
.theme-neu .rich-text blockquote { background: var(--neu-bg); box-shadow: var(--neu-inset-sm); }
.theme-neu .detail-image { box-shadow: var(--neu-raised); }
.theme-neu .contact-social a { background: var(--neu-bg) !important; box-shadow: var(--neu-raised-sm); }

/* ---------- Footer (soft, light) ---------- */
.theme-neu .site-footer {
    color: var(--kp-muted);
    box-shadow: inset 0 10px 20px -12px var(--neu-dark);
}
.theme-neu .site-footer .text-white-50 { color: var(--kp-muted) !important; }
.theme-neu .site-footer .brand-text.text-white { color: var(--kp-ink) !important; }
.theme-neu .site-footer .brand-text.text-white b { color: var(--kp-primary); }
.theme-neu .footer-tagline { color: var(--kp-primary); }
.theme-neu .footer-title { color: var(--kp-ink); }
.theme-neu .footer-links a,
.theme-neu .footer-contact a,
.theme-neu .footer-bottom a { color: var(--kp-muted); }
.theme-neu .footer-links a:hover,
.theme-neu .footer-contact a:hover,
.theme-neu .footer-bottom a:hover { color: var(--kp-primary); }
.theme-neu .footer-contact i { color: var(--kp-primary); }
.theme-neu .footer-social a {
    background: var(--neu-bg);
    color: var(--kp-primary);
    box-shadow: var(--neu-raised-sm);
}
.theme-neu .footer-social a:hover { background: var(--neu-bg); color: var(--kp-primary); box-shadow: var(--neu-inset-sm); }
.theme-neu .footer-bottom { border-top-color: var(--kp-line); }

/* ---------- Floating buttons ---------- */
.theme-neu .wa-float { box-shadow: 6px 6px 14px var(--neu-dark-strong), -4px -4px 12px var(--neu-light); }
.theme-neu .back-to-top {
    background: var(--neu-bg);
    color: var(--kp-primary);
    box-shadow: var(--neu-raised-sm);
}

/* ---------- 404 ---------- */
.theme-neu .error-code { text-shadow: none; }

/* ---------- Accessibility: Windows high-contrast keeps real borders ---------- */
@media (forced-colors: active) {
    .theme-neu .service-card, .theme-neu .feature-box, .theme-neu .portfolio-card, .theme-neu .post-card,
    .theme-neu .testimonial-card, .theme-neu .side-card, .theme-neu .form-card, .theme-neu .stat,
    .theme-neu .form-control, .theme-neu .form-select { border: 1px solid CanvasText !important; }
}

/* ---------- Amazon affiliate products ---------- */
.theme-neu .product-card { background: var(--neu-bg); border: 0; box-shadow: var(--neu-raised); }
.theme-neu .product-card:hover { box-shadow: var(--neu-raised-lg); }
.theme-neu .product-media {
    margin: 12px 12px 0;
    border: 0;
    border-radius: 18px;
    box-shadow: var(--neu-inset-sm);
}
.theme-neu .product-badge { box-shadow: var(--neu-raised-sm); }
.theme-neu .btn-amazon {
    background: linear-gradient(145deg, #ffe55c, #f7ca00);
    box-shadow: 6px 6px 14px var(--neu-dark-strong), -6px -6px 14px var(--neu-light);
}
