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

body {
    overflow-x: hidden !important;
    background: #121212;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh; /* Sayfanın en az 100vh yüksekliğinde olmasını sağlar */
    color: #ffffff;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    animation: moveStars 100s infinite linear;
}

.bg-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.example.com/background-image.jpg') no-repeat center center fixed;
    background-size: cover;
    z-index: -1;
    animation: parallaxEffect 15s infinite linear;
}

@keyframes moveStars {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(100vw) translateY(100vh);
    }
}

/* Sayfa Yüklenince Fade-in Animasyonu */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Sayfa Yüklenince Zoom-in Animasyonu */
@keyframes zoomIn {
    0% {
        transform: scale(0.8);
    }
    100% {
        transform: scale(1);
    }
}

/* Ana içerik animasyonu */
.container {
    position: relative;
    z-index: 1;
    animation: fadeIn 2s ease-in-out, zoomIn 1.5s ease-in-out;
    opacity: 0;
    overflow-x: hidden; /* Container'larda da yatay kaydırmayı engelle */
}

/* Başlık Animasyonu */
h1, h2 {
    font-size: 40px;
    font-weight: 600;
    color: #A8FF00;
    margin-bottom: 30px;
    animation: fadeIn 2s ease-in-out;
    text-align: center;
}

/* Parallax arka planı efektini iyileştirelim */
@keyframes parallaxEffect {
    0% {
        background-position: center top;
    }
    50% {
        background-position: center center;
    }
    100% {
        background-position: center bottom;
    }
}

/* Hover efektleri - Metin ve ikonlar */
h1:hover,
nav ul li a:hover,
.social-icon:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

header {
    background-color: #121212;
    padding: 10px;
    text-align: center;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

nav {
    padding: 1rem;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav ul li a:hover {
    color: #4CAF50;
}

section {
    padding: 150px;
    background: #121212;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 60px;
    width: 80%;
    max-width: 700px;
    overflow-x: hidden;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.social-links a {
    text-decoration: none; /* Alt çizgiyi kaldır */
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon {
    color: #ffffff;
    font-size: 40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none; /* Ekstra güvenlik için burada da alt çizgiyi kaldır */
}

.social-icon:hover {
    transform: scale(1.3);
    background-color: #A8FF00;
    text-decoration: none; /* Hover durumunda da alt çizgi olmamasını sağla */
}

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
    }

    .social-links {
        flex-direction: column;
    }

    .social-icon {
        font-size: 30px;
        padding: 15px;
    }

    section {
        width: 90%;
        max-width: 100%;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    #contactForm input,
    #contactForm textarea {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    #contactForm button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    #hakkimda {
        padding: 40px;
        background: rgba(30, 30, 30, 0.7);
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        margin-top: 90px;
        margin-bottom: 40px;
        width: 90%;
        max-width: 100%;
        min-height: 750px; /* Kartın boyunu uzattık */
        position: relative;
        color: #ffffff;
        text-align: center;
        padding-top: 220px; /* Hakkımda başlığını ve altındaki kısımları aşağı çektik */
    }

    .profile-container {
        top: 500px; /* Profil fotoğrafını aşağı çektik */
    }

    .edit-link {
        font-size: 14px;
    }

    #edit-button {
        font-size: 14px;
    }

    nav ul li {
        margin: 0 15px; /* Yan boşlukları azalt */
    }

    nav ul li a {
        font-size: 18px; /* Font boyutunu azalt */
    }

    section {
        padding: 40px;
        margin-top: 40px;
    }
}

#contact {
    font-size: 28px;
    font-weight: 600;
    color: #A8FF00;
    text-align: center;
    margin-top: 40px;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    align-items: center;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #222;
    color: #fff;
    font-size: 18px;
}

#contactForm button {
    width: 100%;
    max-width: 600px;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
}

#contactForm button:hover {
    background-color: #76C757;
}

#hakkimda {
    padding: 40px;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 70px;
    margin-bottom: 40px;
    width: 80%;
    max-width: 800px;
    min-height: 750px; /* Kartın boyunu uzattık */
    position: relative;
    color: #ffffff;
    text-align: center;
    padding-top: 180px; /* Hakkımda başlığını ve altındaki kısımları aşağı çektik */
}

.profile-container {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid #A8FF00;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.edit-link {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #A8FF00;
    text-decoration: underline;
    cursor: pointer;
}

