/* Genel Sıfırlama */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Genel Tipografi ve Arka Plan */
body {
    font-family: 'Roboto', sans-serif; /* Modern Font */
    background-color: #f4f4f4; /* Daha modern arka plan */
    color: #333;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #ff7043; /* Navbar rengi korundu */
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Gölgelendirme */
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-size: 1em;
    transition: opacity 0.3s;
}

.menu a:hover {
    opacity: 0.8;
}

/* Ana İçerik */
.content {
    max-width: 900px; /* Genişletildi */
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.hero {
    margin-bottom: 30px;
    background-color: #e9ecef; /* Hero arka plan */
    padding: 60px 20px;
    border-radius: 12px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #222;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
}

/* Arama Kutusu */
.search-container {
    text-align: center;
    margin: 20px 0;
}

.search-input {
    width: 80%; /* Genişletildi */
    max-width: 600px;
    padding: 15px; /* Padding artırıldı */
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 8px; /* Köşe yuvarlatma */
}

/* Kategoriler ve Tarifler */
.categories-container,
.recipes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.recipes-container {
    display: none;
}

/* Kartlar */
.category-card,
.recipe-card {
    width: 300px; /* Genişletildi */
    background-color: #fff;
    border-radius: 12px; /* Köşe yuvarlatma */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Gölgelendirme */
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Daha yumuşak geçişler */
}

.category-card:hover,
.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.category-image,
.recipe-image {
    width: 100%;
    height: 200px; /* Yükseklik artırıldı */
    object-fit: cover;
}

.category-info,
.recipe-info {
    padding: 20px; /* Padding artırıldı */
    text-align: left; /* Metin sola hizalandı */
}

.category-info h3,
.recipe-info h3 {
    margin: 0 0 10px 0; /* Boşluk eklendi */
    font-size: 1.3em;
    color: #222; /* Renk değiştirildi */
}

.recipe-info p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    background-color: #333; /* Footer rengi değiştirildi */
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Detay Sayfası İçin Ek Stillendirme */
.detail-container {
    max-width: 900px;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Güçlü gölge */
    border-radius: 12px;
    overflow: hidden;
    padding: 40px; /* Padding artırıldı */
    text-align: left;
    line-height: 1.7; /* Satır aralığı */
}

.detail-container h2 {
    margin-top: 0;
    font-size: 3rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.detail-container img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info {
    margin: 20px 0;
    font-size: 1.1rem;
}

.info strong {
    color: #333;
    font-weight: 600;
}

.description {
    line-height: 1.6;
    margin-top: 25px;
    font-size: 1.1rem;
}

/* İletişim Formu */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 20px auto;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px;
    font-size: 1em;
    background-color: #ff7043;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.contact-form button:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }

    .menu {
        flex-direction: column;
        gap: 10px;
    }

    .search-input {
        width: 90%;
    }

    .recipe-card,
    .category-card {
        width: 100%;
    }
}

.content p {
    line-height: 1.7; /* Satır aralığı artırıldı */
    margin-bottom: 20px; /* Paragraflar arası boşluk eklendi */
    font-size: 1.1rem; /* Metin boyutu artırıldı */
}


.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px; /* Boşluk eklendi */
}

.contact-form-wrapper {
    flex: 1;
    max-width: 450px; /* Form genişliği ayarlandı */
    text-align: left;
}

.contact-form-wrapper h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Boşluk artırıldı */
}

.contact-info {
    flex: 1;
    text-align: left;
}

.contact-info p i {
    margin-right: 15px; /* Zarfla yazı arasına boşluk eklendi */
}

.contact-info p i.fas.fa-envelope {
    font-size: 1.6rem; /* İkon boyutu artırıldı */
    margin-right: 10px; /* Zarfla yazı arasına boşluk eklendi */
    vertical-align: middle; /* Dikey hizalama */
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.social-media {
    display: flex;
    gap: 15px; /* Boşluk artırıldı */
    margin-top: 25px;
}

.social-media a {
    color: #333;
    font-size: 1.8rem; /* İkon boyutu artırıldı */
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #007bff;
}

.email-link {
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease; /* Geçiş efekti eklendi */
}

.email-link:hover {

    color: #007bff; /* E-posta rengi */
}