/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Mr+De+Haviland&display=swap');

/* Genel Stil Ayarları */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* --- TEMA: DERİN OKYANUS TURKUAZI (PREMIUM TEAL) --- */
    /* Ana renkler: Zengin, derin ve kurumsal bir turkuaz (Teal) */
    --primary-rgb: 20, 184, 166;
    /* #14B8A6 - Modern Teal (Ana Reknk) */
    --dark-rgb: 13, 148, 136;
    /* #0D9488 - Derin Teal (Koyu Ton) */
    --light-rgb: 94, 234, 212;
    /* #5EEAD4 - Parlak Akuamarin (Açık Ton) */
    --pure-rgb: 45, 212, 191;
    /* #2DD4BF - Neon Patlamalar için */

    /* --- 2. TEMEL YÜZEY VE METİN RENKLERİ --- */
    --black-rgb: 8, 12, 14;
    /* #080C0E - Çok koyu, yeşilimsi siyah */
    --white-rgb: 240, 253, 250;
    /* #F0FDFA - Hafif nane yeşili of-white */

    /* Premium Koyu Arka Planlar */
    --bg-dark-rgb: 4, 13, 18;
    /* #040D12 - Okyanus dibi siyahı */
    --bg-card-rgb: 19, 35, 40;
    /* #132328 - Zengin koyu yeşil/füme */

    /* Griler ve Kenarlıklar */
    --dark-gray: #040D12;
    /* Arka plan uyumlu */
    --medium-gray: #132328;
    /* Kartlar */
    --light-gray: #2C3E45;
    /* Hover */
    --border-color: #2C3E45;
    /* İnce ve şık */

    /* Metin Renkleri */
    --text-light: rgb(var(--white-rgb));
    --text-gray: #CDD7D6;
    /* Gümüşi gri */
    --text-muted: #849695;
    /* Sönük */

    /* --- 3. DURUM RENKLERİ --- */
    --success-green-rgb: 16, 185, 129;
    /* Emerald */
    --error-red-rgb: 244, 63, 94;
    /* Gül Kırmızısı (Rose) */
    --info-blue-rgb: 56, 189, 248;
    /* Açık Mavi */
    --warning-gold-rgb: 251, 191, 36;
    /* Kehribar */

    /* --- 4. UYUMLULUK --- */
    --primary-red: rgb(var(--primary-rgb));
    --dark-red: rgb(var(--dark-rgb));
    --light-red: rgb(var(--light-rgb));
    --black: rgb(var(--black-rgb));
    --white: rgb(var(--white-rgb));
    --lime-green-rgb: var(--success-green-rgb);

    /* --- 5. EFEKTLER --- */
    --shadow: rgba(var(--primary-rgb), 0.3);

    --anim-distance: 20px;
    --anim-duration: 0.8s;
    --anim-step: 0.15s;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at top left, var(--dark-red), var(--light-gray) 55%);
    min-height: 100vh;
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Arka Plan Parçacık Efekti */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.main-content {
    position: relative;
    z-index: 1;
    padding-bottom: 80px;
    /* Alt bar için boşluk */
}

/* Mobilde scroll davranışı */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
    }

    body {
        padding-bottom: 0;
    }

    .main-content {
        padding-bottom: 70px;
    }
}

.hidden {
    display: none !important;
}

/* Üst Menü (Header) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    background: rgba(var(--black-rgb), 0.5);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(var(--black-rgb), 0.7);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    transition: width 0.5s ease;
}

.site-header:hover::after {
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.logo-mark {
    width: 60px;
    height: 60px;
    border-radius: 100px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.logo-mark:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.6);
}

.logo-text h1 {
    font-size: 1.3rem;
    color: var(--text-light);
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.main-nav {
    display: flex;
    gap: 18px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: var(--text-light);
    border-bottom-color: var(--primary-red);
}

.nav-link.active {
    color: var(--light-red);
    border-bottom-color: var(--light-red);
}


/* Sayfa Geçişleri */
.main-content {
    min-height: calc(100vh - 80px);
}

