/* =========================================================
   VENTURES PAGE
========================================================= */
.ventures-main {
    padding-bottom: 4rem;
}
.hero-ventures {
    max-width: 1180px;
    margin: 0 auto 2rem;
    padding: 4rem 1.5rem 2rem;
    text-align: center;
}
.hero-ventures h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    color: #0b1324;
    margin-bottom: 1rem;
}
.hero-ventures .hero-subtitle {
    margin: 0 auto;
    text-align: center;
}
.ventures-showcase {
    max-width: 1180px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
    --v-gap: 1.25rem;
    --v-speed: 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --v-closed: 5rem;
    --v-open: 32rem;
    --v-accent: #f0964b;
}
.ventures-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    padding-bottom: 1rem;
}
.ventures-controls {
    display: flex;
    gap: 0.5rem;
}
.nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: rgba(6, 13, 28, 0.15);
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}
.nav-btn:hover:not(:disabled) {
    background: var(--v-accent);
}
.nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}
.ventures-slider {
    position: relative;
    overflow: hidden;
}
.nav-btn-prev,
.nav-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}
.nav-btn-prev {
    left: -1.5rem;
}
.nav-btn-next {
    right: -1.5rem;
}
.ventures-track {
    display: flex;
    gap: var(--v-gap);
    align-items: flex-start;
    justify-content: center;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 40px;
}
.ventures-track::-webkit-scrollbar {
    display: none;
}
.project-card {
    position: relative;
    flex: 0 0 var(--v-closed);
    height: 26rem;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition:
        flex-basis var(--v-speed),
        transform var(--v-speed);
    box-shadow: 0 12px 30px rgba(6, 13, 28, 0.2);
}
.project-card[active] {
    flex-basis: var(--v-open);
    transform: translateY(-6px);
    box-shadow: 0 18px 55px rgba(6, 13, 28, 0.35);
}
.project-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75) saturate(75%);
    transition:
        filter 0.3s,
        transform var(--v-speed);
}
.project-card:hover .project-card__bg {
    filter: brightness(0.9) saturate(100%);
    transform: scale(1.06);
}
.project-card__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    padding: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.85) 100%);
    color: #fff;
    z-index: 2;
}
.project-card__title {
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}
.project-card__thumb,
.project-card__desc,
.project-card__btn,
.project-card__label {
    display: none;
}
.project-card[active] .project-card__content {
    flex-direction: row;
    align-items: center;
    padding: 1.2rem 2rem;
    gap: 1.1rem;
}
.project-card[active] .project-card__title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 2.4rem;
}
.project-card[active] .project-card__thumb,
.project-card[active] .project-card__desc,
.project-card[active] .project-card__btn,
.project-card[active] .project-card__label {
    display: block;
}
.project-card__thumb {
    width: 133px;
    height: 269px;
    border-radius: 0.45rem;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.project-card__label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
}
.project-card__desc {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.4;
    max-width: 16rem;
}
.project-card__btn {
    padding: 0.55rem 1.3rem;
    border: none;
    border-radius: 9999px;
    background: var(--v-accent);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.project-card__btn:hover {
    background: #ff824f;
}
.dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 20px 0;
}
.dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(6, 13, 28, 0.25);
    cursor: pointer;
    transition: 0.3s;
}
.dot.active {
    background: var(--v-accent);
    transform: scale(1.2);
}
@media (max-width: 767px) {
    .ventures-showcase {
        --v-closed: 100%;
        --v-open: 100%;
        --v-gap: 0.8rem;
    }
    .ventures-track {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        scroll-snap-type: y mandatory;
        padding-bottom: 0;
    }
    .project-card {
        height: auto;
        min-height: 80px;
        flex: 0 0 auto;
        width: 100%;
        scroll-snap-align: start;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    .project-card[active] {
        min-height: 300px;
        transform: none;
    }
    .project-card__content {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1rem;
        gap: 1rem;
    }
    .project-card__title {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 1.2rem;
        margin-right: auto;
    }
    .project-card__thumb,
    .project-card__desc,
    .project-card__btn,
    .project-card__label {
        display: none;
    }
    .project-card[active] .project-card__content {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.5rem;
    }
    .project-card[active] .project-card__title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    .project-card[active] .project-card__desc {
        display: block;
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    .project-card[active] .project-card__btn {
        display: inline-flex;
        align-self: center;
        width: 100%;
        justify-content: center;
    }
    .dots {
        display: none;
    }
}
