* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f0f0f;
    color: #fff;
    padding-bottom: 50px;
}

/* Header */
header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    border-bottom: 1px solid #333;
}

header h1 {
    font-size: 3rem;
    color: #e50914; /* Netflix kırmızısı */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

header p {
    color: #888;
    font-size: 1.1rem;
}

/* Konteyner */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    font-size: 1.8rem;
    margin: 50px 0 25px;
    border-left: 5px solid #e50914;
    padding-left: 20px;
    color: #e5e5e5;
}

hr {
    border: 0;
    height: 1px;
    background: #333;
    margin: 60px 0;
}

/* Grid Yapısı */
.grid {
    display: grid;
    /* Kart genişliğini biraz artırdık */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

/* KART TASARIMI */
.card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background-color: #1f1f1f;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.4); /* Kırmızı parlama */
    z-index: 2;
}

/* Resim Ayarları - Burası çok önemli */
.card img {
    width: 100%;
    height: 340px; /* Tüm resimler eşit boyda görünür */
    object-fit: cover; /* Resim bozulmadan kutuya sığar */
    display: block;
}

/* Bilgi Kutusu (Slide Efekti) */
.info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    
    /* Animasyon başlangıcı */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.card:hover .info {
    opacity: 1;
    transform: translateY(0);
}

.info h3 {
    color: #e50914;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.info p {
    font-size: 0.95rem;
    color: #ddd;
    line-height: 1.5;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 50px;
    color: #555;
    font-size: 0.9rem;
}