.edit-link:hover {
    color: #76C757;
}

#edit-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    color: #A8FF00;
    font-weight: 400;
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: 20px;
}

#edit-button:hover {
    color: #76C757;
}

/* Responsive Düzenlemeler */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
    }

    .social-links {
        flex-direction: column;
    }
}

#contact {
    font-size: 28px;
    font-weight: 600;
    color: #A8FF00;
    text-align: center;
    margin-top: 40px;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    width: 70px; /* Logonuzun genişliğini ayarlayın */
    height: auto; /* Yüksekliği otomatik ayarla */
    margin-right: 15px; /* Logo ve başlık arasındaki boşluk */
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: inherit;
}

.green-text {
    color: #00ff00; /* Bedir rengi */
}

.white-text {
    color: #ffffff; /* Beyaz */
}

/* Admin Panel Stilleri */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.message {
    background: #1e1e1e;
    border: 1px solid #333;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    position: relative;
}

.message.unread {
    border-left: 4px solid #A8FF00;
}

.message.read {
    border-left: 4px solid #666;
}

.message h3 {
    margin: 0 0 10px 0;
    color: #A8FF00;
}

.message p {
    margin: 5px 0;
    color: #000000;
}

.message-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.read-btn {
    background: #A8FF00;
    color: #000;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.read-btn:hover {
    background: #76C757;
}

.delete-btn {
    background: #ff4444;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.delete-btn:hover {
    background: #cc0000;
}

#aboutForm textarea {
    width: 100%;
    min-height: 200px;
    background: #1e1e1e;
    color: #fff;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

#aboutForm button {
    background: #A8FF00;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

#aboutForm button:hover {
    background: #76C757;
}

.logout-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff4444;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

/* Blog Yönetimi Stilleri */
.blog-item {
    background: #1e1e1e;
    border: 1px solid #333;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
}

.blog-actions {
    margin-top: 10px;
}

#blogForm {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

#addBlogForm input,
#addBlogForm textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: #2d2d2d;
    border: 1px solid #444;
    border-radius: 4px;
    color: #fff;
}

.add-blog-btn {
    background: #A8FF00;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 20px;
}

.add-blog-btn:hover {
    background: #76C757;
}

/* Blog Stilleri */
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Blog kartı stilleri güncelleme */
.blog-card {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    cursor: pointer; /* Tıklanabilir olduğunu göster */
    transition: all 0.3s ease; /* Yumuşak geçiş efekti */
    position: relative; /* Pozisyon referansı */
    overflow: hidden; /* Taşan içeriği gizle */
}

.blog-card:hover {
    transform: scale(1.02); /* Hover durumunda büyüt */
    box-shadow: 0 5px 15px rgba(168, 255, 0, 0.2); /* Yeşilimsi gölge efekti */
    border-color: #A8FF00; /* Kenarlığı vurgula */
}

/* Tıklanabilir efekti göstermek için ek gösterge */
.blog-card::after {
    content: "Detaylar için tıklayın";
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(168, 255, 0, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover::after {
    opacity: 1;
}

/* Blog kartı içindeki başlık için stil güncelleme */
.blog-card h3 {
    color: #A8FF00; /* Yeşil renk */
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.blog-card:hover h3 {
    color: #76C757; /* Hover durumunda daha koyu yeşil */
}

/* Blog kartlarındaki görseller için genel stil */
.blog-card img {
    width: 100%;
    height: 180px; /* Masaüstü için varsayılan yükseklik azaltıldı */
    object-fit: cover;
    border-radius: 6px;
}

.blog-content {
    padding: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.9em;
    color: #888;
}

.tags {
    display: flex;
    gap: 5px;
}

.tag {
    background: #333;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8em;
}

#blogDetail {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1e1e1e;
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    margin: 20px 0;
    backdrop-filter: none; /* Blog detayının bulanık olmamasını sağla */
    filter: none; /* Blog detayının bulanık olmamasını sağla */
}

/* Blog detay içeriği için stil güncellemesi */
#blogDetailContent {
    padding: 15px;
    margin-bottom: 20px;
    text-align: justify;
}

#blogDetailContent .blog-content {
    text-align: justify;
    line-height: 1.5; /* Satır aralığını azalttık */
    margin-top: 15px;
    margin-bottom: 15px;
    white-space: pre-line; /* Gereksiz boşlukları düzeltir */
}

