/* Genel Ayarlar ve Reset */
body {
    font-family: Arial, sans-serif; /* Google Fonts olmadan güvenli bir font */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #0d1b2a; /* Koyu arka plan */
    color: #e0e0e0; /* Açık renk metin */
    max-width: 1090px;
    margin: 0 auto; /* Ortalamak için */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
}

/* Tüm bloklar için temel stil */
.block {
    padding: 40px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden; /* İçerik taşmasını engelle */
}

h1, h2, h3 {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; /* Havacılık temasına uygun, keskin bir font */
    color: #7fffd4; /* Vurgulu başlık rengi */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    border-bottom: 2px solid #3a628a;
    padding-bottom: 10px;
}

h2 {
    font-size: 2.2em;
}

h3 {
    font-size: 1.7em;
}

/* Blok 1: Teklif Bölümü */
#teklif {
    background: linear-gradient(135deg, #1a3a5a 0%, #0d1b2a 100%);
    min-height: 470px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #e0e0e0;
}

#teklif::before { /* Uçak kanadı veya hız efekti gibi görsel bir element */
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top left, rgba(127, 255, 212, 0.1) 0%, transparent 70%);
    transform: rotate(20deg);
    z-index: 0;
}

#teklif h2 {
    color: #7fffd4;
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(127, 255, 212, 0.5);
    border-bottom: none; /* İlk başlıkta alt çizgi olmasın */
}

#teklif p {
    font-size: 1.2em;
    max-width: 800px;
    margin-bottom: 40px;
    z-index: 1;
}

/* Genel düğme stili */
.button, button[type="submit"] {
    display: inline-block;
    background-color: #3a628a; /* Orta mavi */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.button:hover, button[type="submit"]:hover {
    background-color: #4a77a1; /* Daha açık mavi */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Blokların Renkleri (Kontrastlı) */
#incelemeler {
    background-color: #1b2f42; /* Koyu gri-mavi */
    color: #c0c0c0;
}

#egitim-medya {
    background-color: #0f2131; /* Daha koyu gri-mavi */
    color: #e0e0e0;
}

#urunler-fiyatlar {
    background-color: #1b2f42; /* İncelemelerle aynı renk */
    color: #c0c0c0;
}

#kayit-formu {
    background-color: #0f2131; /* Eğitim/Medya ile aynı renk */
    color: #e0e0e0;
}

#uzmanlarimiz {
    background-color: #1b2f42; /* Uzmanlarla aynı renk */
    color: #c0c0c0;
}

#iletisim {
    background-color: #0f2131; /* İletişimle aynı renk */
    color: #e0e0e0;
}

footer {
    background-color: #0d1b2a; /* En koyu arka plan */
    color: #888;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #2a415a;
    font-size: 0.9em;
}

/* İncelemeler Listesi */
#incelemeler ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#incelemeler li {
    background-color: #2a415a;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 6px;
    border-left: 5px solid #7fffd4; /* Vurgu çizgisi */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-style: italic;
}

#incelemeler li h3 {
    color: #7fffd4;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: none;
    padding-bottom: 0;
    font-style: normal;
}

/* Ürünler ve Fiyatlar Tablosu */
#urunler-fiyatlar table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #2a415a;
    border-radius: 8px;
    overflow: hidden; /* Köşelerin yuvarlak görünmesini sağlar */
}

#urunler-fiyatlar th, #urunler-fiyatlar td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #3a628a;
}

#urunler-fiyatlar th {
    background-color: #3a628a;
    color: #7fffd4;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

#urunler-fiyatlar tr:nth-child(even) {
    background-color: #2f4963; /* Çift sıralar için farklı renk */
}

#urunler-fiyatlar tr:hover {
    background-color: #3f5e7a;
}

/* Makale Stil */
.makale {
    background-color: #0d1b2a; /* Makaleyi diğer içerikten ayırmak için koyu arka plan */
    padding: 30px;
    margin-top: 40px;
    border-radius: 8px;
    border: 1px solid #3a628a;
    box-shadow: inset 0 0 15px rgba(127, 255, 212, 0.1);
}