.page {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInPage 0.5s ease-in-out;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sayfa Düzeni */
.layout {
    max-width: 1200px;
    margin: 25px auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 3fr 1.3fr;
    gap: 25px;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hero Bölümü */
.hero {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--black-rgb), 0.4));
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(var(--black-rgb), 0.5);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(var(--primary-rgb), 0.2);
    border: 1px solid rgba(var(--primary-rgb), 0.4);
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-red);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 650px;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog Yazıları */
.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 700;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-left: 4px;
}

.blog-section {
    background: rgba(var(--bg-dark-rgb), 0.95);
    border-radius: 18px;
    padding: 30px 28px;
    border: 1px solid rgba(var(--white-rgb), 0.05);
    box-shadow: 0 10px 40px rgba(var(--black-rgb), 0.3);
}

.post-card {
    padding: 24px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--bg-card-rgb), 0.8));
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.post-card.featured {
    border-left: 4px solid var(--primary-red);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), rgba(var(--bg-card-rgb), 0.9));
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(var(--black-rgb), 0.6);
    border-color: var(--primary-red);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--bg-card-rgb), 0.95));
}

.post-header {
    margin-bottom: 12px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-gray);
}

.post-date svg {
    opacity: 0.6;
}

.post-tag {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-technology {
    background: rgba(var(--primary-rgb), 0.15);
    border: 1px solid rgba(var(--primary-rgb), 0.4);
    color: var(--primary-red);
}

.tag-daily {
    background: rgba(var(--info-blue-rgb), 0.15);
    border: 1px solid rgba(var(--info-blue-rgb), 0.4);
    color: rgb(var(--info-blue-rgb));
}

.tag-development {
    background: rgba(var(--lime-green-rgb), 0.15);
    border: 1px solid rgba(var(--lime-green-rgb), 0.4);
    color: rgb(var(--lime-green-rgb));
}

.tag-notes {
    background: rgba(var(--warning-gold-rgb), 0.15);
    border: 1px solid rgba(var(--warning-gold-rgb), 0.4);
    color: rgb(var(--warning-gold-rgb));
}

.post-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text-light);
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.post-card:hover .post-title {
    color: var(--primary-red);
}

.post-excerpt {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.post-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
    border-top: 1px solid rgba(var(--white-rgb), 0.05);
}

.read-more {
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.post-card:hover .read-more {
    transform: translateX(5px);
}

/* Sidebar Kartları */
.sidebar-card {
    background: rgba(var(--bg-dark-rgb), 0.95);
    border-radius: 16px;
    padding: 22px 20px;
    border: 1px solid rgba(var(--white-rgb), 0.05);
    box-shadow: 0 5px 20px rgba(var(--black-rgb), 0.3);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 8px 30px rgba(var(--black-rgb), 0.4);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 700;
}

.card-title svg {
    color: var(--primary-red);
}

/* Hakkımda Kartı */
.about-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.about-avatar {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-light);
    flex-shrink: 0;
}

.about-card h3 {
    margin: 0;
    font-size: 1.1rem;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 18px;
}

.about-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(var(--white-rgb), 0.05);
}

.social-label {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(var(--primary-rgb), 0.2);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

/* Kategoriler Kartı */
.tag-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tag-list .tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(var(--bg-card-rgb), 0.8);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.tag-list .tag:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary-red);
    transform: translateX(5px);
}

.tag-icon {
    margin-right: 8px;
    font-size: 1rem;
}

.tag-count {
    background: rgba(var(--primary-rgb), 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--primary-red);
    font-weight: 600;
}

/* Hızlı Not Kartı */
.quick-note-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), rgba(var(--bg-dark-rgb), 0.95));
}

.quick-note {
    width: 100%;
    margin-bottom: 14px;
    font-size: 0.9rem;
    padding: 12px;
    background: rgba(var(--black-rgb), 0.3);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-light);
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
}

.quick-note:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(var(--black-rgb), 0.5);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    padding: 10px 20px;
}

.btn-primary svg {
    width: 16px;
    height: 16px;
}

.note-status {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 8px;
    text-align: center;
    min-height: 20px;
}

