/*
========================================
GENEL STİLLER (GLOBAL STYLES)
İstanbul Avlusu Teması
========================================
*/

/* Google fontları kullanılmayacak, sistem fontları tercih edildi.
*/
body {
    max-width: 1090px; /* Maksimum genişlik ayarı */
    margin: 0 auto; /* Sayfayı ortalama */
    padding: 0;
    background-color: #F4F4F4; /* Açık gri temel zemin */
    color: #333333;
    /* Sistem fontları: Mac/iOS için -apple-system, Windows için Segoe UI, vs. */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1); /* Hafif gölge ile içeriği ayırma */
}

/* Başlıklar */
h1, h2, h3 {
    color: #5D5B5A; /* Koyu gri, yaşlı ahşap tonu */
    font-weight: 600;
}

/*
========================================
BLOK YAPISI VE KONTRAST (BLOCK STRUCTURE & CONTRAST)
========================================
*/

section {
    padding: 40px;
    margin: 0;
    border-top: 1px solid #EBEBEB;
    transition: background-color 0.3s ease;
}

/* Blok 2, 3, 4, 4.1, 5 için kontrastlı zemin renkleri */

/* Tek numaralı (1., 3., 5.) bloklar için zemin (Şuffle sonrası) */
#uzmanlar, #hizmetler, #faaliyetler {
    background-color: #FFFFFF;
}

/* Çift numaralı (2., 4.) bloklar için zemin (Şuffle sonrası) */
#yorumlar, #abonelik-formu, #iletisim {
    background-color: #F9F7F5; /* Açık bej tonu, taş zemin hissi */
}

/*
========================================
BLOK 1: TEKLİF VE ÇAĞRI (HEADER / OFFER)
========================================
*/
header {
    background-color: #2A4B7D; /* Derin mavi, eski İstanbul kapı/pencere rengi */
    color: #ECF0F1; /* Açık metin rengi */
    padding: 60px 40px;
    text-align: center;
    min-height: 470px; /* İstenen minimum yükseklik */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header h1 {
    color: #FFFFFF;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

header p {
    max-width: 700px;
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Blok 1'deki CTA Buton Linki (Terracotta rengi)
*/
.cta-button {
    background-color: #D75A4A; /* Terracotta / Kiremit kırmızısı */
    color: #FFFFFF;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px; /* Yumuşak kenarlar */
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 5px 15px rgba(215, 90, 74, 0.4);
    border: 2px solid #D75A4A;
}

.cta-button:hover {
    background-color: #C34A3E; /* Hafif koyulaştırma */
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(215, 90, 74, 0.5);
}

/*
========================================
BLOK 3: ÜRÜN VE MAKALE (PRODUCTS & ARTICLE)
========================================
*/

/* Ürün Listesi */
.product-list {
    padding: 0;
    list-style: none;
    margin-bottom: 40px;
}

.product-list li {
    padding: 15px 0;
    border-bottom: 1px dashed #D7D7D7; /* Hafif kesik çizgi */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05em;
}

.product-list li:last-child {
    border-bottom: none;
}

.product-list span {
    font-weight: bold;
    color: #27ae60; /* Para birimi için standart yeşil */
    font-size: 1.1em;
    padding-left: 10px;
}

/* Makale Vurgusu */
article {
    background-color: #F0F0E8; /* Makale için hafif farklı, sıcak zemin */
    padding: 30px;
    border-left: 5px solid #D75A4A; /* Terracotta vurgusu */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

article h3 {
    color: #333333;
    border-bottom: 1px solid #DDDDDD;
    padding-bottom: 10px;
    margin-top: 0;
}

article p {
    text-align: justify;
}

/*
========================================
BLOK 2: ABONELİK FORMU (SUBSCRIPTION FORM)
========================================
*/

#abonelik-formu form {
    background: #FFFFFF; /* Form kutusunu beyaz yapma */
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

#abonelik-formu label {
    display: block;
    width: 100%;
    margin-bottom: -5px;
    font-weight: 500;
    color: #5D5B5A;
}

#abonelik-formu input[type="email"] {
    flex-grow: 1; /* Genişliği doldur */
    padding: 12px;
    border: 2px solid #CCCCCC;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s;
}

#abonelik-formu input[type="email"]:focus {
    border-color: #2A4B7D; /* Odaklanınca mavi vurgu */
    outline: none;
}

#abonelik-formu button[type="submit"] {
    background: #2A4B7D; /* Form butonu için mavi */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#abonelik-formu button[type="submit"]:hover {
    background-color: #1A385D;
}

/* Gizli alanın görünmemesi sağlanır, ancak zaten type='hidden' olduğu için sadece garanti amaçlıdır. */
#gclid { display: none; }

/*
========================================
BLOK 4 & 5: UZMANLAR VE YORUMLAR (SPECIALISTS & REVIEWS)
========================================
*/

.specialist, .review {
    background-color: #FFFFFF;
    border: 1px solid #D7D7D7;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
}

.review p:first-child {
    font-style: italic;
    color: #5D5B5A;
}

.review p:last-child {
    text-align: right;
    font-weight: 500;
    color: #D75A4A; /* İsimlerde terracotta vurgusu */
}

/*
========================================
BLOK 6: KONUM VE HARİTA (LOCATION & MAP)
========================================
*/

address {
    font-style: normal;
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #5D5B5A;
}

/* Harita iframe için responsive kapsayıcı */
.map-container {
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 4px;
}

/*
========================================
BLOK 7: FOOTER (TELİF HAKKI)
========================================
*/

footer {
    background-color: #34495e;
    color: #ECF0F1;
    padding: 20px 40px;
    text-align: center;
    font-size: 0.9em;
}

footer .domainName {
    font-weight: bold;
    color: #D75A4A; /* Footer'da domain adında terracotta vurgusu */
}

/*
========================================
MOBİL UYUMLULUK (MEDIA QUERIES)
768px altı ekranlar için optimizasyon
========================================
*/
@media (max-width: 768px) {

    body {
        padding: 0 10px; /* Kenar boşlukları ekleme */
        box-shadow: none;
    }

    header {
        padding: 40px 20px;
        min-height: 400px; /* Mobilde biraz küçültme */
    }

    header h1 {
        font-size: 1.8em;
    }

    section {
        padding: 20px 15px;
    }

    /* Form elemanlarının tam genişlik kaplaması */
    #abonelik-formu form {
        display: block;
    }

    #abonelik-formu input[type="email"],
    #abonelik-formu button[type="submit"] {
        width: 100%;
        box-sizing: border-box; /* Padding ve border dahil genişlik */
        margin-top: 10px;
    }

    .product-list li {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 20px;
    }

    .product-list span {
        float: none;
        margin-top: 5px;
    }

    article {
        padding: 20px 15px;
    }

    footer {
        padding: 15px 10px;
    }
}
