/*
 * Konoha Oyun Geliştirme - Temel Site Stilleri (styles.css)
 * Stil: Online Muhasebe (Temiz, Kurumsal, Okunabilir)
 */

/* ==================== 0. Genel Sıfırlama ve Temel Ayarlar ==================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Kurumsal Renk Paleti */
    --color-primary: #004d99; /* Derin Mavi */
    --color-secondary: #ff8c00; /* Vurgu Turuncusu */
    --color-background-light: #f7f9fc; /* Açık Gri Arka Plan */
    --color-background-dark: #003366; /* Koyu Mavi Arka Plan (Footer vb.) */
    --color-text-dark: #333333;
    --color-text-light: #ffffff;
    --color-border: #cccccc;
}

/* Gömülü (yerel) ve güvenilir sistem fontlarını kullanma */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    /* Maksimum genişlik ve merkezleme */
    max-width: 1090px;
    margin: 0 auto;
    padding: 0 15px; /* Kenar boşluğu mobil ve masaüstü için */
}

/* ==================== 1. Tipografi ve Başlıklar ==================== */
h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 0.7em;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 {
    font-size: 2.5em;
    text-align: center;
}

h2 {
    font-size: 2em;
    border-bottom: 3px solid var(--color-secondary);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 1.2em;
}

h3 {
    font-size: 1.4em;
    color: var(--color-text-dark);
}

p {
    margin-bottom: 1em;
}

/* ==================== 2. Blok Yerleşimi ve Kontrast ==================== */
.block-padding {
    padding: 40px 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Hafif gölge */
}

/* Teklif Bloğu (Block 1) - Yüksek kontrast ve büyük yükseklik */
#teklif {
    min-height: 470px;
    background-color: var(--color-primary); /* Koyu Arka Plan */
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    margin-top: 0;
}

#teklif h1 {
    color: var(--color-text-light);
    font-size: 3em;
    margin-bottom: 0.5em;
}

#teklif p {
    font-size: 1.3em;
    max-width: 800px;
    margin-bottom: 1.5em;
}

/* Blok 3, 4, 5, 2 (Rastgele sıralanmış) - Açık Arka Plan */
#urunler-fiyatlar, #yorumlar, #uzmanlarimiz, #abonelik-formu {
    background-color: var(--color-text-light);
    border: 1px solid var(--color-border);
}

/* Adres/Harita Bloğu (Block 6) - Orta Gri Arka Plan */
#adres-iletisim {
    background-color: var(--color-background-light);
    border: 1px solid var(--color-border);
}

/* Yatay Ayırıcı */
hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

/* ==================== 3. Bileşen Stilleri ==================== */

/* Buton ve Link-Buton Stilleri */
.button, .submit-button, .subscribe-form button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    font-size: 1em;
}

/* Blok 1 Link-Buton Stili (Kontrast Vurgu) */
#teklif .button {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

#teklif .button:hover {
    background-color: #ff9933;
    transform: translateY(-2px);
}

/* Form ve Abone Ol Butonu Stilleri (Blok 2) */
.subscribe-form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-top: 20px;
    max-width: 600px;
}

.subscribe-form label {
    display: none; /* Etiketi gizle, placeholder kullan */
}

.subscribe-form input[type="email"] {
    padding: 10px 15px;
    border: 2px solid var(--color-border);
    border-radius: 5px;
    flex-grow: 1;
    font-size: 1em;
}

.subscribe-form input[type="email"]:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 5px rgba(0, 77, 153, 0.3);
}

.subscribe-form button {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 12px 20px;
    min-width: 150px;
}

.subscribe-form button:hover {
    background-color: #0059b3;
}

/* ==================== 4. İçerik Listeleri ==================== */

/* Ürünler ve Fiyatlar (Block 3) */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product {
    padding: 20px;
    border: 1px solid var(--color-border);
    border-left: 5px solid var(--color-primary); /* Vurgu çizgisi */
    border-radius: 5px;
    background-color: #ffffff;
    transition: transform 0.2s;
}

.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.product h3 {
    color: var(--color-primary);
    margin-top: 0;
}

.price {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--color-secondary);
    margin-top: 10px;
}

/* Uzmanlar (Block 4) */
.specialist-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.specialist {
    text-align: center;
    padding: 15px;
    border: 1px dashed var(--color-border);
    border-radius: 5px;
}

.specialist h3 {
    margin-bottom: 5px;
    color: var(--color-primary);
}

/* Yorumlar (Block 5) */
.review-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.review {
    background-color: var(--color-background-light);
    padding: 20px;
    border-radius: 5px;
    border-top: 3px solid var(--color-secondary);
    font-style: italic;
}

.review footer {
    margin-top: 10px;
    font-style: normal;
    font-weight: 600;
    color: var(--color-primary);
    text-align: right;
}

/* Makale Stili (Block 3 İçindeki Ekstra Vurgu) */
.blog-post {
    padding: 30px;
    background-color: #fff8e1; /* Sarımsı Vurgu Arka Planı */
    border-radius: 8px;
    border: 1px solid #ffcc80;
    margin-top: 30px;
}

.blog-post h3 {
    color: #cc6600; /* Koyu Turuncu Başlık */
    border-bottom: 2px dashed #ffcc80;
    padding-bottom: 5px;
}

.blog-post ol {
    margin-left: 20px;
    padding-left: 10px;
}

.blog-post li {
    margin-bottom: 8px;
}

/* ==================== 5. Adres, Harita ve Footer ==================== */

/* Harita Kapsayıcısı */
.map-container {
    margin-top: 20px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
}

address {
    font-style: normal;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Footer (Copyright) Bloğu */
footer {
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    margin-top: 30px;
    border-radius: 0 0 8px 8px;
}

footer .domainName {
    font-weight: 700;
    color: var(--color-secondary);
}

/* ==================== 6. Mobil Uyumluluk (Media Query) ==================== */

@media (max-width: 768px) {
    /* Genel ayarlamalar */
    body {
        padding: 0 10px;
    }

    .block-padding {
        padding: 30px 15px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
        text-align: center;
        width: 100%; /* Mobil cihazlarda tam genişlikte alttan çizgi */
        border-bottom: 2px solid var(--color-secondary);
    }

    /* Blok 1 (Teklif) ayarlamaları */
    #teklif {
        min-height: 400px;
        padding: 40px 15px;
    }

    #teklif h1 {
        font-size: 2.5em;
    }

    #teklif p {
        font-size: 1.1em;
    }

    /* Form ayarlamaları */
    .subscribe-form {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .subscribe-form button {
        width: 100%;
    }

    /* Grid sütunlarını tek sütuna düşürme (eğer gerekirse) */
    .product-list, .specialist-list, .review-list {
        grid-template-columns: 1fr;
    }

    /* Makale İçi Liste Ayarı */
    .blog-post ol {
        margin-left: 0;
    }
}
