/* EK Construction: Hero Section Styles (Modular) */

/* .hero-title, */
/* .home-hero h1 { */
/*     color: #e28906; */
/*     font-family: "Barlow", "Lato", "Playfair Display", Arial, sans-serif; */
/*     font-size: 3.5rem; */
/*     text-transform: uppercase; */
/*     letter-spacing: 2px; */
/*     font-weight: 600; */
/* } */

/* @media (max-width: 1024px) { */
/*     .hero-title, */
/*     .home-hero h1 { */
/*         font-size: 2.4rem; */
/*     } */
/* } */

/* @media (max-width: 767px) { */
/*     .hero-title, */
/*     .home-hero h1 { */
/*         font-size: 1.6rem; */
/*     } */
/* } */

.ek-image-overlay {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 2em;
    overflow: hidden;
}

.ek-image-overlay img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay-text {
    position: absolute;
    bottom: 8%;
    left: 5%;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    font-family: "Barlow", sans-serif;
}

.overlay-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5em 0;
}

.overlay-text p {
    font-size: 1.1rem;
    margin: 0;
}

/* Optional: Adjust text size for mobile */
@media (max-width: 767px) {
    .overlay-text h2 {
        font-size: 1.4rem;
    }

    .overlay-text p {
        font-size: 0.95rem;
    }
}
