/* ==========================================================================
   Slider for project cards
   ========================================================================== */

.project__gallery__slider {
    background: var(--black);
    overflow: hidden;
}

.project__scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
 
    /* Hide scrollbar visually but keep it functional */
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE/Edge */
}
 
.project__scroller::-webkit-scrollbar {
    display: none;               /* Chrome/Safari */
}


/* ==========================================================================
   Project cards
   Used inside the horizontal scroller (scroll mechanics handled elsewhere).
   Each card: photo + a plain rectangle location tag (top-left) + an
   angled black label bar (bottom) carrying the project title.
   ========================================================================== */

.project__card {
    position: relative;
    flex: 0 0 auto;
    scroll-snap-align: start;
    height: 400px;
    overflow: hidden;
}

.project__image {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
}

/* ---- Location tag: plain rectangle, top-left ---- */

.project__location {
    position: absolute;
    top: 20px;
    left: 20px;

    background: #151515;
    color: #ffffff;
    padding: 6px 14px;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.project__label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    background: #151515;
    clip-path: var(--notch-clip-top);

    padding: 28px 24px 18px;
    box-sizing: border-box;
}

.project__title {
    margin: 0;
    color: #ffffff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
}
