/**
 * Premium Header Modernization
 * Refined alignment, spacing, and aesthetics
 */

:root {
    --header-height: 80px;
    --red-accent: #e31e24; /* Logo red */
    --hover-bg: rgba(0, 0, 0, 0.04);
}

.headerArea {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
}

/* Vertical Alignment */
.headerArea .row.align-items-center {
    min-height: var(--header-height);
}

/* Navigation Menu */
.headerAraeMenu ul {
    display: flex !important;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.headerAraeMenu ul li {
    position: relative;
    white-space: nowrap;
}

.headerAraeMenu ul li a {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.2s ease;
    padding: 10px 5px;
    display: flex;
    align-items: center;
}

.headerAraeMenu ul li a i {
    font-size: 12px;
    margin-left: 5px;
    margin-top: 2px;
    transition: transform 0.2s;
}

.headerAraeMenu ul li:hover > a {
    color: var(--red-accent);
}

.headerAraeMenu ul li:hover > a i {
    transform: rotate(180deg);
}

/* Prevent text wrapping for ANA SAYFA etc */
.headerAraeMenu ul li a {
    white-space: nowrap;
}

/* Right Side Actions */
.headerAraeRight {
    display: flex;
    align-items: center;
    gap: 12px;
}

.headerAreaRightBox {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: transparent;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
}

.headerAreaRightBox:hover {
    background: var(--hover-bg);
    transform: translateY(-2px);
}

.headerAreaRightBox i {
    font-size: 20px;
    color: #1e293b;
}

/* Language & User Custom Boxes */
.headerLanguageBox, .headerUserBox {
    background: #f1f5f9;
    padding: 8px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.headerLanguageBox:hover, .headerUserBox:hover {
    background: #e2e8f0;
    border-color: rgba(0,0,0,0.05);
}

.headerLCBoxHead {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.headerLCBoxHead img {
    border-radius: 4px;
}

/* User Info Box Specifics */
.headerAreaRightBox.memberEntry {
    width: auto;
    padding: 0 15px;
    background: #f1f5f9;
    font-weight: 700;
    font-size: 13px;
    color: #1e293b;
}

.headerAreaRightBox.memberEntry a {
    color: inherit !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
}

/* Basket Badge */
.headerBasketBox .sepet-adet {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--red-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* Dropdown Refinement */
.headerLCBoxDropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    min-width: 180px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1001;
}

.memberEntryLanguage:hover .headerLCBoxDropdown,
.headerLanguageBox:hover .headerLCBoxDropdown,
.headerCountryBox:hover .headerLCBoxDropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.headerLCBoxDropdown ul li a {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none !important;
    transition: background 0.2s;
}

.headerLCBoxDropdown ul li a:hover {
    background: #f8fafc;
    color: var(--red-accent);
}

/* Mobile Menu Refinement */
@media (max-width: 991px) {
    .headerArea {
        padding: 5px 0;
    }
}