/* Bülten Kartı */
.newsletter-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--bg-dark-rgb), 0.95));
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.newsletter-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(var(--black-rgb), 0.3);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(var(--black-rgb), 0.5);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
}

.newsletter-input::placeholder {
    color: var(--text-gray);
    opacity: 0.6;
}

/* Hakkımda Sayfası Stilleri */
.about-page-section {
    background: rgba(var(--bg-dark-rgb), 0.95);
    border-radius: 18px;
    padding: 40px 35px;
    border: 1px solid rgba(var(--white-rgb), 0.05);
    box-shadow: 0 10px 40px rgba(var(--black-rgb), 0.3);
}

.about-page-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.3);
}

.about-page-avatar {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--text-light);
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.4);
}

.about-page-info {
    flex: 1;
}

.about-page-title {
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 800;
}

.about-page-subtitle {
    font-size: 1.1rem;
    color: var(--primary-red);
    font-weight: 600;
}

.about-page-content {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.about-section h3 {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.3);
}

.about-section p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    background: rgba(var(--bg-card-rgb), 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.interest-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

.interest-icon {
    font-size: 1.5rem;
}

.interest-text {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
}

.about-social {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-link-large {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(var(--bg-card-rgb), 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.social-link-large:hover {
    background: rgba(var(--primary-rgb), 0.15);
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(var(--primary-rgb), 0.2);
}

.social-icon {
    font-size: 1.5rem;
}

.social-text {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Form Stilleri */
.form {
    width: 100%;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    color: var(--primary-red);
    font-size: 1.5em;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
}

.form-section h3 {
    color: var(--primary-red);
    font-size: 1.5em;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--dark-gray);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 10px var(--shadow);
    background: var(--light-gray);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Buton Stilleri */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--text-light);
}

.btn-full {
    width: 100%;
}

.btn-primary:hover {
    background: var(--light-red);
    box-shadow: 0 5px 20px var(--shadow);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--dark-gray);
    color: var(--text-light);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    box-shadow: 0 5px 20px var(--shadow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    color: var(--text-light);
    border-color: var(--primary-red);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-actions .btn {
    flex: 1;
}


/* Mesaj Stilleri */
.error-message {
    display: none;
    background: var(--dark-red);
    color: var(--text-light);
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid var(--primary-red);
    animation: slideIn 0.3s ease;
}

.success-message {
    display: none;
    background: #1a5a1a;
    color: var(--text-light);
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid rgb(var(--success-green-rgb));
    animation: slideIn 0.3s ease;
}


/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Tasarım */
@media (max-width: 968px) {
    .layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 15px;
        padding: 12px 15px;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .logo-text p {
        font-size: 0.7rem;
    }

    .logo-mark {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .hero {
        padding: 35px 25px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .blog-section {
        padding: 20px 18px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .post-card {
        padding: 20px 18px;
    }

    .post-title {
        font-size: 1.2rem;
    }

    .sidebar-card {
        padding: 18px 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 25px 20px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .blog-section {
        padding: 18px 15px;
    }

    .post-card {
        padding: 18px 15px;
    }

    .post-title {
        font-size: 1.1rem;
    }

    .about-header {
        flex-direction: column;
        text-align: center;
    }

    /* Ana Sayfa Mobil */
    .home-wrapper {
        padding: 25px 15px;
        margin: 10px auto;
        width: 95%;
        gap: 25px;
    }

    .profil-fotografi {
        width: 200px;
    }

    .yazi-akisi p {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .imza {
        font-size: 1.3rem;
        padding: 12px 15px;
        margin-top: 20px;
    }

    .neon-buton {
        padding: 12px 25px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    /* Ben Kimim Sayfası Mobil */
    .biyografi-kutusu {
        padding: 25px 20px;
        margin: 10px;
    }

    .biyografi-kutusu h1 {
        font-size: 1.8rem;
    }

    .biyografi-kutusu h1::before,
    .biyografi-kutusu h1::after {
        display: flex;
    }

    .biyografi-kutusu p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    /* Eserler Sayfası Mobil */
    .eserlersayfasi {
        padding: 10px;
        margin: 0;
    }

    .eserlerwrapper {
        width: 100%;
        padding: 20px;
        margin-bottom: 15px;
    }

    .eserbilgileri {
        width: 100%;
        padding: 20px 15px;
        min-height: auto;
    }

    .kitap-detay h5 {
        font-size: 1.5rem;
    }

    .kitap-detay p {
        font-size: 1rem;
    }

    .kitap-detay iframe {
        width: 100%;
        height: 250px;
    }

    .eserler-icerik .ilahikus img {
        width: 150px;
    }

    /* İletişim Sayfası Mobil */
    .iletisim-kutusu {
        padding: 30px 20px;
        margin: 10px;
    }

    .iletisim-kutusu h1 {
        font-size: 2rem;
    }

    .iletisim-kartlari {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .kart {
        width: 100%;
        max-width: 300px;
    }

    .yorum-formu-wrapper {
        margin-top: 30px;
        padding-top: 30px;
    }

    .form-baslik {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 20px 15px;
    }

    .contact-form .form-group label {
        font-size: 0.9rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    /* Alt Bar Mobil */
    .altbar {
        bottom: 10px;
        left: 10px;
        padding: 10px 15px;
    }

    .iletisimadresleri a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Ana Sayfa Stilleri */

.home-wrapper {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 50px;
    margin: 20px auto;
    max-width: 1100px;
    width: 90%;
    gap: 60px;
    background-color: rgba(var(--black-rgb), 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--white-rgb), 0.08);
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(var(--black-rgb), 0.6);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.home-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    animation: rotateGradient 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.home-wrapper:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 0 60px rgba(var(--primary-rgb), 0.3);
}

.profil-fotografi {
    flex-shrink: 0;
    width: 340px;
    border-radius: 20px;
}

.floating-wrapper {
    width: 100%;
    animation: floating 5s ease-in-out infinite;
}

.profil-fotografi img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.1) brightness(0.9);
    transition: all 0.6s ease-in-out;
}

.profil-fotografi:hover img {
    filter: contrast(1) brightness(1);
    transform: scale(1.1);
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.bilgiler {
    max-width: 650px;
    position: relative;
}

.bilgiler::after {
    content: '';
    position: absolute;
    top: 0;
    right: -30px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--primary-red), transparent);
    opacity: 0.3;
    animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.6;
        transform: scaleY(1.1);
    }
}

.yazi-akisi {
    position: relative;
}

.yazi-akisi p {
    font-size: 1.1rem;
    color: #dcdcdc;
    margin-bottom: 12px;
    line-height: 1.9;
    transition: all 0.3s ease;
    cursor: default;
    padding-left: 0;
    position: relative;
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.6);
}

.yazi-akisi p::before {
    content: '❝';
    position: absolute;
    left: -25px;
    opacity: 0;
    color: var(--primary-red);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.yazi-akisi p:hover {
    color: var(--white);
    transform: translateX(10px);
    text-shadow: 0 0 10px rgba(var(--white-rgb), 0.3);
    padding-left: 25px;
}

.yazi-akisi p:hover::before {
    opacity: 1;
    left: 0;
}

.imza {
    margin-top: 30px;
    margin-bottom: 20px;
    padding: 20px 40px;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Mr De Haviland', cursive !important;
    text-align: center;
    background: linear-gradient(to right, rgb(var(--pure-rgb)) 0%, var(--white) 50%, rgb(var(--pure-rgb)) 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 15px rgba(var(--primary-rgb), 0.4));
    animation:
        fadeInUpGlobal var(--anim-duration, 0.8s) ease forwards,
        parilti 10.5s linear infinite;
    animation-delay: var(--anim-delay, 0s), 0s;
    cursor: default;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.imza::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    transition: width 0.5s ease;
}

.imza::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    transition: width 0.5s ease;
}

.imza:hover {
    filter: drop-shadow(0 0 25px rgba(var(--primary-rgb), 0.6));
    transform: scale(1.05);
    letter-spacing: 3px;
}

.imza:hover::before,
.imza:hover::after {
    width: 60%;
}

@keyframes parilti {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.buton-kutusu {
    margin-top: 40px;
}

.neon-buton {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3), inset 0 0 15px rgba(var(--primary-rgb), 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.neon-buton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--white-rgb), 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 2;
}

.neon-buton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-red);
    z-index: -1;
    transition: width 0.6s ease;
}

.neon-buton:hover {
    color: white;
    box-shadow: 0 0 30px rgba(var(--pure-rgb), 0.8), 0 0 60px rgba(var(--pure-rgb), 0.4);
    transform: translateY(-5px) scale(1.02);
    border-color: var(--light-red);
}

.neon-buton:hover::after {
    width: 100%;
}

.neon-buton:hover::before {
    left: 100%;
}

.neon-buton i {
    transition: transform 0.3s ease;
}

.neon-buton:hover i {
    transform: translateX(5px);
}

/* Animasyonlar */
:root {
    --anim-distance: 20px;
    --anim-duration: 0.8s;
    --anim-step: 0.15s;
}

.anim-fade-up {
    opacity: 0;
    transform: translateY(var(--anim-distance));
    animation: fadeInUpGlobal var(--anim-duration) ease forwards;
    animation-delay: var(--anim-delay, 0s);
}

.anim-stagger>* {
    --anim-delay: calc(var(--anim-step, 0.15s) * var(--i, 0));
}

@keyframes fadeInUpGlobal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Ben Kimim Sayfası */
.sayfa-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 20px 20px;
}

.biyografi-kutusu {
    background-color: rgba(var(--black-rgb), 0.5);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 50px;
    max-width: 1100px;
    color: white;
    border: 1px solid rgba(var(--white-rgb), 0.08);
    box-shadow: 0 0 40px rgba(var(--black-rgb), 0.6);
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.biyografi-kutusu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.1), transparent);
    transition: left 0.5s ease;
}

.biyografi-kutusu:hover::before {
    left: 100%;
}

.biyografi-kutusu:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 0 50px rgba(var(--primary-rgb), 0.2);
}

.biyografi-kutusu h1 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
    letter-spacing: 2px;
}

