/* =========================================
   1. GENEL AYARLAR (RESET)
   ========================================= */
* {
    box-sizing: border-box; /* Kutuların taşmasını ve kaymasını engeller */
}

body {
    margin: 0;
    padding: 0;
    /* Modern ve okunaklı yazı tipi */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* İsteğin üzerine: KREM RENGİ arka plan */
    background-color: #FFFBF2; 
    color: #4a4a4a;
}

a {
    text-decoration: none; /* Link alt çizgilerini kaldır */
    transition: all 0.3s ease; /* Yumuşak geçiş efekti */
}

/* =========================================
   2. HEADER (ÜST MENÜ)
   ========================================= */
header {
    display: flex;
    justify-content: space-between; /* Logo sola, menü sağa yaslansın */
    align-items: center;
    padding: 20px 50px;
    background-color: #fff; /* Menü arka planı beyaz */
    border-bottom: 1px solid #e0e0e0; /* Altına ince gri çizgi */
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #C05805; /* Turuncu/Kahve tonu */
    cursor: pointer;
}

nav a {
    margin-left: 15px;
    color: #5d4037; /* Koyu kahve yazı */
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid #d7ccc8; /* Hafif çerçeve */
    border-radius: 20px; /* Oval buton görünümü */
}

nav a:hover {
    background-color: #C05805;
    color: white; /* Üzerine gelince yazı beyaz, arka plan turuncu */
    border-color: #C05805;
}

/* =========================================
   3. BANNER (HOŞ GELDİN YAZISI)
   ========================================= */
.banner {
    text-align: center;
    padding: 50px 20px;
}

.banner h1 {
    font-size: 48px;
    color: #fff;
    margin: 0 0 10px 0;
    /* Yazının etrafına gölge vererek okunmasını sağlıyoruz (Resimdeki efekt) */
    text-shadow: 0 0 4px rgba(0,0,0,0.4), 0 0 10px rgba(0,0,0,0.1);
    -webkit-text-stroke: 1px #8d6e63; /* Yazı kenarlığı */
}

.banner p {
    color: #bf360c; /* Canlı kiremit rengi */
    font-size: 19px;
    font-weight: 500;
}

/* =========================================
   4. HERO (BÜYÜK BAŞLIK)
   ========================================= */
.hero {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
}

.hero h1 {
    color: #A04000;
    font-size: 32px;
    text-transform: uppercase; /* Harfleri büyüt */
    letter-spacing: 2px; /* Harf aralığını aç */
}

/* =========================================
   5. KARTLAR (YAN YANA 4 RESİM)
   ========================================= */
.cards {
    display: flex;
    justify-content: space-between; /* Kartları satıra yay */
    padding: 0 50px; /* Kenarlardan boşluk bırak */
    gap: 20px; /* Kartlar arası mesafe */
    margin-bottom: 60px;
    flex-wrap: wrap; /* Mobilde alta geçmesine izin ver */
}

.card {
    /* 4 Tanesinin yan yana sığması için %23 genişlik veriyoruz 
       (4 x 23 = 92, kalan %8 boşluklara gider) */
    width: 23%; 
    text-align: center;
    cursor: pointer;
    background-color: white; /* Resim yüklenmezse beyaz kutu görünsün */
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Hafif gölge */
    padding-bottom: 15px; /* Yazı ile alt kenar arası boşluk */
}

