/* ========================================
   BLEEVO GALLERY STYLES
   ======================================== */

/* Gallery Wrapper */
.bleevo-gallery-wrapper {
    padding: 0 0 120px;
    background-color: #1f2024;
    /* background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%); */
    min-height: 100vh;
}

.bleevo-gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   GALLERY TABS
   ======================================== */
.bleevo-gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.bleevo-tab-btn {
    position: relative;
    padding: 2px 48px !important;
    font-size: 18px;
    font-weight: 600;
    color: #888;
    background: transparent !important;
    border: 2px solid #94D228 !important;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1;
}

.bleevo-tab-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #94D228;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.bleevo-tab-btn:hover {
    color: #fff;
    border-color: #94D228;
    transform: translateY(-2px);
}

.bleevo-tab-btn:hover::before {
    width: 300px;
    height: 300px;
}

.bleevo-tab-btn.bleevo-active {
    color: #fff;
    border-color: #94D228;
    background: #94D228;
}

.bleevo-tab-btn.bleevo-active::before {
    width: 100%;
    height: 100%;
    border-radius: 50px;
}

.bleevo-tab-btn span {
    position: relative;
    z-index: 1;
}

/* ========================================
   TAB CONTENT
   ======================================== */
.bleevo-tab-content {
    display: none;
    animation: bleevoFadeIn 0.5s ease;
}

.bleevo-tab-content.bleevo-active {
    display: block;
}

@keyframes bleevoFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   GALLERY GRID
   ======================================== */
.bleevo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Gallery Item */
.bleevo-gallery-item {
    background: #1e1e1e;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    cursor: pointer;
}

.bleevo-gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(148, 210, 40, 0.2);
}

/* Item Image Container */
.bleevo-item-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.bleevo-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bleevo-gallery-item:hover .bleevo-item-image img {
    transform: scale(1.1);
}

/* Video Thumbnail Specific */
.bleevo-video-thumb {
    position: relative;
}

.bleevo-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.bleevo-gallery-item:hover .bleevo-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

/* Overlay */
.bleevo-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bleevo-gallery-item:hover .bleevo-item-overlay {
    opacity: 1;
}

/* View Button */
.bleevo-view-btn {
    width: 55px !important;
    height: 55px !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bleevo-gallery-item:hover .bleevo-view-btn {
    transform: scale(1);
    opacity: 1;
        padding: 0;
    display: flex;
}

.bleevo-view-btn:hover {
    background: #94D228;
    transform: scale(1.1);
}

.bleevo-view-btn:hover svg {
    stroke: #fff;
}

.bleevo-view-btn svg {
    transition: stroke 0.3s ease;
    stroke: #000;
}

/* Item Info */
.bleevo-item-info {
    padding: 24px;
}

.bleevo-item-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.3;
}

.bleevo-item-desc {
    font-size: 15px;
    color: #aaa;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   LIGHTBOX MODAL
   ======================================== */
.bleevo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.bleevo-lightbox.bleevo-lightbox-active {
    display: flex;
}

/* Lightbox Overlay */
.bleevo-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1f2024;
    backdrop-filter: blur(10px);
    animation: bleevoLightboxFadeIn 0.3s ease;
}