/* Blog içeriği için stil */
.blog-content {
    line-height: 1.6; /* Satır aralığını artır */
    margin-top: 20px;
    margin-bottom: 30px;
}

/* Kapatma butonu için stil güncellemesi */
.close-btn {
    position: fixed; /* fixed kullanarak her zaman aynı pozisyonda kalmasını sağlıyoruz */
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
    z-index: 1001;
    display: flex; /* Flex kullanarak içeriği merkezleme */
    align-items: center;
    justify-content: center;
    width: 40px; /* Sabit genişlik */
    height: 40px; /* Sabit yükseklik */
}

.close-btn:hover {
    color: #A8FF00; /* Hover durumunda yeşil renk */
}

/* Mobil için ek düzenleme */
@media screen and (max-width: 768px) {
    .close-btn {
        position: fixed; /* Mobilde de fixed pozisyonu koruyoruz */
        top: 5px;
        right: 5px;
        font-size: 22px;
        padding: 8px;
        width: 35px; /* Mobilde biraz daha küçük */
        height: 35px;
    }

    #blogDetail {
        padding-top: 40px; /* Kapatma butonu için üstte boşluk bırak */
    }
}

/* Blog detay sayfasındaki görsel için genel stil */
.blog-detail-image {
    max-height: 300px; /* Masaüstü için maksimum yükseklik azaltıldı */
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin: 20px 0;
}

/* Karanlık tema uyumlu scrollbar */
#blogDetail::-webkit-scrollbar {
    width: 8px;
}

#blogDetail::-webkit-scrollbar-track {
    background: #1e1e1e;
}

#blogDetail::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

#blogDetail::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Üst menü için responsive düzenleme */
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 100px;
    flex-wrap: wrap; /* Mobilde alt alta geçmesi için */
    padding: 10px;
}

.nav-button {
    padding: 10px 20px;
    margin: 5px;
    min-width: 120px; /* Minimum genişlik */
    text-align: center;
}

/* İletişim logoları için responsive düzenleme */
.contact-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin: 5px;
    transition: transform 0.3s;
}

/* Mobil menü için düzenleme */
@media screen and (max-width: 768px) {
    nav {
        width: 100%;
        padding: 10px 0;
        display: flex;
        justify-content: center;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 85%; /* Genişliği azalttık */
        margin: 0 auto;
        padding: 0;
    }

    nav ul li {
        width: 100%;
        margin: 2px auto; /* Otomatik margin ile ortalama */
    }

    nav ul li a {
        display: block;
        width: calc(100% - 30px); /* Genişlikten padding'i çıkar */
        padding: 8px 20px; /* Sol padding 10px, sağ padding 20px yaptık */
        font-size: 1.1rem;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 4px;
        text-align: center;
        margin: 0 auto;
    }

    nav ul li a:hover {
        background-color: rgba(76, 175, 80, 0.2);
        transform: scale(1.02); /* Hover efektini azalttık */
    }

    /* Header düzeni için */
    header {
        flex-direction: column;
        padding: 1rem;
    }

    .logo-container {
        margin-bottom: 1rem;
    }

    /* Logo ve başlık için */
    .site-title {
        font-size: 1.5rem;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    html, body {
        max-width: 100%;
        overflow-x: hidden;
        position: relative;
    }

    .social-icon {
        width: 60px; /* Mobilde daha küçük ama eşit genişlik */
        height: 60px; /* Mobilde daha küçük ama eşit yükseklik */
        font-size: 30px; /* İkon boyutunu küçült */
    }

    .social-links {
        display: flex;
        flex-direction: row; /* Yatayda sırala */
        flex-wrap: wrap; /* Gerekirse alt satıra geç */
        justify-content: center;
        gap: 20px; /* İkonlar arası boşluk */
        padding: 10px;
    }

    .blog-card img {
        height: 100px; /* 120px'den 100px'e düşürdük */
        width: 100%;
        object-fit: cover;
    }

    .blog-card {
        padding: 15px; /* Mobilde padding'i azalt */
    }

    /* Blog detay sayfasındaki görsel için */
    .blog-detail-image {
        max-height: 130px; /* 150px'den 130px'e düşürdük */
        width: 100%;
        object-fit: cover;
    }

    #blogDetail {
        width: 95%; /* Genişliği artırdık */
        padding: 15px 10px; /* Yanlardaki padding'i azalttık */
    }

    #blogDetailContent {
        padding: 10px 5px; /* Yanlardaki padding'i azalttık */
    }

    #blogDetailContent .blog-content {
        width: 100%; /* Tam genişlik */
        padding: 0 5px; /* Yanlarda minimal padding */
        text-align: justify;
        line-height: 1.4; /* Mobilde satır aralığını biraz daha azaltık */
    }

    #blogDetailContent h2 {
        font-size: 1.4em; /* Başlık boyutunu küçülttük */
        margin-bottom: 10px;
    }

    .blog-card .blog-content p {
        text-align: justify; /* Mobilde de iki yana hizalama */
        font-size: 14px; /* Mobilde font boyutunu küçült */
        line-height: 1.4; /* Satır aralığını biraz azalt */
        padding: 0 5px; /* Yanlarda minimal boşluk */
        margin: 8px 0;
    }
}