/* Ben Kimim Sayfası web işaret burada */
.biyografi-kutusu h1::before,
.biyografi-kutusu h1::after {
    content: '';
    /* 🕌 ☪︎ ☭ 🕋︎ 🕋️ */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-red);
    font-size: 1.5rem;
    opacity: 0.6;
    animation: starTwinkle 3s ease-in-out infinite;
}

.biyografi-kutusu h1::before {
    left: 0px;
}

.biyografi-kutusu h1::after {
    right: 0px;
}

@keyframes starTwinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.5);
    }
}

.ayrac {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    margin: 0 auto 30px auto;
    position: relative;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
    animation: lineExpand 3s ease-in-out;
}

.ayrac::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.8);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes lineExpand {
    0% {
        width: 0;
        opacity: 0;
    }

    100% {
        width: 100px;
        opacity: 1;
    }
}

@keyframes dotPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.7;
    }
}

.biyografi-kutusu p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #e0e0e0;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.biyografi-kutusu strong {
    color: var(--primary-red);
    font-weight: 600;
}

.son-soz {
    margin-top: 30px;
    font-style: italic;
}

/* Eserler Sayfası */
.eserlersayfasi {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;
    margin: 0 20px;
    padding: 20px 20px;
    flex: 1;
}

.eserlerwrapper {
    flex: 0 0 300px;
    background-color: rgba(var(--black-rgb), 0.4);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(var(--white-rgb), 0.08);
    box-shadow: 0 0 30px rgba(var(--black-rgb), 0.5);
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.eserlerwrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-red), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.eserlerwrapper:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.2);
}

