
/* ========================================
   ECIANO SOLAR - HOMEPAGE STYLES
   Brand colours:
   Navy:   #000153
   Yellow: #FFCC01
======================================== */

:root {
    --ec-navy: #000153;
    --ec-yellow: #FFCC01;
    --ec-white: #FFFFFF;
    --ec-text: #14213D;
    --ec-muted: #526078;
    --ec-light: #F7F9FC;
    --ec-border: #E2E6EE;
}

/* Basic homepage settings */
.ec-home,
.ec-home * {
    box-sizing: border-box;
}

.ec-home {
    width: 100%;
    margin: 0;
    color: var(--ec-text);
    background: var(--ec-white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.ec-home img {
    display: block;
    max-width: 100%;
    height: auto;
}

.ec-home a {
    text-decoration: none;
}

.ec-container {
    width: 92%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Section spacing */
.ec-section {
    padding-top: 45px;
    padding-bottom: 45px;
}

.ec-section-heading {
    margin-bottom: 24px;
}

.ec-section-heading h2 {
    margin: 6px 0 10px;
    color: var(--ec-navy);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.25;
}

.ec-section-heading p {
    max-width: 650px;
    margin: 0;
    color: var(--ec-muted);
    font-size: 14px;
}

/* Small yellow section labels */
.ec-eyebrow {
    color: var(--ec-navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Reusable buttons */
.ec-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid var(--ec-yellow);
    border-radius: 30px;
    background: var(--ec-yellow);
    color: var(--ec-navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    transition: background 0.2s ease,
                transform 0.2s ease;
}

.ec-button:hover {
    background: #F0BE00;
    color: var(--ec-navy);
    transform: translateY(-2px);
}

.ec-button-dark {
    background: var(--ec-navy);
    border-color: var(--ec-navy);
    color: var(--ec-white);
}

.ec-button-dark:hover {
    background: #10116B;
    color: var(--ec-white);
}

/* Responsive images */
.ec-home .ec-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tablet screens */
@media (max-width: 900px) {
    .ec-container {
        width: 94%;
    }

    .ec-section {
        padding-top: 35px;
        padding-bottom: 35px;
    }
}

/* Mobile screens */
@media (max-width: 600px) {
    .ec-container {
        width: 92%;
    }

    .ec-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .ec-section-heading h2 {
        font-size: 25px;
    }

    .ec-button {
        padding: 11px 17px;
        font-size: 12px;
    }
}
