/* --- ROOT & RESET (Lacivert ve Turuncu Ağırlıklı) --- */
:root { 
    --primary: #f97316; /* Turuncu (Vurgular ve Butonlar için) */
    --dark: #1e293b;    /* Lacivert (Başlıklar, Arka planlar ve Footer için) */
    --light: #f8fafc;   /* Açık Gri/Beyaz (Zemin için) */
    --white: #ffffff; 
    --text: #475569;    /* Okunabilir Koyu Gri (Metinler için) */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: var(--text); background: var(--light); overflow-x: hidden; }
h1, h2, h3, h4 { color: var(--dark); }

/* --- GENEL KONTEYNER --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* --- HEADER & NAVİGASYON --- */
header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.nav-box { display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo a { font-size: clamp(20px, 4vw, 22px); font-weight: 900; text-decoration: none; color: var(--dark); letter-spacing: -0.5px; }
.logo span { color: var(--primary); }

.nav-menu-wrapper { display: flex; align-items: center; gap: 30px; }
.nav-menu { display: flex; gap: 20px; list-style: none; }
.nav-menu a { text-decoration: none; color: var(--dark); font-weight: 500; font-size: 15px; transition: 0.3s; }
.nav-menu a:hover { color: var(--primary); }

/* Degrade CTA Butonu (Turuncu Geçişli) */
.header-cta-btn { 
    background: linear-gradient(45deg, var(--primary), #fb923c); 
    color: white !important; 
    padding: 10px 20px; 
    border-radius: 30px; 
    font-weight: 600; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}
.header-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(249, 115, 22, 0.5); }

.menu-toggle { display: none; font-size: 26px; color: var(--dark); cursor: pointer; }

/* --- HERO (ANA SAYFA ÜST ALAN) --- */
.hero { 
    position: relative; 
    background: url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    color: var(--white); 
    text-align: center; 
    overflow: hidden; 
    min-height: 80vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(30, 41, 59, 0.8); z-index: 2; } /* Lacivert Transparan Kaplama */
.hero-content { position: relative; z-index: 3; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.5rem); margin-bottom: 10px; color: var(--white); text-shadow: 2px 2px 5px rgba(0,0,0,0.6); }
.hero h2 { font-size: clamp(1rem, 3vw, 1.5rem); font-weight: 300; opacity: 0.9; margin-bottom: 30px; color: var(--white); text-shadow: 1px 1px 3px rgba(0,0,0,0.6); }
.hero-btn { background: var(--primary); color: white; padding: 12px 25px; text-decoration: none; border-radius: 30px; font-weight: 600; font-size: 16px; transition: 0.3s; display: inline-block; box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3); }
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(249, 115, 22, 0.4); color: white; }

/* --- İÇ SAYFA HERO --- */
.page-header { background: linear-gradient(rgba(30, 41, 59, 0.85), rgba(30, 41, 59, 0.85)), url('/assets/img/hero-bg.webp') center/cover; padding: 80px 0; text-align: center; color: var(--white); margin-bottom: 40px; }
.page-header h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 10px; color: var(--white); }
.page-header p { font-size: clamp(1rem, 3vw, 1.2rem); opacity: 0.9; }

/* --- AVANTAJ KARTLARI --- */
.advantages { margin-top: -40px; position: relative; z-index: 10; padding-bottom: 40px; }
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.adv-card { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); text-align: center; border-bottom: 4px solid var(--primary); }
.adv-card i { font-size: 40px; color: var(--primary); margin-bottom: 15px; }

/* --- DİNAMİK HİZMET KARTLARI --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 40px; }
.dynamic-card { background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); text-decoration: none; color: var(--dark); display: flex; flex-direction: column; overflow: hidden; transition: all 0.4s ease; border: 1px solid rgba(0,0,0,0.05); }
.dynamic-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(249, 115, 22, 0.12); border-color: rgba(249, 115, 22, 0.2); }

.card-img-wrapper { width: 100%; height: 230px; background: #f8f9fa; position: relative; overflow: hidden; }
.card-img-wrapper::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(30, 41, 59, 0.5) 100%); z-index: 1; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.dynamic-card:hover .card-img-wrapper img { transform: scale(1.08); }

.card-content { padding: 25px 20px; display: flex; flex-direction: row; justify-content: space-between; align-items: center; background: #fff; z-index: 2; }
.card-content h2 { font-size: 1.15rem; color: var(--dark); margin: 0; padding-right: 15px; font-weight: 700; transition: color 0.3s; line-height: 1.4; }
.dynamic-card:hover .card-content h2 { color: var(--primary); }

.btn-read-more { width: 42px; height: 42px; border-radius: 50%; background: var(--light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all 0.3s; flex-shrink: 0; }
.dynamic-card:hover .btn-read-more { background: var(--primary); color: #fff; transform: translateX(3px) rotate(-45deg); }

/* --- HAKKIMIZDA --- */
.about-seo { background: var(--white); padding: 80px 0; border-top: 1px solid #eaeaea; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img img { width: 100%; border-radius: 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); object-fit: cover; }
.about-content h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 4vw, 2.2rem); }
.about-content p { margin-bottom: 15px; color: var(--text); line-height: 1.7; }
.about-btns { display: flex; gap: 15px; margin-top: 25px; flex-wrap: wrap; }
.btn-readmore { background: var(--dark); color: white; padding: 12px 25px; border-radius: 30px; text-decoration: none; font-weight: 600; transition: 0.3s; display: inline-flex; align-items: center; }
.btn-readmore:hover { background: var(--primary); transform: translateY(-2px); color: white; }

