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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1e293b, #111827);
    color: white;
    display: flex;
    flex-direction: column;
    /* Elemanları dikey hizala */
    align-items: center;
    justify-content: flex-start;
    /* Sayfanın yukarısından başla */
    text-align: center;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

header {
    margin-top: 10px;
}

header img {
    width: 150px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease-in-out;
}

header img:hover {
    transform: scale(1.1);
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 10px;
}

p {
    font-size: 1.2rem;
    color: #a1a1aa;
}

/* Linklerin beyaz olmasını sağlamak için */
a {
    color: #dddddd;
    text-decoration: none;
    /* Alt çizgiyi kaldırmak için */
}

a:hover {
    color: #636363;
    /* Hover (fare ile üzerine gelince) rengi */
}

/* Navbar ayarları */
nav {
    margin-top: 17px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #ddd;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    margin: 10px;
}

nav ul li a:hover {
    color: #facc15;
}

/* Bölümleri Dikey Konumlandırma */
section {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    margin-top: 50px;
    /* Bölümler arasında daha fazla boşluk bırak */
    width: 90%;
    /* Mobil uyumluluk için genişliği ayarla */
    max-width: 600px;
    transition: transform 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Bölüm kenarlık ekleme */
}

section:hover {
    transform: scale(1.02);
}

/* Takım Üyelerini Düzenleme */
.team-members {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* Mobilde tek sütun */
    gap: 20px;
    margin-top: 20px;
}

