/* Modern Header Styles */
.modern-header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Top Bar Styles */
.header-top {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 0;
    font-size: 13px;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-info__item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 13px;
}

.header-info__item i {
    color: #2563eb;
    font-size: 14px;
}

.header-social {
    display: flex;
    justify-content: flex-end;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link.facebook { 
    color: #1877f2; 
    background: rgba(24, 119, 242, 0.1);
    border-color: rgba(24, 119, 242, 0.2);
}

.social-link.twitter { 
    color: #1da1f2; 
    background: rgba(29, 161, 242, 0.1);
    border-color: rgba(29, 161, 242, 0.2);
}

.social-link.instagram { 
    color: #e4405f; 
    background: rgba(228, 64, 95, 0.1);
    border-color: rgba(228, 64, 95, 0.2);
}

.social-link.linkedin { 
    color: #0077b5; 
    background: rgba(0, 119, 181, 0.1);
    border-color: rgba(0, 119, 181, 0.2);
}

.social-link.facebook:hover { background: #1877f2; }
.social-link.twitter:hover { background: #1da1f2; }
.social-link.instagram:hover { background: #e4405f; }
.social-link.linkedin:hover { background: #0077b5; }

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.modern-header .header-main {
    padding: 0;
}

.modern-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Logo Styles */
.header-logo .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1a1a1a;
}

.logo-text {
    display: flex;
    align-items: baseline;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.logo-primary {
    color: #2563eb;
}

.logo-secondary {
    color: #1e40af;
    margin-left: 2px;
}

.logo-tagline {
    font-size: 11px;
    color: #6b7280;
    margin-left: 8px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 40px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.nav-link.active {
    background: #eff6ff;
    color: #2563eb;
}

.nav-link i {
    font-size: 16px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle .bi-chevron-down {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.dropdown:hover .bi-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 300px;
    margin-top: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content {
    padding: 20px;
}

.dropdown-section {
    margin-bottom: 16px;
}

.dropdown-section:last-child {
    margin-bottom: 0;
}

.dropdown-section h4 {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-item {
    display: block;
    padding: 8px 12px;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #2563eb;
}

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

.btn {
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-outline {
    color: #374151;
    border-color: #d1d5db;
    background: transparent;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .modern-header .header-content {
        padding: 12px 16px;
    }
    
    .main-navigation {
        margin: 0 20px;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link {
        padding: 10px 12px;
    }
    
    .header-top {
        display: none;
    }
}

@media (max-width: 768px) {
    .modern-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        transition: transform 0.3s ease;
    }
    
    .modern-header.hidden {
        transform: translateY(-100%);
    }
    
    .modern-header .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px 16px;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .header-logo {
        order: 1;
        text-align: center;
    }
    
    .main-navigation {
        order: 2;
        width: 100%;
        margin: 0;
    }
    
    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        font-size: 14px;
        background: #f8f9fa;
        border-radius: 8px;
        border: 1px solid #e9ecef;
        text-align: left;
        width: 100%;
    }
    
    .nav-link:hover {
        background: #e9ecef;
        transform: none;
    }
    
    .nav-link i {
        font-size: 16px;
        width: 20px;
        text-align: center;
    }
    
    .nav-link span {
        display: inline;
        font-weight: 500;
    }
    
    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        order: 4;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
    
    /* Desktop'da gizle */
    @media (min-width: 769px) {
        .mobile-menu-toggle,
        .mobile-menu-toggle *,
        .btn-menu-toggle {
            display: none !important;
            visibility: hidden !important;
        }
    }
    
    .btn-menu-toggle {
        width: 50px;
        height: 50px;
        border-radius: 25px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    /* Desktop'da kesinlikle gizle */
    @media (min-width: 769px) {
        .modern-header .mobile-menu-toggle,
        .modern-header .btn-menu-toggle,
        .modern-header .mobile-menu-toggle * {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            height: 0 !important;
            width: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
        }
    }
    
    .btn-menu-toggle:hover {
        background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
    }
    
    .btn-menu-toggle:active {
        transform: scale(0.95);
    }
    
    .modern-header.hidden .btn-menu-toggle {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        margin-top: 8px;
        min-width: auto;
        box-shadow: none;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        background: #f8f9fa;
    }
    
    .dropdown-content {
        padding: 15px;
    }
    
    /* Body padding for fixed header */
    body {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .header-logo .logo-text {
        font-size: 24px;
    }
    
    .logo-tagline {
        display: none;
    }
    
    .nav-link {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}