.eserlerwrapper:hover::before {
    opacity: 1;
}

.kategori-baslik {
    font-size: 0.85rem;
    color: var(--primary-red);
    letter-spacing: 2px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kategori-baslik i {
    font-size: 2rem;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.kategori-baslik:first-child {
    margin-top: 0;
}

.eser-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 5px;
    margin-bottom: 5px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(var(--white-rgb), 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    color: #b0b0b0;
    font-size: 1rem;
    font-weight: 400;
}

.eser-link i {
    font-size: 1.2rem;
    color: #666;
    transition: all 0.3s ease;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.eser-link:hover,
.eser-link.active {
    color: var(--white);
    padding-left: 15px;
}

.eser-link:hover i,
.eser-link.active i {
    color: var(--primary-red);
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.6);
    transform: scale(1.1);
}

.eser-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.8);
}

.eser-link:hover::after,
.eser-link.active::after {
    width: 100%;
}

.eserbilgileri {
    flex: 1;
    background-color: rgba(var(--black-rgb), 0.4);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 40px;
    color: white;
    border: 1px solid rgba(var(--white-rgb), 0.08);
    box-shadow: 0 0 30px rgba(var(--black-rgb), 0.5);
    min-height: 500px;
    transition: all 0.3s ease;
    position: relative;
}