.team-member {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease-in-out;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

.team-member a {
    color: #ddd;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.team-member a:hover {
    color: #facc15;
    /* Hover rengi */
}

.team-member p {
    color: #a1a1aa;
    font-size: 0.9rem;
}

.hamburger-menu {
    display: none;
    /* Varsayılan olarak gizli, mobil görünümde display:block ile gösterilecek */
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    margin-left: auto;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Aktif durumda X şekline dönüştürme */
.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

/* Mobil Uyumluluk */
/* Mobil Uyumluluk */
@media (max-width: 640px) {

    /* Navbar kapsayıcı düzeni */
    .nav-container {
        display: flex;
        /* Flexbox düzenine geçiş */
        justify-content: space-between;
        /* Logo ve hamburger menü arasında boşluk bırak */
        align-items: center;
        /* Elemanları dikeyde ortala */
        padding: 10px 20px;
        /* Kenarlardan iç boşluk bırak */
    }

    /* Logo */
    .nav-logo {
        cursor: pointer;
        /* Tıklanabilir logo */
        margin-bottom: 0;
        /* Alt boşluğu kaldır */
    }

    /* Hamburger Menüsü */
    .hamburger-menu {
        display: block;

    }

    /* Navigasyon Menüsü */
    #nav-menu {
        position: absolute;
        /* Sayfa üzerinde serbest konumlandırma */
        top: 70px;
        /* Logoya veya üst kısma göre hizalanır */
        left: 0;
        width: 100%;
        /* Tüm ekran genişliğini kaplar */
        background: rgba(30, 41, 59, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        /* Hafif bir gölge efekti */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    /* Menü aktif olduğunda */
    #nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Menü öğeleri */
    nav ul {
        display: flex;
        flex-direction: column;
        /* Dikey sıralama */
        gap: 10px;
        /* Öğeler arasında boşluk */
        padding: 10px;
        /* Menü kenarları için iç boşluk */
        margin: 0;
        /* Varsayılan marj sıfırlanır */
    }

    nav ul li {
        text-align: center;
        /* Metni ortalar */
        margin: 4px 0;
        /* Dikeyde boşluklar */
    }

    /* Başlık düzenlemeleri */
    h1 {
        font-size: 2rem;
        /* Mobilde başlık boyutu küçültülür */
    }

    /* Paragraf düzenlemeleri */
    p {
        font-size: 1rem;
        /* Metinler mobil görünümde daha kompakt olur */
    }

    /* Bölüm (Section) düzenlemeleri */
    section {
        width: 100%;
        /* Tüm ekrana yayılan genişlik */
        margin-top: 20px;
        /* Bölümler arasında boşluk */
    }

    /* Takım üyeleri düzeneği */
    .team-members {
        grid-template-columns: repeat(1, 1fr);
        /* Tek sütun düzeni */
    }
}

/* Tablet Uyumluluğu - 641px ile 1023px arası */
@media (min-width: 641px) and (max-width: 1023px) {
    h1 {
        font-size: 2.2rem;
    }

    .team-members {
        grid-template-columns: repeat(2, 1fr);
        /* Tablet için iki sütun */
    }
}

/* Desktop Uyumluluğu - 1024px ve üstü */
@media (min-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    .team-members {
        grid-template-columns: repeat(3, 1fr);
        /* Desktop için dört sütun */
    }
}

/* Navigasyon çubuğu için yeni stiller */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

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

.nav-logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 10px;
}

.nav-logo span {
    font-weight: 600;
    font-size: 1.2rem;
}

nav ul li a.active {
    color: #facc15;
    font-weight: 700;
}

/* Ana içerik için boşluk */
main {
    margin-top: 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

/* Projeler için stil */
.projects-grid {
    max-width: 100%;
    /* İç elemanlar grid hücresini aşamaz */
    box-sizing: border-box;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease-in-out;
    margin: 10px;
}

.project-card:hover {
    transform: scale(1.05);
}

/* Form stilleri - Ortalama düzeltilmiş */
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.contact-form button {
    background: linear-gradient(135deg, #38bdf8, #3b82f6);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.contact-form button:hover {
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 20px;
    /* Boşluğu biraz azalttık */
    color: #a1a1aa;
    /* Diğer p metinleri ile uyumlu renk */
    font-size: 0.9rem;
    width: 100%;
    /* Sayfanın en altına yerleştirir */
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    margin: 0 10px;
    font-size: 20px;
    color: #333;
    text-decoration: none;
}

.social-links a:hover {
    color: #007bff;
}


/* Tablet ve desktop için navbar düzeni */
@media (min-width: 641px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .nav-logo {
        margin-bottom: 0;
    }

    /* Desktop modda menü her zaman görünür */
    #nav-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
    }

    nav ul {
        flex-direction: row;
        gap: 20px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ================================================
   BLOG VE ÜYELİK SİSTEMİ STİLLERİ
   ================================================ */

/* Flash Mesajları */
.flash-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 8px;
    z-index: 2000;
    animation: slideDown 0.3s ease;
    transition: opacity 0.3s ease;
}

.flash-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.flash-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.flash-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.flash-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Butonlar */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #facc15, #eab308);
    color: #1e293b;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
    color: #1e293b;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ddd;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: white !important;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #facc15;
}

.btn-icon-small {
    width: 28px;
    height: 28px;
    font-size: 12px;
    border-radius: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #a1a1aa;
    transition: color 0.2s;
}

.btn-icon-small:hover {
    color: #ef4444;
}

.btn-nav {
    padding: 8px 16px !important;
    border-radius: 6px;
    margin-left: 5px;
}

.btn-nav.btn-primary {
    background: linear-gradient(135deg, #facc15, #eab308);
    color: #1e293b !important;
}

/* Navigasyon Logo Link */
.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

/* Kullanıcı Dropdown */
.nav-user-dropdown {
    position: relative;
}

.nav-user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.nav-user-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-user-toggle i {
    font-size: 12px;
    transition: transform 0.2s;
}

.nav-user-dropdown.open .nav-user-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    font-size: small;
    position: absolute;
    gap: 2px;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
    z-index: 1001;
    list-style: none;
    margin: 0;
}

.nav-user-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px 16px;
    border-radius: 8px;
    color: #ddd;
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #facc15;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

/* Form Stilleri */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ddd;
}

.input-icon {
    position: relative;
}

.input-icon i:first-child {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a1a1aa;
}

.input-icon input {
    padding-left: 45px !important;
}

.input-icon .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a1a1aa;
    cursor: pointer;
    padding: 5px;
}

.input-icon .toggle-password:hover {
    color: #facc15;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #a1a1aa;
}

/* Auth Section */
.auth-section {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    width: 100%;
}

.auth-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    margin: 0 0 10px;
    font-size: 1.8rem;
}

