/* Temel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Menüye tıklandığında aşağı yavaşça kayması için */
    scroll-behavior: smooth; 
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff; /* Fallback */
    background-image: url('src/background.png');
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Renk Paleti ve Temalar */
.bg-light { background-color: transparent; }
.bg-dark { background-color: #222; }
.text-white { color: #fff !important; }

/* Üst Menü (Header) */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo img {
    max-height: 60px; /* Logonun boyutunu buradan ayarlayabilirsin */
    height: auto;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #1a73e8; /* Logoya uygun mavi tonu */
}

/* Karşılama Ekranı (Hero Section) ve Video Arka Plan */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.6); /* Videoyu karanlıklaştırıp yazıyı belirginleştirir */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Genel Bölüm (Section) Tasarımı */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    background: linear-gradient(to right, #2ec7ff, #1fa2ff, #0a6fd6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: #555;
}

/* Grid (Izgara) Sistemleri */
.grid-3, .grid-2 {
    display: grid;
    gap: 30px;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }

.reference-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

/* Kartlar ve Kutu Tasarımları */
.card, .text-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
    overflow: hidden; /* Resim köşelerini yuvarlak tutmak için */
}
.card {
    padding-bottom: 30px;
}
.card:hover, .text-box:hover { transform: translateY(-5px); }

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card h3, .card p {
    margin-top: 20px;
    padding: 0 20px;
}

.text-box {
    padding: 30px;
}

.card h3, .text-box h3 {
    background: linear-gradient(to right, #2ec7ff, #1fa2ff, #0a6fd6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

/* Buton Tasarımı */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1a73e8;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}
.btn:hover { background-color: #1257b4; }

/* Neden TinTech Yeni Tasarım */
.why-tintech-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    align-items: center;
}

.why-images {
    position: relative;
    padding-right: 40px;
    padding-bottom: 40px;
}

.why-images .img-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: block;
}

.why-images .img-sub {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border: 10px solid #fff; /* Üst üste bindiğinde sınırları ayırarak daha estetik bir görünüm sağlar */
}

.why-content .why-logo {
    max-height: 45px;
    margin-bottom: 15px;
}

.why-content h2 {
    font-size: 2.2rem;
    background: linear-gradient(to right, #2ec7ff, #1fa2ff, #0a6fd6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.3;
}

.why-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.why-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.why-list li {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-list li::before {
    content: "✓";
    color: #1a73e8;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Referanslar Alanı */
.reference-logo {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    backdrop-filter: blur(5px); /* Modern bir görünüm için arka planı bulanıklaştırır */
}
.reference-logo img {
    max-width: 200px;
    max-height: 70px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.reference-logo:hover img {
    filter: none;
}

/* İletişim Alanı Genel Boşluk Ayarı */
#iletisim {
    padding: 40px 0 80px 0;
}

/* İletişim Banner Alanı */
.contact-banner {
    position: relative;
    background-color: #0a6fd6;
    /* Teknoloji çizgileri (pattern) ve logo renklerinden mavi gradient */
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(135deg, #0a6fd6 0%, #1fa2ff 100%);
    background-size: 30px 30px, 30px 30px, 100% 100%;
    background-position: center;
    border-radius: 20px;
    padding: 35px 50px;
    color: #fff;
    display: flex;
    align-items: center;
    box-shadow: 0 15px 40px rgba(10, 111, 214, 0.3);
    margin: 50px 0;
}

.contact-banner-left {
    flex: 0 0 60%;
    z-index: 2;
}

.contact-banner-left h2 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-icon svg {
    fill: #fff;
    width: 22px;
    height: 22px;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text span {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 3px;
}

.contact-text p, .contact-text a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin: 0;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Taşan Görsel Ayarları (Sağ Taraf) */
.contact-banner-right {
    position: absolute;
    bottom: 0;
    right: 5%;
    width: 40%;
    height: 100%;
    pointer-events: none;
}

.contact-man {
    position: absolute;
    bottom: 0;
    right: 0;
    /* Banner'ın boyunu aşıp dışarıya (yukarıya) taşması için 100%'den büyük veriyoruz */
    max-height: 140%; 
    width: auto;
    z-index: 2;
    filter: drop-shadow(-10px 10px 20px rgba(0,0,0,0.2));
}

/* Footer */
.footer { background-color: #111; color: #aaa; text-align: center; padding: 20px 0; font-size: 0.9rem; }

/* =========================================
   Responsive Tasarım (Mobil Uyumluluk) 
   ========================================= */
@media screen and (max-width: 768px) {
    /* Menü ve Header */
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    /* Karşılama Ekranı (Hero) */
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1rem;
    }

    /* Genel Bölümler */
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2rem;
    }

    /* Grid (Izgara) Sistemlerinin Mobilde Alt Alta Gelmesi */
    .grid-3, .grid-2, .why-tintech-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Neden TinTech Alanı Düzenlemeleri */
    .why-content h2 {
        font-size: 1.8rem;
    }
    .why-list {
        grid-template-columns: 1fr; /* Listeler tek sütun olur */
    }

    /* İletişim Banner */
    .contact-banner {
        flex-direction: column;
        padding: 30px 20px;
    }
    .contact-banner-right {
        display: none; /* Mobilde taşan adam görselini gizleyerek yazılara odaklanılır */
    }
}

@media screen and (max-width: 480px) {
    /* Çok küçük telefon ekranları için ekstra ufak dokunuşlar */
    .hero-text h1 {
        font-size: 2rem;
    }
    .nav a {
        font-size: 14px;
    }
}