/* --- Genel Ayarlar ve Sıfırlamalar --- */
/* Türkçede yaygın kullanılan sistem yazı tipleri tercih edildi. */
body {
    font-family: Arial, Helvetica, Tahoma, sans-serif;
    line-height: 1.6;
    color: #333; /* Koyu gri, profesyonel bir metin rengi */
    background-color: #f8f9fa; /* Açık gri dış arka plan */
    max-width: 1090px; /* Maksimum genişlik kısıtlaması */
    margin: 0 auto; /* Merkezi konumlandırma */
    padding: 0;
}

/* Tüm ana blokları içeren kapsayıcı stil */
main {
    padding: 20px 15px;
}

/* Tüm blok başlıkları */
h1, h2, h3 {
    font-family: Georgia, 'Times New Roman', Times, serif; /* Başlıklarda daha resmi font */
    color: #007bff; /* Kurumsal mavi */
    margin-top: 0;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    border-bottom: 3px solid #007bff;
    padding-bottom: 5px;
}

/* --- Blok Ayrımı ve Genel Blok Stili --- */

/* Tüm ana bölümler için temel stil */
.block-section {
    padding: 40px 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Hafif gölge */
    transition: background-color 0.3s ease;
}

/* Blok 1: Header - Satış Teklifi */
header#teklif {
    background: linear-gradient(135deg, #004c99, #007bff); /* Koyu maviden açık maviye gradient */
    color: #ffffff; /* Beyaz metin */
    min-height: 470px; /* Minimum yükseklik kısıtlaması */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 15px;
    border-radius: 0; /* Köşeleri kaldırdık */
}

header#teklif h1 {
    color: #ffffff;
    font-size: 2.8em;
    margin-bottom: 10px;
}

header#teklif p {
    font-size: 1.3em;
    max-width: 800px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Blok Kontrast Renkleri */
#kayit-formu, #uzmanlar, #medya {
    background-color: #ffffff; /* Beyaz bloklar */
    border: 1px solid #e9ecef;
}

#yorumlar, #urunler, #iletisim {
    background-color: #f1f7fe; /* Çok açık mavi/gri arka plan (Alternatif blok) */
}

/* --- Düğme Stilleri --- */

/* Blok 1'deki Link-Düğme */
a.btn-primary {
    display: inline-block;
    background-color: #ffc107; /* Sarı/Turuncu (Vurgu rengi) */
    color: #333;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    font-size: 1.1em;
}

a.btn-primary:hover {
    background-color: #e0a800;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.6);
}

/* Formlardaki Abone Ol Düğmesi */
.btn-secondary {
    background-color: #28a745; /* Yeşil (Onay, başarı) */
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #218838;
}

/* --- Blok 2: Form Stili --- */
.subscribe-form {
    display: flex;
    flex-direction: column;
    max-width: 450px;
    margin: 20px auto;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
}

.subscribe-form label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.subscribe-form input[type="email"] {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1em;
}

/* Form düğmesini formun tam genişliğine yayma */
.subscribe-form .btn-secondary {
    width: 100%;
}

/* --- Blok 3: Ürünler ve Makale Stili --- */

/* Ürün Listesi Izgarası */
.urun-listesi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.urun-kart {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 6px;
    border-left: 5px solid #007bff; /* Mavi vurgu çizgisi */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.urun-kart h3 {
    color: #007bff;
    margin-bottom: 10px;
}

.urun-kart .fiyat {
    font-size: 1.4em;
    font-weight: bold;
    color: #dc3545; /* Kırmızımsı (Fiyat Vurgusu) */
    margin-top: 15px;
}

/* Makale Vurgusu */
.makale {
    border: 1px dashed #ccc;
    padding: 30px;
    background-color: #fff;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.makale h2 {
    color: #004c99; /* Daha koyu mavi başlık */
    border-bottom: 2px solid #004c99;
}

.makale ol {
    margin-left: 20px;
    padding-left: 0;
}

.makale li {
    margin-bottom: 10px;
}

/* --- Blok 4/4.1: Uzmanlar Stili --- */
.uzman-listesi {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
}

.uzman-kart {
    flex-basis: calc(50% - 10px); /* İki sütun düzeni (küçük ekranlarda tek sütun) */
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.uzman-kart h3 {
    color: #20c997; /* Turkuaz/Yeşil (Güven vurgusu) */
    font-size: 1.2em;
    margin-bottom: 5px;
}

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

.yorum {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #20c997; /* Turkuaz vurgu */
    font-style: italic;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.yorum h3 {
    font-style: normal;
    color: #007bff;
    margin-bottom: 5px;
}

/* --- Blok 6: Harita ve İletişim Stili --- */
.map-container {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 3px solid #007bff; /* Harita çevresine kurumsal çerçeve */
    border-radius: 8px;
    overflow: hidden;
}

iframe {
    display: block; /* iframe'in tam genişliği kullanmasını sağlamak */
}

address {
    font-style: normal;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

/* --- Blok 7: Footer Stili --- */
footer {
    background-color: #343a40; /* Koyu gri/siyah (Profesyonel bitiş) */
    color: #adb5bd; /* Açık gri metin */
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
}

/* --- Mobil Versiyon (Responsive Tasarım) --- */
@media (max-width: 768px) {

    /* Genel mobil ayarları */
    body {
        max-width: 100%;
    }

    main {
        padding: 10px;
    }

    .block-section {
        padding: 25px 15px;
    }

    /* Blok 1: Header Mobil Ayarı */
    header#teklif {
        min-height: 350px;
    }

    header#teklif h1 {
        font-size: 2em;
    }

    header#teklif p {
        font-size: 1em;
    }

    a.btn-primary {
        padding: 12px 25px;
        font-size: 1em;
    }

    /* Blok 2: Form mobil ayarı */
    .subscribe-form {
        padding: 20px;
        width: auto; /* Kısıtlamayı kaldırıp genişliği ayarlayalım */
        max-width: 100%;
    }

    /* Blok 3: Ürünler mobil ayarı */
    .urun-listesi {
        grid-template-columns: 1fr; /* Tek sütun */
    }

    /* Blok 4: Uzmanlar mobil ayarı */
    .uzman-kart {
        flex-basis: 100%; /* Tek sütun */
    }

    /* Blok 5: Yorumlar mobil ayarı */
    .yorum-listesi {
        grid-template-columns: 1fr; /* Tek sütun */
    }
}
