/* Ultra Modern Header Design - Logo Ortada */

/* Top Info Bar */
.top-info-bar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b1b 100%);
    color: white;
    padding: 10px 0;
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.top-info-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.contact-info {
    display: flex;
    gap: 25px;
    align-items: center;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-info span:hover {
    transform: translateY(-1px);
}

.contact-info i {
    color: #dc3545;
    font-size: 15px;
    padding: 6px;
    background: rgba(220, 53, 69, 0.15);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-info span:hover i {
    background: rgba(220, 53, 69, 0.25);
    transform: scale(1.1);
}

.top-right-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(220, 53, 69, 0.15);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Main Header */
.main-header {
    background: white;
    padding: 25px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    position: relative;
    z-index: 100;
    border-bottom: 1px solid #f0f0f0;
}

/* Logo Center */
.logo-center {
    text-align: center;
    position: relative;
}

.main-logo {
    max-height: 85px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.main-logo:hover {
    transform: scale(1.08) rotate(1deg);
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
}

/* Left & Right Menu */
.left-menu, .right-menu {
    height: 100%;
    display: flex;
    align-items: center;
}

.left-menu {
    justify-content: flex-start;
}

.right-menu {
    justify-content: flex-end;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 35px;
}

.menu-list li a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    padding: 12px 0;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.menu-list li a:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.menu-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(-50%);
    border-radius: 2px;
}

.menu-list li a:hover::after {
    width: 100%;
}

/* Full Navigation */
.full-navigation {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
    padding: 0;
    position: relative;
}

.full-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.main-navigation {
    position: relative;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    display: flex;
    align-items: center;
    padding: 18px 22px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s ease;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.main-menu > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.main-menu > li > a:hover::before {
    left: 0;
}

.main-menu > li > a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.main-menu > li > a i {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.main-menu > li:hover > a i {
    transform: rotate(180deg);
}

/* Dropdown Menu - Fixed */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 250px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    list-style: none;
    margin: 0;
    border: 1px solid #f0f0f0;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: white;
    border: 1px solid #f0f0f0;
    border-bottom: none;
    border-right: none;
    transform: translateX(-50%) rotate(45deg);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 15px 30px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.dropdown-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.dropdown-menu li a:hover::before {
    left: 0;
}

.dropdown-menu li a:hover {
    color: #667eea;
    border-left-color: #667eea;
    padding-left: 35px;
    transform: translateX(5px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 12px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .menu-list {
        gap: 25px;
    }
    
    .menu-list li a {
        font-size: 15px;
    }
    
    .main-menu > li > a {
        padding: 18px 25px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .left-menu, .right-menu {
        display: none;
    }
    
    .logo-center {
        text-align: left;
    }
    
    .main-logo {
        max-height: 65px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        z-index: 1000;
        border-radius: 0 0 12px 12px;
        overflow: hidden;
    }
    
    .main-menu.active {
        display: flex;
        animation: slideDown 0.4s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .main-menu > li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-menu > li:last-child {
        border-bottom: none;
    }
    
    .main-menu > li > a {
        justify-content: space-between;
        padding: 18px 25px;
        border-radius: 0;
    }
    
    .main-menu > li > a::before {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        border-radius: 0;
        padding: 0;
        border: none;
        display: none;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .dropdown-menu.active {
        display: block;
    }
    
    .dropdown-menu li a {
        padding: 15px 45px;
        border-left: none;
        background: #f8f9fa;
    }
    
    .dropdown-menu li a::before {
        display: none;
    }
    
    .dropdown-menu li a:hover {
        background: #e9ecef;
        padding-left: 45px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .top-info-bar {
        text-align: center;
        padding: 12px 0;
    }
    
    .contact-info {
        justify-content: center;
        margin-bottom: 10px;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .top-right-info {
        justify-content: center;
    }
    
    .main-header {
        padding: 18px 0;
    }
    
    .main-logo {
        max-height: 55px;
    }
}

@media (max-width: 576px) {
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info span {
        justify-content: center;
        font-size: 12px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
    
    .main-menu > li > a {
        padding: 15px 20px;
        font-size: 14px;
    }
}

/* Sticky Header */
.modern-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: white;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
    animation: slideInDown 0.4s ease;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.modern-header.sticky .top-info-bar {
    display: none;
}

.modern-header.sticky .main-header {
    padding: 12px 0;
}

.modern-header.sticky .main-logo {
    max-height: 55px;
}

/* Full navigation sabit kalmasın - sticky'de gizle */
.modern-header.sticky .full-navigation {
    display: none;
}

/* Loading Animation */
.main-menu > li > a {
    position: relative;
}

.main-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 2px 2px 0 0;
}

.main-menu > li > a:hover::after {
    width: 100%;
}

/* Enhanced Animations */
.dropdown-menu li {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.3s ease forwards;
}

.dropdown-menu li:nth-child(1) { animation-delay: 0.1s; }
.dropdown-menu li:nth-child(2) { animation-delay: 0.2s; }
.dropdown-menu li:nth-child(3) { animation-delay: 0.3s; }
.dropdown-menu li:nth-child(4) { animation-delay: 0.4s; }
.dropdown-menu li:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}