/* --- DEĞİŞKENLER --- */
:root {
    --primary: #009999;
    --smoke-white: #f5f5f5;
    --transition: all 0.4s ease;
    --body-bg: #ffffff;
    --body-text: #333333;
}

[data-theme="dark"] {
    --body-bg: #0a0f1d;
    --body-text: #f5f5f5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--body-bg); color: var(--body-text); transition: var(--transition); overflow-x: hidden; }

/* --- KONTEYNER --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }

/* --- TOPBAR --- */
.topbar { background: var(--primary); color: var(--smoke-white); height: 45px; display: flex; align-items: center; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.contact-item { color: var(--smoke-white); text-decoration: none; font-size: 13px; display: flex; align-items: center; gap: 7px; }
.social-links { display: flex; gap: 15px; }
.social-links a { color: var(--smoke-white); font-size: 15px; transition: var(--transition); }
.social-links a:hover { transform: translateY(-2px); }

/* Dil & Tema */
.lang-selector { display: flex; align-items: center; gap: 8px; border-left: 1px solid rgba(255,255,255,0.2); padding-left: 15px; }
.lang-item { font-size: 12px; cursor: pointer; opacity: 0.5; transition: var(--transition); display: flex; align-items: center; gap: 4px; border-bottom: 2px solid transparent; }
.lang-item.active { opacity: 1; font-weight: 700; border-bottom: 2px solid var(--smoke-white); }
.lang-item img { width: 18px; border-radius: 2px; }
.sep { opacity: 0.3; font-size: 12px; }
.theme-toggle { background: rgba(255,255,255,0.1); border: 1px solid var(--smoke-white); color: var(--smoke-white); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }

/* --- NAVBAR --- */
.navbar { height: 90px; background: var(--body-bg); display: flex; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.logo img { height: 60px; width: auto; }
.nav-menu { display: flex; list-style: none; gap: 35px; }
.nav-menu li a { text-decoration: none; color: var(--body-text); font-size: 15px; font-weight: 600; transition: var(--transition); position: relative; padding: 5px 0; }
.nav-menu li a:hover, .nav-menu li a.active { color: var(--primary); }
.nav-menu li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background: var(--primary); transition: var(--transition); }
.nav-menu li a:hover::after { width: 100%; }

/* --- CAROUSEL (RESİMDEKİ TASARIM) --- */
.hero-carousel { position: relative; width: 100%; height: 550px; overflow: hidden; }
.carousel-inner { width: 100%; height: 100%; position: relative; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease-in-out; }
.slide.active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

/* Görseldeki Siyah Bant */
.slide-caption { position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); width: 70%; background: rgba(0,0,0,0.75); color: #fff; padding: 25px; text-align: center; border-radius: 5px; z-index: 2; }
.slide-caption h3 { font-size: 24px; margin-bottom: 10px; }
.slide-caption p { font-size: 15px; opacity: 0.9; }

/* Oklar */
.carousel-control { position: absolute; top: 50%; transform: translateY(-50%); background: transparent; border: none; color: rgba(255,255,255,0.5); font-size: 30px; cursor: pointer; z-index: 10; padding: 20px; transition: 0.3s; }
.carousel-control:hover { color: #fff; }
.prev { left: 20px; }
.next { right: 20px; }

/* Gösterge Çizgileri */
.carousel-indicators { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.ind-line { width: 35px; height: 3px; background: rgba(255,255,255,0.3); cursor: pointer; transition: 0.3s; }
.ind-line.active { background: var(--primary); width: 50px; }

/* Mobil Menu */
.mobile-menu-icon { display: none; font-size: 25px; cursor: pointer; }
@media (max-width: 992px) { .nav-menu { display: none; } .mobile-menu-icon { display: block; } }

/* --- BÖLÜM 4: HAKKIMIZDA (ABOUT) --- */
.about-section {
    padding: 120px 0; /* Yukarıdan ve aşağıdan daha geniş boşluk */
    background-color: var(--body-bg);
    transition: var(--transition);
}

.about-section .container {
    display: flex;
    align-items: stretch; /* İçeriklerin yüksekliklerini birbirine eşitler */
    gap: 80px;
}

/* Sol Metin Alanı */
.about-content {
    flex: 1.2; /* Metin alanına biraz daha fazla alan tanıdık */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Metni dikeyde ortalar */
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 35px;
    color: var(--body-text);
}

.section-title span {
    color: var(--primary);
}

.about-description p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 25px;
    color: var(--body-text);
    opacity: 0.9;
}

/* Sağ Uzun Görsel Alanı */
.about-image {
    flex: 0.8;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%; /* Konteynırı tam doldurur */
    min-height: 600px; /* Resmin "uzun" durmasını sağlar */
    min-width: 500px;
    object-fit: cover; /* Resmi bozmadan dikeyde uzatır */
    border-radius: 4px; /* Keskin hatlı ama hafif yumuşatılmış */
   /* box-shadow: 20px 20px 0px var(--primary); /* Arkasına şık bir turkuaz dekoratif blok ekledik */
}

/* Mobilde Düzenleme */
@media (max-width: 992px) {
    .about-section {
        padding: 80px 0;
    }
    .about-section .container {
        flex-direction: column;
        gap: 50px;
    }
    .about-image img {
        min-height: 400px;
        box-shadow: 10px 10px 0px var(--primary);
    }
}




/* --- BAŞLIK ALANI --- */
.expertise-header {
    padding: 80px 0 40px;
    background-color: var(--body-bg);
    text-align: center;
}

.title-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.main-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--body-text);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.main-title span {
    color: var(--primary);
}

.title-line {
    width: 70px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.subtitle {
    font-size: 19px;
    line-height: 1.6;
    color: var(--body-text);
    opacity: 0.7;
    font-weight: 400;
}

/* --- KARTLAR --- */
.expertise-wrapper {
    display: flex;
    gap: 15px;
    width: calc(100% - 100px); /* sağ/sol 50px boşluk */
    margin: 0 auto;
    height: 500px;
}

.exp-card {
    flex: 1.5;
    background: #11151c; /* normal mod koyu kart */
    border-radius: 20px;
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25,1,0.3,1);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
}

.exp-card:hover {
    flex: 5; /* hover açılır */
    background: var(--primary);
}

.exp-top-content {
    margin-top: 10px;
    text-align: left;
}

.exp-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: 0.3s;
}

.exp-icon i {
    font-size: 22px;
    color: var(--primary);
}

.exp-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    transition: 0.3s;
}

