/* Genel Sayfa Ayarları */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #fdfdf6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
}

/* Header Tasarımı */
header {
    background: #f1c40f;
    color: #2c3e50;
    padding-top: 20px;
    min-height: 70px;
    border-bottom: 4px solid #d35400;
}

header h1 {
    float: left;
    font-size: 1.8rem;
    padding-left: 10px;
}

header nav {
    float: right;
    margin-top: 10px;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
}

/* !!! KAPAK FOTOĞRAFI AYARI (HERO SECTION) !!! */
.hero {
    /* Klasöründeki 'kapak.jpg' isimli fotoğraf burada arka plan olacak */
    background-image: url('kapak.jpg');
    
    background-size: cover; /* Resmi alana yayar */
    background-position: center; /* Resmi ortalar */
    height: 400px; /* Yükseklik ayarı */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

/* Resim daha iyi okunsun diye üzerine hafif siyahlık atıyoruz */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 10px;
    background: rgba(0,0,0,0.3);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    background: #f1c40f;
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: bold;
}

/* İçerik Düzeni */
.main-content {
    padding: 30px 0;
}

.bolum {
    margin-bottom: 40px;
    text-align: center;
}

.bolum h3 {
    color: #d35400;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-transform: uppercase;
}

/* !!! İÇERİKTEKİ FOTOĞRAF AYARI !!! */
.resim-cercevesi img {
    max-width: 600px;
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 5px solid #fff;
}

hr {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 40px 0;
}

/* Kartlar */
.kart-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.kart {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-top: 5px solid #f1c40f;
    width: 300px;
}

/* Tablo */
.bakim-tablosu {
    width: 100%;
    max-width: 700px;
    margin: 20px auto;
    border-collapse: collapse;
}

.bakim-tablosu th, .bakim-tablosu td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.bakim-tablosu th {
    background-color: #f1c40f;
    color: #333;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}