:root {
    --bg-color: #10101a;
    --primary-color: #f0f0f0;
    --accent-color: #0077ff;
    --glow-color: rgba(0, 119, 255, 0.75);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
    overflow-y: auto; /* Dikey kaydırmayı aktif et */
    overflow-x: hidden;
}

#interactive-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    animation: fadeInDown 1s ease-out forwards;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-color);
}

nav a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 30px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.main-title {
    font-size: 5vw; /* Ekran boyutuna göre ölçeklenir */
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
}

.main-title span {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.main-title span:nth-child(2) { animation-delay: 0.2s; }
.main-title span:nth-child(3) { animation-delay: 0.4s; }

.subtitle {
    font-size: 1.2rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.cta-button {
    margin-top: 40px;
    padding: 15px 30px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px var(--glow-color);
}

/* Animasyonlar */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Genel Ayarlar ve Scroll Davranışı */
html {
    scroll-behavior: smooth;
}

.full-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Bölüm Başlıkları */
.content-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0; /* Animasyon için başlangıç durumu */
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: -1px;
}

/* Hakkımda Bölümü (Profil Fotoğrafsız) */
.about-content-full {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content-full h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content-full p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 15px;
}

.about-content-full p strong {
    color: var(--primary-color);
}
/* Hakkımda bölümündeki linkler için stil */
.about-content-full p a {
    color: inherit; /* Yazının geri kalanıyla aynı renkte olsun */
    text-decoration: none; /* Alt çizgiyi kaldır */
    transition: color 0.3s ease;
}

.about-content-full p a:hover {
    color: var(--accent-color); /* Fare üzerine gelince ana renk olsun */
}

/* Eski Hakkımda Bölümünü Gizle */
.about-content {
    display: none;
}

/* Projeler Bölümü */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.08);
}

.project-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 20px;
    background-size: cover; /* DÜZENLENDİ */
    background-position: center; /* DÜZENLENDİ */
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 20px;
}

/* Proje Kartları (Yeni Link Stili) */
.project-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.project-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-links a:hover {
    background-color: var(--accent-color);
    color: white;
}

/* İletişim Bölümü */
.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 40px;
}

/* İletişim Bölümü (Yeni Link Stili) */
.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.social-button {
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px var(--glow-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    color: #666;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer p a:hover {
    color: var(--accent-color);
}

/* Mobil Cihaz Uyumluluğu */
@media (max-width: 768px) {
    .main-title { font-size: 8vw; }
    nav { display: none; }
    .about-content {
        flex-direction: column-reverse;
    }
}

/* --- Proje Resimleri (YENİ EKLENDİ) --- */

#proje-1 {
    background-image: url('img/dc.gif');
}

#proje-2 {
    background-image: url('img/luckmcicon.png');
}

#proje-3 {
    background-image: url('img/yakinda.gif');
}