:root {
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --primary: #FF4081; 
    --primary-hover: #F50057;
    --text-main: #E0E0E0;
    --text-muted: #B0B0B0;
    --white: #ffffff;
    --border: #333333;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Poppins', sans-serif; }

body { background-color: var(--bg-dark); color: var(--text-main); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
main { flex: 1; }

/* HEADER */
header { background: rgba(18, 18, 18, 0.95); padding: 15px 0; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo a { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.main-logo-icon { font-size: 2.2rem; color: var(--primary); }
.logo-text { font-size: 1.4rem; font-weight: 800; color: var(--white); line-height: 1; display: flex; flex-direction: column; }
.logo-text span { font-size: 0.8rem; color: var(--primary); letter-spacing: 1px; text-transform: uppercase; }
.heart-logo-small { height: 35px; width: auto; margin-left: 5px; }
.nav-links a { margin-left: 20px; font-weight: 500; font-size: 0.95rem; color: var(--text-muted); }
.nav-links a:hover { color: var(--white); }

/* --- HERO SECTION --- */
.hero {
    height: 600px;
    width: 100%;
    /* Sadece Hero Fotoğrafı üzerinde filtre var (Yazı okunsun diye) */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url('../img/hero.jpg');
    background-size: cover; 
    background-position: center center;
    background-repeat: no-repeat;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; margin-bottom: 40px; border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: 3.5rem; color: var(--white); margin-bottom: 20px; font-weight: 800; text-shadow: 0 4px 10px rgba(0,0,0,0.9); }
.hero p { font-size: 1.3rem; color: #f0f0f0; max-width: 700px; margin-bottom: 30px; font-weight: 500; text-shadow: 0 2px 5px rgba(0,0,0,0.9); }

/* --- KARTLAR & RESİMLER (DÜZELTİLDİ) --- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; padding-bottom: 50px; }
.card { 
    background: var(--bg-card); border-radius: 15px; overflow: hidden; 
    border: 1px solid var(--border); transition: 0.3s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); border-color: var(--primary); }

/* VAKA RESİMLERİ İÇİN  */

.card-img-top { 
    width: 100%; 
    height: 250px; /* Sabit yükseklik */
    object-fit: cover; /* Resmi kutuya sığdırır,/*
    object-position: center; 
    display: block; 
    background-color: #222; /* Resim yüklenmezse arka plan */
    border-bottom: 1px solid var(--border);
}

.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card h3 { color: var(--white); margin-bottom: 10px; font-size: 1.3rem; }
.card-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: #999; margin-bottom: 15px; }

/* GİRİŞ & KAYIT */
.centered-form-wrapper { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.form-box { width: 100%; max-width: 450px; padding: 40px; background: var(--bg-card); border-radius: 15px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* FORM ELEMANLARI */
input, select, textarea { 
    width: 100%; padding: 12px; margin-bottom: 15px; 
    background: #2A2A2A !important; 
    border: 1px solid #444; 
    color: var(--white) !important; 
    border-radius: 8px; font-size: 1rem;
}
input:focus, textarea:focus { outline: none; border-color: var(--primary); }
label { color: var(--text-muted); margin-bottom: 5px; display: block; }

/* BUTONLAR */
.btn { padding: 12px 30px; border-radius: 50px; border: none; cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; justify-content: center; transition: 0.3s;}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); transform: scale(1.05); }
.btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--bg-dark); }
.btn-card { border: 1px solid var(--primary); color: var(--primary); background: transparent; width: 100%; border-radius: 10px; padding: 10px;}
.btn-card:hover { background: var(--primary); color: white; }

/* DİĞER */
.progress-container { background: #333; height: 8px; border-radius: 5px; margin: 15px 0; overflow: hidden; }
.progress-bar { height: 100%; background: var(--primary); }
footer { text-align: center; padding: 40px; border-top: 1px solid var(--border); color: var(--text-muted); margin-top: auto;}
.alert { padding: 15px; border-radius: 5px; margin-bottom: 20px; }
.alert-error { background: rgba(255,0,0,0.2); border: 1px solid red; color: red; text-align: center;}