/* ===== General Styles ===== */
body {
    font-family: 'Roboto', sans-serif;
}

/* ===== Header Styles ===== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #ceadcf;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
}

/* ===== Logo Styles ===== */
.logo img {
    width: auto;
    height: 50px;
    max-height: 50px;
}

/* ===== Navigation Links Styles ===== */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

.nav-links button {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #FB91A3;
    border: none;
    min-width: 150px;
    font-weight: 500;
    font-size: 16px;
    color: white;
    padding: 10px;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
}

.nav-links button:hover {
    background: #F1E4B2;
    color: #1D1D1B;
    transform: scale(1.05);
}

/* ===== Header Right Styles ===== */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ===== Dropdown Styles ===== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    border-radius: 10px;
    background: #FCD199;
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2),
    -6px -6px 12px rgba(255, 255, 255, 0.7);
    padding: 10px;
    min-width: 150px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease;
    display: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.dropdown-menu a {
    display: block;
    padding: 8px 12px;
    color: #1D1D1B;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #FB91A3;
    color: #1D1D1B;
    border-radius: 5px;
}

/* ===== Menu Icon Styles ===== */
.menu-icon {
    display: none; /* Hide by default on larger screens */
    cursor: pointer;
}
.bi-list{
    font-size: 30px; color: white;
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
    .menu-icon {
        display: block; /* Show on small screens */
    }

    .nav-links {
        display: none; /* Hide nav links by default on small screens */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        right: 20px;
        background: #ceadcf;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 10px;
        gap: 10px;
    }

    .nav-links.active {
        display: flex; /* Show nav links when active */
    }

    .header-right {
        display: flex; /* Show header-right inside the dropdown */
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== Dropdown Styles ===== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    border-radius: 10px;
    background: #FCD199;
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2),
    -6px -6px 12px rgba(255, 255, 255, 0.7);
    padding: 10px;
    min-width: 150px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease;
    display: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.dropdown-menu a {
    display: block;
    padding: 8px 12px;
    color: #1D1D1B;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #FB91A3;
    color: #1D1D1B;
    border-radius: 5px;
}

/* ===== Secondary Button Styles ===== */
.btn-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background: #FB91A3;
    min-width: 150px;
    font-weight: bold;
    font-size: 16px;
    padding: 10px;
    border: none;
    cursor: pointer;
    color: #FFFFFF;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.btn-secondary:hover {
    background-color: #F1E4B2;
    color: #1D1D1B;
    transform: scale(1.05);
}

/* ===== Profile Icon Styles ===== */
.header-right img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide nav links by default on small screens */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        right: 20px;
        background: #ceadcf;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 10px;
    }

    .nav-links.active {
        display: flex; /* Show nav links when active */
    }

    .header-right {
        display: none; /* Hide header-right on small screens */
    }

    .menu-icon {
        display: block; /* Show hamburger menu icon */
        cursor: pointer;
    }

    .menu-icon img {
        width: 30px;
        height: 30px;
    }
}