/*
Theme Name: Digitech Spark
Theme URI: https://digitechspark.com/
Description: The official high-performance theme for Digitech Spark.
Version: 1.1.0
Author: Digitech Spark
Text Domain: ds
*/

/* ==========================================================================
   BRAND COLOR OVERRIDES (DIGITECH SPARK #91E125)
   ========================================================================== */

:root {
  --accent: #91E125 !important;
  --accent-rgb: 145, 225, 37 !important;
  --additional: #91E125 !important;
  --primary: #91E125 !important;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6,
.mxd-section-title__hrtitle h2, 
.mxd-section-title__title h2, 
.mxd-block__name h2, 
.inner-headline__title,
.heading-accent,
.mxd-stats-number,
.mxd-cpb-list__num {
    color: #91E125 !important;
}

.t-accent, .t-additional, span.accent, .hero-03-headline__caption strong {
    color: #91E125 !important;
}

/* Decoration Elements */
.mxd-section-header__pre-title::before, 
.pre-title::before, 
.mxd-mtext__text::after, 
.mxd-mtext__text--underline::after {
    background-color: #91E125 !important;
}

/* ==========================================================================
   BUTTONS (HTML ACCURACY)
   ========================================================================== */

/* Default State */
.btn {
    border-color: #91E125 !important;
}

.btn .btn-caption, .btn i {
    color: #91E125 !important;
}

/* Special Button Types */
.btn-accent, .btn-additional, .btn-to-top, #to-top {
    background-color: #91E125 !important;
    border-color: #91E125 !important;
    color: #161616 !important;
}

.btn-accent i, .btn-accent .btn-caption, 
.btn-additional i, .btn-additional .btn-caption,
#to-top i {
    color: #161616 !important;
}

/* HOVER STATES (High Contrast Green) */
.no-touch .btn-outline:hover, .btn-outline:hover,
.no-touch .btn-default:hover, .btn-default:hover,
.no-touch .btn-round:hover, .btn-round:hover,
.no-touch .btn-form:hover, .btn-form:hover {
    background-color: #91E125 !important;
    border-color: #91E125 !important;
    color: #161616 !important;
}

.no-touch .btn-outline:hover .btn-caption,
.no-touch .btn-outline:hover i,
.no-touch .btn-default:hover .btn-caption,
.no-touch .btn-default:hover i,
.no-touch .btn-round:hover i,
.no-touch .btn-form:hover i {
    color: #161616 !important;
}

/* ==========================================================================
   NAVIGATION & UI
   ========================================================================== */

/* Header Logo */
.mxd-logo__text { color: #91E125 !important; }

/* Menu Interaction */
.mxd-menu__trigger { background-color: #91E125 !important; border-color: #91E125 !important; }
.hamburger__line { background-color: #161616 !important; }

/* Menu Links (Black in dark mode slide-out) */
.main-menu__link .btn-caption, .mxd-menu__caption {
    color: #161616 !important;
}
.no-touch a.main-menu__link.btn:hover .btn-caption {
    color: #91E125 !important;
}

/* ==========================================================================
   FOOTER & MISC
   ========================================================================== */

/* Footer Watermark */
.mxd-footer__svg-v2 {
    opacity: 0.1 !important;
    color: #ffffff !important;
}
.mxd-footer__svg-v2 * {
    fill: currentColor !important;
}

/* Selection & Scrollbar */
::-webkit-scrollbar-thumb { background-color: #91E125 !important; }
::selection { background-color: #91E125 !important; color: #161616 !important; }

/* Fixed clipping on hover-reveal images */
.hover-reveal__image {
    object-fit: cover !important;
}
