:root {
    /* DARK MODE (Varsayılan) */
    --bg-color: #000000;
    --text-color: #ffffff;
    --card-bg: #111111; /* Menü kartları için hafif açık siyah */
    --accent-color: #38bdf8; /* Mavi neon */
    --hover-bg: #1a1a1a;
    --border-color: #333;
}

/* LIGHT MODE (Şeftali) */
body.light-mode {
    --bg-color: #ffe5b4; /* Açık Şeftali */
    --text-color: #2d2d2d;
    --card-bg: #fffbf2; /* Çok açık krem */
    --accent-color: #ff6b6b; /* Şeftaliye uyan canlı mercan */
    --hover-bg: #fff0db;
    --border-color: #e6cea0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    height: 100vh;
    overflow: hidden; /* Animasyon sırasında kaydırma çubuğu çıkmasın */
    position: relative;
}

/* --- PROFİL & HERO ALANI --- */
.hero-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Yaylanma efekti */
    z-index: 10;
    cursor: pointer;
}

.hero-container img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--accent-color);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.2);
    transition: all 0.8s ease;
}

/* İsim ve Unvan */
.hero-text {
    margin-top: 1rem;
    transition: all 0.5s ease;
}

.hero-text h1 { font-size: 3rem; }
.hero-text h2 { font-size: 1.2rem; color: var(--accent-color); font-weight: 300; letter-spacing: 2px; }
.click-hint { margin-top: 2rem; opacity: 0.6; animation: pulse 2s infinite; font-size: 0.9rem; }

/* --- MENÜ MODUNA GEÇİŞ (JS ile eklenecek class) --- */
body.menu-active {
    overflow-y: auto; /* Menü açılınca scroll serbest */
}

/* Profilin Sol Üste Gitmesi */
body.menu-active .hero-container {
    top: 50px;
    left: 100px; /* Mobilde veya küçük ekranda bunu ayarlamak gerekir */
    transform: translate(0, 0);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0;
    cursor: default;
}

body.menu-active .hero-container img {
    width: 80px; /* Resim küçülüyor */
    height: 80px;
    border-width: 3px;
    box-shadow: none;
}

body.menu-active .hero-text h1 { font-size: 1.5rem; margin: 0;}
body.menu-active .hero-text h2 { font-size: 0.9rem; margin: 0;}
body.menu-active .click-hint { display: none; } /* Tıkla yazısını gizle */

/* --- MENÜ GRID ALANI (Sağ ve Orta) --- */
.menu-grid {
    display: none; /* Başlangıçta gizli */
    position: absolute;
    top: 150px; /* Header'ın altı */
    left: 100px;
    right: 100px;
    padding-bottom: 50px;
    
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

/* Menü Kartları */
.menu-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 150px;
}

.menu-card:hover {
    transform: translateY(-5px);
    background-color: var(--hover-bg);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.menu-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.menu-card span {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Hakkında (En altta geniş) */
.card-about {
    grid-column: 1 / -1; /* Tüm satırı kapla */
    background: linear-gradient(45deg, var(--card-bg), var(--hover-bg));
}

/* Tema Butonu */
.theme-toggle {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    z-index: 100;
}

@keyframes pulse { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } }