
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* NAVBAR AYARLARI */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Logo ve hamburger arası boşluk için */
    width: 100%;
    height: auto;
    min-height: 80px;
    padding: 10px 50px;
    background-color: #fff; /* Arkaplan beyaz olsun ki mavi yazı görünsün */
    border-bottom: 1px solid rgba(0, 96, 170, 1);
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
}

body {
    padding-top: 80px; /* Navbar yüksekliği kadar boşluk bırakın */
}
/* SOL: Logo */
.nav-left {
    flex: 0 0 auto; /* Genişlik içeriğe göre */
    z-index: 102; /* Mobilde menünün üstünde kalsın */
}

.logo-img {
    height: 53px;
    object-fit: contain;
    display: block;
}

/* MOBİL İÇİN HAMBURGER MENÜ BUTONU (Varsayılan Gizli) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 102;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* ORTA VE SAĞ ALANI KAPSAYAN GRUP (Masaüstü için) */
.nav-group {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* ORTA: Menüler */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.5s ease, opacity 0.5s ease; /* YUMUŞATILDI */
}

.nav-links li a:hover {
    opacity: 0.7;
    color: #0060aa;
}

/* AKTİF SAYFA RENGİ */
.nav-links li a.active {
    color: #0060aa;
    font-weight: 700;
}

/* SAĞ: İkonlar */
.nav-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* YUMUŞATILDI */
}

.icon-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor; 
}

.icon-link:hover {
    transform: scale(1.15);
    color: #0060aa;
}

.lang-option {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    border: 1px solid #000;
    padding: 5px 10px;
    border-radius: 4px;
    margin-left: 10px;
    text-decoration: none;
    transition: all 0.5s ease; /* YUMUŞATILDI */
}

.lang-option:hover {
    background-color: #0060aa;
    color: #fff;
    border-color: #0060aa;
}

/* HERO ALANI */
.hero-container {
    display: flex;
    height: calc(100vh - 80px);
    width: 100%;
}

.split {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    transition: flex 0.3s ease-in-out;
    text-align: center;
    overflow: hidden;
}

.split::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* %50 Karartma */
    z-index: 1;
    transition: background 0.8s ease; /* YUMUŞATILDI */
}

.split:hover { flex: 1.15; }

.split:hover::before { 
    background: rgba(0, 0, 0, 0.3); /* Hoverda biraz açılsın */
}

.split h1, .split .btn-outline {
    position: relative;
    z-index: 2;
    color: #fff;
}

.split h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: transform 0.5s ease;
}

.split:hover h1 {
    transform: translateY(-5px);
}

.btn-outline {
    padding: 12px 35px;
    border: 2px solid #fff;
    border-radius: 50px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.5s ease;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}

/* --- MOBİL UYUMLULUK VE AKORDİYON MENÜ --- */
@media (max-width: 992px) {
    .navbar {
        padding: 0 20px;
        min-height: 65px;
        justify-content: space-between; /* Logo Sol, Hamburger Sağ */
    }

    .hamburger {
        display: flex; /* Mobilde göster */
    }

    /* Akordiyon Menü Yapısı */
    .nav-group {
        position: absolute; /* Navbar'dan bağımsız hareket etsin */
        top: 100%; /* Navbar'ın tam bittiği yerden başlasın */
        left: 0;
        width: 100%;
        background-color: #fff; /* Arkaplanı BEYAZ yapıyoruz */
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        
        /* Akordiyon Efekti için */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        
        /* Gölge ekleyelim ki üstte durduğu belli olsun */
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    /* Menü Açılınca */
    .nav-group.open {
        max-height: 500px; /* İçeriğin sığacağı kadar yükseklik */
        border-bottom: 4px solid #0060aa; /* Altına şık bir çizgi */
    }

    .nav-center {
        width: 100%;
        padding: 20px 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Mobilde Link Renkleri SİYAH (Çünkü zemin beyaz) */
    .nav-links li a {
        color: #333;
        font-size: 16px;
    }

    .nav-links li a:hover, .nav-links li a.active {
        color: #0060aa; /* Hover olunca Mavi */
        text-shadow: none;
    }

    /* Mobilde İkonlar */
    .nav-right {
        width: 100%;
        justify-content: center;
        padding: 15px 0;
        border-top: 1px solid #eee;
        margin-bottom: 10px;
    }

    .icon-link {
        color: #555; /* İkonlar koyu gri */
    }
    
    .lang-option {
        color: #555;
        border-color: #555;
    }

.hero-container {
        flex-direction: column;
        height: calc(100vh - 65px); /* 80px navbar yüksekliğinizdir */
    }

    /* Her bir bölümün (Mobilya/Elektronik) kalan alanı %50 - %50 paylaşmasını sağlar */
    .split {
        flex: 1; 
        width: 100%;
    }
    body {
    padding-top: 65px; /* Navbar yüksekliği kadar boşluk bırakın */
}
}
  