/* Genel Sayfa Stili */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, rgba(53, 48, 39, 0.7), rgba(112, 105, 88, 0.7)), url('images/arkaplan.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

/* Üst Bant */
header {
    position: relative;  /* Header'a pozisyon veriyoruz */
    z-index: 10;  /* Header'ın z-index değerini yüksek yaparak üstte kalmasını sağlıyoruz */
    background-color: #b49655;
    color: white;
    padding: 20px;
    text-align: center;
    transition: background-color 0.3s ease; /* Bant rengini değiştirmek için geçiş */
}

/* Üst Bant üzerine gelindiğinde rengin değişmesi */
header:hover {
    background-color: #6f5d40; /* Üst bant daha koyu olacak */
}

/* Başlık (h1) */
header h1 {
    font-size: 36px;
    color: white;
    transition: color 0.3s ease, transform 0.3s ease; /* Yavaşca renk değişimi ve büyüme efekti */
}

/* Başlık üzerine gelindiğinde renk ve büyüme */
header h1:hover {
    color: #b49655;  /* Başlık renginin değişmesi */
    transform: scale(1.1); /* Başlık büyüyecek */
}

/* Menü öğeleri (nav > a) */
header nav ul {
    display: flex;
    justify-content: center;
    padding: 0;
    list-style-type: none;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    display: block;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
}
button {
    background-color: #ff6347;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #d45a32;  /* Hoverda butonun rengini değiştir */
}
/* Menü öğeleri üzerine gelindiğinde renk değişimi ve kutu efekti */
header nav ul li a:hover {
    color: #fff;
    background-color: #756346;
}

/* Blog Yazısı İçeriği */
/* İçerik kutusu */
.content {
    flex: 1; /* Ortadaki alan kalan genişliği alacak */
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    border-radius: 8px;
}
.content h1 {
    font-size: 36px;
    color: #333;
    text-align: center;
}

.content .intro {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.content .image-container img {
    width: 200px;
    height: auto;
    display: block;
    margin: 20px 0;
    transition: transform 0.3s ease; /* Hover animasyonu */
}

.content .image-container img:hover {
    transform: scale(1.05); /* Hover efekti ile biraz büyütme */
}

.content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 20px 0;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    margin-bottom: 0;
  padding-bottom: 0;
    width: 100%;
    height: auto; /* Footer yüksekliğini biraz arttırdım, emeği geçenler kısmı için */
    box-sizing: border-box;
    font-size: 14px;
    position: relative;
}

.social-media {
    margin: 10px 0;
}

.social-icon {
    margin: 0 10px;
    display: inline-block;
}

.social-icon img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-icon img:hover {
    transform: scale(1.2);
}

/* Emeği Geçenler Bölümü */
.contributors {
    margin-top: 20px;
    color: white; /* Yazı rengini beyaz yapıyoruz */
    font-size: 14px; /* Aynı font boyutunda tutuyoruz */
}

.contributors p {
    font-weight: bold;
}

.contributors ul {
    list-style-type: none;
    padding: 0;
}

.contributors li {
    margin-bottom: 5px;
}

/* Scroll butonu */
.scroll-btn {
    background-color: #b49655;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin: 20px auto;
    transition: background-color 0.3s ease;
}

.scroll-btn:hover {
    background-color: #9c7a43;
}

/* Sol ve sağ çubuklar */
.side-bar {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 200px;
    background-color: #f2e2b6; 
    z-index: 0;
}

/* Sol çubuk */
.left-bar {
    left: 0; /* Sol kenara yapışması için 0 */
}

/* Sağ çubuk */
.right-bar {
    right: 0; /* Sağ kenara yapışması için 0 */
}

/* İçerik kutusu ortalanmış ve kenarlardan uzak */
.content {
    margin-left: 320px;  /* 300px çubuk + 20px içerik boşluğu */
    margin-right: 320px; /* 300px çubuk + 20px içerik boşluğu */
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow: hidden; /* İçerik taşması durumunda temizler */
}
/* Fotoğraf kapsayıcıları için stil */
.image-container {
    display: flex;
    justify-content: space-between;
    align-items: center;  /* Dikeyde ortalamak için */
    margin: 20px 0;  /* Yukarı ve aşağı boşluk */
}

/* Fotoğraf stilleri */
.image-container img {
    width: 48%;  /* Genişliği %48, böylece fotoğraflar birbirine yakın olur */
    height: 300px;  /* Yükseklik ayarı */
    object-fit: cover;  /* Görsellerin orantılı şekilde kırpılmasını sağlar */
    border-radius: 20px;  /* Köşeleri oval yapmak için */
}

/* Sol fotoğraf */
.image-container .left-image {
    margin-left: 20px;  /* Sol taraftan boşluk */
}

/* Sağ fotoğraf */
.image-container .right-image {
    margin-right: 20px;  /* Sağ taraftan boşluk */
}

.right-image-container {
    flex-basis: 48%;
    margin: 10px 0;
    position: relative;
    text-align: right; /* Sağ tarafa hizalama */
}

/* Sağ fotoğraf */
.right-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}