@keyframes bleevoLightboxFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Lightbox Content */
.bleevo-lightbox-content {
    position: relative;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    z-index: 2;
    animation: bleevoLightboxSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes bleevoLightboxSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Button */
.bleevo-lightbox-close {
    position: fixed !important;
    top: 30px;
    /* right: 30px; */
    width: 55px;
    height: 55px !important;
    padding: 0 !important;
    border-radius: 50%;
    background:#94D228 !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100000;
}

.bleevo-lightbox-close:hover {
    background: #94D228;
    border-color: #94D228;
    transform: rotate(90deg);
}

.bleevo-lightbox-close svg {
    stroke: #000;
    transition: stroke 0.3s ease;
}

.bleevo-lightbox-close:hover svg {
    stroke: #fff;
}

/* Main Media Container */
.bleevo-lightbox-main {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Navigation Buttons */
.bleevo-lightbox-prev,
.bleevo-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px !important;
    height: 55px !important;
    padding: 0 !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
}

.bleevo-lightbox-prev {
    left: 20px;
}

.bleevo-lightbox-next {
    right: 20px;
}

.bleevo-lightbox-prev:hover,
.bleevo-lightbox-next:hover {
    background: #94D228 !important;
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

.bleevo-lightbox-prev svg,
.bleevo-lightbox-next svg {
    stroke: #1f2024;
}

/* Media Display */
.bleevo-lightbox-media {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.bleevo-lightbox-media img {
    max-width: 100%;
    max-height: calc(90vh - 200px);
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.bleevo-lightbox-media.bleevo-zoomed img {
    cursor: zoom-out;
}

.bleevo-lightbox-media iframe {
    width: 100%;
    max-width: 1200px;
    height: calc(90vh - 200px);
    max-height: 700px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

/* Lightbox Info */
.bleevo-lightbox-info {
    text-align: center;
    padding: 0 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.bleevo-lightbox-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}

.bleevo-lightbox-desc {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

/* Control Buttons */
.bleevo-lightbox-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.bleevo-control-btn {
    width: 55px !important;
    height: 55px !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    display: flex !important;
    padding: 0 !important;
}

.bleevo-control-btn:hover {
    background: #94D228;
    border-color: transparent;
    transform: scale(1.1);
}

.bleevo-control-btn svg {
    stroke: #000;
    transition: stroke 0.3s ease;
}

.bleevo-control-btn:hover svg {
    stroke: #fff;
}

.bleevo-control-btn.bleevo-active {
    background: #94D228;
    border-color: transparent;
}

.bleevo-control-btn.bleevo-active svg {
    stroke: #fff;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media screen and (max-width: 1200px) {
    .bleevo-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .bleevo-gallery-wrapper {
        padding: 60px 0 80px;
    }

    .bleevo-gallery-container {
        padding: 0 15px;
    }

    .bleevo-gallery-tabs {
        gap: 15px;
        margin-bottom: 40px;
    }

    .bleevo-tab-btn {
        padding: 14px 36px;
        font-size: 16px;
    }

    .bleevo-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bleevo-item-image {
        height: 250px;
    }

    .bleevo-item-info {
        padding: 20px;
    }

    .bleevo-item-title {
        font-size: 20px;
    }

    .bleevo-item-desc {
        font-size: 14px;
    }

    .bleevo-lightbox-content {
        width: 100%;
        height: 100vh;
    }

    .bleevo-lightbox-prev,
    .bleevo-lightbox-next {
        width: 45px;
        height: 45px;
    }

    .bleevo-lightbox-prev {
        left: 10px;
    }

    .bleevo-lightbox-next {
        right: 10px;
    }

    .bleevo-lightbox-close {
        top: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .bleevo-lightbox-info {
        padding: 0 20px 20px;
    }

    .bleevo-lightbox-title {
        font-size: 22px;
    }

    .bleevo-lightbox-desc {
        font-size: 14px;
    }

    .bleevo-lightbox-media img {
        max-height: calc(100vh - 300px);
    }

    .bleevo-lightbox-media iframe {
        height: calc(100vh - 300px);
        max-height: none;
    }

    .bleevo-control-btn {
        width: 45px;
        height: 45px;
    }

    .bleevo-lightbox-controls {
        gap: 10px;
        padding: 15px 0;
    }
}

@media screen and (max-width: 480px) {
    .bleevo-tab-btn {
        padding: 12px 28px;
        font-size: 15px;
    }

    .bleevo-item-image {
        height: 220px;
    }

    .bleevo-view-btn {
        width: 50px;
        height: 50px;
    }

    .bleevo-play-icon svg {
        width: 50px;
        height: 50px;
    }
}

/* ========================================
   LOADING STATES
   ======================================== */
.bleevo-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #94D228;
    border-radius: 50%;
    animation: bleevoSpin 0.8s linear infinite;
}

@keyframes bleevoSpin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ========================================
   SMOOTH SCROLLBAR
   ======================================== */
.bleevo-gallery-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #94D228 #1a1a1a;
}

.bleevo-gallery-wrapper::-webkit-scrollbar {
    width: 8px;
}

.bleevo-gallery-wrapper::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.bleevo-gallery-wrapper::-webkit-scrollbar-thumb {
    background: #94D228;
    border-radius: 10px;
}

.bleevo-gallery-wrapper::-webkit-scrollbar-thumb:hover {
    background: #7fb820;
}