/* ===========================================
   HEADER STİLLERİ
   =========================================== */

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    min-height: 80px;
    display: flex;
    align-items: center;
}

/* Container-Header için özel CSS */
.container-header {
    width: 100%;
    padding-right: 40px;
    padding-left: 40px;
    margin-right: auto;
    margin-left: auto;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    gap: 0;
}

/* Logo Bölümü - her zaman solda */
.logo-section {
    flex-shrink: 0;
    order: 1;
}

.navigation {
    order: 2;
}

.header-actions {
    order: 3;
}

.logo-img {
    position: absolute;
    top: 34px;
    left: 36px;
    height: 150px;
    padding-left: 17px;
    padding-right: 18px;
    padding-bottom: 16px;
    border-radius: 18px;
    background-color: #ffffff;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
}

/* Navigasyon Menüsü */
.navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    font-weight: 600 !important;
    font-family: 'Poppins';
}

.nav-link:hover {
    color: #DC2626;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #DC2626;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Header Action Links */
.header-actions {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.action-link {
    text-decoration: none;
    color: #DC2626;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border: 2px solid #DC2626;
    border-radius: 25px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.action-link:hover {
    background-color: #DC2626;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.action-link i {
    font-size: 14px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.action-link:hover i {
    transform: scale(1.1);
}

/* ===========================================
   HAMBURGER MENU (Mobile)
   =========================================== */

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
    order: 4;
    margin-left: auto;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: #DC2626;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover span {
    background-color: #B91C1C;
}

/* Hamburger animasyonu - Açık durumda X olur */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Sidebar */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
    gap: 15px;
}

.mobile-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    flex-shrink: 1;
    max-width: calc(100% - 50px);
}

.close-menu {
    background: transparent;
    border: none;
    font-size: 22px;
    color: #DC2626;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.close-menu:hover {
    color: #B91C1C;
    background-color: rgba(220, 38, 38, 0.1);
    transform: rotate(90deg);
}

/* Mobile Navigation */
.mobile-navigation {
    flex: 1;
    padding: 20px 0;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid #f3f4f6;
}

.mobile-nav-link {
    display: block;
    padding: 18px 25px;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 100%;
    background-color: rgba(220, 38, 38, 0.05);
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::before,
.mobile-nav-link:active::before {
    width: 100%;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: #DC2626;
    padding-left: 35px;
}

/* Mobile Actions */
.mobile-actions {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-action-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    background-color: #DC2626;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid #DC2626;
}

.mobile-action-link:hover,
.mobile-action-link:active {
    background-color: #B91C1C;
    border-color: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

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

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ===========================================
   RESPONSIVE DESIGN - HEADER
   =========================================== */

/* Tablet ve küçük ekranlar */
@media (max-width: 992px) {
    .header {
        min-height: 90px;
        padding: 15px 0;
    }
    
    .navigation {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .container-header {
        padding-right: 20px;
        padding-left: 20px;
    }
    
    .logo-img {
        position: static;
        height: 80px;
        padding: 0;
        border-radius: 0;
        background-color: transparent;
    }
    
    /* Logo ve hamburger yan yana - aynı satırda */
    .header-content {
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-section {
        order: 1;
        flex-shrink: 0;
    }
    
    .hamburger-menu {
        order: 2;
        margin-left: 0;
    }
}

/* Mobil cihazlar */
@media (max-width: 576px) {
    .header {
        padding: 12px 0;
        min-height: 80px;
    }
    
    .container-header {
        padding-right: 15px;
        padding-left: 15px;
    }
    
    .logo-img {
        position: static;
        height: 90px;
        padding: 0;
        border-radius: 0;
        background-color: transparent;
    }
    
    .mobile-menu {
        width: 280px;
        max-width: 90%;
    }
    
    .mobile-menu-header {
        padding: 12px;
        gap: 10px;
    }
    
    .mobile-logo {
        height: 90px;
        max-width: calc(100% - 45px);
    }
    
    .close-menu {
        font-size: 20px;
        width: 35px;
        height: 35px;
        padding: 6px;
    }
    
    /* Mobilde logo ve hamburger kesinlikle yan yana */
    .header-content {
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }
    
    .logo-section {
        order: 1;
        flex-shrink: 0;
    }
    
    .hamburger-menu {
        order: 2;
        margin-left: 0;
    }
}