/* Genel Ayarlar */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.logo {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    font-size: 16px;
    color: #333;
    background: linear-gradient(135deg, #d4f1f4 0%, #ffffff 100%);
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Header ve Footer */
.site-header {
    background: linear-gradient(90deg, #003366 0%, #6699cc 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.btn-disabled {
    pointer-events: none;
    opacity: 0.6;
}

.site-header .logo img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.site-header .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.site-header .nav-link:hover {
    color: #002244 !important;
    background-color: rgba(255,255,255,0.2);
}

/* Arama Kutusu İçin Modern Stil */

/* search-container stilleri */
.search-container {
    max-width: 300px; /* Genişlik sınırlaması */
    width: 100%;
    position: relative;
}

.search-input {
    padding: 8px 35px 8px 15px; /* İç boşluk ayarları */
    border-radius: 25px;
    border: 1px solid #ccc;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
    outline: none;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.search-icon:hover {
    color: #007bff;
}

.social-icon {
    display: inline-block;
    margin-top: 10px; /* Yazı ile logo arasında boşluk bırakır */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon img.instagram-logo {
    width: 30px; /* Logo boyutu */
    height: auto;
    filter: grayscale(100%); /* Gri tonlama efekti */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.social-icon:hover img.instagram-logo {
    filter: none; /* Gri tonlama kaldırılır */
    transform: scale(1.1); /* Hafif büyütme efekti */
}



.all-posts {
    background-color: #e0efff;
    padding: 40px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    border-radius: 10px;
}

.all-activities {
    background-color: #e0efff;
    padding: 40px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    border-radius: 10px;
}

/* Öneri kutusu stilleri */
.suggestions-list {
    display: none; /* Varsayılan olarak gizli */
    position: absolute;
    top: 100%; /* Arama kutusunun hemen altında */
    left: 0;
    width: 100%; /* Arama kutusuna hizalanır */
    z-index: 1000; /* Üstte kalır */
    max-height: 300px; /* Çok fazla öneri varsa kaydırılabilir */
    overflow-y: auto; /* Dikey kaydırma */
    overflow-x: hidden; /* Yatay taşmayı engelle */
    background-color: #fff; /* Beyaz arka plan */
    border-radius: 0 0 8px 8px; /* Yuvarlatılmış alt köşeler */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Hafif gölge */
}

.suggestions-list li {
    padding: 10px 15px;
    text-overflow: ellipsis;
    cursor: pointer;
}

.suggestions-list li:hover {
    background-color: #f1f1f1;
}

/* Responsive tasarım için */
@media (max-width: 576px) {
    .search-container {
        max-width: 100%;
    }
}

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    font-size: 1em;
    margin-top: auto;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

footer p {
    margin: 0;
}

/* Kartlar Aynı */

.posts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}


.blog-card {
    max-width: 550px;
    width: 100%;
    height: 400px;
    position: relative;
    color: #fff;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 10px 20px -9px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: all 0.4s;
    background-size: cover;
    background-position: center;
}

.blog-card a {
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-card .color-overlay {
    background: rgba(64, 84, 94, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: background 0.3s cubic-bezier(0.33, 0.66, 0.66, 1);
}

.blog-card .gradient-overlay {
    background-image: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.6) 21%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 1;
}

.blog-card:hover {
    box-shadow: 0px 18px 20px -9px rgba(0, 10, 30, 0.75);
}

.blog-card:hover .color-overlay {
    background: rgba(64, 64, 70, 0.8);
}

.title-content {
    margin-top: 170px;
    position: absolute;
    z-index: 2;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    transition: all 0.6s;
}

.blog-card h3 {
    font-size: 1.9em;
    font-weight: 400;
    letter-spacing: 1px;
    font-family: 'Abril Fatface', serif;
    margin-bottom: 0;
}

.blog-card h3 a:hover {
    text-shadow: 0px 8px 20px rgba(0, 0, 0, 0.95);
}

.intro {
    width: 170px;
    margin: 0 auto;
    color: #ddd;
    font-style: italic;
    line-height: 18px;
}

.card-info {
    box-sizing: border-box;
    padding: 0 50px;
    width: 100%;
    position: absolute;
    bottom: -40px;
    opacity: 0;
    transition: bottom 0.64s, opacity 0.63s cubic-bezier(0.33, 0.66, 0.66, 1);
    z-index: 2;
}

.card-info a {
    display: block;
    margin-top: 5px; /* Detayları Gör linki ile metin arasında boşluk bırak */
    text-decoration: none; /* Alt çizgi kaldır */
    color: #007bff; /* Mavi renkte link */
    font-weight: bold;
}

.blog-card:hover .card-info {
    opacity: 1;
    bottom: 100px;
}

.utility-info {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    text-align: left;
}

.utility-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.utility-list li {
    margin: 0 5px;
    padding: 3px 0 15px;
    display: inline-block;
    font-size: 0.8em;
}

.licon {
    position: relative;
    width: 23px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
}


/* Tema Butonu (Gündüz Modu) */
#theme-toggle {
    padding: 10px 15px;
    font-size: 1em;
    font-weight: bold;
    background: linear-gradient(135deg, #000000, #000000); /* Yeşil (gündüz modu) */
    color: #ffffff;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#theme-toggle:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #260000, #260000); /* Daha koyu yeşil */
}

/* 📌 Hamburger Menü Butonu - Sadece mobilde görünür */
.hamburger-menu {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1001;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block; /* Mobilde hamburger butonunu göster */
    }
}

/* 📌 Mobil Menü - Varsayılan olarak gizli */
.mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: rgba(0, 51, 102, 0.95);
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* 📌 Mobil menü içindeki linkler */
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    padding: 15px 0;
}

.mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    transition: background 0.3s;
}

.mobile-nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 📌 Açıldığında mobil menüyü göster */
.mobile-nav.show {
    display: flex;
}


/* 📌 Mobil menüde tema butonunu stilize et */
.theme-toggle-mobile {
    display: block;
    margin: 20px auto; /* Ortala */
    padding: 10px 15px;
    font-size: 1em;
    font-weight: bold;
    background: linear-gradient(135deg, #000000, #333333);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

/* 📌 Tema butonuna hover efekti */
.theme-toggle-mobile:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #444444, #666666);
}

/* 📌 Mobilde masaüstü tema butonunu gizle */
@media (max-width: 768px) {
    #theme-toggle {
        display: none;
    }
}

/* 📌 Mobil menü açıldığında tema butonunu göster */
.mobile-nav.show .theme-toggle-mobile {
    display: block !important; /* Tema butonunu göster */
}
@media (max-width: 768px) {
    .desktop-nav {
        display: none; /* Mobilde masaüstü menüyü gizle */
    }
}

@media (max-width: 768px) {
    .site-header {
        min-height: 80px; /* Header yüksekliğini artır */
        display: flex;
        align-items: center;
        padding: 10px 15px;
    }

    /* 📌 LOGO ve BAŞLIK ORTALANSIN */
    .site-header .logo {
        display: flex;
        align-items: center;
    }

    /* 📌 HAMBURGER MENÜ DAHA AŞAĞIDA DURMALI */
    

    /* 📌 MOBİL NAV MENÜ YÜKSEKLİĞİ ARTIR */
    .mobile-nav {
        padding-top: 20px;
    }

    /* 📌 MOBİL TEMA BUTONUNUN ALANI ARTIR */
    .mobile-nav .theme-toggle-mobile {
        padding: 12px 18px;
        font-size: 1.1em;
    }
}