/* =========================================================
   SILENTTOUCH FOUNDATION MENU
========================================================= */

* {
    box-sizing: border-box;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 110px;

    padding: 0 7%;

    background: #f5d2e3;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 2px solid #ffffff;

    box-shadow:
        0 4px 15px rgba(103, 3, 47, 0.10);

    z-index: 99999;

}


/* =========================================================
   LOGO
========================================================= */

.navbar-logo a {

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

}


.navbar-logo img {

    width: 100px !important;

    height: 100px !important;

    object-fit: contain !important;

    display: block;

}


.navbar-logo span {

    color: #680152;

    font-size: 24px;

    font-weight: 800;

    white-space: nowrap;

}


/* =========================================================
   DESKTOP LINKS
========================================================= */

.navbar-links {

    display: flex;

    align-items: center;

    gap: 30px;

}


.navbar-links a {

    position: relative;

    color: #a10788;

    font-size: 16px;

    font-weight: 600;

    text-decoration: none;

    padding: 8px 0;

    transition: 0.3s ease;

}


.navbar-links a:hover {

    color: #680152;

}


/* =========================================================
   LINK UNDERLINE
========================================================= */

.navbar-links a:not(.donate-button)::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 0;

    height: 2px;

    background: #67032F;

    transition: width 0.3s ease;

}


.navbar-links a:not(.donate-button):hover::after {

    width: 100%;

}


/* =========================================================
   DONATE
========================================================= */

.donate-button {

    background: #67032F !important;

    color: #ffffff !important;

    padding: 12px 25px !important;

    border-radius: 30px;

}


.donate-button:hover {

    background: #ffffff !important;

    color: #67032F !important;

}


/* =========================================================
   MOBILE BUTTON
   HIDDEN ON DESKTOP
========================================================= */

.mobile-menu-button {

    display: none;

    width: 46px;

    height: 46px;

    border: none;

    border-radius: 8px;

    background: #67032F;

    cursor: pointer;

    padding: 0;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 5px;

}


.mobile-menu-button span {

    width: 25px;

    height: 3px;

    background: #ffffff;

    border-radius: 5px;

    transition: 0.3s ease;

}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 768px) {


    /* NAVIGATION */

    .navbar {

        height: 85px;

        padding: 0 20px;

    }


    /* LOGO */

    .navbar-logo img {

        width: 65px !important;

        height: 65px !important;

    }


    .navbar-logo span {

        font-size: 17px;

    }


    /* SHOW BARS */

    .mobile-menu-button {

        display: flex;

    }


    /* HIDE LINKS */

    .navbar-links {

        display: none;

    }


    /* =====================================================
       OPEN MOBILE MENU
    ===================================================== */
.navbar-links.show {

    display: flex;

    position: absolute;

    top: 85px;

    left: 0;

    width: 100%;

    max-height: calc(100vh - 85px);

    overflow-y: auto;

    overflow-x: hidden;

    background: #f5d2e3;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    padding: 10px 0 20px;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);

    box-sizing: border-box;

}
.navbar-links.show::-webkit-scrollbar {
    width: 5px;
}

.navbar-links.show::-webkit-scrollbar-thumb {
    background: #67032F;
    border-radius: 10px;
}

.navbar-links.show::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.4);
}

    /* MOBILE LINKS */

   .navbar-links.show a {

    display: block;

    width: 100%;

    padding: 16px 25px;

    font-size: 16px;

    color: #a10788;

    text-align: center;

    border-bottom:
        1px solid rgba(103, 3, 47, 0.10);

}


    .navbar-links.show a:hover {

        background: rgba(255,255,255,0.5);

        color: #680152;

    }


    /* DONATE MOBILE */

    .navbar-links.show .donate-button {

        width: calc(100% - 40px);

        margin: 15px 20px 0;

        text-align: center;

        border-bottom: none;

    }


    /* =====================================================
       BARS → X
    ===================================================== */

    .mobile-menu-button.open span:nth-child(1) {

        transform:
            translateY(8px)
            rotate(45deg);

    }


    .mobile-menu-button.open span:nth-child(2) {

        opacity: 0;

    }


    .mobile-menu-button.open span:nth-child(3) {

        transform:
            translateY(-8px)
            rotate(-45deg);

    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media screen and (max-width: 480px) {

    .navbar {

        padding: 0 15px;

    }


    .navbar-logo img {

        width: 58px !important;

        height: 58px !important;

    }


    .navbar-logo span {

        font-size: 14px;

    }


    .mobile-menu-button {

        width: 42px;

        height: 42px;

    }

}