/* Modern full-bleed premium slideshow styling */
.nec-hero-wrapper-e8789b3a {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 650px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    background-color: #111;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body.admin-bar .nec-hero-wrapper-e8789b3a {
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .nec-hero-wrapper-e8789b3a {
        height: calc(100vh - 46px);
    }
}

.nec-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.nec-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.50, 1), visibility 1.2s;
    z-index: 1;
}

.nec-slide-item.nec-slide-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background image & Ken Burns zoom animation */
.nec-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 7s ease-out;
}

.nec-slide-active .nec-slide-bg {
    transform: scale(1.15);
}

/* Subtle Dark Overlay to ensure absolute readability */
.nec-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.6) 50%, rgba(17, 24, 39, 0.4) 100%);
    z-index: 1;
}

/* Full screen interior positioning */
.nec-slide-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
    box-sizing: border-box;
    z-index: 2;
}

.nec-slide-content {
    max-width: 800px;
    text-align: left;
}

/* Elegant badges & subtitles */
.nec-slide-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #E5E7EB;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.50, 1) 0.3s;
}

.nec-accent-badge {
    display: block;
    width: 8px;
    height: 8px;
    background-color: #D32F2F;
    border-radius: 50%;
}

.nec-slide-active .nec-slide-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* Headings & Typography */
.nec-slide-title {
    color: #FFF;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 24px 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.50, 1) 0.5s;
}

.nec-slide-active .nec-slide-title {
    opacity: 1;
    transform: translateY(0);
}

.nec-slide-desc {
    color: #D1D5DB;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.6;
    margin: 0 0 40px 0;
    max-width: 650px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.50, 1) 0.7s;
}

.nec-slide-active .nec-slide-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism Actions Buttons */
.nec-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.50, 1) 0.9s;
}

.nec-slide-active .nec-slide-actions {
    opacity: 1;
    transform: translateY(0);
}

.nec-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.50, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.nec-btn-primary {
    background-color: #D32F2F;
    color: #FFF;
    border: 2px solid #D32F2F;
}

.nec-btn-primary:hover {
    background-color: #B71C1C;
    border-color: #B71C1C;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

.nec-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #FFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.nec-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Custom Navigation/Pagination Dots */
.nec-slider-pagination {
    position: absolute;
    bottom: 50px;
    right: 10%;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.nec-pagination-dot {
    width: 32px;
    height: 4px;
    border: none;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
}

.nec-pagination-dot.nec-dot-active {
    background-color: #FFF;
    width: 64px;
}

/* Floating Ambient Accent Shapes */
.nec-accent-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 2;
    pointer-events: none;
    animation: drift 20s infinite alternate ease-in-out;
}

.nec-shape-1 {
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background-color: #D32F2F;
}

.nec-shape-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background-color: #1F2937;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Elegant Scroll Indicator */
.nec-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nec-scroll-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.nec-scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: #FFF;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite ease-in-out;
}

@keyframes scroll-wheel {
    0% { opacity: 0; transform: translate(-50%, 0); }
    40% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 8px); }
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .nec-slide-inner {
        padding: 0 6%;
    }
    .nec-slider-pagination {
        right: 6%;
        bottom: 30px;
    }
    .nec-scroll-indicator {
        display: none;
    }
}
