/*-------------------------------------------------------------------------------------------------------------------*/
/* Hero */
.hero-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--size-medium);
    padding: var(--size-big) var(--size-medium);
    position: relative;
    width: 100%;
    min-height: calc(100vh - (2*var(--size-small) + var(--size-logo-height))); 
    flex: 0 0 auto;
    overflow: hidden;
}

.hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/content/hero-alpha-sirius.jpg") center/cover no-repeat;
    filter: blur(2px);
    transform: scale(1.1);
    z-index: 0;
    animation: panEffect 30s linear infinite alternate;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--color-alphasirius-dark);
    opacity: 0.85;
    z-index: 1;
}

.hero-image > * {
    position: relative;
    z-index: 2;
}

.title {
    position: relative;
    align-self: stretch;
    text-align: center;
    user-select: none;
    color: var(--color-primitives-slate-200);
    font-weight: var(--title-font-weight);
    font-size: var(--title-font-size);
    letter-spacing: var(--title-letter-spacing);
    line-height: var(--title-line-height);
}

.subtitle {
    position: relative;
    align-self: stretch;
    text-align: center;
    user-select: none;
    color: var(--color-primitives-slate-200);
    font-weight: var(--subtitle-font-weight);
    font-size: var(--subtitle-font-size);
    letter-spacing: var(--subtitle-letter-spacing);
    line-height: var(--subtitle-line-height);
}


/*-------------------------------------------------------------------------------------------------------------------*/
/* Slider and Carousel */
.swiper {
    display: flex;
}

.slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: var(--size-medium);
    position: relative;
    align-self: stretch;
    width: 100%;
    min-height: 100vh; 
    flex: 0 0 auto;
    background-color: var(--color-section-gray);
}

.steps-sw {
    position: relative;
    width: 100%;
    max-width: var(--size-max-width-slider);
    aspect-ratio: 600 / 400;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

.steps-sw .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
}

.steps-sw .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steps-content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--size-medium);
    flex: 1;
    flex-grow: 1;
    display: flex;
    position: relative;
    user-select: none;
}

.steps-content .text-flow {
    cursor: pointer;
    transition: color 0.3s ease;
    margin-left: var(--size-small);
}

.steps-title {
    position: relative;
    color: var(--color-text-default-secondary);
    font-weight: var(--h3-font-weight);
    font-size: var(--h3-font-size);
    letter-spacing: var(--h3-letter-spacing);
    line-height: var(--h3-line-height);
}

.steps-content .text-flow.active h3 {
    color: var(--color-alphasirius-blue);
}

.steps-content .text-flow.active p {
    color: var(--color-text-default-primary);
}

.autoplay-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 5px;
    height: 100%;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.2);
}

.autoplay-progress-bar {
    width: 100%;
    height: 0%;
    border-radius: 2px;
    background: var(--swiper-theme-color, #007aff);
    transition: height 0s;
}


.carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: var(--size-medium);
    position: relative;
    align-self: stretch;
    width: 100%;
    min-height: 100vh; 
    flex: 0 0 auto;
    background-color: var(--color-section-blue);
}

.cards-sw {
    align-items: start;
    max-width: 1920px;
    width: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: start;
    flex: 0 0 auto;
    width: var(--size-width-card);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-alphasirius-dark);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--color-alphasirius-gold);
}

.card {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    user-select: none;
    height: var(--size-height-card);
    aspect-ratio: 9 / 16;
    border-radius: var(--size-border);
    transition: transform 0.3s ease;
    background: var(--color-surface, #fff);
}

.card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
    z-index: 1;
}

.card-content {
    position: relative;
    padding: var(--size-small);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: var(--size-height-card-content);
}

.card:hover {
    transform: translateY(-5px);
    will-change: transform;
}


/*-------------------------------------------------------------------------------------------------------------------*/
/* Animations */
@keyframes fadeInZoom {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes panEffect {
    from { background-position: center top; }
    to   { background-position: center bottom; }
}

.fade-it {
    animation: fadeInZoom 1.8s ease-in-out;
}


/*-------------------------------------------------------------------------------------------------------------------*/
/* Mobile Adjusts */
@media (max-width: 1024px) {

    @keyframes panEffect {
        from { background-position: center left; }
        to   { background-position: center right; }
    }

    nav .nav-desktop {
        display: none;
    }

    .menu-icon {
        display: flex;
    }

    .menu-icon::before {
        content: "☰";
    }

    #menu-toggle:checked ~ .menu-icon::before {
        content: "✖";
    }
    
    #menu-toggle:checked ~ nav .nav-mobile {
        display: flex;
    }

    .nav-mobile {
        display: none;
        flex-direction: column;
        background: var(--color-alphasirius-dark);
        opacity: 0.98;
        position: fixed;
        right: 0;
        top: calc((2*var(--size-small) + var(--size-logo-height)));
        min-width: calc(100% - var(--size-small));
        min-height: calc(100vh - (2*var(--size-small) + var(--size-logo-height)));
        padding: var(--size-small);
        gap: var(--size-small);
    }
    
    .nav-mobile a {
        display: block;
        padding: var(--size-border);
        border-radius: var(--size-border);
        text-decoration: none;
        text-align: right;
        font-weight: var(--button-font-weight);
        font-size: var(--button-font-size);
        letter-spacing: var(--button-letter-spacing);
        line-height: var(--button-line-height);
        color: var(--color-alphasirius-gold);
    }

    .nav-mobile a:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .cards-sw {
        max-width: 100%;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}