/* Daha küçük ekranlar için */
@media screen and (max-width: 480px) {
    nav ul li a {
        font-size: 1.3rem;
        padding: 1.1rem;
    }

    .site-title {
        font-size: 1.3rem;
    }

    .logo {
        width: 35px;
        height: 35px;
    }

    .blog-card img {
        height: 80px; /* 100px'den 80px'e düşürdük */
    }

    .blog-detail-image {
        max-height: 110px; /* 130px'den 110px'e düşürdük */
    }

    .blog-card .blog-content p {
        font-size: 13px; /* En küçük ekranlarda font boyutunu biraz daha küçült */
    }
}

/* Karanlık tema uyumluluğu için */
@media (prefers-color-scheme: dark) {
    nav ul li a {
        color: #fff;
    }

    nav ul li a:hover {
        color: #4CAF50;
    }

    @media screen and (max-width: 768px) {
        nav ul li a {
            background-color: rgba(255, 255, 255, 0.1);
        }

        nav ul li a:hover {
            background-color: rgba(76, 175, 80, 0.3);
        }
    }
}

footer {
    background: rgba(30, 30, 30, 0.95);
    padding: 20px;
    text-align: center;
    width: 100%;
    border-top: 1px solid #333;
    margin-top: auto; /* Footer'ı sayfanın en altına itmek için */
}

footer p {
    color: #888;
    margin: 0;
    font-size: 14px;
}

/* Genel stil ayarları */
body {
    background: #121212; /* Arka plan rengi */
    font-family: 'Poppins', sans-serif; /* Yazı tipi */
    color: #ffffff; /* Yazı rengi */
}

/* Başlık stili */
h1, h2 {
    color: #A8FF00; /* Başlık rengi */
    text-align: center; /* Ortalanmış başlık */
}

/* Buton stili */
button {
    background-color: #76C757; /* Buton rengi */
    color: #ffffff; /* Buton yazı rengi */
    border: none; /* Kenar yok */
    padding: 10px 20px; /* İç boşluk */
    border-radius: 5px; /* Yuvarlatılmış köşeler */
    cursor: pointer; /* İmleç değişimi */
}

/* Buton hover efekti */
button:hover {
    background-color: #A8FF00; /* Hover rengi */
}

/* İletişim kısmı */
#iletisim {
    padding: 50px; /* İç boşluk */
    background: rgba(30, 30, 30, 0.8); /* Arka plan rengi ve şeffaflık */
    border-radius: 10px; /* Yuvarlatılmış köşeler */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Gölge efekti */
}

/* Blog yazıları */
.blog-card {
    background: rgba(30, 30, 30, 0.8); /* Arka plan rengi ve şeffaflık */
    border: 1px solid #333; /* Kenar rengi */
    border-radius: 8px; /* Yuvarlatılmış köşeler */
    padding: 20px; /* İç boşluk */
    margin: 15px 0; /* Dış boşluk */
}

/* Responsive tasarım */
@media (max-width: 600px) {
    /* Mobil uyumlu stil ayarları */
    h1 {
        font-size: 32px; /* Başlık boyutu */
    }
    button {
        width: 100%; /* Buton genişliği */
    }
}
#starfield {
    position: fixed; /* Sabit konumlandırma */
    top: 0;
    left: 0;
    width: 100vw; /* Tam genişlik */
    height: 100vh; /* Tam yükseklik */
    z-index: -1; /* Yıldızların arka planda görünmesi için */
}

.logo-link {
    text-decoration: none; /* Alt çizgiyi kaldır */
    color: inherit; /* Renk miras al */
}

