/* Frontend Styles for Header Block */

/* Top Strip */
.consultation-strip {
    background: linear-gradient(135deg, #2d5a3d 0%, #3d6b4d 100%);
    color: white;
    padding: 12px 0;
    text-align: center;
}

.consultation-strip p {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

/* Header */
.header {
    background: white;
    border-bottom: 1px solid #e8e8e8;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2d5a3d, #4a7c59);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 18px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: #2d5a3d;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 10px;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: #4a4a4a;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.3s ease;
}

.dropdown-content a:hover {
    background: #f5f9f7;
    color: #2d5a3d;
}

.dropdown-submenu {
    font-weight: 500;
    color: #2d5a3d;
    padding: 12px 20px 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cart-btn {
    position: relative;
    background: white;
    color: #2d5a3d;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1.5px solid #e8e8e8;
    cursor: pointer;
}

.cart-btn:hover {
    background: #f5f9f7;
    border-color: #2d5a3d;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #2d5a3d 0%, #3d6b4d 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.login-btn {
    background: white;
    color: #2d5a3d;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border: 1.5px solid #2d5a3d;
    cursor: pointer;
}

.login-btn:hover {
    background: #f5f9f7;
}

.consultation-btn {
    background: linear-gradient(135deg, #2d5a3d 0%, #3d6b4d 100%);
    color: white;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(45, 90, 61, 0.15);
}

.consultation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 61, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .header-container {
        padding: 0 20px;
    }

    .logo {
        font-size: 18px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .header-actions {
        gap: 10px;
    }

    .login-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .consultation-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}
