/*
    SIRDANCI - Ankara Temalı CSS Dosyası
    styles.css
*/

/* === Genel ve Temel Ayarlar === */
*,
*::before,
*::after {
    box-sizing: border-box; /* Kutu modeli hesaplaması */
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* Çapa (anchor) linkler için yumuşak kaydırma */
    font-size: 16px;
}

body {
    max-width: 1090px; /* Talep edilen maksimum genişlik */
    margin: 0 auto; /* Sayfayı ortalama */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #F4F1E9; /* Açık Bej (Anadolu Taşı Rengi) */
    color: #2C2C2C; /* Yüksek kontrastlı metin rengi */
    line-height: 1.6;
}

/* === Başlık Stilleri === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

/* === Genel Bölüm (Section) Stili === */
/* Bloklar arasında boşluk ve dolgu */
section {
    padding: 50px 30px;
    border-bottom: 1px solid #DCD3B5; /* Bloklar arası ince ayırıcı */
}

/* Kontrastlı blok renkleri için */
/* Her ikinci ve üçüncü bloğa farklı bir arka plan */
section:nth-of-type(2n) {
    background-color: #DCD3B5; /* Sıcak Gri/Taş Rengi */
}
section:nth-of-type(3n) {
    background-color: #fdfaf2; /* Çok açık bej */
}
/* Ana arka plan rengini sıfırlama (isteğe bağlı) */
section:nth-of-type(4n) {
     background-color: #F4F1E9;
}


/* === Blok 1: Hero (Teklif) Bloğu === */
.hero-block {
    min-height: 470px; /* Talep edilen minimum yükseklik */
    background-color: #0A3A6B; /* Derin Ankara Mavisi */
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
}

.hero-block h1 {
    color: #FFFFFF;
    margin-bottom: 20px;
}

.hero-block p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
}

/* Blok 1'deki CTA Butonu */
.cta-button {
    background-color: #8C2B2B; /* Terracotta / Nar Kırmızısı */
    color: #FFFFFF;
    padding: 14px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1rem;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #a63a3a; /* Kırmızının biraz açığı */
    transform: translateY(-2px);
}

/* === Blok 2: Form Bloğu === */
.form-block {
    background-color: #fdfaf2; /* Açık bej */
}

.form-block h2 {
    text-align: center;
    color: #0A3A6B; /* Mavi Başlık */
}

.form-block p {
    text-align: center;
    margin-bottom: 25px;
}

.form-block form {
    display: flex;
    flex-direction: column;
    max-width: 550px;
    margin: 0 auto;
}

.form-block label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-block input[type="email"] {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #DCD3B5;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

.form-block input[type="email"]:focus {
    outline: 2px solid #0A3A6B;
    border-color: #0A3A6B;
}

/* Genel Gönder Butonu Stili (Form için) */
button[type="submit"] {
    background-color: #8C2B2B;
    color: #FFFFFF;
    padding: 14px 30px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    width: 100%;
}

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

/* === Blok 3: Hizmetler ve Makale === */
.services-block h2 {
    text-align: center;
}

.price-list {
    list-style: none;
    max-width: 700px;
    margin: 20px auto 40px auto;
}

.price-list li {
    background-color: #FFFFFF;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 5px solid #8C2B2B; /* Kırmızı accent */
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
}

hr {
    border: 0;
    height: 1px;
    background-color: #DCD3B5;
    margin: 40px 0;
}

/* Makale Vurgulama */
.blog-post {
    background-color: #FFFFFF; /* Kağıt efekti */
    padding: 30px;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    border: 1px solid #EAEAEA;
}

.blog-post h3 {
    color: #0A3A6B; /* Makale içi başlık rengi */
    margin-bottom: 20px;
}

.blog-post p {
    margin-bottom: 15px;
    line-height: 1.7; /* Artırılmış okunabilirlik */
}

/* === Blok 4: Uzmanlar === */
.specialists-block {
    background-color: #DCD3B5; /* Taş Rengi */
}

.specialists-block h2 {
    text-align: center;
}

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

.specialist-card {
    background-color: #F4F1E9; /* Ana arka plan rengi */
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.specialist-card h3 {
    color: #8C2B2B; /* Kırmızı */
    margin-bottom: 5px;
}

.specialist-card p {
    font-size: 0.95rem;
    color: #555;
}

/* === Blok 4.1: Medya === */
.media-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fdfaf2;
}

/* === Blok 5: Yorumlar === */
.reviews-block h2 {
    text-align: center;
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr; /* Başlangıçta tek sütun */
    gap: 20px;
    max-width: 800px;
    margin: 30px auto 0 auto;
}

.review-card {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 5px;
    border: 1px solid #EAEAEA;
}

.review-card blockquote {
    margin: 0 0 15px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #333;
}

.review-card cite {
    display: block;
    text-align: right;
    font-weight: bold;
    color: #0A3A6B; /* Mavi */
    font-style: normal;
}

/* Yorumlar için 2 sütunlu düzen (daha geniş ekranlarda) */
@media (min-width: 600px) {
    .review-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* === Blok 6: İletişim ve Harita === */
.contact-block {
    background-color: #DCD3B5; /* Taş Rengi */
}

.contact-block h2 {
    text-align: center;
}

.contact-flex {
    display: flex;
    flex-wrap: wrap; /* Mobil için sarma */
    gap: 30px;
    margin-top: 30px;
}

.address-info {
    flex: 1;
    min-width: 300px; /* Sarma için minimum genişlik */
}

.address-info h3 {
    color: #8C2B2B;
}

.map-container {
    flex: 1.5; /* Haritaya daha fazla yer */
    min-width: 300px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 5px;
}

/* === Blok 7: Footer (Telif Hakkı) === */
.copyright-block {
    background-color: #0A3A6B; /* Hero ile uyumlu Mavi */
    color: #DCD3B5; /* Açık renk metin */
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

.copyright-block p {
    margin: 5px 0;
}


/* === Mobil Uyumluluk (Responsive) === */
@media (max-width: 768px) {
    body {
        width: 100%;
    }

    section {
        padding: 40px 20px;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }

    .hero-block {
        min-height: auto; /* Yüksekliği otomatik ayarla */
        padding: 60px 20px;
    }

    .specialist-grid {
        grid-template-columns: 1fr; /* Uzmanları alt alta sırala */
    }

    .review-grid {
        grid-template-columns: 1fr; /* Yorumları alt alta sırala */
    }

    .contact-flex {
        flex-direction: column; /* Adres ve haritayı alt alta sırala */
    }

    .price-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        font-size: 1rem;
    }

    .map-container iframe {
        height: 300px; /* Mobilde harita yüksekliği */
    }
}
