body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #2c2b2a;
}
.container {
    width: 80%;
    margin: 0 auto;
  }

header {
    background-color: #700d0d; /* Sienna */
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin-bottom: 5px;
}
#contact {
    padding: 60px 0;
    background-color: #333;
    color: white;
    text-align: center;
  }
main {
    padding: 20px;
}

#ana-cesitler h2,
#detayli-bilgiler h2 {
    color: #9e0835;
    border-bottom: 2px solid #a0522d;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.cesit-listesi {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cesit {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    width: calc(33.33% - 20px); /* Üç sütunlu düzen için */
    
    box-sizing: border-box;
}

.cesit img {
    height: 450px;
    max-width: 100%;
    
    border-radius: 5px;
    margin-bottom: 10px;
}

.cesit h3 {
    color: #7b3f00; /* Saddle Brown */
    margin-top: 0;
    margin-bottom: 5px;
}

.cesit p {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 10px;
}

.cesit a {
    display: inline-block;
    background-color: #c45308;
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.85em;
}

.cesit a:hover {
    background-color: #543000;
}

.detay {
    background-color: #fff;
    border: 1px solid #b61515;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: none; /* Başlangıçta gizli */
}

.detay h3 {
    color: #7b3f00;
    margin-top: 0;
    margin-bottom: 10px;
}

.detay p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.detay a {
    display: inline-block;
    background-color: #dfdfdf;
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.85em;
}

.detay a:hover {
    background-color: #7b3f00;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: sticky;
    bottom: 0;
    width: 100%;
}

/* Mobil cihazlar için düzenlemeler */
@media (max-width: 768px) {
    .cesit-listesi {
        flex-direction: column;
    }
    .cesit {
        width: 100%;
    }
}