/* Header CSS - Header, navigation, brand overlay, and menu components */

.header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 40px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.brand-overlay {
    position: absolute;
    top: 10px;        /* Start higher up in the header */
    left: 40px;
    z-index: 15;      /* Higher z-index to overlay the header border */
}

.brand-overlay img {
    height: 180px;
    width: auto;
}

.nav-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-btn {
    padding: 10px 20px;
    border: 2px solid #000;
    background: #FFD700;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-btn:hover {
    background: #FFA500;
}

/* Hamburger Menu */
.hamburger-menu {
    position: relative;
}

.hamburger-btn {
    background: none;
    border: 2px solid #000;
    border-radius: 25px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
}

.hamburger-btn:hover {
    background: #FFD700;
    border-color: #FFD700;
}

.menu-dropdown {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    min-width: 200px;
    z-index: 1020;
}

.menu-dropdown.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-item {
    display: block;
    padding: 16px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
    font-weight: 500;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: #f8f9fa;
}

.menu-item.current {
    background: #fffdf0;
    color: #000;
    font-weight: 600;
}

/* Brand icon styling */
.brand-overlay a {
    display: block;
    transition: transform 0.2s ease;
}

.brand-overlay a:hover {
    transform: scale(1.05);
}

/* Mobile Responsive - Header */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .brand-overlay {
        top: 5px;
        left: 15px;
    }

    .brand-overlay img {
        height: 60px;
    }
}