.card:hover {
    transform: translateY(-5px); /* Üzerine gelince yukarı zıplasın */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 180px; /* Tüm resimler eşit boyda olsun */
    object-fit: cover; /* Resmi kutuya sığdırırken oranını bozma */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.card p {
    margin-top: 15px;
    color: #6d4c41;
    font-size: 18px;
    font-weight: 600;
}

/* =========================================
   6. SEKMELER (ALTTAKİ 3 BİLGİ KUTUSU)
   ========================================= */
.sekmeler {
    background-color: #FFFBF2;
    padding: 20px 50px 60px 50px;
}

.ozellikler {
    display: flex;
    justify-content: center; /* Ortala */
    gap: 30px;
    flex-wrap: wrap;
}

.ozellik {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    width: 30%; /* 3 tane yan yana sığsın */
    min-width: 250px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #efebe9;
}

.ozellik h3 {
    color: #3e2723;
    margin-bottom: 10px;
}

.ozellik p {
    color: #795548;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================
   7. FOOTER (ALT KISIM)
   ========================================= */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    margin-top: auto;
}

.footer-left p {
    color: #555;
    font-size: 14px;
}

.footer-right a {
    display: block;
    color: #C05805;
    text-align: right;
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-right a:hover {
    text-decoration: underline;
}

/* =========================================
   8. MOBİL UYUMLULUK (TELEFONLAR İÇİN)
   ========================================= */
@media (max-width: 768px) {
    
    /* Menüyü alt alta diz */
    header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    nav a {
        text-align: center;
        margin: 0;
    }

    /* Kartları alt alta diz */
    .cards {
        padding: 0 20px;
    }

    .card {
        width: 100%; /* Teleforda tam genişlik */
        margin-bottom: 20px;
    }

    /* Özellik kutularını alt alta diz */
    .ozellik {
        width: 100%;
    }

    /* Footer'ı ortala */
    footer {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-right a {
        text-align: center;
    }
}

/* =========================================
   9. TARİFLER SAYFASI ÖZEL AYARLARI
   ========================================= */

/* Sayfa Başlığı (TÜM TARİFLERİMİZ yazısı) */
.sayfa-basligi {
    text-align: center;
    color: #A04000;
    margin: 40px 0;
    font-size: 36px;
    font-family: 'Segoe UI', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Kartların içindeki 'Tarife Git' Butonu */
.tarif-buton {
    display: inline-block; /* Buton gibi davranmasını sağlar */
    margin-top: 15px;
    padding: 8px 25px;
    background-color: #C05805; /* Turuncu renk */
    color: white;
    border-radius: 20px; /* Kenarları yuvarlak */
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s ease; /* Renk değişimi yumuşak olsun */
}

/* Butonun üzerine gelince koyulaşsın */
.tarif-buton:hover {
    background-color: #8a3f03;
    color: #fff;
    text-decoration: none;
}

/* =========================================
   10. HAKKIMDA SAYFASI AYARLARI
   ========================================= */

.hakkimda-kutu {
    max-width: 1000px;
    margin: 0 auto 60px auto; /* Ortala ve alttan boşluk bırak */
    padding: 20px;
}

.hakkimda-icerik {
    display: flex; /* Resim ve yazıyı yan yana getir */
    align-items: center; /* Dikeyde ortala */
    gap: 40px; /* Aralarında boşluk bırak */
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Hafif gölge */
}

.hakkimda-resim {
    flex: 1; /* Alanın yarısını kaplasın */
}

.hakkimda-resim img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 10px 10px 0px #C05805; /* Resmin arkasına turuncu gölge efekti */
}

.hakkimda-yazi {
    flex: 1; /* Alanın diğer yarısını kaplasın */
}

.hakkimda-yazi h2 {
    color: #8B4513;
    font-size: 28px;
    margin-bottom: 20px;
}

.hakkimda-yazi p {
    color: #555;
    line-height: 1.8; /* Satır aralarını açarak okumayı kolaylaştır */
    margin-bottom: 15px;
    font-size: 16px;
}

.hakkimda-yazi h3 {
    color: #C05805;
    margin-top: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
}

/* Aktif Sayfa Linkini Farklı Göster */
nav a.aktif {
    background-color: #C05805;
    color: white;
    border-color: #C05805;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .hakkimda-icerik {
        flex-direction: column; /* Teleforda alt alta geçsin */
    }
    .hakkimda-resim img {
        box-shadow: 5px 5px 0px #C05805; /* Mobilde gölgeyi küçült */
    }
}

/* =========================================
   11. İLETİŞİM SAYFASI AYARLARI
   ========================================= */

.iletisim-container {
    max-width: 1000px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.iletisim-kutu {
    display: flex; /* Yan yana diz */
    gap: 30px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden; /* Köşelerin taşmasını engelle */
}

/* Sol Taraf (Bilgiler) */
.bilgi-alani {
    flex: 1;
    background-color: #C05805; /* Turuncu zemin */
    color: white;
    padding: 40px;
}

.bilgi-alani h2 {
    margin-top: 0;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 15px;
}

.iletisim-satir {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.iletisim-satir i {
    font-size: 20px;
    margin-right: 15px;
    background-color: rgba(255,255,255,0.2);
    padding: 10px;
    border-radius: 50%; /* Yuvarlak ikon */
    width: 40px;
    height: 40px;
    text-align: center;
}

.sosyal-ikonlar {
    margin-top: 40px;
}

.sosyal-ikonlar a {
    color: white;
    font-size: 24px;
    margin-right: 20px;
    transition: transform 0.3s;
}

.sosyal-ikonlar a:hover {
    transform: scale(1.2); /* Üzerine gelince büyüsün */
}

/* Sağ Taraf (Form) */
.form-alani {
    flex: 1.5; /* Form alanı biraz daha geniş olsun */
    padding: 40px;
}

.form-alani h2 {
    color: #8B4513;
    margin-top: 0;
}

.form-grup {
    margin-bottom: 20px;
}

.form-grup label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-weight: 500;
}

.form-grup input, 
.form-grup textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit; /* Yazı tipini koru */
    outline: none;
}

.form-grup input:focus,
.form-grup textarea:focus {
    border-color: #C05805; /* Tıklayınca çerçeve turuncu olsun */
}

.btn-gonder {
    background-color: #8B4513; /* Kahverengi buton */
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    width: 100%; /* Buton tüm satırı kaplasın */
}

.btn-gonder:hover {
    background-color: #C05805;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .iletisim-kutu {
        flex-direction: column; /* Mobilde alt alta geçsin */
    }
}

/* =========================================
   12. 3'LÜ KART DÜZENİ (TATLI SAYFASI İÇİN)
   ========================================= */

/* Normalde kartlar %23 genişlikteydi (4'lü dizilim için).
   Burada %32 yapıyoruz ki 3 tanesi ekranı tam doldursun. */
.kart-3lu {
    width: 32% !important; 
}

/* Mobilde yine alt alta ve tam genişlik olsun */
@media (max-width: 768px) {
    .kart-3lu {
        width: 100% !important;
    }
}

/* =========================================
   13. GELİŞMİŞ TARİF DETAY TASARIMI
   ========================================= */

/* --- Banner Alanı --- */
.tarif-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 30px;
    border-bottom: 5px solid #C05805; /* Altına turuncu çizgi */
}

