/* =================================================================== */
/* GENEL STİLLER ve GÖVDE (Global Styles & Body)
/* =================================================================== */

/* Temel sıfırlama ve pürüzsüz kaydırma */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    /* Yazı tipi: Google Fonts olmadan, modern sistem yazı tiplerini kullanma */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Maksimum genişlik ve ortalama (İstenen) */
    max-width: 1090px;
    margin: 0 auto;

    /* Kontrast ve okunabilirlik için ana renkler */
    background-color: #f0f2f5; /* Dış arka plan (hafif gri) */
    color: #222831;           /* Ana metin rengi (Koyu Kömür) */
    line-height: 1.6;
}

/* =================================================================== */
/* BLOK YAPISI VE KONTRAST (Block Structure & Contrast)
/* =================================================================== */

/* Ana bloklar için genel stil */
header, section, footer {
    margin: 20px 0;
    padding: 35px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden; /* Kenarlıkların iç öğeleri kapsaması için */
}

/* Bloklar arası kontrast (İstanbul Boğazı ve Tarihi Yarımada renkleri)
  Koyu, açık ve nötr blokları karıştırıyoruz.
*/

/* BLOK 1: Teklif (Offer) - Koyu ve Vurucu */
header {
    background-color: #025959; /* Derin Boğaz Yeşili/Mavisi */
    color: #ffffff;
    min-height: 470px; /* İstenen yükseklik */

    /* İçeriği dikey ve yatay ortalamak */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* BLOK 5: Yorumlar (Reviews) - Açık ve Nötr */
#yorumlar {
    background-color: #FAF8F1; /* Kırık Beyaz / Bej */
}

/* BLOK 3: Hizmetler (Services) - Nötr */
#hizmetler {
    background-color: #ffffff; /* Saf Beyaz */
}

/* BLOK 2: Abonelik Formu (Subscribe) - Vurucu ve Koyu */
#abone-formu {
    background-color: #083D77; /* Laci / Gece Mavisi */
    color: #ffffff;
}

/* BLOK 4.1: Faaliyetler (Activities) - Nötr */
#faaliyetler {
    background-color: #ffffff;
}

/* BLOK 4: Uzmanlar (Specialists) - Açık ve Nötr */
#uzmanlar {
    background-color: #FAF8F1; /* Kırık Beyaz / Bej */
}

/* BLOK 6: İletişim (Contact) - Nötr */
#iletisim {
    background-color: #ffffff;
    padding-bottom: 0; /* Harita ile boşluk olmaması için */
}

/* BLOK 7: Footer (Copyright) - Koyu Kapanış */
footer {
    background-color: #222831; /* Koyu Kömür */
    color: #e0e0e0;
    text-align: center;
    margin-top: 20px;
}

/* =================================================================== */
/* BAŞLIKLAR VE TİPOGRAFİ (Headings & Typography)
/* =================================================================== */

h1 {
    font-size: 2.9rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

header p {
    font-size: 1.25rem;
    max-width: 650px;
    margin-bottom: 30px;
    opacity: 0.9;
}

h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #025959; /* Ana tema rengi */
    border-bottom: 3px solid #F2A104; /* Lale Sarısı / Altın Vurgu */
    padding-bottom: 10px;
}

/* Koyu arka planlardaki H2'ler için */
#abone-formu h2 {
    color: #ffffff;
    border-bottom-color: #F2A104;
}

h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #D95F0E; /* Terakota / Kiremit Rengi (Baharat Çarşısı) */
    margin-bottom: 10px;
}

/* =================================================================== */
/* BUTON STİLLERİ (Button Styles)
/* =================================================================== */

/* Teklif bloğundaki link-buton */
.cta-button {
    display: inline-block;
    background-color: #F2A104; /* Lale Sarısı / Altın */
    color: #222831; /* Koyu metin */
    padding: 16px 38px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #ffb100; /* Daha parlak sarı */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Form gönderme butonu */
form button[type="submit"] {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    background-color: #F2A104; /* Ana CTA Rengi */
    color: #222831;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

form button[type="submit"]:hover {
    background-color: #ffb100;
}

/* =================================================================== */
/* FORM STİLLERİ (Form Styles)
/* =================================================================== */

#abone-formu form {
    display: flex;
    flex-wrap: wrap; /* Mobil için */
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

#abone-formu form label {
    font-size: 1.1rem;
    margin-right: 5px;
}

#abone-formu form input[type="email"] {
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    width: 320px;
    max-width: 100%;
    transition: border-color 0.3s ease;
}

