/* ========================================
   HERO SECTION — DESKTOP
======================================== */

.hero-section {

    position: relative;

    width: 100%;

    min-height: 600px;

    overflow: hidden;

    direction: ltr;

    background: #050505;

    border-bottom: 1px solid var(--border);

    display: flex;

    align-items: center;

    box-sizing: border-box;

}


/* ========================================
   HERO BACKGROUND IMAGE
======================================== */

.hero-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    z-index: 1;

    overflow: hidden;

}


.hero-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: 72% center;

    filter:
        brightness(0.78)
        contrast(1.08);

}


/* ========================================
   HERO DARK OVERLAY
======================================== */

.hero-section::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:

        linear-gradient(
            90deg,
            rgba(5, 5, 5, 0.96) 0%,
            rgba(5, 5, 5, 0.82) 26%,
            rgba(5, 5, 5, 0.46) 48%,
            rgba(5, 5, 5, 0.22) 68%,
            rgba(5, 5, 5, 0.68) 100%
        ),

        radial-gradient(
            circle at 78% 18%,
            rgba(201, 164, 90, 0.13),
            transparent 28%
        );

}


/* ========================================
   HERO CONTENT
======================================== */

.hero-content {

    position: relative;

    z-index: 3;

    width: 42%;

    padding-left: 90px;

    text-align: center;

    box-sizing: border-box;

}


/* ========================================
   HERO LOGO
======================================== */

.hero-logo {

    display: block;

    width: 330px;

    max-width: 100%;

    height: auto;

    margin: 0 auto 6px;

    opacity: 0.96;

    filter:
        drop-shadow(
            0 0 18px rgba(0, 0, 0, 0.75)
        );

}


/* ========================================
   HERO TITLE SVG
======================================== */

.hero-title-image {

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    margin: 2px auto 24px;

    overflow: visible;

    direction: ltr;

    transform: none;

}


.hero-title-image img {

    display: block;

    width: 100%;

    max-width: 620px;

    height: auto;

    margin: 0 auto;

    direction: ltr;

    transform: none;

    -webkit-transform: none;

    backface-visibility: visible;

    -webkit-backface-visibility: visible;

    mix-blend-mode: screen;

    filter:

        brightness(1.04)

        contrast(1.08)

        drop-shadow(
            0 0 8px rgba(214, 174, 86, 0.20)
        )

        drop-shadow(
            0 0 22px rgba(201, 164, 90, 0.12)
        );

}


/* ========================================
   ACCESSIBLE TEXT
======================================== */

.hero-accessible-text {

    position: absolute;

    width: 1px;

    height: 1px;

    padding: 0;

    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    clip-path: inset(50%);

    white-space: nowrap;

    border: 0;

}


/* ========================================
   HERO BUTTON
======================================== */

.hero-button {

    position: relative;

    overflow: hidden;

    display: inline-block;

    max-width: 100%;

    padding: 15px 34px;

    border: 1px solid var(--gold);

    background: rgba(5, 5, 5, 0.35);

    color: var(--gold-light);

    font-family: var(--font-main);

    font-size: 16px;

    font-weight: 600;

    line-height: 1.4;

    direction: rtl;

    text-align: center;

    text-decoration: none;

    box-sizing: border-box;

    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;

}


.hero-button:hover {

    background: rgba(201, 164, 90, 0.16);

    box-shadow:
        0 0 22px rgba(201, 164, 90, 0.28);

    transform: translateY(-2px);

}


/* ========================================
   INSPIRATION ANCHOR OFFSET
======================================== */

#inspiration,
.inspiration-section {

    scroll-margin-top: 90px;

}


/* ========================================
   MOBILE
   השינויים מכאן פועלים רק בנייד
======================================== */

@media (max-width: 768px) {

    .hero-section {

        width: 100%;

        max-width: 100%;

        min-height: 760px;

        padding-top: 26px;

        align-items: flex-start;

        direction: ltr;

        overflow: hidden;

        background: #050505;

    }


    /*
       בנייד התמונה אינה ממלאת את כל המסך.
       היא מוצגת כתמונה רחבה בתחתית ההירו,
       כדי לראות את הטבעת כמעט במלואה.
    */

    .hero-image {

        position: absolute;

        inset: 0;

        width: 100%;

        height: 100%;

        overflow: hidden;

    }


    .hero-image img {

        position: absolute;

        left: 50%;

        bottom: 0;

        width: 118%;

        max-width: none;

        height: auto;

        min-height: 0;

        object-fit: contain;

        object-position: center bottom;

        transform: translateX(-50%);

        -webkit-transform: translateX(-50%);

        transform-origin: center bottom;

        filter:
            brightness(0.76)
            contrast(1.08);

    }


    .hero-section::before {

        background:

            linear-gradient(
                180deg,
                rgba(5, 5, 5, 0.98) 0%,
                rgba(5, 5, 5, 0.92) 36%,
                rgba(5, 5, 5, 0.52) 60%,
                rgba(5, 5, 5, 0.20) 82%,
                rgba(5, 5, 5, 0.48) 100%
            );

    }


    .hero-content {

        width: 100%;

        max-width: 100%;

        margin: 0 auto;

        padding-right: 22px;

        padding-left: 22px;

        direction: rtl;

        text-align: center;

        box-sizing: border-box;

    }


    .hero-logo {

        width: 245px;

        max-width: 72vw;

        height: auto;

        margin: 0 auto 5px;

    }


    .hero-title-image {

        width: 100%;

        max-width: 100%;

        margin: 0 auto 14px;

        direction: ltr;

        transform: none !important;

        -webkit-transform: none !important;

    }


    .hero-title-image img {

        display: block;

        width: 100%;

        max-width: 470px;

        height: auto;

        margin: 0 auto;

        direction: ltr;

        transform: none !important;

        -webkit-transform: none !important;

        scale: 1;

    }


    .hero-button {

        width: auto;

        min-width: 270px;

        max-width: 90%;

        padding: 13px 24px;

        font-size: 15px;

        white-space: normal;

        background: rgba(5, 5, 5, 0.48);

    }


    #inspiration,
    .inspiration-section {

        scroll-margin-top: 165px;

    }

}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 480px) {

    .hero-section {

        min-height: 720px;

        padding-top: 22px;

    }


    .hero-image img {

        left: 50%;

        bottom: 0;

        width: 124%;

        height: auto;

        max-width: none;

        object-fit: contain;

        object-position: center bottom;

        transform: translateX(-50%);

        -webkit-transform: translateX(-50%);

        transform-origin: center bottom;

    }


    .hero-content {

        padding-right: 16px;

        padding-left: 16px;

    }


    .hero-logo {

        width: 220px;

        max-width: 68vw;

        margin-bottom: 3px;

    }


    .hero-title-image {

        margin-bottom: 12px;

    }


    .hero-title-image img {

        width: 100%;

        max-width: 400px;

        transform: none !important;

        -webkit-transform: none !important;

    }


    .hero-button {

        width: 88%;

        min-width: 0;

        max-width: 350px;

        padding: 13px 16px;

        font-size: 15px;

    }


    #inspiration,
    .inspiration-section {

        scroll-margin-top: 160px;

    }

}