@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: black;
    color: rgb(255, 255, 255);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.548), green, rgba(0, 0, 0, 0.548));
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    /* border-radius: 100px; */
}

.logo {
    font-size: 25px;
    color: white;
    text-shadow: 5px 5px 10px black;
    text-decoration: none;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    
}

.navbar a {
    display: inline-block;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));
}
.navbar a::after {
    content: '';
    width: 0;
    height: 2px;
    background: black;
    border-radius: 50%;
    position: absolute;
    left: 0;
    bottom: -3px;
    transition: 0.6s;
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover {
    background: linear-gradient(45deg, rgb(0, 0, 0), rgb(0, 0, 0));
    -webkit-text-fill-color: transparent;
    background-clip: border-box;
    -webkit-background-clip: text;
}

.home {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10% 0;
}

.home-content {
    max-width: 600px;
    padding: 50px;
    /* margin-left: -30px; */
}

.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: .7s;
}   

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.mu {
    margin-top: 50px;
}

.home-content h1, h3 {
    text-shadow: 5px 4px 10px green;
}

.home-content h3 span {
    color: rgb(0, 255, 0);
}

.home-content p {
    font-size: 16px;
    margin: 20px 0 0;
    text-align: left;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1.3s;
}

.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: black;
    border: 2px solid green;
    border-radius: 50%;
    font-size: 20px;
    color: green;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    opacity: 0;
    animation: zoomIn 1s ease forwards;
    animation-delay: 0.4s;
    
}

.home-sci a:hover {
    background: green;
    color: black;
    box-shadow: 0 0 20px green;
}

.btn-box {
    display: inline-block;
    padding: 12px 28px;
    background: green;
    border-radius: 40px;
    font-size: 16px;
    color: black;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: zoomIn 1s ease forwards;
    animation-delay: 0.4s;
}

.btn-box:hover {
    box-shadow: 0 0 5px green,
    0 0 25px green, 0 0 50px green,
    0 0 100px green, 0 0 200px green;
}

.home-img {
    width: 410px;
    height: 410px;
    opacity: 0;
    animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
    animation-delay: 2.1s, 3.1s;
}

.home-img .glowing-circle {
    width: 100%;
    height: 100%;
   
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img .glowing-circle::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    background-color:black;
    border-radius: 50%;
}

.glowing-circle span {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(black, rgba(0, 128, 0, 0.411));
    border-radius: 50%;
    animation: circleRotate 5s linear infinite;
}

.glowing-circle span:nth-child(1) {
    filter: blur(10px);
}

.image img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    max-width: 350px;
    object-fit: cover;
}

.glowing-circle .image {
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    z-index: 1;
}

.navbar-1 a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 50px;
    text-align-last: center;
}

.navbar-1 a.active, 
.navbar-1 a:hover {
    background: linear-gradient(45deg, rgb(0, 0, 0), rgb(0, 0, 0));
    -webkit-text-fill-color: transparent;
    background-clip: border-box;
    -webkit-background-clip: text;
}

canvas {
    position: fixed;
    top: auto;
    left: auto;
    background-color: black;
    z-index: -1;
    background-size:cover;
    background-blend-mode: multiply;
    background-size: auto;
    scroll-behavior: smooth;
}


/* ---------------------------About----------------------- */

.about {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10% 0;
    margin-top: 10% ;
}
    
.about-img img{
    padding: auto;
}

.about-content h3{
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.about-content p{
    font-size: 16px;
    margin: 20px 0 0;
    text-align: left;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1.3s;
}

/* Animation */
@keyframes slideTop {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }    
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }    
}

@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }    
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-24px);
    }

    100%{
        transform: translate(0);
    }
}

@keyframes circleRotate {
    0% {
        transform: rotate(0);
    }
    
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
/* ---------------------------Mobil----------------------- */
@media (max-width: 768px) {

    #microblog {
    position: relative;
    z-index: 99;
    background-color: black;
    padding: 1rem;
    margin-top: 80px;  /* Yukarıdan boşluk */
    margin-bottom: 1rem;
    }

    .home {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        text-align: center;
    }

    .home-content {
        max-width: 100%;
        padding: 0 15px;
    }

    .home-content h1 {
        font-size: 36px;
    }

    .home-content h3 {
        font-size: 24px;
    }

    .home-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .home-img {
        width: 280px;
        height: 280px;
        margin-top: 25px;
        position: relative;
        z-index: 1;
    }

    .glowing-circle {
        width: 100%;
        height: 100%;
    }

    .glowing-circle .image {
        width: 260px;
        height: 260px;
    }

    .home-sci {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .home-sci a {
        margin: 10px;
    }

    .btn-box {
        display: inline-block;
        margin-top: 30px;
        padding: 10px 24px;
        font-size: 14px;
        position: relative;
        z-index: 2;
    }

    header.header {
        flex-direction: column;
        align-items: center;
    }

    .navbar a {
        display: block;
        margin: 10px 0;
    }
    .mu {
        margin-top: 120px;
    }
}
/* ---------------------------Navbar----------------------- */

/* Genel dropdown alanı */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Açılır menü düğmesi (üst link) */
.dropbtn {
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 50px;
  cursor: pointer;
}

/* Açılır menü içeriği (başlangıçta gizli) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: green;
  min-width: 160px;
  z-index: 100;
  border: 1px solid white;
  border-radius: 10px;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  color: white;
  background-color: limegreen; /* veya sadece 'green' */
  text-shadow: 0 0 10px green;
}