.auth-header p {
    margin: 0;
    color: #a1a1aa;
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer a {
    color: #facc15;
}

.remember-group {
    margin: 8px 0 16px;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.87rem;
}

.remember-label input[type="checkbox"] {
    accent-color: #facc15;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Blog Grid */
.blog-section {
    width: 100%;
    max-width: 1200px;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.blog-header p {
    color: #a1a1aa;
    margin-bottom: 20px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Post Card */
.post-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.post-card-image {
    height: 180px;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-no-image {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.1), rgba(59, 130, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card-no-image i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.post-card-content {
    padding: 20px;
}

.post-card-content h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.post-card-content h3 a {
    color: white;
    text-decoration: none;
}

.post-card-content h3 a:hover {
    color: #facc15;
}

.post-excerpt {
    color: #a1a1aa;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #a1a1aa;
    margin-bottom: 10px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.post-author a {
    color: #ddd;
}

.post-author a:hover {
    color: #facc15;
}

.post-stats {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #a1a1aa;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Single Post */
.post-single {
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
}

.post-header {
    margin-bottom: 30px;
}

.post-header h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.post-draft-badge {
    display: inline-block;
    background: #f59e0b;
    color: #1e293b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.post-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: #ddd;
    text-decoration: none;
}

.author-name:hover {
    color: #facc15;
}

.post-meta-info {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    color: #a1a1aa;
}

.post-cover {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.post-cover img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e5e7eb;
}

.post-content h1,
.post-content h2,
.post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.post-content blockquote {
    border-left: 4px solid #facc15;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #a1a1aa;
}

.post-content pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
}

.post-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.post-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.post-stats-large {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    color: #a1a1aa;
}

.like-btn {
    background: none;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #a1a1aa;
    transition: all 0.2s;
}

.like-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.like-btn.liked {
    color: #ef4444;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #ddd;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin:hover {
    background: #0077b5;
    color: white;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin: 40px 0;
}

.author-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.written-by {
    font-size: 0.85rem;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-name-large {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin: 5px 0 10px;
}

.author-bio {
    color: #a1a1aa;
    font-size: 0.95rem;
}

/* Comments */
.comments-section {
    margin-top: 40px;
}

.comments-section h3 {
    margin-bottom: 25px;
}

.comment-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.comment-form-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.login-to-comment {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.login-to-comment a {
    color: #facc15;
}

.no-comments {
    text-align: center;
    padding: 40px;
    color: #a1a1aa;
}

.no-comments i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.comment {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 15px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-meta {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    color: #ddd;
}

.comment-date {
    font-size: 0.85rem;
    color: #a1a1aa;
}

.comment-content {
    color: #e5e7eb;
    line-height: 1.6;
}

/* Profile Page */
.profile-section {
    width: 100%;
    max-width: 900px;
}

.profile-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.profile-avatar-section {
    position: relative;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.avatar-upload-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
    background: #facc15;
    color: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.avatar-upload-btn:hover {
    transform: scale(1.1);
}

.profile-info h2 {
    margin: 0 0 5px;
}

.profile-username {
    color: #a1a1aa;
    margin: 0 0 10px;
}

.profile-bio {
    margin: 0 0 10px;
}

.profile-meta {
    color: #a1a1aa;
    font-size: 0.9rem;
}

.profile-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #a1a1aa;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover,
.tab-btn.active {
    background: rgba(250, 204, 21, 0.1);
    border-color: #facc15;
    color: #facc15;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.settings-form {
    max-width: 500px;
}

/* Posts List */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    gap: 15px;
}

.post-list-info h4 {
    margin: 0 0 8px;
}

.post-list-info h4 a {
    color: white;
}

.post-list-info h4 a:hover {
    color: #facc15;
}

.post-list-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #a1a1aa;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.badge-draft {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.badge-admin {
    background: rgba(250, 204, 21, 0.2);
    color: #facc15;
}

.badge-user {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

/* Role Select Dropdown */
.role-select {
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.role-select:hover {
    border-color: #facc15;
}

.role-select:focus {
    outline: none;
    border-color: #facc15;
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.2);
}

.role-select option {
    background: #1e293b;
    color: white;
}

/* Write Page */
.write-section {
    width: 100%;
    max-width: 900px;
}

.write-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.write-title-input {
    width: 100%;
    padding: 20px;
    font-size: 2rem;
    font-weight: 600;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
}

.write-title-input:focus {
    border-bottom-color: #facc15;
}

.cover-image-section {
    margin-bottom: 30px;
}

.cover-image-upload {
    position: relative;
}

.cover-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.cover-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.remove-cover {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.cover-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    color: #a1a1aa;
    transition: all 0.2s;
}

.cover-upload-label:hover {
    border-color: #facc15;
    color: #facc15;
}

.cover-upload-label i {
    font-size: 2rem;
}

#cover_image {
    display: none;
}

.editor-container {
    margin-bottom: 30px;
}

.write-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.write-actions-left,
.write-actions-right {
    display: flex;
    gap: 10px;
}

.status-select {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
}

/* My Posts Table */
.my-posts-section {
    width: 100%;
    max-width: 1100px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.posts-table-container {
    overflow-x: auto;
}

.posts-table {
    width: 100%;
    border-collapse: collapse;
}

.posts-table th,
.posts-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.posts-table th {
    color: #a1a1aa;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.post-title-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.actions-cell {
    display: flex;
    gap: 8px;
}

/* Author Profile */
.author-profile-section {
    width: 100%;
    max-width: 800px;
    margin-bottom: 40px;
}

.author-profile-header {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

@media (min-width: 640px) {
    .author-profile-header {
        text-align: left;
    }
}

.author-profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.author-profile-info h1 {
    margin: 0 0 5px;
}

.author-stats {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #facc15;
}

.stat-label {
    font-size: 0.85rem;
    color: #a1a1aa;
}

.author-joined {
    color: #a1a1aa;
    font-size: 0.9rem;
}

/* Admin Panel */
.admin-section {
    width: 100%;
    max-width: 1200px;
}

.admin-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.admin-nav-item {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #a1a1aa;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: rgba(250, 204, 21, 0.1);
    color: #facc15;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.users {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.stat-icon.posts {
    background: rgba(250, 204, 21, 0.2);
    color: #facc15;
}

.stat-icon.published {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.stat-icon.comments {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.stat-icon.views {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}

.stat-info .stat-value {
    font-size: 2rem;
}

.admin-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.admin-panel {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.panel-header a {
    color: #facc15;
    font-size: 0.9rem;
}

.panel-content {
    padding: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table th {
    color: #a1a1aa;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.admin-table-container {
    overflow-x: auto;
}

.admin-table.full-width {
    min-width: 800px;
}

.user-cell,
.title-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-avatar,
.table-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.table-thumb {
    border-radius: 6px;
    width: 50px;
    height: 35px;
}

.inactive-row {
    opacity: 0.5;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.search-form,
.filter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.toolbar-info {
    color: #a1a1aa;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.pagination-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ddd;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #facc15;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

.pagination-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #ddd;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-num:hover,
.pagination-num.active {
    background: #facc15;
    color: #1e293b;
}

.pagination-ellipsis {
    width: 40px;
    text-align: center;
    color: #a1a1aa;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #a1a1aa;
}

.empty-state i {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: white;
    margin-bottom: 10px;
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 30px;
}

/* Recent Posts Section */
.recent-posts-section {
    margin-top: 50px;
}

.recent-posts-section h2 {
    margin-bottom: 30px;
}

/* Character Counter */
.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #a1a1aa;
    margin-top: 5px;
}

.char-counter.warning {
    color: #f59e0b;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    background: #1e293b;
    color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 3000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Sosyal İkonlar */
.team-social-compact {
    margin: 30px 0;
    text-align: center;
}

.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon.linkedin:hover {
    background: rgba(0, 119, 181, 0.2);
    color: #0077b5;
}

.social-icon.instagram:hover {
    background: rgba(225, 48, 108, 0.2);
    color: #e1306c;
}

.social-icon.github:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.social-icon i {
    font-size: 1.5rem;
}

/* Responsive Düzenlemeler */
@media (max-width: 640px) {
    .post-single {
        padding: 20px;
    }

    .post-header h1 {
        font-size: 1.8rem;
    }

    .post-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .post-footer {
        flex-direction: column;
    }

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

    .author-profile-header {
        flex-direction: column;
    }

    .admin-panels {
        grid-template-columns: 1fr;
    }

    .write-actions {
        flex-direction: column;
    }

    .write-actions-left,
    .write-actions-right {
        width: 100%;
        justify-content: center;
    }
}