/* Genel Stil ve Reset */
:root {
    /* İstanbul Paleti */
    --color-primary: #1E3A52;      /* Derin Deniz Mavisi (Boğaz) */
    --color-secondary: #C0A045;    /* Eskitilmiş Altın Sarısı */
    --color-background-light: #F8F8F0; /* Açık Krem/Beyaz */
    --color-background-dark: #12283A;  /* Çok Koyu Mavi */
    --color-text-dark: #1A1A1A;
    --color-text-light: #F8F8F0;
    --font-family-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Windows/yerel */
    --font-family-heading: 'Times New Roman', serif; /* Klasik, resmi hava */
}

/* Kutu modelini border-box yap (kolay boyutlandırma için) */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: #EFEFEF; /* Hafif gri dış arka plan */

    /* Maksimum genişlik ve ortalama */
    max-width: 1090px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Hafif gölge ile içeriği ayır */
}

/* Başlıklar */
h2, h3 {
    font-family: var(--font-family-heading);
    margin-bottom: 1.2em;
    color: var(--color-primary);
}

h2 {
    font-size: 2.2em;
    text-align: center;
    border-bottom: 3px solid var(--color-secondary);
    padding-bottom: 0.5em;
    margin-bottom: 1.5em;
}

h3 {
    font-size: 1.6em;
    color: var(--color-primary);
}

/* Blok Ortak Stilleri */
.block-padding {
    padding: 50px 5%;
    min-height: 150px;
}

.bg-light {
    background-color: var(--color-background-light);
}

.bg-dark {
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
}

.bg-footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    text-align: center;
    font-size: 0.9em;
}

.text-white {
    color: var(--color-text-light);
}

hr {
    border: none;
    border-top: 1px dashed var(--color-secondary);
    margin: 40px 0;
}

/* --- BLOK 1: Satış Teklifi ve Davet --- */
#teklif {
    min-height: 470px; /* Minimum yükseklik şartı */
    background:
        linear-gradient(rgba(30, 58, 82, 0.7), rgba(30, 58, 82, 0.9)),
        url('istanbul-bg-placeholder.jpg') no-repeat center center; /* Placeholder imajı */
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-text-light);
}

#teklif h2 {
    color: var(--color-secondary);
    font-size: 3em;
    margin-bottom: 0.5em;
    border-bottom: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* Link Buton Stili (Blok 1) */
.button, .button:visited {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--color-secondary);
    color: var(--color-primary); /* Altın üzerine koyu metin */
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    letter-spacing: 0.5px;
    border: 2px solid var(--color-secondary);
}

.button:hover {
    background-color: #E2C063; /* Hafif parlaklık */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(192, 160, 69, 0.5);
}


/* --- BLOK 2: Abonelik Formu --- */
#kayit-formu {
    text-align: center;
    padding: 40px 5%;
}

#kayit-formu h3 {
    color: var(--color-secondary); /* Koyu arka planda altın başlık */
}

#kayit-formu form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 20px auto;
    gap: 15px;
}

#kayit-formu label {
    font-size: 1.1em;
    text-align: left;
}

#kayit-formu input[type="email"] {
    padding: 12px 15px;
    border: 2px solid var(--color-secondary);
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
    color: var(--color-text-dark);
}

#kayit-formu button[type="submit"] {
    padding: 12px 20px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid var(--color-primary);
}

#kayit-formu button[type="submit"]:hover {
    background-color: #274D70;
    border-color: var(--color-secondary);
}


/* --- BLOK 3: Ürünler ve Fiyatlar --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

table th, table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
}

table th {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    font-weight: bold;
    border-bottom: 3px solid var(--color-secondary);
}

table tr:nth-child(even) {
    background-color: #F0F0E8; /* Hafif şeritlenme */
}

table tr:hover {
    background-color: #E8E8E0;
}

/* Makale/Yazı Bölümünün Vurgulanması */
.article-excerpt, .article-content {
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid var(--color-secondary);
    background-color: #FFFFF8; /* Hafif iç gölge */
    line-height: 1.7;
}

.article-excerpt {
    font-style: italic;
    font-weight: 500;
}


/* --- BLOK 4 & 4.1: Uzmanlar ve Eğitim --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

.specialist-card {
    padding: 20px;
    background-color: var(--color-background-light);
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.specialist-card h4 {
    color: var(--color-secondary);
    margin-bottom: 0.5em;
    font-size: 1.3em;
}

#egitim-medya p {
    background-color: #E0EAF2; /* Hafif, soluk mavi arka plan */
    padding: 25px;
    border-radius: 5px;
    border: 1px solid var(--color-primary);
}


/* --- BLOK 5: Yorumlar --- */
#yorumlar h3 {
    text-align: center;
    color: var(--color-primary);
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

blockquote {
    background-color: #FFFFFF;
    border-left: 4px solid var(--color-secondary);
    padding: 20px;
    margin: 0;
    font-style: italic;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

blockquote p {
    margin-bottom: 10px;
}

blockquote footer {
    text-align: right;
    font-weight: bold;
    color: var(--color-primary);
    font-style: normal;
    margin-top: 10px;
    font-size: 0.9em;
}


/* --- BLOK 6: Adres ve Harita --- */
#adres-iletisim h3 {
    color: var(--color-secondary);
    text-align: center;
}

#adres-iletisim p {
    text-align: center;
    margin-bottom: 15px;
}

.map-container {
    margin-top: 30px;
    border: 5px solid var(--color-secondary); /* Altın çerçeve */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

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

/* Domain adı vurgusu (HTML'de belirtildiği gibi) */
.domainName {
    font-weight: bold;
    color: var(--color-secondary);
}


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

    .block-padding {
        padding: 30px 4%;
    }

    /* Başlıklar */
    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.4em;
        margin-bottom: 1em;
    }

    /* Blok 1 Küçültme */
    #teklif {
        min-height: 350px;
        padding: 40px 5%;
    }

    #teklif h2 {
        font-size: 2.2em;
    }

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

    /* Butonları daha az yer kaplayacak şekilde küçült */
    .button {
        padding: 12px 25px;
        font-size: 1em;
    }

    /* Tablo Yönetimi (Mobil için Yığılma) */
    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    table td:before {
        content: attr(data-label);
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: var(--color-primary);
    }

    /* İpucu: HTML'de table datalarına data-label eklemek gerekir.
       Örn: <td>Ritim Oyunu Projesi</td> -> <td data-label="Ürün / Hizmet">Ritim Oyunu Projesi</td>
       Bu CSS'te sadece mobil uyumun mantığı gösterilmiştir.
    */

    /* Form Düzeni */
    #kayit-formu form {
        width: 100%;
        max-width: none;
    }

    /* Uzman Kartları */
    .team-grid {
        gap: 20px;
    }

    /* Yorumlar */
    .reviews-container {
        grid-template-columns: 1fr;
    }
}