.eserbilgileri::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-red), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.eserbilgileri:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.2);
}

.eserbilgileri:hover::after {
    opacity: 1;
}

.eserler-icerik .ilahikus {
    text-align: center;
    background-color: transparent;
    margin: 20px;
    opacity: 0;
    animation: fadeInUpGlobal 2s ease forwards;
}

.eserler-icerik .ilahikus img {
    width: 200px;
    border-radius: 10px;
    transition: transform 0.6s ease;
}

.eserler-icerik .ilahikus img:hover {
    transform: scale(1.05) rotate(10deg);
}

.kitap-detay {
    display: none;
}

.kitap-detay h5 {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.3);
    padding-bottom: 15px;
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);

}

.kitap-detay h5 i {
    margin-right: 10px;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    vertical-align: middle;
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
}

.kitap-detay p {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
    color: #e0e0e0;
}

.ara-baslik strong {
    color: var(--primary-red);
    font-size: 1.05rem;
}

.kitap-detay iframe {
    width: 80%;
    max-width: 600px;
    height: clamp(300px, 40vh, 500px);
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(var(--black-rgb), 0.5);
    border: 2px solid rgba(var(--primary-rgb), 0.3);
}

/* İletişim Sayfası */
.iletisim-kutusu {
    text-align: center;
    background-color: rgba(var(--black-rgb), 0.5);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 50px;
    max-width: 1100px;
    color: white;
    border: 1px solid rgba(var(--white-rgb), 0.08);
    box-shadow: 0 0 40px rgba(var(--black-rgb), 0.6);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.iletisim-kutusu::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    animation: rotateGradient 25s linear infinite;
    pointer-events: none;
}

.iletisim-kutusu:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 0 50px rgba(var(--primary-rgb), 0.2);
}

/* Yorum Formu */
.yorum-formu-wrapper {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid rgba(var(--primary-rgb), 0.2);
}

