
/* =========================================================
   SABRE DE PLEIADES
   HEADER
========================================================= */


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 90px;

    z-index: 1000;

    background: transparent;

    transition:
        height 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease;

}


.site-header.scrolled {

    height: 76px;

    background:
        rgba(4,8,27,0.94);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        0 10px 35px rgba(0,0,0,0.2);

}


/* =========================================================
   CONTAINER
========================================================= */

.header-container {

    width: min(1400px,92%);

    height: 100%;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* =========================================================
   LOGO
========================================================= */

.site-logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;

}


.site-logo img {

    

    max-height: 200px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 10px
            rgba(215,180,90,0.25)
        );

    transition: 0.35s ease;

}


.site-logo:hover img {

    transform: scale(1.04);

}


/* =========================================================
   NAVIGATION
========================================================= */

.main-navigation {

    display: flex;

    align-items: center;

    gap: 25px;

}


.nav-link {

    position: relative;

    padding: 10px 0;

    color: rgba(255,255,255,0.9);

    font-size: 0.7rem;

    font-weight: 500;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition: 0.3s ease;

}


.nav-link::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 3px;

    width: 0;

    height: 1px;

   

    transition: 0.3s ease;

}


.nav-link:hover,
.nav-link.active {

    color: #f0d78a;

}


.nav-link:hover::after,
.nav-link.active::after {

    width: 100%;

}


/* =========================================================
   CONTACT BUTTON
========================================================= */

.nav-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 11px 20px;

    border: 1px solid rgba(215,180,90,0.65);

    color: #f0d78a;

    font-size: 0.66rem;

    font-weight: 500;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition: 0.3s ease;

}


.nav-button:hover {

    background: #d7b45a;

    color: #050a20;

}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {

    display: none;

    width: 42px;

    height: 42px;

    padding: 8px;

    border: 1px solid rgba(215,180,90,0.4);

    background: transparent;

    cursor: pointer;

    z-index: 1002;

}


.menu-toggle span {

    display: block;

    width: 100%;

    height: 1px;

    margin: 5px 0;

    background: #f0d78a;

    transition: 0.3s ease;

}


.menu-toggle.active span:nth-child(1) {

    transform:
        translateY(6px)
        rotate(45deg);

}


.menu-toggle.active span:nth-child(2) {

    opacity: 0;

}


.menu-toggle.active span:nth-child(3) {

    transform:
        translateY(-6px)
        rotate(-45deg);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1150px) {

    .main-navigation {

        gap: 16px;

    }


    .nav-link {

        font-size: 0.59rem;

    }


    .nav-button {

        padding: 10px 14px;

        font-size: 0.59rem;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {


    .site-header {

        height: 78px;

    }


    .site-header.scrolled {

        height: 72px;

    }


    .site-logo img {

        width: 90px;

    }


    .menu-toggle {

        display: block;

    }


    .main-navigation {

        position: fixed;

        top: 0;

        right: 0;

        width: min(350px,88%);

        height: 100vh;

        padding:
            110px 35px 40px;

        background:
            rgba(4,8,27,0.98);

        backdrop-filter: blur(20px);

        -webkit-backdrop-filter: blur(20px);

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 4px;

        overflow-y: auto;

        transform: translateX(100%);

        transition:
            transform 0.45s ease;

        box-shadow:
            -20px 0 50px rgba(0,0,0,0.3);

    }


    .main-navigation.open {

        transform: translateX(0);

    }


    .nav-link {

        width: 100%;

        padding: 14px 0;

        font-size: 0.72rem;

    }


    .nav-link::after {

        bottom: 7px;

    }


    .nav-button {

        margin-top: 15px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {


    .header-container {

        width: 88%;

    }


    .site-logo img {

        width: 82px;

    }


    .main-navigation {

        width: 90%;

    }

}

