/*
====================================
GENEL STİLLER ve SIFIRLAMA
Istanbul Temalı CSS - Bosfora Finansal Okuryazarlık Kursu
====================================
*/

/* Box Sizing ve Basit Sıfırlama */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Türkçe Yorum: Google Fonts kullanmama kısıtlamasına uyularak yaygın, güvenli ve okunaklı sistem fontları kullanıldı.
*/
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #F8F4E8; /* Açık Bej - Tarihi yapıların hafif yıpranmış taş rengi */
    color: #333333; /* Koyu Gri/Kahve - Okunaklı temel metin rengi */

    /* Maksimum Genişlik ve Ortalama */
    max-width: 1090px;
    margin: 0 auto;
    padding: 0 15px; /* Kenar boşluğu */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Hafif gölge efekti */
}

h1, h2, h3 {
    font-family: Georgia, 'Times New Roman', Times, serif; /* Daha resmi, güçlü başlık fontu */
    margin-bottom: 0.8em;
    color: #2D3E50; /* Koyu Mavi - Boğazın derinliğini çağrıştıran renk */
}

section {
    padding: 40px 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden; /* İçerik taşmasını engellemek için */
}

/*
====================================
RENK PALETİ VE BLOK STİLLERİ
Kontrast ve İstanbul Teması
====================================
*/

/* Blok 1: Satış Teklifi (Boğaz Mavi/Yeşili) */
.block-1 {
    background-color: #58A09F; /* Hafif Yeşilimsi Mavi - Boğazın rengi */
    color: #FFFFFF; /* Beyaz metin - Yüksek kontrast */
    min-height: 470px; /* Minumum yükseklik şartı */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 0; /* Sayfanın en üstünde olduğu için köşeleri düz */
    padding-top: 60px;
    padding-bottom: 60px;
}