.form-baslik {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.form-baslik i {
    font-size: 2.2rem;
}

.form-aciklama {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(var(--black-rgb), 0.3);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(var(--white-rgb), 0.05);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form .form-group label i {
    color: var(--primary-red);
    font-size: 1.1rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(var(--black-rgb), 0.5);
    border: 1px solid rgba(var(--white-rgb), 0.1);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(var(--white-rgb), 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(var(--black-rgb), 0.7);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.char-counter {
    margin-top: 8px;
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.char-counter span {
    font-weight: 600;
    color: rgb(var(--success-green-rgb));
    transition: color 0.3s ease;
}

.contact-form .form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.btn-submit,
.btn-reset {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 35px;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-submit {
    background: var(--primary-red);
    color: white;
    border: 2px solid var(--primary-red);
}

.btn-submit:hover:not(:disabled) {
    background: var(--light-red);
    box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.6);
    transform: translateY(-3px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit .bx-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.btn-reset {
    background: transparent;
    color: var(--text-gray);
    border: 2px solid rgba(var(--white-rgb), 0.2);
}

.btn-reset:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    background: rgba(var(--primary-rgb), 0.1);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
    animation: slideIn 0.3s ease;
}

.form-message.success {
    display: block;
    background: rgba(var(--success-green-rgb), 0.2);
    border: 1px solid rgba(var(--success-green-rgb), 0.5);
    color: rgb(var(--success-green-rgb));
}

.form-message.error {
    display: block;
    background: rgba(var(--error-red-rgb), 0.2);
    border: 1px solid rgba(var(--error-red-rgb), 0.5);
    color: rgb(var(--error-red-rgb));
}

.iletisim-kutusu h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-red);
}

.iletisim-kartlari {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    width: 100%;
}

.kart {
    background-color: rgba(var(--black-rgb), 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--white-rgb), 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 250px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.kart::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kart:hover::before {
    opacity: 1;
    animation: cardGlow 2s ease-in-out infinite;
}

@keyframes cardGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.kart i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--primary-red);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.kart:hover i {
    transform: scale(1.2) rotate(5deg);
    color: white;
    text-shadow: 0 0 20px rgba(var(--white-rgb), 0.8);
}

.kart h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.kart span {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
    width: 100%;
    word-wrap: break-word;
    white-space: normal;
    text-align: center;
}

.kart:hover {
    transform: translateY(-10px) scale(1.05);
    background-color: rgba(var(--primary-rgb), 0.15);
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.5), 0 0 30px rgba(var(--primary-rgb), 0.3);
}

/* Alt Bar */
.altbar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    padding: 12px 18px;
    background: rgba(var(--bg-card-rgb), 0.65);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 10px 30px rgba(var(--black-rgb), 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.altbar:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.4);
    border-color: rgba(var(--primary-rgb), 0.5);
}

.iletisimadresleri {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.iletisimadresleri a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.4s ease;
    background: rgba(var(--white-rgb), 0.05);
    border: 1px solid rgba(var(--white-rgb), 0.1);
    color: var(--text-light);
    box-shadow: inset 0 1px 0 rgba(var(--white-rgb), 0.06);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.iletisimadresleri a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, rgb(var(--primary-rgb)), rgb(var(--primary-rgb)));
    z-index: -1;
    transition: 0.4s ease;
    border-radius: 12px;
}

.iletisimadresleri a:hover {
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(var(--black-rgb), 0.35);
}

.iletisimadresleri a:hover::before {
    width: 100%;
    border-radius: 12px;
}

/* Responsive Güncellemeler */
@media (max-width: 900px) {
    .home-wrapper {
        flex-direction: column;
        text-align: center;
        padding-top: 20px;
        gap: 30px;
    }

    .profil-fotografi {
        width: 250px;
    }

    .yazi-akisi p {
        font-size: 1rem;
    }

    .imza {
        font-size: 1.4rem;
        padding: 15px 20px;
    }

    .bilgiler::after {
        display: none;
    }

    .yazi-akisi p:hover {
        padding-left: 15px;
    }

    .yazi-akisi p::before {
        font-size: 1.2rem;
        left: -20px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-form .form-actions {
        flex-direction: column;
    }

    .btn-submit,
    .btn-reset {
        width: 100%;
        justify-content: center;
    }

    /* Tablet için ek düzenlemeler */
    .sayfa-wrapper {
        padding: 15px 10px;
    }

    .biyografi-kutusu,
    .iletisim-kutusu {
        padding: 35px 25px;
    }

    .eserlerwrapper {
        flex: 0 0 280px;
    }
}

/* Küçük mobil cihazlar için ek düzenlemeler */
@media (max-width: 360px) {
    .logo-text h1 {
        font-size: 0.95rem;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .home-wrapper {
        padding: 20px 10px;
    }

    .profil-fotografi {
        width: 180px;
    }

    .imza {
        font-size: 1.1rem;
        padding: 10px 12px;
    }

    .biyografi-kutusu h1 {
        font-size: 1.5rem;
    }

    .iletisim-kutusu h1 {
        font-size: 1.8rem;
    }

    .kart {
        padding: 20px;
    }

    .kart i {
        font-size: 3rem;
    }

    .eserlersayfasi {
        flex-direction: column;
        display: flex;
    }

    .eserlerwrapper,
    .eserbilgileri {
        width: 100%;
        flex: auto;
    }

    .eserbilgileri {
        min-height: auto;
    }
}

/* Scrollbar Stili */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-red);
}

::selection {
    background-color: var(--primary-red);
    color: white;
}
