/* ===========================
   HERO SECTION - CUBE CSS
   =========================== */

/* COMPOSITION */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

/* BLOCK - Image */
.hero-image {
    position: absolute;
    inset: 0;
    z-index: var(--z-base);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BLOCK - Hero content */
.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    color: rgb(var(--color-white));
    text-align: center;
    z-index: 2;
    padding: var(--space-lg);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: rgb(var(--color-white));
}

.hero-text {
    font-size: 1.3rem;
    max-width: 600px;
}

.hero-cta {
    margin-top: 30px;
}

/* BLOCK - Quote Overlay */
.hero-quote-overlay {
    position: absolute;
    bottom: 50px;
    right: 50px;
    background: rgba(var(--color-black-rgb), 0.7);
    color: rgb(var(--color-white));
    padding: var(--space-lg);
    width: fit-content;
    max-width: 400px;
    z-index: 5;
    border-left: 4px solid rgb(var(--color-white));
}

.hero-quote-overlay p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
    font-style: italic;
}

.hero-quote-overlay p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    text-align: right;
    font-style: normal;
    font-size: 13px;
}

/* EXCEPTION - Tablet */
@media (max-width: 1024px) {
    .hero {
        min-height: 500px;
    }

    .hero-quote-overlay {
        bottom: 40px;
        right: 40px;
        max-width: 350px;
        padding: var(--space-md);
    }

    .hero-quote-overlay p {
        font-size: 13px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-text {
        font-size: 1.1rem;
        max-width: 520px;
    }

    .hero-cta {
        margin-top: 24px;
    }
}

/* EXCEPTION - Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 400px;
    }

    .hero-quote-overlay {
        display : none;
    }

    .hero-content {
        padding: var(--space-md);
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .hero-text {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-cta {
        margin-top: 20px;
    }

    .hero-cta .btn-secondary {
        font-size: 16px;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 300px;
    }

    .hero-quote-overlay {
        display : none;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .hero-text {
        font-size: 0.9rem;
    }

    .hero-cta {
        margin-top: 16px;
    }
}
