/* =====================================================
   HANY CLUB - HEADER
===================================================== */

.main-header {
    width: 100%;
    height: 92px;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid #e2e2e2;

    position: relative;
    z-index: 9999;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}


/* ===============================
   HEADER CONTAINER
================================ */

.header-container {
    width: 90%;
    max-width: 1400px;

    height: 100%;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ===============================
   LOGO
================================ */

.brand-logo {
    display: flex;
    align-items: center;

    text-decoration: none;

    height: 100%;
}

.brand-logo img {
    width: 175px;
    max-height: 70px;

    object-fit: contain;

    display: block;

    transition: 0.3s ease;
}

.brand-logo:hover img {
    transform: scale(1.03);
}


/* ===============================
   DESKTOP NAVIGATION
================================ */

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 8px;
}

.desktop-nav a {
    position: relative;

    padding: 12px 17px;

    color: #33383d;

    text-decoration: none;

    font-family: "Poppins", sans-serif;

    font-size: 14px;
    font-weight: 500;

    letter-spacing: 0.2px;

    transition: all 0.3s ease;
}


/* Hover underline */

.desktop-nav a:not(.contact-btn)::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 4px;

    width: 0;
    height: 2px;

    background: linear-gradient(
        90deg,
        #777,
        #d4d4d4,
        #777
    );

    transform: translateX(-50%);

    transition: width 0.3s ease;
}

.desktop-nav a:not(.contact-btn):hover::after {
    width: 65%;
}

.desktop-nav a:hover {
    color: #111;
}


/* ===============================
   CONTACT BUTTON
================================ */

.contact-btn {
    margin-left: 10px;

    padding: 11px 23px !important;

    color: #ffffff !important;

    border-radius: 30px;

    background: linear-gradient(
        135deg,
        #25282b,
        #6f7377,
        #242629
    );

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.15);

    transition: all 0.3s ease !important;
}

.contact-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.22);
}


/* ===============================
   MOBILE BUTTON
================================ */

.mobile-menu-btn {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 1px solid #d5d5d5;

    border-radius: 10px;

    background: #ffffff;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    transition: 0.3s ease;
}

.mobile-menu-btn span {
    display: block;

    width: 21px;
    height: 2px;

    background: #333;

    border-radius: 5px;

    transition: 0.3s ease;
}

.mobile-menu-btn:hover {
    background: #f4f4f4;
}


/* ===============================
   MOBILE MENU
================================ */

.mobile-nav {
    display: none;

    position: absolute;

    top: 92px;
    left: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.98);

    border-top: 1px solid #eeeeee;

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.10);

    padding: 12px 20px 18px;

    z-index: 9998;
}

.mobile-nav a {
    display: block;

    padding: 14px 15px;

    color: #33383d;

    text-decoration: none;

    font-family: "Poppins", sans-serif;

    font-size: 14px;
    font-weight: 500;

    border-bottom: 1px solid #eeeeee;

    transition: 0.3s ease;
}

.mobile-nav a:hover {
    color: #111;

    background: #f5f5f5;

    padding-left: 20px;
}

.mobile-nav a:last-child {
    border-bottom: none;
}


/* Mobile contact */

.mobile-contact {
    margin-top: 10px;

    text-align: center;

    color: #ffffff !important;

    border-radius: 25px;

    background: linear-gradient(
        135deg,
        #242629,
        #73777b,
        #242629
    );
}


/* ===============================
   MOBILE MENU ACTIVE
================================ */

.mobile-nav.active {
    display: block;

    animation: menuSlide 0.25s ease;
}

@keyframes menuSlide {

    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ===============================
   HAMBURGER ACTIVE
================================ */

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 950px) {

    .main-header {
        height: 82px;
    }

    .header-container {
        width: 92%;
    }

    .brand-logo img {
        width: 155px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav {
        top: 82px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .main-header {
        height: 74px;
    }

    .header-container {
        width: 90%;
    }

    .brand-logo img {
        width: 140px;
        max-height: 95px;
    }

    .mobile-menu-btn {
        width: 42px;
        height: 42px;
    }

    .mobile-nav {
        top: 74px;

        padding-left: 15px;
        padding-right: 15px;
    }

}