/* ==================================================================== */
/* ==================================================================== */
/* ==================================================================== */
/* ====== Hero ======================================================== */
/* ==================================================================== */
/* ==================================================================== */
/* ==================================================================== */
/* ==================================================================== */
.hero {
    width: 100%;
    height: 652px;
    position: relative;
    background:
        linear-gradient(135deg, rgba(0, 12, 26, 0.8) 0%, rgba(10, 60, 150, 0.85) 100%),
        url("../../assets/images/elet-curitiba-small.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-align: left;
    /* Left align text as default */
}

/* Tablets e notebooks pequenos */
@media (min-width: 836px) {
    .hero {
        height: calc(100vh - 76px);
        background-image:
            linear-gradient(135deg, rgba(0, 12, 26, 0.8) 0%, rgba(10, 60, 150, 0.85) 100%),
            url("../../assets/images/elet-curitiba-medium.webp");
    }
}

/* Telas maiores, desktops médios */
@media (min-width: 980px) {
    .hero {
        background-attachment: fixed;
        background-image:
            linear-gradient(135deg, rgba(0, 12, 26, 0.8) 0%, rgba(10, 60, 150, 0.85) 100%),
            url("../../assets/images/elet-curitiba.webp");
    }
}

@media (max-height: 480px) {
    .hero {
        height: 800px;
    }
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    padding-top: 0;
    text-align: left;
}

@media (min-width: 780px) {
    .hero-wrapper {
        width: 70%;
        align-items: flex-start;
        text-align: left;
        padding-top: 0;
        justify-content: center;
        /* Volta a centralizar no desktop */
    }
}

.hero-title {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    margin-bottom: 8px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

@media (min-width: 780px) {
    .hero-title {
        justify-content: flex-start;
    }
}

.hero-title h1 {
    color: var(--light);
    font-size: 34px;
}

@media (min-width: 320px) {
    .hero-title h1 {
        font-size: 38px;
    }
}

@media (min-width: 780px) {
    .hero-title h1 {
        font-size: 60px;
    }
}

.hero-subtitle {
    font-family: sans-serif !important;
    font-size: 20px;
    color: #fff;
    font-weight: 400 !important;
}

@media (min-width: 780px) {
    .hero-subtitle {
        font-size: 24px;
    }
}

.hero-highlight {
    z-index: 2;
    color: var(--color-1);
    font-weight: 800;
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    /* Center buttons on mobile */
    margin-top: 16px;
    width: 100%;
}

@media (min-width: 836px) {
    .hero-cta-wrapper {
        flex-direction: row;
        gap: 20px;
        justify-content: flex-start;
        align-items: flex-start;
        width: auto;
    }
}

/* ======================================== */
/* ====== Hero Buttons & Overrides ======== */
/* ======================================== */

/* Hero primary CTA override */
.hero .cta-button {
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    border-radius: 20px;
    font-size: 18.5px;
    width: 280px;
    height: 52px;
    padding: 0;

    background-color: var(--color-1);
    border: 3px solid var(--color-1);
    color: var(--light);
    transition: all 0.3s ease;
}

.hero .cta-button:hover {
    background-color: transparent !important;
    color: var(--color-1) !important;
    transform: translateY(-2px);
    backdrop-filter: blur(20px);
}

.hero .cta-button span {
    color: inherit;
}

.hero .cta-button svg,
.hero .cta-button svg path {
    color: inherit;
    fill: currentColor !important;
    width: 24px !important;
    height: 24px !important;

    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hero .cta-button:hover svg {
    transform: scale(1.1);
}

/* Secondary hero CTA button (transparent/outline style) */
.secundary-cta-button {
    z-index: 2;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 52px;
    gap: 10px;

    color: var(--light);
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    font-size: 20.5px;
    background-color: rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(10px);
}

.secundary-cta-button:hover {
    background-color: var(--light) !important;
    color: var(--color-2) !important;
    transform: translateY(-2px);
}

.secundary-cta-button svg,
.secundary-cta-button svg path {
    color: inherit;
    fill: currentColor !important;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.secundary-cta-button span {
    color: inherit;
}

.secundary-cta-button:hover svg {
    transform: scale(1.1);
}
