﻿/* =========================================
   STAR HERO SLIDER
========================================= */

.star-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #062f4d;
}


/* =========================================
   SLIDER
========================================= */

.star-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


/* =========================================
   INDIVIDUAL SLIDE
========================================= */

.star-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;

    z-index: 1;
}


.star-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}


/* =========================================
   BACKGROUND IMAGE
========================================= */

.star-slide-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    transform: scale(1);

    transition:
        transform 5s ease;
}


.star-slide.active .star-slide-bg {
    transform: scale(1.05);
}


/* =========================================
   DARK OVERLAY
========================================= */

.star-slide-overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            rgba(3, 35, 58, 0.92) 0%,
            rgba(3, 35, 58, 0.78) 38%,
            rgba(3, 35, 58, 0.35) 68%,
            rgba(3, 35, 58, 0.08) 100%
        );

    z-index: 1;
}


/* =========================================
   HERO CONTAINER
========================================= */

.star-hero-container {
    position: relative;

    height: 100%;

    display: flex;
    align-items: center;

    z-index: 2;
}


/* =========================================
   HERO CONTENT
========================================= */

.star-hero-content {
    width: 650px;
    max-width: 100%;

    /* ADDED: keeps text clear of left arrow */
    margin-left: 70px;

    padding-top: 5px;

    color: #ffffff;
}


/* =========================================
   SMALL LABEL
========================================= */

.star-hero-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--star-orange);

    font-family: "Poppins", sans-serif;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 2px;
    text-transform: uppercase;
}


/* =========================================
   HERO HEADING
========================================= */

.star-hero-content h1 {
    margin: 0 0 18px;

    color: #ffffff;

    font-family: "Montserrat", sans-serif;

    font-size: 52px;
    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -1px;
}


.star-hero-content h1 strong {
    color: var(--star-orange);
    font-weight: 700;
}


/* =========================================
   HERO PARAGRAPH
========================================= */

.star-hero-content p {
    max-width: 610px;

    margin: 0 0 28px;

    color: rgba(255, 255, 255, 0.94);

    font-family: "Poppins", sans-serif;

    font-size: 16px;
    line-height: 1.7;

    font-weight: 400;
}


/* =========================================
   HERO BUTTON
========================================= */

.star-hero-btn {
    min-height: 48px;

    padding: 0 23px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    background: var(--star-orange);
    color: #ffffff;

    border: 1px solid var(--star-orange);
    border-radius: 4px;

    text-decoration: none;

    font-family: "Poppins", sans-serif;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.star-hero-btn:hover {
    background: var(--star-orange-dark);
    border-color: var(--star-orange-dark);

    transform: translateY(-2px);
}


.star-hero-btn span {
    font-size: 18px;
    line-height: 1;
}


/* =========================================
   SLIDER ARROWS
========================================= */

.star-slider-arrow {
    position: absolute;

    top: 50%;

    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;

    background: rgba(3, 35, 58, 0.35);

    color: #ffffff;

    font-size: 14px;

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;

    z-index: 10;
}


.star-slider-arrow:hover {
    background: var(--star-orange);
    border-color: var(--star-orange);
}


.star-slider-prev {
    left: 25px;
}


.star-slider-next {
    right: 25px;
}


/* =========================================
   SLIDER DOTS
========================================= */

.star-slider-dots {
    position: absolute;

    left: 50%;
    bottom: 25px;

    display: flex;

    align-items: center;

    gap: 8px;

    transform: translateX(-50%);

    z-index: 10;
}


.star-slider-dots button {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;

    background: transparent;

    cursor: pointer;

    transition:
        width 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


.star-slider-dots button.active {
    width: 28px;

    border-radius: 10px;

    background: var(--star-orange);
    border-color: var(--star-orange);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .star-hero {
        height: 480px;
    }


    .star-hero-content {
        width: 600px;

        /* Keep text clear of arrow */
        margin-left: 65px;
    }


    .star-hero-content h1 {
        font-size: 46px;
    }


    .star-hero-content p {
        font-size: 15px;
    }


    .star-slider-prev {
        left: 18px;
    }


    .star-slider-next {
        right: 18px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .star-hero {
        height: 430px;
    }


    .star-slide-bg {
        background-position: center center;
    }


    .star-slide-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3, 35, 58, 0.93) 0%,
                rgba(3, 35, 58, 0.78) 55%,
                rgba(3, 35, 58, 0.48) 100%
            );
    }


    .star-hero-container {
        align-items: center;
    }


    .star-hero-content {
        width: 100%;

        max-width: 600px;

        /* Mobile arrow clearance */
        margin-left: 55px;

        padding-right: 45px;
    }


    .star-hero-label {
        margin-bottom: 10px;

        font-size: 12px;

        letter-spacing: 1.5px;
    }


    .star-hero-content h1 {
        margin-bottom: 15px;

        font-size: 36px;

        line-height: 1.12;

        letter-spacing: -0.5px;
    }


    .star-hero-content p {
        max-width: 500px;

        margin-bottom: 22px;

        font-size: 14px;

        line-height: 1.6;
    }


    .star-hero-btn {
        min-height: 44px;

        padding: 0 19px;

        font-size: 14px;
    }


    .star-slider-arrow {
        width: 38px;
        height: 38px;

        font-size: 11px;
    }


    .star-slider-prev {
        left: 12px;
    }


    .star-slider-next {
        right: 12px;
    }


    .star-slider-dots {
        bottom: 18px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .star-hero {
        height: 410px;
    }


    .star-hero-content {
        /* Small mobile arrow clearance */
        margin-left: 50px;

        padding-right: 35px;
    }


    .star-hero-content h1 {
        font-size: 31px;

        line-height: 1.13;
    }


    .star-hero-content p {
        font-size: 13px;

        line-height: 1.55;

        margin-bottom: 20px;
    }


    .star-hero-label {
        font-size: 11px;
    }


    .star-slider-arrow {
        width: 34px;
        height: 34px;
    }


    .star-slider-prev {
        left: 8px;
    }


    .star-slider-next {
        right: 8px;
    }
}