/* HEADER ANA */
.modern-header {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 999;
}
/* Hamburger ikon gizli, sadece mobilde gösterilecek */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    display: block;
    height: 3px;
    background-color: #000; /* Hamburger çizgi rengi */
    border-radius: 2px;
}
.ak-header .hamburger span{
    background-color: #000; /* Hamburger çizgi rengi */
}

/* Mobilde menü gizleme ve hamburger gösterme */
@media (max-width: 992px) {
    .menu-center {
        display: none; /* Başta gizli */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #fff;
        padding: 10px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-radius: 10px!important;
    }

.ilkeilk {
    margin-top: 150px;
}

    .menu-item {
    padding: 8px 8px;
    border-radius: 50px;
    color: #000!important;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

    .hamburger {
        display: flex;
    }

    /* Menü açıldığında */
    .menu-center.active {
        display: flex;
    }
}

/* İÇ YAPI */
.header-inner {
    width: 90%;
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo img {
    height: 55px;
    filter: brightness(0) invert(1);

}

/* ORTA MENU */
.menu-center {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px;
    border-radius: 50px;
}

/* MENU ITEM */
.menu-item {
    padding: 8px 8px;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

/* AKTİF / HOVER */
.menu-item:hover {
    background: #f4f4f4;
    color: #000;
}

/* RIGHT */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-right p{
    color: #fff;
}
.header-right i{
    color: #fff;
    padding: 2px;
}
.header-right a{
    color: #fff;
}
/* LOGIN */
.btn-login {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

/* PRIMARY BUTTON */
.btn-primary {
    background: #8BC34A;
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #7cb342;
}

/* HERO UYUMLU */
.hero {
    height: 700px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* OVERLAY */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

/* Sabitlendiğinde devreye girecek stil */
.modern-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95); /* Arka plandan ayrılması için beyaz zemin */
    backdrop-filter: blur(10px);          /* Arka planı bulanıklaştırır */
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); /* Hafif gölge ile derinlik verir */
    padding: 10px 0;                      /* Biraz daraltarak daha zarif durmasını sağlar */
    animation: headerSlideDown 0.4s ease;  /* Giriş animasyonu */
}

.modern-header.scrolled .logo img {
    filter: brightness(0); /* Beyaz logoyu tamamen siyah yapar */
}

/* Kaydırıldığında yazıların okunabilmesi için renk değişimi */
.modern-header.scrolled .menu-item,
.modern-header.scrolled .header-right p,
.modern-header.scrolled .header-right i,
.modern-header.scrolled .header-right a,
.modern-header.scrolled .btn-login {
    color: #000 !important;
}

/* Giriş Animasyonu Tanımı */
@keyframes headerSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}