/* ============================================================
   Overconda Lab – Shared Styles
   Logo, Screenshot Gallery, and common utilities
   ============================================================ */

/* ----------------------------------------------------------
   Logo
   ---------------------------------------------------------- */
.overconda-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.overconda-logo img {
    display: block;
    height: 2.5rem;   /* 40px – matches h-10 */
    width: auto;
}

@media (min-width: 768px) {
    .overconda-logo img {
        height: 2.5rem;
    }
}

/* ----------------------------------------------------------
   Screenshot Gallery – Carousel (prev / next)
   ---------------------------------------------------------- */
.screenshot-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.6);
}

.screenshot-carousel .carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.screenshot-carousel .carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
}

.screenshot-carousel .carousel-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: rgba(2, 6, 23, 0.8);
}

/* Prev / Next buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(51, 65, 85, 0.6);
    background: rgba(15, 23, 42, 0.8);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    backdrop-filter: blur(4px);
    font-size: 1.25rem;
    line-height: 1;
    user-select: none;
}

.carousel-btn:hover {
    background: rgba(30, 41, 59, 0.9);
    color: #22d3ee;
    border-color: rgba(34, 211, 238, 0.5);
}

.carousel-btn-prev {
    left: 0.75rem;
}

.carousel-btn-next {
    right: 0.75rem;
}

/* Dot indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0 0;
}

.carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(51, 65, 85, 0.6);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    padding: 0;
}

.carousel-dot.active {
    background: #22d3ee;
    border-color: #22d3ee;
}

.carousel-dot:hover {
    border-color: rgba(34, 211, 238, 0.5);
}
