﻿/* ===== Theme classes (LeftSideBackgroundTheme) ===== */
.hero-theme--blue .hero-left {
    background: linear-gradient(90deg, rgba(29,78,216,.92), rgba(29,78,216,.80) 45%, rgba(29,78,216,.15));
}

.hero-theme--green .hero-left {
    background: linear-gradient(90deg, rgba(5,150,105,.90), rgba(16,185,129,.68) 45%, rgba(16,185,129,.12));
}

.hero-theme--dark .hero-left {
    background: linear-gradient(90deg, rgba(15,23,42,.92), rgba(2,6,23,.78) 45%, rgba(2,6,23,.14));
}

.hero-theme--navy .hero-left {
    background: linear-gradient(90deg, rgba(15,42,68,.94), rgba(15,42,68,.80) 45%, rgba(15,42,68,.18));
}

.hero-theme--purple .hero-left {
    background: linear-gradient(90deg, rgba(88,28,135,.92), rgba(88,28,135,.76) 45%, rgba(88,28,135,.16));
}


/* Ensure slider layers are correct */
.hero-slider {
    position: relative;
}

.hero-left-inner{
    margin-left:10%;
}
/* Nav must be ABOVE slides/images */
.hero-nav {
    position: absolute;
    inset: 0;
    z-index: 10; /* <-- critical: ensures BOTH arrows show */
    pointer-events: none;
}

/* Ensure arrows are visible and clickable */
.hero-arrow {
    pointer-events: auto;
    z-index: 11; /* <-- above nav */
    display: flex; /* <-- prevents “missing” arrow due to layout quirks */
    align-items: center;
    justify-content: center;
}

/* Right-side image overlay must not cover nav */
.hero-right::after {
    z-index: 2; /* keep it below nav/arrows */
}

.hero-right {
    position: relative;
    z-index: 1; /* keep image area below nav */
}

.hero-bg {
    z-index: 1;
}

/* --- Fix: left content covered by left arrow --- */
.hero-left {
    /* Reserve space so the arrow doesn't overlap text */
    padding-left: clamp(1.1rem, 3vw, 4.4rem);
    padding-right: 2.2rem;
    position: relative;
    z-index: 2; /* keep text above backgrounds */
}

/* Move arrows slightly outward but still inside hero */
.hero-arrow.left {
    left: 18px;
}

.hero-arrow.right {
    right: 18px;
}

/* If your arrow size is large, add more left padding */
@media (min-width: 901px) {
    .hero-left {
        padding-left: 5.2rem; /* room for 56–60px arrow + breathing space */
    }
}


/* Arrows */
/*.hero-arrow {
    background: #ffffff !important;
    color: #111827 !important;
    border: none !important;
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(255, 255, 255, 0.45);
    opacity: 1 !important;
}

    .hero-arrow:hover {
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.55);
    }

    .hero-arrow.left {
        left: 20px;
    }

    .hero-arrow.right {
        right: 20px;
    }*/

/* Dots container */
.hero-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    gap: 10px;
}

/* Individual dots */
.hero-dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.55);
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

    /* Active dot */
    .hero-dot.active {
        background: #ffffff;
        transform: scale(1.3);
    }

/* Improve visibility on small screens */
@media (max-width: 520px) {
    .hero-arrow {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }

    .hero-dot {
        width: 12px;
        height: 12px;
    }
}

/* Mobile hero: full-image slide with bottom text overlay */
@media (max-width: 900px) {
    .hero-slide {
        grid-template-columns: 1fr;
    }

    .hero-right {
        display: block;
        grid-column: 1;
        grid-row: 1;
        min-height: 0;
        height: 100%;
    }

    .hero-right::after {
        background: linear-gradient(180deg, rgba(2,6,23,.08) 0%, rgba(2,6,23,.72) 70%, rgba(2,6,23,.92) 100%);
    }

    .hero-left {
        grid-column: 1;
        grid-row: 1;
        align-self: end;
        width: 100%;
        margin: 0;
        padding: 1rem 1rem 1.1rem;
        background: linear-gradient(180deg, rgba(2,6,23,0) 0%, rgba(2,6,23,.62) 58%, rgba(2,6,23,.86) 100%);
        z-index: 3;
    }

    .hero-left-inner {
        margin-left: 0;
    }

    .hero-left > * {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-left h2 {
        font-size: clamp(1.45rem, 6vw, 2rem);
        max-width: 100%;
        line-height: 1.1;
    }

    .hero-left p {
        font-size: .9rem;
        max-width: 100%;
    }

    .hero-cta-row {
        gap: .45rem;
    }

    .hero-btn {
        padding: .5rem .8rem;
        font-size: .82rem;
    }
}
