li, .btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: white;
    text-decoration: none;
}

ol, ul {
    padding-left: 0;
}

a {
    color: black;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding: 30px 5%;
    background-color: rgb(245, 237, 222); /* #f5edde */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.logo {
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
}

.nav-links li {
    padding: 0 20px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: grey;
}

/* CTA button in header */
header .cta {
    margin-left: auto;
}

.cta a:hover {
    color: #33010A;
}

.btn {
    margin-left: 20px;
    background-color: #fc4c69;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 150px;
}

.btn:hover {
    background-color: #33010A;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* General Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* Hamburger Button */
.hamburger-button {
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    width: 30px; 
    height: 21px; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger-button .hamburger-line {
    width: 100%;
    height: 3px; 
    background-color: #333;
    margin: 0;
}

.hamburger-button:hover {
    background-color: rgb(245, 237, 222);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    background-color: #fff;
    display: none;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Active state for the mobile menu */
.mobile-menu.active {
    position: fixed;
    top: 0;
    right: -1000px;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: #fff;
    right: 0;
    display: block;
    transition: right 0.3s ease-in-out;
}


/* Mobile Menu Header */
.mobile-menu-header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 40px);
    background-color: white;
}

.mobile-menu .close-button {
    background: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #000000;
    font-weight: bold; /* Removes the focus outline */
}
.mobile-menu .close-button:hover,
.mobile-menu .close-button:focus {
    background: none;
    color: #333; /* Same as the normal state */
    border: none;
    outline: none;
    box-shadow: none;
}

/* Logo in Mobile Menu */
.menu-logo {
    width: 150px;
    background-color: #fff;
}

/* Style for Mobile Menu Links */
.mobile-menu ul {
    display: flex;
    flex-direction: column;
    background-color: white;
    align-items: left;
    list-style: none;
    padding: 0;
}

.mobile-menu ul li {
    margin: 15px 0;
    background-color: white;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #030303;
    font-size: 18px;
    transition: color 0.3s ease;
    background-color: white;
}

.mobile-menu ul li a:hover {
    color: #f8c1ca; /* Change color on hover */
}

.mobile-menu .menu-buttons, .mobile-menu .menu-buttons a {
    background-color: white;
}

/* Mobile Menu */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .cta {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: #f8c1ca;
        position: absolute;
        top: 80px;
        right: 20px;
        width: 200px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease-in-out;
    }

    .navbar.active .nav-links {
        display: flex;
    }

    /* Hamburger Button */
    .hamburger-button {
        display: flex;
    }

    /* Mobile Menu */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 250px;
        height: 100%;
        z-index: 100;
        background: #f8c1ca;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease-in-out;
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu .menu-buttons {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .mobile-menu ul {
        margin-top: 100px;
        padding-right: 10px;
        list-style: none;
        padding: 20px;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu ul li {
        margin: 15px 0;
    }

    .mobile-menu ul li a {
        text-decoration: none;
        color: #000000;
        font-size: 18px;
        transition: 0.3s;
    }


    .nav-links li a {
        padding: 10px 0;
    }
}
