/* =========================================
   HURDLER — FULLSCREEN SLIDER SECTIONS
   Each slider section = vertical page
   Each slide inside = 100vh horizontal panel
========================================= */

/* Slider section shell (one per vertical “page”) */
.hs-section.hs-slider {
    position: relative;       /* REQUIRED so arrows anchor correctly */
	height: calc(var(--vh) * 100);
	min-height: calc(var(--vh) * 100);
    width: 100%;              /* also required to avoid misalignment */
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Track: horizontal strip of full-screen slides */
.hs-slider-track {
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;

    scroll-snap-type: x mandatory; /* snap horizontally per slide */

    scrollbar-width: none;         /* Firefox – hide scrollbar */
}

.hs-slider-track::-webkit-scrollbar {
    display: none;                 /* Chrome / Safari – hide scrollbar */
}

/* Individual slide: 100% viewport width & height */
.hs-slide {
    position: relative;
    flex: 0 0 100%;                /* exactly one slide per viewport width */
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
    scroll-snap-align: start;
}

/* Background layer for each slide */
.hs-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;        /* ADD THIS LINE */
    z-index: 1;
}


/* Foreground content layer */
.hs-slide-content {
    position: relative;
    z-index: 2;

    height: 100%;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 140px 60px 60px 60px; /* room for header + framing */
    color: #ffffff;
}

/* Example typography in slides (uses your global vars) */
.hs-slide-content h2 {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    margin: 0 0 12px 0;
}

.hs-slide-content p {
    font-family: var(--font-body);
    font-size: var(--fs-md);
    max-width: 560px;
    margin: 0;
}

/* Optional button base – tweak as you like */
.hs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 10px 24px;
    border-radius: 999px;
    border: 1px solid #ffffff;
    background: rgba(0,0,0,0.35);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    text-decoration: none;
}

/* =========================================
   ARROWS — use your custom PNGs
========================================= */

.hs-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 24px;
    height: 24px;
    border: none;
    padding: 0;

    background-color: transparent;  /* remove circle */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;     /* full image size */

    cursor: pointer;
}

.hs-slider-arrow--prev {
    background-image: url('https://dev.hurdlerstudios.com/wp-content/uploads/2025/12/ArrowLeft.png');
    left: 40px;
}

.hs-slider-arrow--next {
    background-image: url('https://dev.hurdlerstudios.com/wp-content/uploads/2025/12/arrowRight.png');
    right: 40px;
}

.hs-section.hs-slider {
    position: relative !important;
}
