/* ============================================
   BLINDEX.NL - ORTAK HEADER STİLLERİ
   ============================================ */

:root {
    --primary: #FF6B00;
    --primary-dark: #e55a00;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
}

.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(-45deg, #ff6b35, #f7931e, #ff4500, #ff8c00, #e65c00, #ff7f50);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    padding: 12px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 100%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.promo-icon {
    display: flex;
    align-items: center;
    color: #FFFFFF;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.1); }
}

.promo-text {
    color: white;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Header Main */
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    gap: 32px;
    max-width: 1440px;
    margin: 0 auto;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: var(--gray-100);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255,107,0,0.1);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,0,0.3);
}

.btn-outline {
    background: transparent;
    border-color: var(--gray-200);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation */
.nav {
    border-top: 1px solid var(--gray-200);
    background: var(--gray-100);
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 1440px;
    margin: 0 auto;
}

.nav-list li a {
    display: block;
    padding: 14px 22px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--primary);
    background: rgba(255,107,0,0.05);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 100%;
}

/* Icon Sizes */
.icon {
    width: 24px;
    height: 24px;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .header-main {
        padding: 12px 20px;
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 12px;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 0 20px;
    }
    
    .nav-list li a {
        padding: 12px 16px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .header-main {
        gap: 12px;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .promo-text {
        font-size: 12px;
    }
    
    .nav-list li a {
        padding: 10px 12px;
        font-size: 12px;
    }
}
