/* ================================================================
   carousel-fade.css
   Fade transition carousel — isolated from carousel.css
   Use this on pages that need the fade effect (e.g. kasilakan.htm)
   ================================================================ */

/* ── Track: stacks slides on top of each other ── */
.carousel-track {
    position: relative;
    height: 0;
    padding-bottom: 55%; /* matches 1200x660 image dimensions */
    list-style: none;
    margin: 0;
    padding-left: 0;
    overflow: hidden;
}

/* ── Each slide: hidden by default ── */
.carousel-track li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
}

/* ── Active slide: visible ── */
.carousel-track li.active {
    opacity: 1;
    z-index: 1;
}

/* ── Images fill the slide ── */
.carousel-track li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Carousel wrapper ── */
.carousel-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* ── Prev / Next buttons ── */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-size: 28px;
    cursor: pointer;
    border-radius: 3px;
    line-height: 1;
    transition: background 0.2s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* ── Dot indicators ── */
.carousel-dots {
    text-align: center;
    padding: 8px 0 4px;
}

.carousel-dots button {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.carousel-dots button.active {
    background: #005c99; /* DLSU-D blue — adjust to match your brand */
}