/* --- Değişkenler & Tema --- */
:root {
    --primary-color: #00A79D;
    --space-grey: #535559;
    --space-grey-light: #f5f5f7;
    --bg-color: #f4f6f8;
    --text-color: #1a1a1a;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.05);
    --secondary-text: #666;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    
    --font-hero: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --font-logo: 'Playfair Display', serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[data-theme="dark"] {
    --bg-color: #0f1115;
    --text-color: #e0e0e0;
    --space-grey: #a1a1a6;
    --card-bg: #181a20;
    --card-border: rgba(255, 255, 255, 0.05);
    --secondary-text: #a0a0a0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.4s ease, color 0.4s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 2rem 5%; animation: slideDown 0.8s ease-out;
}

.brand-logo {
    font-family: var(--font-hero);
    font-size: 1.8rem; font-weight: 700; letter-spacing: 1px;
}

.text-cyan { color: var(--primary-color); }
.text-space { color: var(--space-grey); }

.tools { display: flex; gap: 1.5rem; align-items: center; }

.language-selector { position: relative; cursor: pointer; padding-bottom: 10px; margin-bottom: -10px; }
.lang-btn {
    background: none; border: 1px solid var(--card-border);
    padding: 0.5rem 0.8rem; border-radius: 50px;
    color: var(--text-color); font-size: 1.1rem;
    cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.lang-dropdown {
    position: absolute; top: 100%; right: 0;
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 12px; box-shadow: var(--shadow);
    display: none; flex-direction: column; min-width: 120px; z-index: 100;
    padding-top: 5px; overflow: hidden;
}
.language-selector::after {
    content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 10px;
}
.language-selector:hover .lang-dropdown { display: flex; animation: fadeIn 0.2s ease; }
.lang-dropdown span { padding: 10px 15px; font-size: 0.9rem; color: var(--text-color); transition: 0.2s; cursor: pointer;}
.lang-dropdown span:hover { background: rgba(0, 167, 157, 0.1); color: var(--primary-color); }

.theme-btn {
    background: none; border: none; color: var(--text-color);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.sun-icon { display: none; }
.moon-icon { display: block; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 4rem 1rem 3rem;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-family: var(--font-hero);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    padding-top: 0.2em; 
    padding-bottom: 0.1em;
    
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 167, 157, 0.4));
}

[data-theme="light"] .hero h1 {
    background: linear-gradient(135deg, #535559 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 15px rgba(0, 167, 157, 0.2));
}

.hero p { font-size: 1.2rem; color: var(--secondary-text); max-width: 600px; margin: 0 auto; }

/* --- Projects Grid --- */
.projects-grid {
    flex: 1; display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2rem; padding: 2rem 5%; max-width: 1400px;
    margin: 0 auto; width: 100%;
}

.card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 24px; padding: 2.5rem 2rem; position: relative;
    cursor: pointer; transition: var(--transition);
    display: flex; flex-direction: column; 
    justify-content: space-between; 
    text-align: center; animation: fadeInUp 0.8s ease-out backwards;
    overflow: hidden;
}
.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--primary-color); }

/* --- Kart İç Yapısı ve Hizalama --- */
.card-top {
    display: flex; align-items: center; justify-content: center;
    min-height: 180px; width: 100%;
}
.card-bottom {
    display: flex; align-items: flex-start; justify-content: center;
    flex-grow: 1; padding-top: 1rem;
}
.showcase-card, .standard-card { padding-top: 3rem; }

.logo-area {
    width: 100%; height: 100%; display: flex;
    align-items: center; justify-content: center;
}

.project-logo-img {
    width: auto; height: auto; max-width: 100%; max-height: 120px;
    object-fit: contain; transition: transform 0.3s ease;
}
.showcase-card:hover .project-logo-img { transform: scale(1.05); }

/* --- Moneyta Text Logo Stili (DÜZELTİLDİ: Medium 500 Italic) --- */
.moneyta-text {
    font-family: var(--font-logo);
    font-weight: 500;       /* Medium */
    font-style: italic;     /* Italic */
    font-size: 5rem;        /* Bu font biraz daha zarif olduğu için boyutu 5rem yaptım, şık durur */
    color: var(--primary-color);
    letter-spacing: -1px;   /* Playfair için harf aralığını biraz açtık (önceki -2 idi) */
    line-height: 1;
}

/* Kart metinleri */
.card-desc { font-size: 0.95rem; color: var(--secondary-text); line-height: 1.5; }

.card-status {
    position: absolute; top: 1rem; right: 1rem;
    font-size: 0.75rem; padding: 4px 12px; border-radius: 20px;
    font-weight: 600; z-index: 10;
}
.card-status.space-grey {
    background: #e5e5ea; color: #3a3a3c; border: 1px solid rgba(0,0,0,0.1);
}
[data-theme="dark"] .card-status.space-grey {
    background: #3a3a3c; color: #e5e5ea; border: 1px solid rgba(255,255,255,0.1);
}
.card-status.active { background: rgba(0, 167, 157, 0.1); color: var(--primary-color); }
.main-project { border: 1px solid rgba(0, 167, 157, 0.3); }

footer { text-align: center; padding: 2rem; font-size: 0.85rem; color: var(--secondary-text); opacity: 0.7; }
.notification {
    position: fixed; bottom: 30px; left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-color); color: var(--bg-color);
    padding: 12px 24px; border-radius: 50px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 1000; font-weight: 500;
}
.notification.active { transform: translateX(-50%) translateY(0); opacity: 1; }

@media (max-width: 900px) {
    .projects-grid { grid-template-columns: 1fr; max-width: 500px; }
    .hero h1 { font-size: 2.5rem; }
    .card-top { min-height: auto; padding: 2rem 0; }
    .moneyta-text { font-size: 3.5rem; }
    .standard-card, .showcase-card { padding-top: 2.5rem; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }