/* Genel Ayarlar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: #FFE51F;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    text-align: center;
    color: #111;
    padding: 20px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Giriş Bloğu */
section > div {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
}

/* Ana Fotoğraf */
.beImg {
    width: 100%;
    max-width: 150px; /* Maksimum genişlik 150px olarak arttırıldı */
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 4px solid white; /* Çerçeve eklemek için */
    padding: 5px; /* Çerçeveyle logo arasına boşluk ekler */
}

/* Başlık ve Alt Başlık */
.baslik {
    font-size: 24px;
    margin: 8px 0;
}

.sub-head {
    font-size: 18px;
    margin-bottom: 15px;
}

/* Hakkında Metni */
.metin {
    font-size: 14px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Sosyal Medya İkonları */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
}

.social-icons a {
    text-decoration: none;
    color: #111;
    font-size: 22px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: white;
}

/* Video Kartları */
.link-card {
    position: relative;
    width: 100%;
    max-width: 320px;
    padding: 8px;
    color: black;
    font-weight: bold;
    font-size: 14px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px auto;
    overflow: hidden; /* Taşmaları engelle */
    box-sizing: border-box; /* Mobilde tam oturması için */
    background-color: #fff; /* Arka plan rengini beyaz yap */
    display: flex; /* Ortalamayı sağlamak için Flexbox */
    justify-content: center; /* Yatayda ortalamak */
    align-items: center; /* Dikeyde ortalamak */
}

.link-card img {
    width: 100%; /* Video kapak resmi veya içerik tam genişlikte olacak */
    height: auto;
    border-radius: 8px; /* Kenar yumuşatmaları */
}

/* Video başlığını gizleyip sadece arka planı bırak */
.link-card a p {
    display: none; /* Başlık görünmesin */
}

/* YouTube İkonu Ortada */
.ytlogo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 35px;
    color: white;
    z-index: 1;
}

/* Buton Kartları */
.button-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin: 20px auto;
}

/* Buton Linkleri */
.button-link {
    filter: drop-shadow(1px 1px 20px white);
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    color: #111;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 12px;
    text-align: center;
    width: 100%;
    max-width: 480px;
    margin: 10px auto;
    position: relative; /* Konumlandırma için gerekli */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.4s ease;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #111;
    overflow-wrap: break-word; /* Uzun kelimelerin taşmasını önler */
    word-wrap: break-word; /* Tarayıcı uyumluluğu için */
	
}

.button-link i {
    margin-right: 8px;
    font-size: 20px;
}

/* Buton üzerine gelindiğinde arı ikonu uçacak */
.button-link:hover {
    background-color: #111;
    color: #fff;
    transform: translateY(-8px);
    box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.2);
    border: 2px solid #fff;
    animation: beeFly 0.6s ease infinite; /* Arı uçma efekti */
}

/* Arı İkonu Uçma Efekti */
@keyframes beeFly {
    0% {
        transform: translateY(0); /* Başlangıçta normal konum */
    }
    25% {
        transform: translateY(-4px); /* Yukarıya küçük bir hareket */
    }
    50% {
        transform: translateY(0); /* Normal konum */
    }
    75% {
        transform: translateY(4px); /* Aşağıya küçük bir hareket */
    }
    100% {
        transform: translateY(0); /* Normal konum */
    }
}

/* Arı İkonu Eklenmiş Buton */
.button-link .fa-bee {
    position: absolute;
    bottom: 10px; /* Başlangıç konumu (butonun alt kısmı) */
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    transition: transform 1s ease, opacity 1s ease;
}

/* Arı İkonu Butona Hover Yapıldığında Uçar */
.button-link:hover .fa-bee {
    transform: translateX(-50%) translateY(-50px); /* Arı yukarı doğru hareket eder */
    opacity: 0; /* Arı kaybolur */
}

/* Mobil uyumlu butonlar */
@media screen and (max-width: 768px) {
    .button-link {
        max-width: 90%; /* Mobilde butonların genişliği %90 */
	
    }

    .link-card {
        max-width: 90%; /* Video kartlarının genişliği %90 yapılır */
        margin-left: auto; /* Sol kenarda boşluk bırakmak için */
        margin-right: auto; /* Sağ kenarda boşluk bırakmak için */
        overflow: hidden; /* Taşmaları engelle */
        display: flex; /* Ortalamayı sağlamak için Flexbox */
        justify-content: center; /* Yatayda ortalamak */
        align-items: center; /* Dikeyde ortalamak */
    }

    /* Butonlar arasındaki mesafeyi mobilde daha fazla yap */
    .button-cards {
        gap: 20px;
    }
}
