/*
Theme Name: Moderna (Updated)
Author: BootstrapMade (Custom Update by ChatGPT)
*/

/* ==== Fontlar ==== */
@import url('https://fonts.googleapis.com/css?family=Noto+Serif:400,400italic,700|Open+Sans:300,400,600,700');

/* ==== Ek CSS ==== */
@import url('../js/google-code-prettify/prettify.css');
@import url('font-awesome.css');
@import url('custom-fonts.css');
@import url('overwrite.css');
@import url('animate.css');

/* Genel Ayarlar */
body {
    font-family: 'Segoe UI', sans-serif;
    font-size: 13px;
    background-color: #fff;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

    a:hover {
        color: #00bcd4;
    }

/* === Üst Yazı Alanı === */
.topbar {
    background-color: #f8f9fa;
    padding: 5px 20px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    font-weight: 600;
}

.header-bottom {
    background-color: #000;
    padding: 8px 0;
    color: #fff;
    font-size: 14px;
}

.title {
    font-weight: bold;
    color: #ffcc00;
    white-space: nowrap;
    flex-shrink: 0;
}

.news-item {
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item {
    display: inline-block;
    font-size: 14px;
    color: #fff;
    padding-left: 5px;
    transition: opacity 0.5s ease;
    white-space: nowrap;
}

    .news-item.active {
        opacity: 1;
        visibility: visible;
    }

.emoji-filter a {
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease;
}

    .emoji-filter a:hover {
        transform: scale(1.2);
    }

@media (max-width: 768px) {
    .header-bottom .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .emoji-filter {
        margin-top: 8px;
        margin-left: 0;
    }
}


/* Navbar genel ayar */
.navbar {
    background-color: #fff !important;
    box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-brand img {
    max-height: 45px;
    width: auto;
    display: block;
    margin-left: -70px; /* Negatif değerle sola kaydırır */
}

/* Menü ortada */
.navbar-nav.mx-auto {
    font-weight: 600;
    letter-spacing: 1.5px;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-size: 14px;
    padding: 8px 15px;
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #00bcd4 !important;
        text-decoration: none;
    }

/* Dropdown menü */
.navbar-nav .dropdown-menu {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0;
    min-width: 180px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.navbar-nav .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s ease;
}

    .navbar-nav .dropdown-item:hover {
        background-color: #00bcd4;
        color: #fff;
    }

/* Sağdaki arama kutusu */
form[method="get"] input[type="text"] {
    width: 110px;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 20px;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
}

    form[method="get"] input[type="text"]:focus {
        outline: none;
        border-color: #00bcd4;
        box-shadow: 0 0 5px rgba(0,188,212,0.5);
    }
.btn-sm {
    font-size: 10px;
    padding: 6px 15px;
    font-weight: 300;
    border-radius: 20px;
    margin-right: 10px; /* Yan yana boşluk için pozitif değer */
}
.btn-container {
    display: flex;       /* Flex ile hizalama */
    justify-content: flex-end;  /* Sağ tarafa yasla */
    gap: 10px;           /* Butonlar arası boşluk */
    align-items: center; /* Dikey ortalama */
}


.btn-outline-primary {
    color: #00bcd4;
    border-color: #00bcd4;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background-color: #00bcd4;
        color: #fff;
    }

.btn-primary {
    background-color: #00bcd4;
    border-color: #00bcd4;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: #0097a7;
        border-color: #0097a7;
    }

/* Profil resmi küçük yuvarlak */
.dropdown-toggle img.rounded-circle {
    width: 45px;
    height: 45px;
    object-fit: cover;
    margin-right: 8px;
}

/* Dropdown menü kullanıcı */
.dropdown-menu {
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Responsive ayarlar */
@media (max-width: 991px) {
    form[method="get"] input[type="text"] {
        width: 120px;
    }

    .navbar-nav.mx-auto {
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    form[method="get"] input[type="text"] {
        display: none;
    }
}

/* === Footer === */
footer {
    background-color: #1e3a5f;
    padding: 30px 0;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.footer-link {
    display: block;
    color: #ccc;
    padding: 6px 0;
    font-size: 13px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

    .footer-link:hover {
        color: #ffc107;
        border-left-color: #ffc107;
        transform: translateX(5px);
        text-decoration: underline;
    }

/* === Formlar ve Optionlar === */
option {
    background-color: white;
    color: black;
}

/* === Responsive === */
@media (max-width: 992px) {
    .topbar {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .header-right {
        flex-direction: column;
        margin-top: 10px;
        gap: 8px;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* === Keyframes === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.emoji-filters .emoji-icon {
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

    .emoji-filters .emoji-icon:hover {
        transform: scale(1.2);
        color: #ffc107;
    }
