/* Genel Stiller */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #979595;
}

/* Header Stilleri */
header {
    background-color: #333333;
    color: white;
    padding: 10px 0;
}

header .container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
}

/* Hero Bölümü */
.hero {
    background: #535353;
    color: white;
    text-align: center;
    padding: 50px 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .btn-primary {
    background-color: black;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
}

.hero .btn-primary:hover {
    background-color: black;
}

/* Fotoğraf Kaydırıcı (Carousel) */
.photo-carousel .carousel-inner img {
    max-height: 400px;
    object-fit: cover;
}

.photo-carousel h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Popüler Tarifler */
.featured-recipes {
    padding: 50px 0;
    background-color: #a7a6a6;
    text-align: center;
}

.featured-recipes h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.recipe-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.recipe-item {
    flex: 1 1 calc(33.33% - 20px);
    background-color: #747373;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 8px;
}

.recipe-item img {
    width: 100%;
    height: 250px; /* Sabit yükseklik verildi */
    object-fit: cover; /* Resim düzgün şekilde sığacak */
    border-radius: 8px;
}

.recipe-item h3 {
    margin-top: 10px;
    font-size: 1.2rem;
}

.recipe-item a {
    text-decoration: none;
    color: #333;
}

.recipe-item a:hover {
    color: black;
}

/* Kategoriler Bölümü */
.categories {
    padding: 50px 0;
    background-color: #a7a6a6;
}

.categories h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.category-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.category-item {
    flex: 1 1 calc(33.33% - 20px);
    background-color: #747373;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-sizing: border-box;
}

.category-item img {
    width: 100%;
    height: 250px; /* Sabit yükseklik verildi */
    object-fit: cover; /* Resim düzgün şekilde sığacak */
    border-radius: 8px;
}

.category-item h3 {
    margin-top: 10px;
    font-size: 1.2rem;
}

.category-item a {
    text-decoration: none;
    color: #333;
}

.category-item a:hover {
    color: black;
}

/* Footer Stilleri */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
}
