﻿.chaaya-slider {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background-color: #111;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.chaaya-slider-track {
    position: relative;
    height: 100%;
}

.chaaya-slider-item {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.chaaya-slider-item.is-active {
    opacity: 1;
}

.chaaya-slider-overlay {
    position: absolute;
    inset: 0;
    padding: 32px;
    background: linear-gradient(180deg, rgba(15, 37, 65, 0.9) 0%, rgba(15, 37, 65, 0.35) 60%, rgba(15, 37, 65, 0.8) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
}

.chaaya-slider-overlay h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2vw, 2.4rem);
    font-weight: 700;
}

.chaaya-slider-overlay p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.chaaya-slider-cta {
    align-self: flex-start;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--chaaya-green, #0f6b38);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.chaaya-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.chaaya-slider-nav--prev {
    left: 14px;
}

.chaaya-slider-nav--next {
    right: 14px;
}

.chaaya-slider-nav:hover {
    background: rgba(15, 37, 65, 0.85);
    transform: translateY(-50%) scale(1.05);
}

.chaaya-slider-empty {
    padding: 60px;
    text-align: center;
    border: 1px dashed #d0d0d0;
    border-radius: 12px;
    background: #fafafa;
}

@media (max-width: 768px) {
    .chaaya-slider-overlay {
        padding: 20px;
    }

    .chaaya-slider-cta {
        font-size: 0.85rem;
    }
}
