/* ============================================
   GO BANANAS HERO SLIDER - Frontend Styles
   ============================================ */

.gb-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1a1a1a;
    max-width: 100%;
    box-sizing: border-box;
}

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

/* ============ SLIDES ============ */
.gb-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s ease;
}

.gb-slide.gb-slide-active {
    opacity: 1;
    z-index: 2;
}

/* ============ BACKGROUND ============ */
.gb-slide-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease;
    will-change: transform;
}

.gb-slide.gb-slide-active .gb-slide-bg {
    transform: scale(1);
}

/* ============ OVERLAY ============ */
.gb-slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
}

/* ============ CONTENT ============ */
.gb-slide-content {
    position: absolute;
    z-index: 3;
    width: 90%;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ============ TEXT ELEMENTS ============ */
.gb-slide-subtitle {
    display: block;
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1.4;
}

.gb-slide-title {
    margin: 0 0 16px;
    padding: 0;
    line-height: 1.15;
    word-break: break-word;
}

.gb-slide-desc {
    margin-bottom: 24px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============ BUTTON ============ */
.gb-slide-btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.gb-slide-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* ============ ANIMATION ELEMENTS ============ */
.gb-anim-el {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Default: bottom to top */
.gb-slide[data-animation="bottom-to-top"] .gb-anim-el {
    transform: translateY(50px);
}
.gb-slide[data-animation="top-to-bottom"] .gb-anim-el {
    transform: translateY(-50px);
}
.gb-slide[data-animation="left-to-right"] .gb-anim-el {
    transform: translateX(-60px);
}
.gb-slide[data-animation="right-to-left"] .gb-anim-el {
    transform: translateX(60px);
}
.gb-slide[data-animation="fade"] .gb-anim-el {
    transform: none;
}
.gb-slide[data-animation="zoom-in"] .gb-anim-el {
    transform: scale(0.8);
}

/* Active state - animate in */
.gb-slide.gb-slide-active .gb-anim-el {
    opacity: 1;
    transform: none !important;
}

/* ============ ARROWS ============ */
.gb-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    width: 50px;
    height: 50px;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease;
    padding: 0;
}

.gb-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255,255,255,0.7);
}

.gb-prev { left: 20px; }
.gb-next { right: 20px; }

/* ============ DOTS ============ */
.gb-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

.gb-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.gb-dot:hover,
.gb-dot.gb-dot-active {
    background: #fff;
    transform: scale(1.3);
}

/* ============ EMPTY STATE ============ */
.gb-slider-empty {
    padding: 40px;
    text-align: center;
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 8px;
    color: #666;
    font-size: 16px;
}

.gb-slider-empty a {
    color: #0073aa;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .gb-slider-wrapper {
        height: 500px !important;
    }
}

@media (max-width: 768px) {
    .gb-slider-wrapper {
        height: 400px !important;
    }

    .gb-slide-title {
        font-size: clamp(24px, 6vw, 48px) !important;
    }

    .gb-slide-subtitle {
        font-size: clamp(11px, 2.5vw, 14px) !important;
    }

    .gb-slide-desc {
        font-size: clamp(13px, 3vw, 16px) !important;
    }

    .gb-slide-content {
        width: 95%;
        padding: 0 15px;
    }

    .gb-slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .gb-prev { left: 10px; }
    .gb-next { right: 10px; }
}

@media (max-width: 480px) {
    .gb-slider-wrapper {
        height: 300px !important;
    }

    .gb-slide-title {
        font-size: clamp(20px, 7vw, 36px) !important;
        margin-bottom: 10px;
    }

    .gb-slide-subtitle {
        font-size: 11px !important;
        margin-bottom: 8px;
    }

    .gb-slide-desc {
        display: none;
    }

    .gb-slide-btn {
        padding: 10px 22px;
        font-size: 13px;
    }
}