.exp-card:hover .exp-icon {
    background: #fff;
}

.exp-card:hover .exp-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.exp-body {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
    margin-top: auto;
    padding-bottom: 10px;
}

.exp-card:hover .exp-body {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.exp-body p {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    line-height: 1.6;
    max-width: 320px;
}

/* --- KOYU MOD DESTEK (Yeşil kart + hover beyaz) --- */
[data-theme="dark"] .exp-card {
    background: var(--primary); /* koyu modda kart yeşil */
    border: 1px solid rgba(0,0,0,0.1);
}

[data-theme="dark"] .exp-card:hover {
    background: #fff; /* hover beyaz */
}

[data-theme="dark"] .exp-title,
[data-theme="dark"] .exp-body p {
    color: #fff; /* yeşil kart üzerinde yazılar beyaz */
}

[data-theme="dark"] .exp-card:hover .exp-title,
[data-theme="dark"] .exp-card:hover .exp-body p {
    color: #11151c; /* hover beyaz kart üzerinde yazılar koyu */
}

[data-theme="dark"] .exp-icon {
    background: rgba(0,0,0,0.1); /* yeşil kart ile kontrast */
}

[data-theme="dark"] .exp-card:hover .exp-icon {
    background: #11151c; /* hover beyaz kartta kontrast */
}

[data-theme="dark"] .exp-icon i {
    color: #fff; /* normal durumda simge beyaz */
}

[data-theme="dark"] .exp-card:hover .exp-icon i {
    color: var(--primary); /* hover beyaz kart üzerinde simge yeşil */
}

/* --- MOBİL DESTEK --- */
@media (max-width: 992px) {
    .expertise-wrapper {
        flex-direction: column;
        height: auto;
        gap: 30px;
        width: calc(100% - 40px); /* mobil kenar boşluğu */
    }

    .exp-card {
        flex: none;
        width: 100%;
        min-height: 200px;
    }
}





/* --- PARTNER & REFERANSLAR SECTION (GÜNCEL) --- */
/* --- GLOBAL BÖLÜM BAŞLIKLARI STANDARTI --- */
/* Bu blok tüm başlıklardaki kaymaları engeller ve tasarımı eşitler */

.partner-header, .expertise-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;    /* Çizgiyi ve yazıyı yatayda tam merkeze çiviler */
    text-align: center;     /* Metni ortalar */
    margin-bottom: 70px;
    padding: 0 20px;
}

/* Başlık Yazı Stili (Görsellerdeki font kalınlığına göre eşitlendi) */
.section-title {
    font-size: 42px;        /* Başlık boyutu */
    font-weight: 800;       /* "DEĞERLİ" ve "UZMANLIK" kelimeleri için kalın font */
    color: var(--body-text);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.2;
}

/* Vurgulu Kelime Stili (Turkuaz Kısım) */
.section-title span {
    font-weight: 800;       /* "REFERANSLARIMIZ" ve "ALANLARIMIZ" aynı kalınlıkta */
    color: var(--primary);
}

/* Turkuaz Alt Çizgi - Tam Ortada */
.title-line {
    width: 80px;            /* Çizgi genişliği */
    height: 4px;            /* Çizgi kalınlığı */
    background: var(--primary);
    margin: 0 auto 25px auto; /* 0 auto: Sağ ve soldan eşit boşluk bırakarak ortalar */
    border-radius: 2px;
}

/* Alt Açıklama Metni */
.subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--body-text);
    opacity: 0.7;
    line-height: 1.6;
    max-width: 850px;
    margin: 0 auto;         /* Yazı bloğunu sayfaya göre ortalar */
}

/* --- PARTNER SECTION ÖZEL AYARLAR --- */
.partner-section {
    padding: 100px 0;
    background-color: var(--body-bg);
    overflow: hidden;
    width: 100%;
}

