/* styles/banner.css */

.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 300px;
    object-fit: contain;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
}

.banner-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #f26b38;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .banner-text h1 {
        font-size: 1.5rem;
    }

    .banner-text p {
        font-size: 1rem;
    }

    .banner-cta {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .banner-text h1 {
        font-size: 1.2rem;
    }

    .banner-text p {
        font-size: 0.9rem;
    }
}
