/* Carousel Styles */
.carousel {
    background-color: #1a1a1a;
    border: 2px solid rgba(255, 193, 7, 0.2);
}

.carousel-inner {
    border-radius: 8px;
}

.carousel-item {
    transition: transform 0.8s ease-in-out;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 193, 7, 0.9);
    border-radius: 50%;
    padding: 15px;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #ffc107;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(255, 193, 7, 0.5);
}

.carousel-indicators {
    margin-bottom: 20px;
}

.carousel-indicators button {
    background-color: rgba(255, 193, 7, 0.5);
    border: 2px solid #ffc107;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #ffc107;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.8);
}

.carousel-indicators button:hover {
    background-color: #ffc107;
    transform: scale(1.1);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
}

.carousel-caption h5 {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.carousel-caption p {
    font-size: 1.1rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-caption h5 {
        font-size: 1.3rem;
    }

    .carousel-caption p {
        font-size: 0.95rem;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 12px;
        width: 40px;
        height: 40px;
    }
}

.bible-tooltip {
    position: fixed;
    background-color: #ffc107;
    color: #1a1a1a;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    max-width: 320px;
    z-index: 99999;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    pointer-events: auto;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    will-change: transform, opacity;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.bible-tooltip.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.tooltip-header {
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 600;
    border-bottom: 2px solid rgba(26, 26, 26, 0.2);
    padding-bottom: 6px;
}

.tooltip-body {
    color: #1a1a1a;
}

.bible-verse {
    cursor: help;
    position: relative;
    border-bottom: 2px dotted #ffc107;
}

.bible-verse:hover {
    opacity: 0.8;
}