﻿/* =====================================================
   HEADER.CSS - Header & Navigation Styles
   ===================================================== */

/* ============================================
   HEADER STYLES
   ============================================ */
.site-header {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

    .header-content a {
        text-decoration: none;
        color: #d32f2f;
        font-weight: 600;
        transition: color 0.3s;
    }

        .header-content a:hover {
            color: #b71c1c;
        }

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d32f2f;
}

.header-nav {
    display: flex;
    gap: 20px;
}

    .header-nav a {
        padding: 8px 16px;
        border-radius: 6px;
        transition: all 0.3s;
    }

        .header-nav a:hover {
            background: #fff3e0;
        }

/* =========================== */
/*     ACCOUNT MENU - CLEAR    */
/* =========================== */
.account-menu {
    position: relative;
    margin-left: 1rem;
}

.account-btn {
    background: #b71c1c;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.25);
}

    .account-btn:hover {
        background: #d32f2f;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(211, 47, 47, 0.3);
    }

/* Dropdown menu */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 120%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-width: 190px;
    z-index: 200;
    animation: fadeInUp 0.25s ease forwards;
    border: 1px solid #eee;
}

    .dropdown-content.show {
        display: block;
    }

    .dropdown-content a {
        display: flex;
        align-items: center;
        padding: 12px 18px;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        gap: 8px;
        transition: all 0.3s ease;
    }

        .dropdown-content a:hover {
            background: #fff5f5;
            color: #b71c1c;
            padding-left: 22px;
        }

/* Smooth dropdown animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
}
