/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #1a1a1a;
}
  
/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    padding: 15px;
    color: white;
    box-shadow:0 4px 6px rgba(255,255,255,0.8) ;
}

.navbar-logo {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    font-family: "Anton", serif;
    font-weight: 90;
    font-style: normal;
    font-size: 25px;
    color: rgb(255, 255, 255);
    position: relative;
    margin-bottom: 10px; /* Altına 10px boşluk ekler */
}
.navbar-logo {
    font-size: 24px;
    font-weight: bold;
    position: relative; /* Çizgi konumlandırması için relative konumlandırma */
}

.navbar-logo::after {
    content: "";
    position: absolute;
    bottom: -5px; /* Logo metninin hemen altına yerleştir */
    left: 50%;
    transform: translateX(-50%);
    width: 0; /* Başlangıçta gizle */
    height: 2px;
    background-color: #91851b; /* Sarı renk */
    animation: expandLine 1s ease-out forwards; /* Animasyonu başlat */
}

/* Animasyon */
@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 100%; /* Çizgi tamamen genişlesin */
    }
}

.navbar-links {
    display: flex;
    list-style: none;
}

.navbar-links li {
    margin: 0 10px;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    padding-top: 5px;
}
.navbar-links a:hover {
    color: #eedb33;
}

/* Mobil uyumlu navbar */
.navbar-icons{
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    font-family: "Anton", serif;
    font-weight: 90;
    font-style: normal;
    font-size: 25px;
    color: rgb(255, 255, 255);
    position: relative;
    margin-bottom: 10px; /* Altına 10px boşluk ekler */
}
.navbar-icons a {
    font-weight: bold;
    text-align: center;
    font-family: "Anton", serif;
    font-weight: 90;
    font-style: normal;
    font-size: 25px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    
}

.navbar-toggle::after {
    content: "";
    display: block;
    width: 0;
    height: 4px;
    background-color: #91851b;
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    animation: underlineExpand 1s ease-out 0.5s forwards;
}

/* İçerik düzeni */
.içerikkoru {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.haberler {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.news-card {
    flex: 1 1 calc(33.333% - 20px);
    background:#111;
    color: white;
    padding: 15px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.news-card img {
    max-width: 100%;
    border-radius: 10px;
}

/* **Mobil uyum ayarları** */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-links {
        flex-direction: column;
        display: none;
        width: 100%;
        padding-top: 10px;
    }

    .navbar-links.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

    .haberler {
        flex-direction: column;
    }

    .news-card {
        flex: 1 1 100%;
    }
}
.source-box {
    /* position: relative;
    top: 150px;  ALT KUTUNUN ASAGİ İNDİRME*/ 
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-size: 14px;
}

.source-box a {
    color: #91851b;
    text-decoration: none;
    font-weight: bold;
}

.source-box a:hover {
    text-decoration: underline;
}
.search-input {
    margin-top: 10px;
    margin-right: 20px;
    background-color: #333;
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
    width: 180px;
    transition: width 0.4s ease;
}

.search-input:focus {
    width: 250px;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #fff;
    padding-inline-start: 0px;
}

/* Sayfa açılış animasyonu */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.0s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Video Arka Plan */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Tüm içeriklerin arkasında kalmasını sağlar */
    overflow: hidden;
}

/* Video Özellikleri */
.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover; /* Video tam ekrana yayılsın */
}
.video-background {
    height: 100vh; /* Yüksekliği ekranın tamamı kadar yapar */
}

.highlight {
    background-color: yellow;
    color: black;
    font-weight: bold;
}


/* Navbar'ın başlangıçta gizli olan kısmı */
.navbar-links {
    display: flex;
    list-style: none;
    overflow: hidden; /* Taşan içerik gizlensin */
    max-height: 0; /* Başlangıçta sıfır yüksekliğe sahip */
    transition: max-height 0.5s ease-out; /* Animasyon süresi */
    flex-direction: column; /* Mobilde dikey sıralama */
}

/* Navbar açıldığında aktif sınıf */
.navbar-links.active {
    max-height: 460px; /* Yüksekliği artırarak menüyü görünür yap */
}

/* Navbar menüsündeki bağlantılar */
.navbar-links li {
    margin: 10px 0;
}
.poetsen-one-regular {
    font-family: "Poetsen One", serif;
    font-weight: 400;
    font-style: normal;
    color: white;
  }