/* header.css */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #d8c5b1;
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
}

/* Logo on the left */
.logo img {
    max-width: 200px; /* Set a maximum width for the logo */
    height: auto; /* Maintain aspect ratio */
    transition: filter 0.3s ease; /* Smooth color change */
}

/* Menu items on the right, no wrapping */
.menu-items {
    display: flex;
    justify-content: flex-end;
    max-width: 70%; /* Limit menu width to prevent overflow */
}

.menu-items ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap; /* Prevent wrapping */
}

.menu-items li {
    font-weight: bold;
    color: #333; /* Set menu options color to #333 */
    font-size: 1.09rem;
    white-space: nowrap; /* Ensure text stays on one line */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.menu-items li:hover {
    transform: translateY(-3px); /* Slightly rise on hover */
    color: #c1442e;
    transition: color 0.3s ease;
    transition: transform 0.3s ease;
}

.menu-items a {
    text-decoration: none;
    color: inherit; /* Inherit color from li */
    display: flex;
    align-items: center;
    gap: 5px; /* Space between icon and text */
}

.icon {
    font-size: 1.1rem; /* Adjust icon size slightly */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .logo img {
        height: 95px; /* Slightly smaller logo */
    }
    .menu-items ul {
        gap: 20px; /* Reduce gap between menu items */
    }
    .menu-items li {
        font-size: 0.9rem; /* Reduce font size */
    }
}

/* Hide menu text at a slightly larger screen width */
@media (max-width: 768px) {
    .logo img {
        height: 95px; /* Smaller logo */
    }
    .menu-items ul {
        gap: 15px; /* Reduce gap between menu items */
    }

    /* Hide text on menu items, show only icons */
    .menu-items .text {
        display: none;
    }
    .icon {
        font-size: 1.2rem; /* Slightly larger icons */
    }
}

@media (max-width: 600px) {
    .logo img {
        height: 95px;
    }
    .menu-items ul {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column; /* Stack logo and menu for very small screens */
        align-items: center;
    }
    .logo img {
        height: 95px;
    }
    .menu-items {
        max-width: 100%;
        justify-content: center;
    }
    .menu-items ul {
        gap: 8px;
    }
}
