/* navbar.css - DÜZELTİLMİŞ VERSİYON - LOGO BÜYÜTÜLDÜ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000000; /* Siyah arkaplan */
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    border-bottom: 2px solid #FFD700; /* Altın sarısı */
}

.navbar.scrolled {
    padding: 0.7rem 5%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px; /* Boşluk biraz artırıldı */
}

/* LOGO DÜZENLEMESİ */
.logo-text {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF; /* Beyaz */
    letter-spacing: 2px;
}

/* LOGO İÇİN RESİM STİLİ - BÜYÜTÜLDÜ */
.logo-text img {
    height:60px; 
    width: 200px;
    max-width: 220px; /* 180px'den 220px'e çıkarıldı */
    transition: all 0.3s ease;
    background: transparent;
    display: block;
}

/* Scroll durumunda logo boyutu - büyütüldü */
.navbar.scrolled .logo-text img {
    height: 55px; /* 40px'den 55px'e çıkarıldı */
}

.logo-dot {
    color: #FFD700; /* Altın sarısı */
    font-size: 3rem; /* 2.5rem'den 3rem'e çıkarıldı */
    line-height: 1;
    margin-left: 2px;
    animation: pulse 2s infinite;
    align-self: center;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #FFFFFF !important; /* BEYAZ - kesinlikle beyaz olması için !important eklendi */
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    display: inline-block;
    background: transparent;
    opacity: 1 !important; /* Görünürlük garantisi */
    visibility: visible !important; /* Görünürlük garantisi */
}

/* Hover efekti */
.nav-link:hover {
    color: #FFD700 !important; /* Altın sarısı */
}

/* Aktif link */
.nav-link.active {
    color: #FFD700 !important; /* Altın sarısı */
}

/* Altın çizgi efekti */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700; /* Altın sarısı */
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link.active::before {
    width: 100%;
}

/* Hamburger menü butonu */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    z-index: 1001;
    padding: 10px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #FFFFFF; /* Beyaz */
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger aktif */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #FFD700; /* Altın sarısı */
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #FFD700; /* Altın sarısı */
}

/* MOBİL TASARIM */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    /* Mobilde logo boyutu - büyütüldü */
    .logo-text img {
        height: 60px; /* 45px'den 60px'e çıkarıldı */
        max-width: 180px; /* 140px'den 180px'e çıkarıldı */
    }
    
    .navbar.scrolled .logo-text img {
        height: 50px; /* 35px'den 50px'e çıkarıldı */
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px; /* 70px'den 80px'e çıkarıldı (logo büyüdüğü için) */
        gap: 0;
        flex-direction: column;
        background-color: #000000; /* Siyah */
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
        padding: 2rem 0;
        border-top: 2px solid #FFD700;
        border-bottom: 2px solid #FFD700;
        margin: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
        width: 100%;
    }

    .nav-link {
        font-size: 1.2rem;
        color: #FFFFFF !important; /* Mobilde de beyaz */
        display: block;
        padding: 10px 0;
    }

    .nav-link:hover {
        color: #FFD700 !important;
        background: rgba(255, 215, 0, 0.1);
    }

    .nav-link::before {
        display: none;
    }
}

/* ÇOK KÜÇÜK EKRANLAR */
@media (max-width: 480px) {
    /* Küçük telefonda logo boyutu - büyütüldü */
    .logo-text img {
        height: 50px; /* 40px'den 50px'e çıkarıldı */
        max-width: 150px; /* 120px'den 150px'e çıkarıldı */
    }
    
    .navbar.scrolled .logo-text img {
        height: 42px; /* 32px'den 42px'e çıkarıldı */
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-dot {
        font-size: 2.5rem; /* 2rem'den 2.5rem'e çıkarıldı */
    }
    
    .nav-link {
        font-size: 1rem;
    }
}

/* ÇOK KÜÇÜK TELEFON */
@media (max-width: 360px) {
    .logo-text img {
        height: 45px; /* 35px'den 45px'e çıkarıldı */
        max-width: 130px; /* 100px'den 130px'e çıkarıldı */
    }
    
    .logo-dot {
        font-size: 2.2rem; /* 1.8rem'den 2.2rem'e çıkarıldı */
    }
}

/* Navbar altın çizgi animasyonu */
.navbar::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #FFD700, 
        #FFC107, 
        #FFD700, 
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Linklerin asla siyah olmaması için ek güvence */
a, a:visited, a:focus, a:active {
    color: #FFFFFF;
    text-decoration: none;
}

a:hover {
    color: #FFD700;
}