/* Temel Değişkenler ve Reset */
:root {
    --bg-dark: #242424;
    --bg-card: #1e1e1e;
    --accent: #f39c12;
    --accent-hover: #d68910;
    --text-main: #f4f4f4;
    --text-muted: #a0a0a0;
    --border-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px; /* Logoyu merkeze almak için boşluğu sıfırladık */
    height: 70px;
    background-color: rgb(36 36 36);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

/* =========================================
   LOGO DÜZENİ
   ========================================= */

/* Menüdeki <a> etiketini zorla yan yana dizer ve alt çizgiyi siler */
.logo a {
    display: flex !important;
    align-items: center !important;
    gap: 15px;
    text-decoration: none !important;
}

/* Logonun içindeki fotoğrafı (ikonu) tam 45px yapar */
.logo img {
    height: 110px !important;
    width: 110px !important; /* Genişliği zorla daraltıp kare yaptık */
    object-fit: cover !important; /* Görseli bu karenin içine oturt */
    object-position: left center !important; /* Resmi sola daya, sağdaki boşluğu tamamen gizle */
    display: block;
}

/* Logonun içindeki yazıyı bembeyaz ve hizalı yapar */
.logo span {
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 5px;
    text-decoration: none !important;
    margin-left: -40px !important; /* Aradaki boşluğa göre bu sayıyı -80, -150 gibi değiştirerek tam hizala */
    position: relative;
    z-index: 10;
}

/* Navigasyon (Menü) */
.main-nav a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--accent);
}

.language-flags a {
    color: var(--text-muted);
    text-decoration: none;
}
.language-flags a.active {
    color: var(--text-main);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 50px;
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.9)), url("cncforback.jpg") center/cover;
}

.hero-content {
    max-width: 800px;
    padding: 40px; /* Mavi çizgiyi sildiğimiz yer */
}

.hero-badge, .section-badge {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

.hero-content h2 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Butonlar */
.btn {
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--accent);
    color: #242424;
}
.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    border: 1px solid var(--text-main);
    color: var(--text-main);
    margin-left: 15px;
}
.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-dark);
}

/* Ortak Bölüm Stilleri */
.services-section, .about-section, .contact-section {
    padding: 100px 50px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title span {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 2px;
}
.section-title h3 {
    font-size: 36px;
    margin-top: 10px;
}

/* Hizmetler Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 5px;
    transition: transform 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
}
.service-card i {
    font-size: 30px;
    color: var(--accent);
    margin-bottom: 20px;
}
.service-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
}
.service-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Neden Biz (Hakkımızda) */
.about-section {
    display: flex;
    gap: 60px;
    align-items: center;
    background-color: #161616;
}
.about-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 5px;
}
.feature-list {
    list-style: none;
    margin-top: 30px;
}
.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}
.feature-list i {
    color: var(--accent);
}

/* İletişim */
.contact-section {
    display: flex;
    gap: 60px;
}
.contact-info, .contact-map {
    flex: 1;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 5px;
}
.info-item i {
    color: var(--accent);
    font-size: 24px;
}
.info-item p {
    color: var(--text-muted);
    font-size: 14px;
}
.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
}

/* Footer */
.main-footer {
    padding: 30px 50px;
    background-color: #0a0a0a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}
.social-links a {
    color: var(--text-muted);
    font-size: 18px;
    margin-left: 15px;
    transition: 0.3s;
}
.social-links a:hover {
    color: var(--accent);
}

/* =========================================
   MOBİL UYUMLULUK (RESPONSIVE DESIGN)
   ========================================= */

@media (max-width: 768px) {
    /* 1. Header'ın mobilde ekranı kaplayıp yazıları ezmesini engeller */
    .main-header {
        position: relative !important; /* Sabitliği (fixed) iptal edip içeriğin üstüne binmesini önledik */
        padding: 15px !important;
        flex-direction: column;
        height: auto !important;
    }

    /* 2. Menü linklerinin sıkışıp patlamasını önler */
    .main-nav {
        display: flex;
        flex-wrap: wrap; /* Sığmayan linki alt satıra atar */
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .main-nav a {
        margin: 5px;
        font-size: 16px;
    }

    /* 3. Mobilde logo yazısını ekrana sığacak şekilde küçültürüz */
    .logo span {
        font-size: 20px !important;
    }

    /* 4. Hero (Giriş) kısmını mobilde toparlama */
    .hero-section {
        height: auto !important;
        padding: 60px 20px !important;
        text-align: center;
    }
    .hero-content {
        margin-top: 10px !important;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    /* 5. Butonları telefonda alt alta ve tam genişlikte dizer */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn-outline {
        margin-left: 0;
    }

    /* 6. Hizmetler kutularını telefonda ezilmesin diye tek sütun (alt alta) yapar */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* 7. Hakkımızda ve İletişim kısımlarının boşluklarını telefona göre kısar */
    .about-section, .contact-section {
        flex-direction: column;
        gap: 30px;
        padding: 50px 20px;
    }

    /* 8. Haritayı telefonda çok uzun olmasın diye daraltırız */
    .contact-map iframe {
        min-height: 250px;
    }

    .main-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}