/* Header Stilleri */
.header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    padding: 2.625px 0;
    overflow: visible;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    overflow: visible;
}

.header-logo {
    display: flex;
    align-items: flex-end;
    z-index: 10;
    position: relative;
}

.header-logo img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    bottom: -14px;
}

.header-logo:hover img {
    transform: scale(1.1);
}

.hamburger-menu {
    display: none;
}

.header-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.header-menu a {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    transition: color 0.3s ease;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.header-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00D4FF;
    transition: width 0.3s ease;
}

.header-menu a:hover {
    color: #00D4FF;
}

.header-menu a:hover::after {
    width: 100%;
}

.instagram-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-link::after {
    display: none;
}

.instagram-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.instagram-link:hover .instagram-icon {
    transform: scale(1.2);
}

.header-apsiyon {
    display: flex;
    align-items: flex-end;
    z-index: 10;
    position: relative;
}

.header-apsiyon img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    bottom: -14px;
}

.header-apsiyon:hover img {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .header-menu {
        order: 3;
        width: 100%;
        justify-content: space-around;
        gap: 15px;
        padding-top: 2.625px;
    }
    
    .header-logo {
        order: 1;
        flex: 0 0 auto;
    }
    
    .header-apsiyon {
        order: 3;
        flex: 0 0 auto;
    }
    
    .header-logo img,
    .header-apsiyon img {
        width: 100.8px;
        height: 100.8px;
        bottom: -7.35px;
    }
    
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        order: 2;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hamburger-menu span {
        width: 100%;
        height: 3px;
        background: #F8FAFC;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .header-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        transition: left 0.3s ease;
        z-index: 1000;
        gap: 20px;
    }
    
    .header-menu.active {
        left: 0;
    }
    
    .header-menu a {
        font-size: 18px;
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(248, 250, 252, 0.1);
    }
    
    .instagram-link {
        width: 100%;
        justify-content: flex-start;
    }
    
    .instagram-icon {
        width: 28px;
        height: 28px;
    }
}

