/* ==========================================================================
   Synergene Hero Slider Styles
   ========================================================================== */

.syn-hero-slider-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    font-family: inherit;
    border-radius: 0 0 24px 24px; /* Default border radius, can be overridden by Elementor controls */
    overflow: hidden; /* Ensures zooming image doesn't overflow corners */
}

.syn-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* --------------------------------------------------------------------------
   SLIDES
   -------------------------------------------------------------------------- */
.syn-slides-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.syn-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

/* BACKGROUND ELEMENT (no zoom - image stays still) */
.syn-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.syn-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.syn-slide-content-wrap {
    z-index: 10;
    position: relative;
}

.syn-slide-content {
    max-width: 800px;
}

.syn-slide-subtitle {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.syn-slide-title {
    color: #fff;
    font-size: 64px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 40px 0;
}

.syn-slide-btn {
    display: inline-block;
    background-color: #1a3c8a;
    color: #fff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.syn-slide-btn:hover {
    background-color: #122a61;
    color: #fff;
}


/* --------------------------------------------------------------------------
   SLIDER NAVIGATION
   -------------------------------------------------------------------------- */
.syn-slider-nav-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
}

.syn-slider-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Arrow buttons */
.syn-nav-prev,
.syn-nav-next {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    transition: color 0.3s ease;
    user-select: none;
    flex-shrink: 0;
}

.syn-nav-prev:hover,
.syn-nav-next:hover {
    color: rgba(255,255,255,0.6);
}

/* Dots / dash indicators */
.syn-nav-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.syn-nav-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.syn-nav-dot.active {
    background-color: #2ecc71;
    width: 40px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .syn-slide-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .syn-slide-title {
        font-size: 36px;
    }
    .syn-slide-subtitle {
        font-size: 12px;
    }
    .syn-slider-nav-container {
        bottom: 20px;
    }
}
