/* ================================================= */
/* 1. GENEL SIFIRLAMA, TEMEL AYARLAR VE RENK PALETİ */
/* ================================================= */
* {
    box-sizing: border-box; 
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.0;
    color: var(--text-color);
    background-color: #f4f4f9; 
    scroll-behavior: smooth;
}

:root {
    --primary-color: #00bcd4;     
    --secondary-color: #ff9800;   
    --accent-color: #8bc34a;      
    --text-color: #212121;
    --light-bg: #fff;
    --dark-bg: #37474f; 
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

h1, h2, h3 {
    text-align: center;
    font-weight: 900; 
    margin-bottom: 25px;
    line-height: 1.2;
}
h2 {
    font-size: 2.4em;
    color: var(--dark-bg);
}


/* ========================================= */
/* 2. BUTON VE LİNK STİLLERİ                 */
/* ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-bg);
    border: 2px solid var(--primary-color);
}
.btn-primary:hover {
    background-color: #00acc1;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.btn-cta {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    border: 2px solid var(--secondary-color);
    font-size: 1.1em;
}
.btn-cta:hover {
    background-color: #fb8c00;
    transform: scale(1.05);
}


/* ========================================= */
/* 3. HEADER VE NAVİGASYON STİLLERİ          */
/* ========================================= */
.main-header {
    background-color: var(--light-bg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    gap: 30px;
}

.logo-onr {
    display: flex; /* IMG ve Metni yan yana koyar */
    align-items: center; /* Dikeyde ortalar */
    text-decoration: none;
    margin: 0;
    padding: 0;
}
.logo-img {
    height: 65px; /* Yüksekliği ayarlayın (örneğin 35px), genişlik otomatik olsun */
    width: auto;
    margin-right: 10px; /* Görsel ve metin arasına boşluk bırakır */
    transition: transform 0.3s ease;
}

.logo-onr:hover .logo-img {
    transform: scale(1.05);
}

/* Logo Metin Stili */
.logo-text {
    color: var(--dark-bg); /* Logoya uygun koyu bir renk */
    font-size: 1.7em; 
    font-weight: 900;
    line-height: 1; /* Metnin dikey hizasını düzeltir */
    white-space: nowrap; /* Mobil cihazlarda logoyu kırmaz */
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}
.main-nav ul li a:not(.btn) {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 15px;
    display: block;
    font-weight: 500;
}
.main-nav ul li a:hover {
    color: var(--secondary-color);
}

/* ========================================= */
/* HERO SECTION */
/* ========================================= */

.hero-section {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

/* Arka plan slayt wrapper */
.hero-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Her slayt */
.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fadeSlider 24s infinite ease-in-out;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

/* Metin kısmı */
.hero-overlay-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

/* =========================== */
/* AKICI 6 SİLİK GEÇİŞ ANİMASYON */
/* =========================== */

@keyframes fadeSlider {
    0% { opacity: 0; }
    2% { opacity: 1; }
    15% { opacity: 1; }
    17% { opacity: 0; }
    100% { opacity: 0; }
}

/* Her slayta gecikme vererek sıraya sokuyoruz */
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 4s; }
.hero-slide:nth-child(3) { animation-delay: 8s; }
.hero-slide:nth-child(4) { animation-delay: 12s; }
.hero-slide:nth-child(5) { animation-delay: 16s; }
.hero-slide:nth-child(6) { animation-delay: 20s; }


/* ========================================= */
/* 6. HAKKIMIZDA BÖLÜMÜ STİLLERİ             */
/* ========================================= */
.about-us-section {
    background-color: var(--light-bg); 
    padding: 100px 0; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}

.about-flex {
    display: flex;
    align-items: center; 
    gap: 50px;
    text-align: left;
}

.about-logo-area {
    flex: 0 0 350px; 
    text-align: center;
    padding:30px;
    /* background-color: #e0f7fa;  */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.main-logo-placeholder {
    /* max-width: 100%; 
    height: auto;
    display: block;
    margin: 0 auto 15px;
    border: 3px solid var(--primary-color);
    padding: 10px;
    border-radius: 8px;
    background-color: var(--light-bg);  */

    max-width: 250px; /* Logonuzun gerçek boyutuna göre ayarlayın, örneğin 250px */
    width: 100%; /* Kapsayıcının %100'ünü kaplar, max-width ile sınırlandırılır */
    height: auto;
    margin: 0 auto 15px; /* Ortalamak için auto margin uygun */
    display: block;
}

.tagline {
    font-size: 1.1em;
    color: var(--dark-bg);
    font-style: italic;
    font-weight: 500;
}

.about-text-area {
    flex: 1;
}

.about-text-area h2 {
    text-align: left; 
    font-size: 2em;
}

.about-text-area p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #555;
}


/* ========================================= */
/* 7. SERVİS KARTLARI STİLLERİ               */
/* ========================================= */
.service-cards {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 30px;
}

.service-cards > div { 
    background-color: var(--light-bg);
    padding: 40px 20px;
    border-radius: 12px;
    flex: 1;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}
.service-cards > div:hover {
    transform: translateY(-5px);
}

.card-1 { border-top: 5px solid var(--primary-color); }
.card-2 { border-top: 5px solid var(--secondary-color); }
.card-3 { border-top: 5px solid var(--accent-color); }

.service-cards h3 {
    color: var(--dark-bg);
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Yeni H3 Kategorileri için Stiller */
.category-heading {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    display: block; /* Tam genişlikte alt çizgi */
    width: 100%;
}

/* Kartlardaki SEO Anahtar Kelime Listesi Stilleri */
.card .seo-list {
    list-style: none;
    margin-top: 10px;
    padding-left: 0;
    font-size: 0.75em; /* Çok küçük font */
    color: #999;
    line-height: 1.4;
    text-align: center;
}

.card .seo-list li {
    display: inline; /* Yan yana göster */
    margin: 0 3px;
    opacity: 0.7; /* Çok soluk */
}

/* Yeni Kart Renkleri (Gerekli) */
.card-4 { border-top: 5px solid var(--primary-color); }
.card-5 { border-top: 5px solid var(--secondary-color); }
.card-6 { border-top: 5px solid var(--accent-color); }

.mt-5 {
    margin-top: 40px;
}

.text-center {
    text-align: center;
}
/* Diğer .service-cards ve .card stilleriniz mobil uyumluluğu zaten sağlıyor. */

/* ========================================= */
/* 8. AVANTAJ LİSTESİ STİLLERİ (GÜNCELLENDİ) */
/* ========================================= */

.features-section {
    background-color: var(--dark-bg); /* Koyu arka plan */
    color: var(--light-bg);
    padding: 60px 0; /* Dikey boşluk biraz azaltıldı */
}

.features-section h2 {
    color: var(--primary-color);
    margin-bottom: 50px;
}

.feature-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px; /* Kartlar arasındaki boşluk */
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    /* Her bir avantajı kart olarak stilize etme */
    flex: 1;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Hafif beyaz şeffaf arka plan */
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.feature-item .icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 10px;
    color: var(--secondary-color); /* Turuncu ikon rengi */
}

.feature-item h3 {
    /* Başlık stilini kart içine uygun hale getirme */
    font-size: 1.3em;
    color: var(--light-bg);
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 0.95em;
    line-height: 1.5;
    color: #ccc;
}


/* ========================================= */
/* 11. MOBİL UYUMLULUK (MEDIA QUERIES)       */
/* ========================================= */

/* Tablet ve Mobil Uyum (768px altında) */
@media (max-width: 768px) {
    
    .feature-list {
        flex-direction: column; /* Mobil cihazlarda kartları alt alta sırala */
        gap: 20px;
    }
    
    .feature-item {
        /* Mobil görünümde kartları ekranı kaplayacak şekilde ayarla */
        padding: 25px 15px;
    }
}
/* ========================================= */
/* 9. İLETİŞİM/CTA ALANI STİLLERİ            */
/* ========================================= */
.contact-section {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    text-align: center;
    padding: 60px 0;
}

.contact-section h2 {
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.contact-section .cta-text {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.contact-section .btn-cta {
    background-color: var(--dark-bg); 
    color: var(--secondary-color);
    border: 2px solid var(--dark-bg);
}


/* ========================================= */
/* 10. FOOTER STİLLERİ                       */
/* ========================================= */
.main-footer {
    background-color: var(--dark-bg);
    color: #aeb4b8;
    padding: 30px 0 10px;
}

.main-footer a {
    color: var(--primary-color);
    text-decoration: none;
}
.main-footer a:hover {
    text-decoration: underline;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    text-align: left;
    margin-bottom: 20px;
}
.copyright {
    text-align: center;
    padding-top: 10px;
    font-size: 0.8em;
    border-top: 1px solid #455a64;
}


/* ========================================= */
/* 11. MOBİL UYUMLULUK (MEDIA QUERIES)       */
/* ========================================= */
@media (max-width: 900px) {
    .about-flex {
        flex-direction: column; 
        text-align: center;
    }

    .about-logo-area {
        flex: 0 0 auto; 
        width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        padding: 10px 2px;
    }
    .main-nav{
        width: 100%;
        margin-top: 10px;
    }
    .main-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* justify-content: center; */
        /* padding-top: 5px; */
        width: 100%;
    }
    .main-nav ul li{
        width: 100%;
        margin: 5px 0;
    }
    .main-nav ul li a {
        padding: 8px 0;
        text-align: center;
        display: block;
    }
    
    .hero-slide h1, .hero-slide h2 {
        font-size: 2.2em; 
    }
    .hero-content-wrapper {
        height: 200px; 
    }
    
    .service-cards {
        flex-direction: column; 
    }
    
    .feature-list {
        flex-direction: column; 
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .visual-grid {
        flex-direction: column; 
        gap: 20px;
    }
    
    .visual-item {
        width: 100%;
    }
    
    .about-text-area h2 {
        text-align: center; 
    }
    
    .hero-section {
        /* min-height: 400px;  */
        /* padding: 100px 20px; */
        min-height: 80vh;
        padding: 0;
    }



    .hero-content-wrapper{
        width: 100%;
        height: 100%;
        position: absolute;
    }
    .hero-slide img{
        object-fit: cover;
        width: 100%;
        height: 100%;
    }


    .hero-overlay-content h1 {
        font-size: 2.5em;
    }
    .hero-overlay-content p.slogan {
        font-size: 1.2em;
        margin-bottom: 25px;
    }
}