/* --- GLOBAL AYARLAR --- */
:root {
    --bg-color: #f8f9fa;
    --text-main: #2d3748;
    --text-muted: #718096;
    --accent: #d4a373;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff 0%, #f4f4f9 100%);
    position: relative;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    color: #1a202c;
    margin-bottom: 15px;
}

.hero-title .amp { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }

/* Scroll Animasyonu */
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); }
.mouse { width: 26px; height: 40px; border: 2px solid var(--text-muted); border-radius: 20px; position: relative; }
.mouse::before { content: ''; width: 4px; height: 6px; background: var(--text-muted); position: absolute; top: 8px; left: 50%; transform: translateX(-50%); border-radius: 4px; animation: scroll 2s infinite; }
@keyframes scroll { 0% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, 15px); opacity: 0; } }

/* --- YENİ TASARIM: MEMORY FEED --- */
.memory-feed {
    padding: 80px 20px;
    background-color: var(--bg-color);
}

.feed-container {
    max-width: 700px; /* Kartları ortaya toplayıp dergi görünümü veriyoruz */
    margin: 0 auto;
}

.memory-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    overflow: hidden; /* Resimlerin köşeleri yuvarlansın diye */
    transition: transform 0.3s ease;
}

.memory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Kart Üst Bilgi (Tarih ve İkon) */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #f1f1f1;
}

.memory-date {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 1px;
}

.memory-badge {
    font-size: 1.2rem;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 50%;
}

/* --- YENİ KOD (Bunu yapıştır) --- */
/* Kart Fotoğrafı (Tam Genişlik ve Doğal Boyut) */
.card-image img {
    width: 100%;         /* Genişliği kartın tamamına yay */
    height: auto;        /* Yüksekliği fotoğrafın orijinal oranına göre OTOMATİK ayarla */
    display: block;      /* Resim altındaki istenmeyen boşlukları engelle */
    /* Artık kesme veya sıkıştırma yok, fotoğraf neyse o! */
}

/* Kart Metin Alanı */
.card-body {
    padding: 30px;
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.3;
}

.story-text {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* --- MOBİL UYARLAMA (MÜKEMMEL GÖRÜNÜM) --- */
@media screen and (max-width: 768px) {
    .hero-title { font-size: 3.5rem; }
    
    .memory-feed { padding: 40px 15px; }
    
    .memory-card {
        border-radius: 20px;
        margin-bottom: 40px;
    }

    .card-header { padding: 20px; }
    .card-body { padding: 20px; }
    .story-title { font-size: 1.6rem; }
    .story-text { font-size: 0.95rem; }
}