/* Hero Carousel Custom Styles */

/* Hero title overlay - positioned at top-left of carousel */
.hero-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 1.5rem 2rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
}

.hero-main-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

/* Carousel caption container */
.carousel-caption {
    bottom: 20%;
    text-align: center;
}

/* Hero title - white color with text shadow for readability */
.carousel-caption .hero-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.5rem;
}

/* Hero subtitle - white color */
.carousel-caption .hero-subtitle {
    color: #ffffff;
    font-size: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
}

/* Hero CTA button */
.carousel-caption .hero-cta-link {
    background-color: #007bff;
    border-color: #007bff;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 0.375rem;
    text-shadow: none;
    transition: background-color 0.3s ease;
}

.carousel-caption .hero-cta-link:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #ffffff;
}

/* Fallback for CTA text without link */
.carousel-caption .hero-cta {
    color: #ffffff;
    font-size: 1.1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title-overlay {
        padding: 1rem;
    }

    .hero-main-title {
        font-size: 1.5rem;
    }

    .carousel-caption .hero-title {
        font-size: 2rem;
    }

    .carousel-caption .hero-subtitle {
        font-size: 1rem;
    }

    .carousel-caption .hero-cta-link,
    .carousel-caption .hero-cta {
        font-size: 0.9rem;
    }
}
