/*
 * Home 4 — logo gradient demo, cloned from Home 1.
 * Load after custom.css. Original theme CSS/Sass remain unchanged.
 */

/* 01. Logo-inspired blue, purple, pink and tomato gradient.
 * Source: base/_variable.scss. Keep a solid primary colour for icons,
 * borders and other properties that cannot accept a gradient.
 */
:root {
    --theme-color: #2545a1;
    --theme-color2: #bb007e;
    --brand-gradient: linear-gradient(110deg, #007fbe 0%, #2545a1 30%, #9d2095 60%, #dc007f 80%, #cf432d 100%);
}

/* 02. Apply the gradient to the top bar, header/hero buttons and mobile controls.
 * Sources: template/headers/_header.scss, utilities/_btns.scss,
 * reset/_mobilemenu.scss. Keep existing dimensions and hover effects.
 */
.header-layout1 .header-top,
.header-layout1 .header-button .th-btn.style4,
.hero-1 .th-btn,
.th-menu-toggle {
    background-image: var(--brand-gradient);
}

/* 03. Gradient on the hero's highlighted word.
 * Source: utilities/_text-color.scss, .text-theme.
 * Use the solid primary colour as a fallback without text clipping support.
 */
@supports (background-clip: text) or (-webkit-background-clip: text) {
    .hero-1 .text-theme {
        background-image: var(--brand-gradient);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}