.makale h3 {
    color: #7fffd4;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px dashed #3a628a;
}

.makale p {
    margin-bottom: 15px;
    text-align: justify;
    color: #c0c0c0;
}

/* Form Stil */
#kayit-formu form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    background-color: #2a415a;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

#kayit-formu label {
    margin-bottom: 10px;
    font-weight: bold;
    color: #7fffd4;
    font-size: 1.1em;
}

#kayit-formu input[type="email"] {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #3a628a;
    border-radius: 5px;
    background-color: #0d1b2a;
    color: #e0e0e0;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

#kayit-formu input[type="email"]:focus {
    border-color: #7fffd4;
    box-shadow: 0 0 8px rgba(127, 255, 212, 0.4);
}

#kayit-formu p {
    text-align: center;
    margin-bottom: 25px;
    color: #c0c0c0;
}

/* Uzmanlar Listesi */
.uzman-listesi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.uzman {
    background-color: #2a415a;
    padding: 25px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid #7fffd4;
}

.uzman:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.uzman h3 {
    color: #7fffd4;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: none;
    padding-bottom: 0;
    font-size: 1.5em;
}

.uzman p {
    font-size: 0.95em;
    color: #c0c0c0;
}

/* İletişim ve Harita */
#iletisim address {
    font-style: normal;
    margin-bottom: 15px;
    color: #c0c0c0;
    font-size: 1.1em;
}

#iletisim .map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

#iletisim iframe {
    border: none;
    width: 100%;
    height: 450px;
}

/* Alan adı için özel stil (footer ve email'de) */
.domainName {
    font-weight: bold;
    color: #7fffd4;
}


/* Mobil Uyumlu Tasarım (Responsive Design) */
@media (max-width: 768px) {
    body {
        max-width: 100%;
        margin: 0;
        box-shadow: none;
    }

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

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.4em;
    }

    #teklif {
        min-height: 350px;
        padding: 60px 20px;
    }

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

    #teklif p {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .button, button[type="submit"] {
        padding: 12px 25px;
        font-size: 0.9em;
        width: 100%; /* Mobil cihazlarda butonları tam genişlik yap */
        box-sizing: border-box; /* Padding dahil genişlik hesaplama */
    }

    #urunler-fiyatlar th, #urunler-fiyatlar td {
        padding: 10px;
        font-size: 0.9em;
    }

    .makale {
        padding: 20px;
        margin-top: 30px;
    }

    .uzman-listesi {
        grid-template-columns: 1fr; /* Mobil cihazlarda tek sütun */
    }

    #kayit-formu form {
        max-width: 100%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    #teklif h2 {
        font-size: 1.8em;
    }

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

    /* Tablolardaki sütunları mobil için daha iyi yönet */
    #urunler-fiyatlar table, #urunler-fiyatlar thead, #urunler-fiyatlar tbody, #urunler-fiyatlar th, #urunler-fiyatlar td, #urunler-fiyatlar tr {
        display: block;
    }

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

    #urunler-fiyatlar tr {
        border: 1px solid #3a628a;
        margin-bottom: 10px;
        border-radius: 6px;
        overflow: hidden;
    }

    #urunler-fiyatlar td {
        border: none;
        border-bottom: 1px solid #3a628a;
        position: relative;
        padding-left: 50%; /* Etiket için boşluk */
        text-align: right;
    }

    #urunler-fiyatlar td:last-child {
        border-bottom: none;
    }

    #urunler-fiyatlar td::before {
        /* Ekran okuyucular için etiketler */
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #7fffd4;
    }

    /* Etiketleri td index'ine göre dinamik olarak ekle */
    #urunler-fiyatlar td:nth-of-type(1)::before { content: "Oyun Adı:"; }
    #urunler-fiyatlar td:nth-of-type(2)::before { content: "Tür:"; }
    #urunler-fiyatlar td:nth-of-type(3)::before { content: "Fiyat:"; }

    #iletisim iframe {
        height: 300px;
    }
}