.logo-link:hover {
    opacity: 0.8; /* Hover durumunda opaklığı azalt */
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(168, 255, 0, 0.2);
}

.skills-title {
    width: 100%;
    text-align: center;
    color: #A8FF00;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.skill-card {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin: 10px;
    width: 150px; /* Kart genişliği */
    text-align: center;
    color: #A8FF00; /* Yazı rengi */
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: scale(1.05); /* Hover efekti */
}

#welcome {
    text-align: center;
    padding: 60px 20px;
    background: rgba(18, 18, 18, 0.8);
    border-radius: 15px;
    margin: 40px auto;
    max-width: 800px;
    position: relative;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.welcome-title {
    font-size: 2.5em;
    color: #A8FF00;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(168, 255, 0, 0.3);
}

.welcome-subtitle {
    font-size: 1.2em;
    color: #ffffff;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.welcome-description {
    color: #cccccc;
    line-height: 1.8;
    margin: 20px 0;
}

#readLatestPosts {
    background: transparent;
    border: 2px solid #A8FF00;
    color: #A8FF00;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

#readLatestPosts:hover {
    background: #A8FF00;
    color: #121212;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 255, 0, 0.3);
}

/* Mobil uyumluluk */
@media screen and (max-width: 768px) {
    #welcome {
        padding: 40px 15px;
    }

    .welcome-title {
        font-size: 2em;
    }

    .welcome-subtitle {
        font-size: 1.1em;
    }
}

/* Bulanıklaştırma efekti için stil güncelleme */
.blur-background {
    filter: blur(8px); /* Bulanıklık değerini artırdık */
    transition: filter 0.3s ease;
    pointer-events: none; /* Bulanık elemanlara tıklamayı engelle */
}

#contactForm textarea {
    width: 100%;
    max-width: 600px; /* Maksimum genişlik */
    min-height: 150px; /* Minimum yükseklik */
    max-height: 300px; /* Maksimum yükseklik */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #222;
    color: #fff;
    font-size: 18px;
    resize: vertical; /* Sadece dikey yönde yeniden boyutlandırma */
    overflow-y: auto; /* Dikey kaydırma çubuğu ekle */
}

/* Mobil cihazlar için düzenleme */
@media screen and (max-width: 768px) {
    #contactForm textarea {
        max-width: 100%;
        min-height: 120px; /* Mobilde minimum yükseklik */
        max-height: 250px; /* Mobilde maksimum yükseklik */
        font-size: 16px;
        padding: 15px;
    }
}

/* Blog kartı içeriği için genel stil */
.blog-card .blog-content p {
    text-align: justify; /* İki yana hizalama */
    line-height: 1.5;
    margin: 10px 0;
}

/* Mobil cihazlar için medya sorgusu */
@media screen and (max-width: 768px) {
    .blog-card .blog-content p {
        text-align: justify; /* Mobilde de iki yana hizalama */
        font-size: 14px; /* Mobilde font boyutunu küçült */
        line-height: 1.4; /* Satır aralığını biraz azalt */
        padding: 0 5px; /* Yanlarda minimal boşluk */
        margin: 8px 0;
    }
}

/* Daha küçük ekranlar için */
@media screen and (max-width: 480px) {
    .blog-card .blog-content p {
        font-size: 13px; /* En küçük ekranlarda font boyutunu biraz daha küçült */
    }
}

/* Mobil için düzenleme */
@media screen and (max-width: 768px) {
    .profile-photo {
        width: 120px;
        height: 120px;
    }

    #hakkimda {
        margin-top: 40px;
        padding-top: 60px;
    }

    .profile-container {
        top: -30px;
    }
}

@media (max-width: 768px) {
    #hakkimda {
        padding: 40px;
        background: rgba(30, 30, 30, 0.7);
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        margin-top: 60px; /* Hakkımda başlığı ile profil fotoğrafı arasındaki boşluğu artırdık */
        margin-bottom: 40px;
        width: 90%;
        max-width: 100%;
        min-height: 750px; /* Kartın boyunu uzattık */
        position: relative;
        color: #ffffff;
        text-align: center;
        padding-top: 200px; /* Hakkımda başlığını ve altındaki kısımları aşağı çektik */
    }

    .profile-container {
        top: 60px; /* Profil fotoğrafını daha da aşağı çektik */
    }
}