/* --- HİZMET BÖLGELERİ --- */
.districts-section { background: var(--light); padding: 60px 0; border-top: 1px solid #eaeaea; }
.districts-header { text-align: center; margin-bottom: 40px; }
.districts-header h2 { font-size: clamp(1.5rem, 5vw, 2rem); margin-bottom: 10px; }
.districts-header p { color: var(--text); max-width: 600px; margin: 0 auto; }
.districts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; }
.district-card { background: var(--white); padding: 15px 20px; border-radius: 8px; display: flex; align-items: center; gap: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: all 0.3s ease; border: 1px solid #eee; text-decoration: none; }
.district-card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 8px 20px rgba(249, 115, 22, 0.1); }
.district-card i { color: var(--primary); font-size: 22px; }
.district-card h3 { font-size: 14px; margin: 0; font-weight: 600; color: var(--dark); transition: 0.3s; }
.district-card:hover h3 { color: var(--primary); }

/* --- BLOG VE DİĞER --- */
.blog-section { background: var(--white); padding: 60px 0; }
.page-services { padding-bottom: 80px; }

/* --- SABİT BUTONLAR --- */
.fixed-btns { position: fixed; bottom: 20px; left: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 999; }
.btn-fixed { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 26px; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: 0.4s; }
.btn-fixed:hover { transform: scale(1.15) rotate(15deg); }
.btn-whatsapp { background: #25d366; }
.btn-phone { background: var(--primary); }

/* --- MOBİL UYUM --- */
@media (max-width: 992px) {
    .menu-toggle { display: block; }
    .nav-menu-wrapper { position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); flex-direction: column; align-items: stretch; padding: 0; box-shadow: 0 10px 15px rgba(0,0,0,0.1); max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; }
    .nav-menu-wrapper.active { max-height: 500px; padding: 20px; }
    .nav-menu { flex-direction: column; width: 100%; text-align: center; gap: 0; }
    .nav-menu li { border-bottom: 1px solid var(--light); }
    .nav-menu a { display: block; padding: 12px 0; font-size: 16px; }
    .header-cta-btn { justify-content: center; padding: 15px; font-size: 16px; margin-top: 15px; width: 100%; }
    .about-grid { grid-template-columns: 1fr; }
    .about-content { text-align: center; }
    .about-btns { justify-content: center; }
}

@media (max-width: 768px) {
    .container { padding: 0 15px; }
    .hero { min-height: 60vh; padding: 80px 15px; }
    .advantages { margin-top: 20px; }
    .adv-card { padding: 20px; }
    .services-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 25px; } 
    .card-img-wrapper { height: 200px; }
    .district-card { padding: 10px 15px; }
    .district-card h3 { font-size: 13px; }
    .fixed-btns { bottom: 15px; left: 15px; }
    .btn-fixed { width: 45px; height: 45px; font-size: 20px; }
    .districts-section, .blog-section, .about-seo { padding: 40px 0; }
}

/* --- FOOTER TASARIMI --- */
.site-footer { background: var(--dark); color: #fff; padding: 60px 0 20px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; }
@media (min-width: 768px) { .footer-grid { text-align: left; } }
.footer-col h4 { color: var(--primary); margin-bottom: 15px; font-size: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #cbd5e1; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact p, .footer-contact a { color: #cbd5e1; text-decoration: none; margin-bottom: 8px; display: block; word-break: break-word; }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); opacity: 0.6; }

/* İletişim Kartları */
.contact-card { text-decoration: none; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 1px solid #eee; display: flex; flex-direction: column; justify-content: center; min-height: 250px; background: var(--white); }
.contact-card:hover { transform: translateY(-12px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(249, 115, 22, 0.15); }
.contact-card i { font-size: 50px; margin-bottom: 20px; transition: 0.3s; color: var(--dark); }
.contact-card:hover i { transform: scale(1.1); color: var(--primary); }
.contact-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--dark); }
.contact-card span { display: block; margin-top: 15px; font-weight: 700; color: var(--primary); font-size: 15px; }
.contact-card p { font-size: 14px; color: var(--text); }

/* Harita Bölümü */
.map-section iframe { filter: grayscale(0.2) contrast(1.1); transition: 0.5s; }
.map-section iframe:hover { filter: grayscale(0); }

/* Blog Kartı Tarih Etiketi */
.blog-date-tag { position: absolute; top: 15px; left: 15px; background: var(--primary); color: #fff; padding: 6px 12px; border-radius: 30px; font-size: 12px; font-weight: 600; z-index: 5; display: flex; align-items: center; gap: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.dynamic-card:hover .blog-date-tag { transform: scale(1.05); background: var(--dark); transition: 0.3s; }

/* ========================================= */
/* --- SSS (AKORDEON) ALANI ÖZEL TASARIMI --- */
/* ========================================= */

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: flex-start; /* center yerine flex-start yaptık, artık zıplama yapmayacak */
}

.faq-image-wrapper {
    width: 100%;
    height: auto; /* 100% esnemeye neden oluyordu, auto ile serbest bıraktık */
    min-height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: sticky; /* Ekranı kaydırırken görselin sabit kalmasını sağlar */
    top: 100px; /* Header'ın altında durması için boşluk */
}

.faq-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .faq-image-wrapper {
        height: 300px;
        min-height: auto;
        position: relative; /* Mobilde yapışkan özelliği devredışı bırakılır */
        top: 0;
    }
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.faq-item.active {
    border-color: var(--primary); 
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.15);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    color: #94a3b8;
    transition: transform 0.4s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background: var(--white);
}

.faq-answer p {
    padding: 0 25px 20px 25px;
    margin: 0;
    color: var(--text);
    line-height: 1.6;
    font-size: 1rem;
}