/* ============================================================================
   Solar4Car – brand styles
   The app is built with MudBlazor; this file only adds the brand-specific bits
   MudBlazor/Bootstrap can't express (pill CTAs, eyebrows, hero/CTA gradients,
   feature-card hover, image placeholders, footer). It is loaded last so it can
   override MudBlazor's own utility rules. The colour palette itself lives in the
   MudTheme in MainLayout.razor:
     solar green #1F9D57  ·  green dark #0E7C4A  ·  sun amber #F5A623  ·  ink #13241C
   Keep additions here minimal and grouped by section.
   ============================================================================ */

/* ----- Brand wordmark (app bar + footer) ----- */
.s4c-wordmark {
    font-weight: 600;
    letter-spacing: .2px;
}

/* ----- Eyebrow kicker (small label above a section title) ---------------- */
.eyebrow {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1F9D57;
    margin-bottom: 8px;
}

/* Amber variant for use on the dark green hero / CTA banner */
.eyebrow-light {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFD79A;
    margin-bottom: 12px;
}

/* ----- Pill buttons -------------------------------------------------------
   Brand buttons that swap fill/text on hover. !important keeps them
   authoritative over MudBlazor's own button rules.
     .cta-button  -> green fill / white text  (on light backgrounds)
     .white-btn   -> white fill / green text  (on the green hero/banner)
     .cta-outline -> ghost white outline      (secondary action on dark)
   -------------------------------------------------------------------------- */
.cta-button.mud-button-root,
.cta-button.mud-button-root .mud-button-label,
.white-btn.mud-button-root:hover,
.white-btn.mud-button-root:hover .mud-button-label,
.cta-outline.mud-button-root,
.cta-outline.mud-button-root .mud-button-label {
    color: #ffffff !important;
}

.cta-button.mud-button-root,
.white-btn.mud-button-root,
.cta-outline.mud-button-root {
    border-radius: 999px !important;
    padding: 10px 28px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: background-color .2s ease-in-out, color .2s ease-in-out, border-color .2s ease-in-out;
}

.cta-button.mud-button-root {
    background-color: #1F9D57 !important;
    border: 2px solid #1F9D57 !important;
}

    .cta-button.mud-button-root:hover {
        background-color: #ffffff !important;
    }

        .cta-button.mud-button-root:hover,
        .cta-button.mud-button-root:hover .mud-button-label {
            color: #1F9D57 !important;
        }

.white-btn.mud-button-root,
.white-btn.mud-button-root .mud-button-label {
    color: #1F9D57 !important;
}

.white-btn.mud-button-root {
    background-color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

    .white-btn.mud-button-root:hover {
        background-color: transparent !important;
    }

.cta-outline.mud-button-root {
    background-color: transparent !important;
    border: 2px solid rgba(255, 255, 255, .7) !important;
}

    .cta-outline.mud-button-root:hover {
        background-color: #ffffff !important;
        border-color: #ffffff !important;
    }

        .cta-outline.mud-button-root:hover,
        .cta-outline.mud-button-root:hover .mud-button-label {
            color: #1F9D57 !important;
        }

/* ----- Hero & CTA banner (rounded gradient blocks, white text) ----- */
.s4c-hero,
.s4c-cta-banner {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    color: #ffffff;
    background-image: linear-gradient(135deg, #1F9D57 0%, #0E7C4A 55%, #0B5E3A 100%);
}

    /* soft "sun" glow in the top-right corner */
    .s4c-hero::after,
    .s4c-cta-banner::after {
        content: "";
        position: absolute;
        top: -90px;
        right: -70px;
        width: 300px;
        height: 300px;
        pointer-events: none;
        background: radial-gradient(circle, rgba(245, 166, 35, .45) 0%, rgba(245, 166, 35, 0) 70%);
    }

.s4c-hero-inner {
    position: relative;
    z-index: 1;
    padding: 56px 32px;
}

.s4c-hero-title {
    font-weight: 700;
    line-height: 1.1;
}

.s4c-hero-subtitle {
    margin-top: 16px;
    max-width: 34rem;
    opacity: .92;
}

.s4c-cta-banner {
    padding: 48px 24px;
    text-align: center;
}

.s4c-cta-title {
    font-weight: 700;
}

/* ----- Image placeholder slots (swap for real imagery later) ----- */
.s4c-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 260px;
    padding: 24px;
    text-align: center;
    color: #ffffff;
    border-radius: 14px;
    border: 2px dashed rgba(255, 255, 255, .55);
    background-color: rgba(255, 255, 255, .12);
}

    .s4c-placeholder .mud-icon-root {
        font-size: 48px;
    }

/* ----- Section titles & helpers ----- */
.s4c-section-title {
    font-weight: 700;
}

/* constrains a centred lead paragraph to a comfortable reading width */
.s4c-narrow {
    max-width: 42rem;
}

/* ----- Feature & pricing cards (subtle hover lift) ----- */
.feature-card,
.s4c-price-card {
    height: 100%;
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

    .feature-card:hover,
    .s4c-price-card:hover {
        transform: translateY(-4px);
    }

/* circular tinted icon badge on feature cards */
.feature-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    border-radius: 50%;
    color: #1F9D57;
    background-color: rgba(31, 157, 87, .12);
}

    .feature-badge .mud-icon-root {
        font-size: 28px;
    }

.s4c-price {
    font-weight: 700;
    color: #1F9D57;
}

/* ----- Footer ----- */
.s4c-footer-inner {
    padding: 40px 16px 28px;
}

.s4c-footer-links a {
    display: block;
}

.s4c-copyright {
    padding: 14px 16px;
    text-align: center;
    color: #ffffff;
    background-color: #1F9D57;
}

    .s4c-copyright .mud-typography {
        color: #ffffff;
    }

@media (min-width: 600px) {
    .s4c-footer-links {
        text-align: right;
    }
}
