/* 1. Temel Sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}

/* MENÜ AÇIKKEN ARKA PLANI KİLİTLEME */
body.menu-open {
    overflow: hidden;
    position: fixed; 
    width: 100%;
    height: 100%;
}

/* 2. Header ve Navigasyon */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: 0.3s ease;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar ul li a span {
    display: none;
}

.navbar ul li a {
    position: relative;
    color: #ffffff;
    font-size: 24px;
    text-decoration: none;
    transition: 0.3s ease;
}

.navbar ul li a:hover {
    color: #3498db;
}

/* Tooltip (Masaüstü) */
.navbar ul li a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.navbar ul li a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 3. Hero Bölümü (index.html) */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 0;
}

.hero-container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    z-index: 10;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-text-left {
    flex: 1;
}

.hero-text-left h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* 4. Hizmet Izgarası (index.html) */
.hero-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 140px);
    grid-template-rows: repeat(2, 110px);
    gap: 15px;
}

.service-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-box i {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-box span {
    font-size: 0.8rem;
    font-weight: 500;
}

.service-box:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-8px) scale(1.05);
    border-color: #3498db;
}

/* 5. Mobil Uygulama Bölümü */
.app-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.app-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.app-content {
    background: #f9f9f9;
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.app-content img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    display: inline-block;
}

.app-content h2 {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 20px;
}

.app-content p {
    color: #666;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-app {
    background: #222;
    color: #fff;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-app:hover {
    background: #3498db;
    transform: translateY(-3px);
}

/* 6. Footer */
.main-footer {
    padding: 40px 0;
    text-align: center;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.main-footer p {
    color: #999;
    font-size: 0.9rem;
}

/* 7. MOBİL DÜZENLEMELER (REVİZE EDİLDİ) */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

.close-menu, .mobile-menu-footer {
    display: none;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block !important;
        font-size: 22px;
        color: #ffffff;
    }

    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        z-index: 2000;
        display: flex;
        flex-direction: column;
        padding: 30px;
        transition: 0.4s ease-in-out;
        overflow-y: auto;
        /* İçeriği sola yaslamak için text-align: left zaten ekli, 
           fakat flex yönünü de garantiye alalım */
        align-items: flex-start; 
        text-align: left;
    }

    .navbar.active { right: 0; }

    .close-menu {
        display: block !important;
        align-self: flex-end;
        font-size: 26px;
        color: #333;
        margin-bottom: 20px;
    }

    .navbar ul {
        flex-direction: column;
        gap: 0px;
        width: 100%;
        /* UL içindeki öğeleri de sola yasla */
        align-items: flex-start; 
    }

    /* Mobilde İkonları Gizle, Yazıları Göster */
    .navbar ul li a i {
        display: none !important; 
    }

    .navbar ul li {
        width: 100%;
    }

    .navbar ul li a {
        background-color: transparent !important;
        color: #333 !important;
        padding: 15px 0;
        border-bottom: 1px solid #f9f9f9;
        display: block;
        width: 100%;
        text-align: left; /* Link metnini sola yasla */
    }

    .navbar ul li a span {
        display: block !important;
        font-size: 16px;
        font-weight: 600;
        text-align: left;
    }

    /* MOBİL MENÜ FOOTER */
    .mobile-menu-footer {
        display: flex !important;
        flex-direction: column;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #eee;
        width: 100%;
        align-items: flex-start; /* Footer içeriğini sola yasla */
    }

    .menu-description p {
        font-size: 14px;
        color: #777;
        line-height: 1.5;
        margin-bottom: 20px;
        text-align: left;
    }

    .menu-contact {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 25px;
        width: 100%;
    }

    .menu-contact a {
        text-decoration: none;
        color: #333;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 500;
        justify-content: flex-start; /* İletişim linklerini sola yasla */
    }

    .menu-contact i {
        color: #3498db;
        width: 20px;
    }

    .menu-social {
        display: flex;
        gap: 20px;
        justify-content: flex-start; /* Sosyal ikonları sola yasla */
        width: 100%;
    }

    .menu-social a {
        color: #333;
        font-size: 22px;
    }

    /* Hero Mobil */
    .hero-container {
        flex-direction: column;
        text-align: center;
        margin-top: 80px;
        gap: 40px;
    }

    .hero-text-left h2 {
        font-size: 1.8rem;
    }

    .hero-services-grid {
        grid-template-columns: repeat(2, 140px);
        justify-content: center;
    }
}

/* --- SERVICES SAYFASI ÖZEL --- */
.services-header {
    position: fixed !important;
    background-color: #000000 !important;
    padding: 10px 0;
    width: 100%;
}

.services-content {
    background-color: #ffffff;
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 60vh;
}

.page-title {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.page-title h1 {
    font-size: 2.5rem;
    color: #222;
}

.services-detailed-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: #ffffff;
    padding: 30px 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
    /* Aşağıdaki satırları ekleyin */
    pointer-events: none; /* Fare tıklamalarını engeller */
    user-select: none;    /* Seçilmesini engeller */
}
/* --- BİZ KİMİZ BÖLÜMÜ TASARIMI --- */
.about-section {
    padding: 100px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 30px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* İstatistikler Bölümü */
.about-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
}

.stat-label {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- ANIMASYON KODLARI --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Mobilde Düzenleme */
@media (max-width: 768px) {
    .about-section { padding: 60px 0; }
    .about-content h2 { font-size: 1.8rem; }
    .about-stats { gap: 30px; }
    .stat-number { font-size: 1.5rem; }
}