/* ===================================
   Homepage Slider - CSS-First Full-Page Slider
   Adapted for WordPress Theme Integration
   =================================== */

/* ===================================
   Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
}

/* ===================================
   Sidebar Navigation (Fixed Right)
   =================================== */
.sidebar {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar__button {
    background: transparent;
    border: 0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    backdrop-filter: blur(10px);
    font-family: 'Source Code Pro', monospace;
    text-transform: uppercase !important;
}

.sidebar__button:focus {
    outline: none;
}

.sidebar__button:hover {
    border-color: white;
    background: transparent;
    transform: translateX(-1em);
}

.sidebar__button:hover .sidebar__label {
    color: var(--primarybtnbg);
}

.sidebar__button--active {
    background: white;
    border-color: white;
}

.sidebar__button--active:hover {
    background: var(--primarybtnbg);
}

.sidebar__button--active:hover .sidebar__label {
    color: #000;
}

.sidebar__button--active .sidebar__label {
    color: #000;
}

.sidebar__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.3s ease;
    line-height: 1;
}

/* ===================================
   Main Container
   =================================== */
.homepage-slider-container {
    width: 100%;
    z-index: 0;
    overflow-x: hidden;
}

/* ===================================
   Section (Full Page Slides)
   =================================== */
.section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1400px) {
    .homepage-slider-container .section  {
        max-width: calc(100% - 15ch);
    }
    .homepage__content .homepage__row {
        width: 100%;
    }
    .homepage__content .homepage__row .video-background {
        width: 100vw;
        max-width: 100vw;
    }
    .homepage__content .row--boxes .homepage__col {
        padding: .5rem;
    }
    .homepage__content .row--boxes .homepage__button, .homepage__content .row--boxes .homepage__col a {
        padding: .5rem;
    }
    .homepage__content .row__content {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .homepage-slider-container {
        max-width: 100%;
    }

    .homepage-slider-container .section  {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .sidebar {
        right: 0.5rem;
    }
}