/* Konteyner içindeki flex-between'i bu bölüm için eziyoruz */
.partner-section .container {
    display: block;         /* Başlığın sağa sola yaslanmasını engeller */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- SLIDER VE LOGOLAR --- */

.partner-slider{
    width:100%;
    margin-top:40px;
    overflow:hidden;
    position:relative;
}

.partner-track{
    display:flex;
    width:max-content;
    animation:scrollPartner 30s linear infinite;
}

.partner-logo{
    flex:0 0 auto;
    width:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 40px;
}

.partner-logo img{
    max-width:170px;
    max-height:70px;
    object-fit:contain;
    opacity:0.8;
    transition:var(--transition);
}

/* Hover efekti */

.partner-logo img:hover{
    opacity:1;
    transform:scale(1.1);
}

/* Karanlık Mod */

[data-theme="dark"] .partner-logo img{
    filter:brightness(0) invert(1);
    opacity:0.7;
}

/* Sonsuz scroll */

@keyframes scrollPartner{

    0%{
        transform:translateX(0);
    }

    100%{
        transform:translateX(-50%);
    }

}


/* --- MOBİL --- */

@media (max-width:768px){

    .section-title{
        font-size:30px;
    }

    .subtitle{
        font-size:15px;
    }

    .partner-header{
        margin-bottom:35px;
    }

    .partner-logo{
        width:180px;
        padding:0 25px;
    }

}




/* --- HARİTA BÖLÜMÜ GENEL --- */
.contact-map {
    padding: 100px 0;
    background-color: var(--body-bg);
    transition: var(--transition);
}

.container-map {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 80px;
    align-items: center;
}

.map-info { flex: 1; }

.contact-details { 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
    margin-top: 30px;
}

.c-item { display: flex; align-items: center; gap: 20px; }

.c-icon { 
    width: 55px; 
    height: 55px; 
    background: var(--primary); 
    color: #fff; 
    border-radius: 15px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 20px;
    flex-shrink: 0;
}

.c-item h4 { color: var(--body-text); font-size: 18px; margin-bottom: 4px; }
.c-item p { color: var(--body-text); opacity: 0.7; font-size: 15px; }

/* --- TIKLANABİLİR HARİTA TASARIMI --- */
.map-link-wrapper {
    flex: 1.2;
    text-decoration: none;
    display: block;
    position: relative;
    cursor: pointer;
}

.map-frame { 
    position: relative;
    border-radius: 30px; 
    overflow: hidden; 
    line-height: 0;
    /* Yeşil Çerçeveler Kaldırıldı */
    border: none;
    outline: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.map-frame iframe {
    width: 100%;
    height: 480px;
    border: none;
    display: block;
    pointer-events: none; /* Harita içindeki zoom vb. kapatır, tıklamayı linke iletir */
}

/* Hover Efektleri */
.map-link-wrapper:hover .map-frame {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.15);
}

/* Harita Üzerindeki "Yol Tarifi" İbaresi */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-overlay span {
    background: var(--primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-link-wrapper:hover .map-overlay {
    opacity: 1;
}

/* Mobilde Düzenleme */
@media (max-width: 992px) {
    .container-map {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .map-info { width: 100%; }
    .c-item { justify-content: center; text-align: left; }
    .map-frame iframe { height: 350px; }
}



/* --- MODERN FOOTER --- */
.main-footer {
    background-color: #080c14; /* Çok koyu lacivert/siyah */
    color: #ffffff;
    padding: 100px 0 0;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr; /* Hizmetler kalktı, alanlar genişledi */
    gap: 80px;
    padding-bottom: 80px;
}

/* Marka Alanı */
.footer-about .footer-logo img {
    height: 55px;
    margin-bottom: 25px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    font-size: 15px;
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 153, 153, 0.3);
}

/* Link Grupları */
.footer-links-group h4, 
.footer-contact-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 35px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links-group ul { list-style: none; }
.footer-links-group ul li { margin-bottom: 12px; }
.footer-links-group ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.footer-links-group ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* İletişim Alanı */
.f-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.f-contact-item i {
    color: var(--primary);
    font-size: 16px;
}

/* Alt Çizgi ve Telif */
.footer-bottom {
    background: #05080f;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-flex p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

.footer-bottom-links a:hover { color: #fff; }

/* Mobilde Düzenleme */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .footer-about p { max-width: 100%; }
    .footer-social { justify-content: center; }
    .f-contact-item { justify-content: center; }
    .bottom-flex { flex-direction: column; gap: 15px; }
}

/* --- ANA SAYFA AKTİFLİK GARANTİSİ --- */
.nav-menu li a.active {
    color: var(--primary) !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* Üstüne basıldığında veya tıklandığında rengin gitmesini engelle */
.nav-menu li a.active:focus,
.nav-menu li a.active:active,
.nav-menu li a.active:hover {
    color: var(--primary) !important;
    outline: none;
}

.nav-menu li a.active::after {
    width: 100% !important;
    background: var(--primary) !important;
    opacity: 1 !important;
}
