/* --- ROOT & RESET --- */
:root { --primary: #007bff; --dark: #1a1d1e; --light: #f4f7f6; --white: #ffffff; --text: #4a4a4a; }
* { 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: 700; 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 */
.header-cta-btn { 
    background: linear-gradient(45deg, #007bff, #25d366); 
    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(37, 211, 102, 0.3);
}
.header-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(37, 211, 102, 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(0, 0, 0, 0.65); z-index: 2; }
.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(0,0,0,0.3); }
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,123,255,0.4); color: white; }

/* --- İÇ SAYFA HERO --- */
.page-header { background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), 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 (YENİ MODERN TASARIM) --- */
.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(0,123,255,0.12); border-color: rgba(0,123,255,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(0,0,0,0.2) 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: #f4f7f6; 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: #555; 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: #666; 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(0,123,255,0.1); }
.district-card i { color: var(--primary); font-size: 22px; }
.district-card h3 { font-size: 14px; margin: 0; font-weight: 600; color: var(--text); 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 (SADECE BURADA TOPLANDI) --- */
@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 #f0f0f0; }
    .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; } /* Mobilde tek sütun tam genişlik */
    .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: #bbb; text-decoration: none; transition: 0.3s; }
.footer-contact p, .footer-contact a { color: #bbb; 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ı Özel Stilleri */
.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;
}

.contact-card:hover {
    transform: translateY(-12px);
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

.contact-card i {
    font-size: 50px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.contact-card:hover i {
    transform: scale(1.1);
    color: var(--primary);
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-card span {
    display: block;
    margin-top: 15px;
    font-weight: 700;
    color: var(--dark);
    font-size: 15px;
}

.contact-card p {
    font-size: 14px;
    color: #888;
}

/* Harita Bölümü */
.map-section iframe {
    filter: grayscale(0.2) contrast(1.1);
    transition: 0.5s;
}

.map-section iframe:hover {
    filter: grayscale(0);
}