#abone-formu form input[type="email"]:focus {
    border-color: #F2A104; /* Vurgu rengi */
    outline: none;
}

/* =================================================================== */
/* MAKALE BÖLÜMÜ (Article Section)
/* =================================================================== */

article {
    background-color: #FAF8F1; /* Nötr zeminden ayırma */
    border: 1px solid #E0DCCA; /* Hafif sınır */
    border-left: 6px solid #D95F0E; /* Kiremit rengi vurgu */
    padding: 30px;
    margin-top: 40px;
    border-radius: 8px;
}

article h3 {
    color: #222831; /* Makale başlığı için varsayılan koyu renk */
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 15px;
}

article p {
    margin-bottom: 15px;
}

/* =================================================================== */
/* ÇEŞİTLİ LİSTELER (Various Lists)
/* =================================================================== */

/* Ürünler / Hizmetler */
.urun-listesi {
    list-style: none;
}
.urun-listesi li {
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}
.urun-listesi li:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.fiyat {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #007991; /* Farklı bir mavi tonu */
    margin-top: 10px;
}

/* Yorumlar */
.yorum-listesi {
    list-style: none;
}
.yorum-listesi li {
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #E0DCCA;
    border-radius: 5px;
    margin-bottom: 15px;
}
.yorum-listesi li p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.yorum-listesi li strong {
    color: #025959; /* Ana tema rengi */
}

/* Uzmanlar (2 Sütunlu Grid) */
.uzman-listesi {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.uzman-listesi li {
    background-color: #ffffff;
    padding: 25px;
    border: 1px solid #f0f0f0;
    border-radius: 5px;
    text-align: center;
}
.uzman-listesi h3 {
    margin-bottom: 5px;
}
.uzman-listesi p {
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
}

/* =================================================================== */
/* HARİTA VE İLETİŞİM (Map & Contact)
/* =================================================================== */

address {
    font-style: normal;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 15px;
}

#iletisim p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.map-container {
    width: 100%;
    margin: 0; /* Bölümün dolgusunu sıfırladığımız için */
    overflow: hidden; /* Kenarlıkları korumak için */
    border-radius: 0 0 8px 8px; /* Sadece alt köşeler */
}

.map-container iframe {
    display: block;
    border: none;
    width: 100%;
    height: 450px;
}

/* =================================================================== */
/* MOBİL UYUMLULUK (Responsive Design)
/* =================================================================== */

@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.0rem; }
    header p { font-size: 1.15rem; }
}

@media (max-width: 768px) {
    /* Mobil cihazlarda tam genişlik kullan */
    body {
        width: 100%;
        margin: 0;
    }

    header, section, footer {
        margin: 0;
        border-radius: 0;
        padding: 25px;
        /* Blokları ayırmak için üst kenarlık */
        border-top: 1px solid #e0e0e0;
    }
    header { border-top: none; }

    header {
        min-height: 400px;
    }

    h1 { font-size: 2.1rem; }
    header p { font-size: 1.1rem; }

    /* Uzmanlar listesini tek sütuna düşür */
    .uzman-listesi {
        grid-template-columns: 1fr;
    }

    /* Formu dikey hizala */
    #abone-formu form {
        flex-direction: column;
        align-items: stretch;
    }
    #abone-formu form input[type="email"] {
        width: 100%;
    }
    #abone-formu form button[type="submit"] {
        width: 100%;
    }
    #abone-formu form label {
        text-align: center;
        margin-right: 0;
        margin-bottom: 5px;
    }

    .map-container {
        border-radius: 0; /* Mobilde köşe yuvarlatma yok */
    }

    #iletisim {
        padding-bottom: 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.4rem; }

    header {
        min-height: 350px;
        padding: 20px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .fiyat {
        font-size: 1.3rem;
    }
}
