/* ========== DNHS Carousel Styles ========== */

:root {
    --primary-color: #C4206E;
    --text-color: #ffffff;
    --overlay-opacity: 0.45;
}

.dnhs-carousel-wrapper {
    position: relative;
    width: 100%;
    background: #f5f5f5;
}

.dnhs-carousel {
    position: relative;
    width: 100% !important;
    height: 550px !important;
    overflow: hidden !important;
    background: #f5f5f5;
}

/* Reset WordPress admin styles that might interfere */
.dnhs-carousel * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.dnhs-carousel .carousel-track,
.dnhs-carousel .carousel-slide {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.carousel-track {
    display: flex !important;
    height: 100% !important;
    width: 100% !important;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    flex-wrap: nowrap !important;
}

.carousel-slide {
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    position: relative;
    display: flex !important;
    align-items: center;
    flex-shrink: 0 !important;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0,0,0,var(--overlay-opacity)) 0%, rgba(0,0,0,calc(var(--overlay-opacity) * 0.67)) 40%, transparent 70%);
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 4rem 6%;
    max-width: 700px;
}

.slide-category {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.slide-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.slide-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 550px;
    opacity: 0.95;
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: var(--text-color);
    color: var(--primary-color);
    border: 1px solid var(--text-color);
}

.carousel-controls {
    position: absolute;
    bottom: 2rem;
    left: 6%;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.nav-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: white;
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    right: 6%;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    width: 28px;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .dnhs-carousel {
        height: 500px;
    }

    .slide-title {
        font-size: 40px;
    }

    .slide-description {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .dnhs-carousel {
        height: 450px;
    }

    .slide-content {
        padding: 2.5rem 4%;
        max-width: 100%;
    }

    .slide-title {
        font-size: 32px;
    }

    .slide-description {
        font-size: 13px;
        margin-bottom: 1.5rem;
    }

    .slide-buttons {
        gap: 0.75rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .dnhs-carousel {
        height: 380px;
    }

    .slide-content {
        padding: 1.75rem 3%;
    }

    .slide-category {
        font-size: 11px;
    }

    .slide-title {
        font-size: 24px;
        margin-bottom: 0.75rem;
    }

    .slide-description {
        font-size: 12px;
        margin-bottom: 1rem;
    }

    .slide-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .carousel-controls {
        bottom: 1.5rem;
        left: 4%;
    }

    .carousel-dots {
        bottom: 1.5rem;
        right: 4%;
    }
}