/* Hover ile gösterme */
.dropdown:hover .dropdown-content {
  display: block;
}

/* microblog */
#microblog {
  width: 100%;
  padding: 60px 10%;
  background: transparent;
}

.microblog .section-title {
  color: white;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 5px limegreen;
}

/* Entry container */
.entries {
  background: black;
  border: 2px solid limegreen;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
}

/* --------------------------- HİYERARŞİK LİSTE STİLLERİ ------------------------- */
#entries {
  position: relative;
  min-height: 500px;
  padding-left: 6;
}

.entry {
  position: relative;
  background: rgba(0, 30, 0, 0.2);
  border: 1px solid rgba(50, 205, 50, 0.3);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  transition: all 0.3s;
  z-index: 2;
}

.entry:hover {
  transform: translateY(-3px);
  border-color: #00ff00;
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.1);
}

.child-entry {
  background: rgba(0, 50, 0, 0.3);
  border-left: 3px solid limegreen;
  margin-top: 10px;
  margin-left: 30px;
}

.timestamp {
  font-size: 0.85rem;
  color: #90ee90;
  margin-bottom: 5px;
  font-family: monospace;
}

.entry-id {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.8rem;
  font-weight: bold;
  background: rgba(50, 205, 50, 0.2);
  padding: 3px 8px;
  border-radius: 12px;
  color: #00ff00;
}

.content {
  color: #e0ffe0;
  font-size: 1rem;
  line-height: 1.5;
  padding-right: 60px;
}

/* Mobil için */
@media (max-width: 768px) {
  .entry {
    padding: 12px;
  }
  
  .child-entry {
    margin-left: 15px !important;
  }
  
  .entry-id {
    top: 12px;
    right: 12px;
    font-size: 0.7rem;
  }
  
  .content {
    padding-right: 40px;
    font-size: 0.9rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
}
/* Galeri*/
/* Galeri genel */
/* --- FOTO GALERİ --- */
.photo-gallery {
  text-align: center;
  background: #000;
  padding: 40px 0;
  border-top: 2px solid limegreen;
  border-bottom: 2px solid limegreen;
  color: #fff;
}

.photo-gallery .section-title {
  color: #fff;
  text-align: center;
  text-shadow: 1px 1px 8px limegreen;
  font-size: 28px;
  margin-bottom: 20px;
}

.gallery-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Mobilde 4 sütun */
  gap: 5px;
  width: 100%;
  max-width: 600px;
  padding: 10px;
}

.gallery-photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-photo:hover {
  transform: scale(1.05);
}

.load-more {
  background: limegreen;
  color: black;
  padding: 10px 20px;
  margin-top: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  border: 2px solid limegreen;
  box-shadow: 0 0 20px limegreen;
  display: flex;
  justify-content: center;
  align-items: }

#modal-Image {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 5px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}
.translation-icon {
  display: inline-block;
  width: 20px;               /* Kare için eşit genişlik ve yükseklik */
  height: 16px;
  background-position: center;
  background-size: contain;   /* Bayrağın tamamını göster (orijinal oran korunur) */
  background-repeat: no-repeat;
  cursor: pointer;
  margin-left: 6px;
  padding: 0;
  box-sizing: border-box;
  line-height: 0;
  vertical-align: middle;
  border: 0.5px solid transparent;
  transition: all 0.2s ease;
  overflow: hidden;          /* Taşan kısımları kes */
}

.translation-icon:hover {
  transform: scale(1.15);
  border: 0.5px solid white;
  border-radius: 1px;
  background-size: cover;    /* Hover'da tam kareyi kapla (opsiyonel) */
}

.tooltip-box {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0,0,0,0.75);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 0.2s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


/* Gösterilecek durumda */
.translation-icon.show-tooltip .tooltip-box {
  opacity: 1;
}

/* Mobilde ekran taşmasını engelle */
@media (max-width: 600px) {
  .tooltip-box {
    left: 50%;
    transform: translate(-50%, -110%);
    max-width: 90vw;
    font-size: 12px;
    padding: 5px 8px;
  }
}

/* ÖZEL UĞUR BÖCEĞİ STİLİ (mevcut CSS ile çakışmayacak) */
    .bug-icon {
            color: #FF142E; /* Kırmızı renk */
            font-size: 1em;
            margin: 0 5px;
            vertical-align: middle;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }
        
        .ladybug-brand {
            font-size: 5rem;
            font-weight: 800;
            color: #333;
        }
.bug-iconentry {
            color: #FF142E; /* Kırmızı renk */
            font-size: 1em;
            margin: 0 2px;
            vertical-align: middle;
            animation: pulse 2s infinite;
        }