.tarif-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%); /* Yazı daha net okunsun diye biraz daha kararttık */
}

.banner-baslik {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 52px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.9);
    text-align: center;
    width: 90%;
    letter-spacing: 2px;
}

/* --- Başlıklar İçin Ortak Stil --- */
.bolum-baslik {
    color: #A04000;
    font-size: 28px;
    border-bottom: 2px dashed #d7ccc8; /* Kesik çizgili alt kenarlık */
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 10px; /* İkon ile yazı arası boşluk */
}

.bolum-baslik i {
    background-color: #FFF3E0;
    padding: 10px;
    border-radius: 50%;
    font-size: 20px;
}

/* --- Süslü Malzeme Listesi --- */
.malzeme-listesi {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Yan yana 2'li dizebilir */
    gap: 15px;
}

.malzeme-listesi li {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); /* Hafif gölge */
    border-left: 5px solid #C05805; /* Sol tarafta turuncu çizgi */
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.malzeme-listesi li:hover {
    transform: translateY(-3px); /* Üzerine gelince hafif kalksın */
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* Seçildiğinde (Tıklandığında) Görüntü */
.malzeme-listesi input:checked + span {
    text-decoration: line-through; /* Üzerini çiz */
    color: #999; /* Rengini soluklaştır */
}

.malzeme-listesi input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    accent-color: #28a745; /* Tik rengi yeşil olsun */
    cursor: pointer;
}

/* --- Süslü Yapılış Adımları (Timeline Tarzı) --- */
.yapilis-adimlari {
    list-style: none;
    counter-reset: adim-sayaci; /* Sayacı başlat */
    padding: 0;
}

.yapilis-adimlari li {
    position: relative;
    padding-left: 60px; /* Soldan boşluk bırak (Numara için) */
    margin-bottom: 30px;
}

/* Adım Numarası (Yuvarlak Top) */
.yapilis-adimlari li::before {
    counter-increment: adim-sayaci; /* Sayacı artır */
    content: counter(adim-sayaci); /* Numarayı yaz */
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #C05805;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 0 0 4px #FFF3E0; /* Etrafına halka */
}

/* Adım İçeriği (Kutu) */
.adim-icerik {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #f1f1f1;
    font-size: 17px;
    line-height: 1.6;
    color: #555;
}

/* --- Video ve Butonlar --- */
.btn-sifirla {
    background-color: #6c757d; /* Gri buton */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.3s;
}

.btn-sifirla:hover {
    background-color: #495057;
}

.video-kutu {
    margin: 50px 0;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.video-kutu iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border-radius: 10px;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .malzeme-listesi { grid-template-columns: 1fr; } /* Mobilde tek sıra */
    .banner-baslik { font-size: 30px; }
    .video-kutu iframe { height: 250px; }
}