* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a {
    color: #fff;
    text-decoration: none;
    margin-right: 15px;
    transition: 0.3s;
}
.top-bar a:hover { color: #f39c12; }

/* Header & Navbar */
.main-header {
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0; /* Büyük logo için ideal dikey boşluk */
}


.logo h1 {
    font-size: 24px;
    color: #222;
}
.logo h1 span { color: #f39c12; }

/* Menü Linkleri */
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li { position: relative; }
.nav-links a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.nav-links a:hover { color: #f39c12; }

/* Açılır Menü (Dropdown) Yapısı */
.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    top: 100%;
    left: 0;
    list-style: none;
    border-top: 3px solid #f39c12;
}
.dropdown-content li a {
    padding: 12px 20px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}
.dropdown:hover .dropdown-content {
    display: block;
}
/* Karşılama Alanı (Hero) Görsel Düzenlemesi */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content h2 { font-size: 48px; margin-bottom: 15px; font-weight: 700; text-transform: uppercase; }
.hero-content p { font-size: 20px; margin-bottom: 30px; font-weight: 300; }
.btn {
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    margin: 0 10px;
    transition: 0.3s;
}
.btn-primary { background: #f39c12; color: #fff; }
.btn-primary:hover { background: #e67e22; }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover { background: #fff; color: #111; }

/* Hizmetler Özeti Grid */
.services-summary { padding: 80px 0; background: #f9f9f9; text-align: center; }
.section-title h3 { font-size: 32px; color: #222; margin-bottom: 10px; }
.section-title p { color: #777; margin-bottom: 50px; }
.services-grid { display: flex; justify-content: space-between; gap: 20px; }
.service-box { background: #fff; padding: 40px 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); width: 31.5%; transition: 0.3s; }
.service-box:hover { transform: translateY(-10px); }
.service-box i { font-size: 40px; color: #f39c12; margin-bottom: 20px; }
.service-box h4 { font-size: 22px; margin-bottom: 15px; color: #222; }
.service-box p { color: #666; font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.service-box a { color: #f39c12; text-decoration: none; font-weight: 600; }

/* Hızlı İletişim (CTA) */
.cta-section { background: #111; color: #fff; text-align: center; padding: 60px 0; }
.cta-section h2 { font-size: 30px; margin-bottom: 15px; }
.cta-section p { color: #ccc; margin-bottom: 30px; }
.cta-btn { background: #f39c12; color: #fff; font-size: 22px; font-weight: 700; padding: 15px 40px; text-decoration: none; border-radius: 5px; display: inline-block; transition: 0.3s; }
.cta-btn:hover { background: #e67e22; }
/* Footer Genel Tasarımı */
.main-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 70px 0 0 0;
    font-size: 15px;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-box {
    width: 25%;
}

/* Şirket Özeti & Sosyal Medya */
.footer-box h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #fff;
}
.footer-box h3 span { color: #f39c12; }
.footer-box p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 20px;
}
.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #2a2a2a;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 4px;
    transition: 0.3s;
    font-size: 18px;
}
.footer-social a:hover {
    background: #f39c12;
    color: #fff;
}

/* Link Listeleri */
.footer-box h4 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-box h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 20px;
    border-bottom: 2px solid #f39c12;
}
.footer-box ul {
    list-style: none;
}
.footer-box ul li {
    margin-bottom: 12px;
}
.footer-box ul li a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}
.footer-box ul li a i {
    font-size: 12px;
    margin-right: 5px;
    color: #f39c12;
}
.footer-box ul li a:hover {
    color: #f39c12;
    padding-left: 5px;
}

/* İletişim Bilgileri */
.contact-box p {
    margin-bottom: 12px;
    color: #aaa;
}
.contact-box i {
    color: #f39c12;
    margin-right: 8px;
}
.footer-phone a {
    color: #f39c12 !important;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
}

/* Telif Hakkı Alanı */
.footer-bottom {
    background: #111;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #252525;
}
.footer-bottom p {
    color: #777;
    font-size: 14px;
    margin: 0;
}
/* Sayfa Banner */
.page-banner { background: #222; padding: 60px 0; text-align: center; color: #fff; border-bottom: 3px solid #f39c12; }
.page-banner h2 { font-size: 36px; margin-bottom: 5px; }
.page-banner p { color: #aaa; font-size: 16px; }

/* İletişim Grid */
.contact-section { padding: 80px 0; background: #fff; }
.contact-grid { display: flex; justify-content: space-between; gap: 50px; }
.contact-info-block { width: 45%; }
.contact-info-block h3 { font-size: 26px; margin-bottom: 15px; color: #222; }
.contact-info-block p { color: #666; margin-bottom: 30px; line-height: 1.6; }

.info-item { display: flex; align-items: flex-start; margin-bottom: 25px; }
.info-item i { font-size: 24px; color: #f39c12; margin-right: 15px; margin-top: 5px; }
.info-item h4 { font-size: 18px; color: #222; margin-bottom: 5px; }
.info-item p, .info-item a { color: #666; text-decoration: none; }
.info-item a:hover { color: #f39c12; }

/* Form Tasarımı */
.contact-form-block { width: 50%; background: #f9f9f9; padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.contact-form-block h3 { font-size: 24px; margin-bottom: 25px; color: #222; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 15px; outline: none; transition: 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #f39c12; }
.submit-btn { background: #f39c12; color: #fff; border: none; padding: 12px 30px; font-size: 16px; font-weight: 600; border-radius: 4px; cursor: pointer; display: inline-block; transition: 0.3s; }
.submit-btn:hover { background: #e67e22; }

/* Harita */
.map-section { display: block; line-height: 0; }
/* Alt CTA Alanı Buton Düzenlemesi */
.cta-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap; /* Mobilde alt alta gelmesi için */
}
.cta-btn {
    font-size: 18px !important;
    font-weight: 700;
    padding: 15px 35px !important;
    text-decoration: none;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    color: #fff !important;
}
.cta-call {
    background: #f39c12;
}
.cta-call:hover {
    background: #e67e22;
}
.cta-whatsapp {
    background: #25D366;
}
.cta-whatsapp:hover {
    background: #1ebd54;
}
/* Kurumsal Sayfa Detay Alanı */
.about-detail-section { padding: 80px 0; background: #fff; }
.about-grid { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.about-text-content { width: 55%; }
.about-text-content .sub-title { color: #f39c12; font-weight: 700; font-size: 14px; letter-spacing: 2px; display: block; margin-bottom: 10px; }
.about-text-content h3 { font-size: 32px; color: #222; margin-bottom: 20px; font-weight: 700; }
.about-text-content p { color: #555; line-height: 1.8; margin-bottom: 15px; font-size: 16px; }
.about-image-content { width: 40%; }
.about-image-content img { width: 100%; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

/* Vizyon Misyon Kartları */
.vision-mission-section { padding: 60px 0; background: #f9f9f9; }
.vision-grid { display: flex; justify-content: space-between; gap: 30px; }
.vision-card { background: #fff; padding: 40px 30px; border-radius: 6px; width: 33.33%; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: 0.3s; border-bottom: 3px solid transparent; }
.vision-card:hover { transform: translateY(-5px); border-color: #f39c12; }
.card-icon { font-size: 35px; color: #f39c12; margin-bottom: 20px; }
.vision-card h4 { font-size: 20px; color: #222; margin-bottom: 15px; }
.vision-card p { color: #666; font-size: 14px; line-height: 1.6; }

/* Çalışma İlkeleri */
.principles-section { padding: 80px 0; background: #fff; }
.principles-grid { display: flex; justify-content: space-between; gap: 30px; }
.principle-item { width: 33.33%; padding: 20px; text-align: center; }
.principle-item i { font-size: 30px; color: #222; background: #f39c12; width: 60px; height: 60px; line-height: 60px; border-radius: 50%; color: #fff; margin-bottom: 20px; }
.principle-item h5 { font-size: 18px; color: #222; margin-bottom: 10px; font-weight: 600; }
.principle-item p { color: #666; font-size: 14px; line-height: 1.6; }
.footer-social img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}
/* ==========================================================================
   HEM ANDROID HEM iOS İÇİN MOBİL UYUMLULUK KODLARI (RESPONSIVE)
   ========================================================================== */

@media (max-width: 992px) {
    .container { width: 90%; }
}

@media (max-width: 768px) {
    /* 1. ÜST MENÜ (HEADER) MOBİL DÜZENİ */
    .navbar {
        flex-direction: column; /* Logo ve menü linkleri alt alta gelsin */
        gap: 15px;
        text-align: center;
        padding: 15px 0;
    }
    .nav-links {
        flex-wrap: wrap; /* Linkler sığmazsa alt satıra geçsin */
        justify-content: center;
        gap: 5px;
        padding: 0;
    }
    .nav-links a {
        padding: 8px 12px;
        font-size: 14px;
    }
    /* Açılır Menünün (Dropdown) Mobilde Aşağı Doğru Düzgün Açılması */
    .    /* Mobilde Açılır Menünün Sabit Kalmasını Sağlayan Güncel CSS */
    .dropdown-content {
        display: none; /* İlk başta gizli */
        position: static;
        box-shadow: none;
        width: 100%;
        background: #fdfdfd;
        border-top: 1px solid #f39c12;
    }
    
    /* Parmağıyla Tıkladığında Sabit Tutma Komutu */
    .dropdown.active .dropdown-content {
        display: block !important;
    }

    /* 2. ANA SAYFA GİRİŞ ALANI (HERO) MOBİL DÜZENİ */
    .hero-section {
        height: 55vh; /* Telefon ekranında boyunu biraz kısalttık */
        padding: 0 15px;
    }
    .hero-content h2 {
        font-size: 26px; /* Büyük yazı telefona göre küçüldü */
        line-height: 1.3;
    }
    .hero-content p {
        font-size: 15px;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column; /* Butonlar mobilde alt alta gelsin */
        gap: 12px;
        align-items: center;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px; /* Butonlar telefonda tam basılabilecek boyutta */
        margin: 0;
    }

    /* 3. FAALİYET ALANLARI KUTULARI (3'lü Yan Yana Düzenden Alt Alta Düzene) */
    .services-grid {
        flex-direction: column;
        gap: 25px;
    }
    .service-box {
        width: 100% !important; /* Kutular artık tüm ekranı kaplar */
        padding: 30px 20px;
    }

    /* 4. PROJELERİMİZ SAYFASI MOBİL DÜZENİ */
    .projects-grid {
        flex-direction: column;
        gap: 30px;
    }
    .project-card {
        width: 100% !important; /* Proje kartları mobilde alt alta listelenir */
    }
    .project-img-box {
        height: 200px; /* Telefon ekranı için resim alanı ideal boyuta çekildi */
    }

    /* 5. İLETİŞİM SAYFASI VE FORM DÜZENİ */
    .contact-grid {
        flex-direction: column;
        gap: 35px;
    }
    .contact-info-block, .contact-form-block {
        width: 100% !important;
    }
    .contact-form-block {
        padding: 20px; /* Form kenar boşlukları daraltıldı */
    }

    /* 6. ALT KISIM (FOOTER) MOBİL DÜZENİ */
    .footer-grid {
        flex-direction: column;
        gap: 35px;
        text-align: center; /* Yazılar mobilde ortalandı */
    }
    .footer-box {
        width: 100% !important;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
