/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

header {
    width: 100%;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
}

nav {
    width: 85%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
}

/* Left Section */
.left-section a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.left-section h1 {
    font-size: 28px;
    color: #333132;
    font-weight: bold;
}

.left-section h2 {
    font-size: 14px;
    color: #333132;
    font-style: italic;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    background: none;
    padding: 0 16px;
    color: #333132;
    font-size: 12px;
    font-weight: 770;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-sizing: border-box;
}

.nav-links li a:hover {
    color: #BE9252;
    /* Highlight color */
}

/* Right Section */
.right-section .header-phone-text {
    text-transform: uppercase;
    color: #8B8B8B;
    margin-left: 60px;
    font-style: italic;
        font-size: 11px;
    letter-spacing: 2px;
}

.right-section .icon-back {
    background-color: #333132;
    color: #fff;
    padding: 4px;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 12px;
}

.header-phone .phone-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
        color: #333132;
        transition: color 0.3s;
    }
.header-phone .phone-text {
    font-weight: 500;
    color:#333132;
        font-size: 18px;
    color: #333132;
}
.header-phone .phone-link:hover .icon-back {
    background-color: #BE9252;
    text-decoration: underline;
}

.header-phone .phone-link:hover .phone-text {
    color: #BE9252;
    text-decoration: underline;
}

/* Mobile menu hidden by default */
.mobile-menu {
    display: none;
    position: absolute;
    top: 79px;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    z-index: 9999;
}

/* Mobile nav links inside menu */
.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-links li a {
    text-decoration: none;
    color: #333132;
    font-weight: 500;
    text-transform: uppercase;
    padding: 5px 0;
}

.mobile-nav-links li a:hover {
    color: #BE9252;
}

.mobile-right {
    text-align: right;
    margin-bottom: 10px;
}



/* Burger for mobile */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
    border: 1px solid #8b8b8b6e;
    padding: 5px;
    border-radius: 5px;
}

.burger div {
    width: 20px;
    height: 2px;
    background-color: #8B8B8B;
    border-radius: 3px;
}

.burger.toggle .line1 {
    transform: rotate(-43deg) translate(-4px, 5px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(41deg) translate(-2px, -3px);
}



.nav-hr {
    display: none;
    width: 90%;
    margin: 0 auto;
    color: #a8a5a5;
    box-shadow: #8B8B8B;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .burger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .right-section {
        display: none;
    }

    . .mobile-menu {
        display: none;

    }

    .mobile-menu.active {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    hr {
        display: block;
    }

    /* Make icon and text on one line */
    .header-phone .phone-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
        color: #333132;
        transition: color 0.3s;
    }

    .header-phone .icon-back {
        background-color: #333132;
        color: #fff;
        padding: 4px;
        width: 20px;
        height: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 4px;
        transition: background-color 0.3s;
        font-size: 12px;
    }

    /* Hover effect for both icon and text */
    .header-phone .phone-link:hover .icon-back {
        background-color: #BE9252;
        text-decoration: underline;
    }

    .header-phone .phone-link:hover .phone-text {
        color: #BE9252;
        text-decoration: underline;
    }

}