.block-1 h1 {
    color: #FFD700; /* Altın Sarısı - Lüks ve Değer vurgusu */
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.block-1 p {
    font-size: 1.2em;
    max-width: 800px;
    margin-bottom: 25px;
}

/* Blok 2: Kayıt Formu (Koyu Bej/Kahve) */
.block-2 {
    background-color: #D4A373; /* Toprak Tonu - Tarihi yapıların ahşap ve sıva rengi */
    color: #2D3E50;
}

/* Blok 3: Ürünler ve Fiyatlar + Makale (Açık ve Ferah) */
.block-3 {
    background-color: #FFFFFF; /* Beyaz zemin - Netlik ve profesyonellik */
    color: #333333;
    border: 1px solid #E0E0E0;
}

/* Blok 4, 4.1: Uzmanlar ve Faaliyetler (Çini Mavisi) */
.block-4, .block-4-1 {
    background-color: #4A698A; /* Yoğun Mavi - İznik Çini Mavisi */
    color: #F8F4E8;
}

.block-4 h2, .block-4-1 h2 {
    color: #FFD700; /* Başlıklar için Altın Sarısı */
}

/* Blok 5: Yorumlar (Hafif Nötr) */
.block-5 {
    background-color: #EAEAEA; /* Açık Gri - Nötr ve yorumları ön plana çıkarır */
    color: #333333;
}

/* Blok 6: İletişim ve Harita */
.block-6 {
    background-color: #F8F4E8; /* Temel gövde rengi */
    border-top: 3px solid #D4A373;
    padding-bottom: 0;
}

/* Blok 7: Footer */
footer {
    background-color: #2D3E50; /* Koyu Mavi */
    color: #FFFFFF;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    border-radius: 0;
}

/*
====================================
BUTON VE LİNK STİLLERİ
====================================
*/

.button, button[type="submit"] {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-transform: uppercase;
    border: none;
}

/* Blok 1'deki CTA Düğmesi (İstanbul Kırmızısı/Vişne) */
.block-1 .button {
    background-color: #A63D40; /* Vişne Kırmızısı - Tarihi kumaş ve bayrak rengi */
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    letter-spacing: 1px;
}

.block-1 .button:hover {
    background-color: #D4A373; /* Hover'da Toprak Tonu */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Form Butonu */
button[type="submit"] {
    background-color: #2D3E50; /* Koyu Mavi */
    color: #FFFFFF;
    width: 100%;
    margin-top: 15px;
}

button[type="submit"]:hover {
    background-color: #4A698A;
}

/*
====================================
ÖĞE DETAY STİLLERİ
====================================
*/

/* Form Stilleri */
form {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background: #F8F4E8; /* Açık arka plan */
    border-radius: 5px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2D3E50;
}

input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

/* Ürün Listesi */
.urun-listesi {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.urun {
    flex: 1 1 calc(20% - 20px); /* 5 ürünü yan yana sığdırmak için */
    max-width: 200px;
    padding: 15px;
    text-align: center;
    border: 2px solid #58A09F; /* Boğaz Mavi/Yeşili çerçeve */
    border-radius: 8px;
    transition: transform 0.3s;
    background-color: #F9F9F9;
}

.urun:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.urun h3 {
    font-size: 1.1em;
    color: #A63D40; /* Vişne Kırmızısı */
    margin-bottom: 5px;
}

.fiyat {
    font-size: 1.5em;
    font-weight: bold;
    color: #2D3E50;
    margin-top: 10px;
}

/* Makale Stili - Özel Vurgu */
.makale {
    background-color: #FFFACD; /* Çok Açık Sarı - Eski el yazması kağıt rengi */
    padding: 30px;
    border-left: 5px solid #A63D40; /* Vişne Kırmızısı ile vurgu */
    margin-top: 30px;
    border-radius: 5px;
}
.makale h2 {
    color: #A63D40;
}
.makale p {
    text-align: justify;
    margin-bottom: 15px;
}

/* Uzmanlar Listesi */
.uzman-listesi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    text-align: center;
}

.uzman-listesi article {
    background-color: #5d7d9e; /* Çini mavisinin biraz koyu tonu */
    padding: 15px;
    border-radius: 5px;
}

.uzman-listesi h3 {
    color: #F8F4E8;
    margin-top: 0;
}

/* Yorumlar */
.yorum-listesi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

blockquote {
    background-color: #FFFFFF;
    padding: 20px;
    border-left: 4px solid #58A09F; /* Boğaz rengi ile vurgu */
    margin: 0;
    font-style: italic;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

blockquote footer {
    display: block;
    margin-top: 10px;
    font-style: normal;
    text-align: right;
    font-weight: bold;
    color: #A63D40; /* Vişne Kırmızısı */
}

/* Harita Iframe */
.block-6 iframe {
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* E-posta Adresi */
address, .block-6 p {
    text-align: center;
    font-style: normal;
    margin-top: 15px;
}
.domainName {
    font-weight: bold;
    color: #A63D40;
}


/*
====================================
MOBİL UYUMLULUK (RESPONSIVE TASARIM)
====================================
*/

/* 768px ve altı cihazlar için */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }

    /* Başlıklar için boyut küçültme */
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.5em;
    }

    section {
        padding: 30px 15px;
    }

    /* Ürünler mobil görünümde alt alta */
    .urun-listesi {
        flex-direction: column;
        align-items: center;
    }

    .urun {
        flex: 1 1 90%;
        max-width: 100%;
        margin-bottom: 10px;
    }

    /* Yorumlar ve Uzmanlar için düzenleme */
    .yorum-listesi, .uzman-listesi {
        grid-template-columns: 1fr; /* Tek sütun */
    }

    /* Makale okunabilirliği */
    .makale {
        padding: 20px;
    }
}

/* 480px ve altı cihazlar için */
@media (max-width: 480px) {
    .block-1 h1 {
        font-size: 1.5em;
    }
    .block-1 p {
        font-size: 1em;
    }

    .button, button[type="submit"] {
        padding: 10px 20px;
        font-size: 1em;
    }
}
