/* Genel Ayarlar */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

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

.logo {
    text-decoration: none; /* Alt çizgiyi kaldırır */
    color: inherit; /* Varsayılan metin rengini korur */
}

.image-gallery .swiper {
    width: 100%;
    height: 300px;
}

.image-gallery .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f4f4;
}

.image-gallery .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 10px;
    object-fit: cover;
}

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

.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);
}


.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);
}

/* Blog Posts (Son Yazılar) Alanı */
.blog-posts {
    background-color: #e0efff;
    padding: 40px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-top: 40px;
    border-radius: 10px;
}

.blog-posts h2 {
    font-size: 2.5em;
    color: #222;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.logo img {
    width: 60px; /* Logonun genişliğini kontrol edin */
    height: 60px;
    margin-right: 10px; /* Görsel ile metin arasında boşluk */
}

.logo h1 {
    white-space: nowrap; /* Metnin bir satırda kalmasını sağlar */
    margin: 0;
}

.container-fluid {
    padding-left: 15px; /* Sol kenara yaklaşma */
    padding-right: 15px;
}

.nav {
    margin-left: auto !important; /* Navigasyonu sağa taşır */
}

.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;
}

/* Yakın Zamanda Yapılmış Etkinlikler */
.last-activites {
    background-color: #e0efff;
    padding: 40px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-top: 40px;
    border-radius: 10px;
}

.last-activites h2 {
    font-size: 2.5em;
    color: #222;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

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

footer p {
    margin: 0;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}





/* ===== Globe background layer (full-bleed) ===== */
#globe-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Video/Canvas tüm genişlik + yükseklik */
#globe-bg .globe-wrap {
  position: absolute;
  inset: 0;              /* top/right/bottom/left: 0 */
  height: 100vh;
  width: 100vw;
  /* Soldan saydamlaşan maske: içerik tarafı temiz kalır */
  -webkit-mask-image: linear-gradient(to left,
    rgba(0,0,0,1) 65%,
    rgba(0,0,0,0.85) 75%,
    rgba(0,0,0,0.0) 92%);
  mask-image: linear-gradient(to left,
    rgba(0,0,0,1) 65%,
    rgba(0,0,0,0.85) 75%,
    rgba(0,0,0,0.0) 92%);
}

#globe-bg canvas,
#globe-bg video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: right center; /* sağdan kadraj */
  opacity: 0.9;
  filter: contrast(1.05);
}

/* Artık extra koyu overlay'e gerek yok; istersen kaldır */
#globe-bg .globe-wrap::after { content: none; }

/* İçerikler üstte */
header, main, footer, .site-header { position: relative; z-index: 1; }

@media (max-width: 768px) {
  #globe-bg { display: none !important; }
}




/* Mobil uyumlu düzenlemeler */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .posts-container {
        grid-template-columns: 1fr;
    }

    .blog-card {
        height: 400px;
    }

    /* 📌 MOBİL HEADER YÜKSEKLİĞİNİ ARTIR */
@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 */
    .hamburger-menu {
        font-size: 32px; /* Biraz daha büyük ikon */
        padding: 12px; /* Boşluğu artır */
        top: 20px; /* Daha aşağıda */
        right: 20px; /* Kenardan uzaklaştır */
    }

    /* 📌 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;
    }
}

}

.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 */
}


/* 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 */
}

/* 📌 Masaüstü Menü - Sadece büyük ekranlarda görünür */
.desktop-nav {
    display: flex;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none; /* Mobilde masaüstü menüyü gizle */
    }
}

/* 📌 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 */
}


