/* =========================================
   0. GENEL AYARLAR VE SIFIRLAMALAR
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    background-color: #f0f2f5;
    overflow: hidden; /* JS ile animasyon bitince açılacak */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Chrome, Safari ve Opera için kesin scrollbar gizleme çözümü */
*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}

.reveal-up, .gallery-slide, .reveal-type, .footer-reveal {
    will-change: transform, opacity;
    /* Ekran kartını devreye sokar */
    transform: translateZ(0); 
}

/* --- MOBİL HAMBURGER İKONU (Sadece Mobilde Görünecek) --- */
.menu-toggle {
    display: none; /* Bilgisayarda gizli */
    flex-direction: column;
    cursor: pointer;
    z-index: 1001; /* Menünün üstünde kalması için */
    transition: all 0.3s ease;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 4px 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Üzerine gelince çizgiler hafif açılsın (Lüks detay) */
.menu-toggle:hover .bar {
    background-color: #ccc;
}
.menu-toggle:hover .bar:nth-child(1) { transform: translateY(-2px); }
.menu-toggle:hover .bar:nth-child(3) { transform: translateY(2px); }

/* =========================================
   1. AÇILIŞ EKRANI (SPLASH SCREEN)
========================================= */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff; 
    display: flex;
    justify-content: center; 
    align-items: center;     
    z-index: 9999;           
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.animation-wrapper {
    display: flex;
    justify-content: center; 
    align-items: center; 
    transform: translateX(-50px); 
}

.splash-logo {
    height: 70px; 
    margin-right: 20px;
}

.dot-origin {
    position: relative;
    display: flex;
    align-items: center;
}

.dot {
    width: 33px;
    height: 33px;
    background-color: #000000; 
    border-radius: 50%;
    position: relative; 
    top: 25px;          
}

.text-reveal-mask {
    position: absolute;
    left: 24px; 
    top: 125%; 
    transform: translate(0, -50%); 
    overflow: hidden;
    width: auto;
    animation: revealFromDot 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards 0.8s;
}

@font-face {
    font-family: 'ozelfont'; 
    src: url('fonts/LOT.otf') format('opentype');
}

.creative-text {
    color: #000000;
    font-size: 2rem;
    font-weight: 300;
    white-space: nowrap;
    transform: scaleX(0);
    transform-origin: left center; 
    opacity: 0;
    animation: textGrow 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards 0.8s;
    font-family: 'ozelfont', sans-serif;
}

@keyframes revealFromDot {
    0% { width: 0; padding-left: 0; }
    100% { width: 240px; padding-left: 15px; }
}

@keyframes textGrow {
    0% { transform: scaleX(0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: scaleX(1); opacity: 1; }
}

/* =========================================
   2. NAVBAR GENEL YAPISI
========================================= */
#navbar {
 position: absolute;
top: 0;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 50px;
z-index: 1000;
background-color: transparent;
transition: all 0.4s ease;

    

border-bottom: 1px solid rgba(255, 255, 255, 0.2);

}

/* Logo Ayarları */
.logo {
    display: flex; 
    align-items: center;
}

.logo img {
    height: 40px; 
    width: auto;
}




.logo .logo-white { display: block; }
.logo .logo-black { display: none; }

/* Menü Linkleri */
#navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

#navbar .nav-links a {
    color: #ffffff; 
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.4s ease;
}

#navbar .nav-links a:hover {
    color: #c3b1b1; /* Fareyle üzerine gelince parlasın */
}


.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px; /* Diğer menü linklerinden biraz daha ayrı dursun */
}

.lang-switch a {
    font-size: 0.9rem !important;
}

.active-lang {
    color: #fff !important; /* Seçili olan dil beyaz ve parlak */
    font-weight: 600 !important;
}

.lang-divider {
    color: #666; /* Araya koyduğumuz bölücü çizgi silik dursun */
    font-size: 0.9rem;
}


/* =========================================
   3. VİDEO BÖLÜMÜ (HERO SECTION)
========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    height: 100dvh; /* Mobil tarayıcılardaki adres çubuğu kaymalarını engeller, videoyu tam oturtur */
    width: 100%;
    overflow: hidden;
    z-index: 1; 
}
/* Videonun üzerindeki siyah perde (karartma efekti) */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 1, 1, 0.5); 
    z-index: 2; 
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* min-width yerine direkt %100 genişlik */
    height: 100%; /* min-height yerine direkt %100 yükseklik */
    object-fit: cover; /* Videonun en/boy oranını bozmadan ekranı kusursuz kaplamasını sağlar */
    z-index: -1;
}

.mobile-video { display: none; }

/* =========================================
   YENİ: AŞAĞI KAYDIR (OVAL MOUSE) ANİMASYONU
========================================= */

.hero-scroll {
    position: absolute;
    bottom: 30px; /* En alt orta kısma yapıştır */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    opacity: 0.4; /* Silik tutuyoruz */
    font-family: 'Montserrat', sans-serif;
    z-index: 5;
}

.scroll-text {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ccc;
    display: block;
    margin-bottom: 12px;
}

/* OVAL KAPSÜL/MOUSE YAPISI */
.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2); /* Çok silik beyaz kenarlık */
    border-radius: 12px; /* Köşeleri tam yuvarla (oval) */
    position: relative;
    margin: 0 auto;
}

/* KAPSÜLÜN İÇİNDEKİ HAREKETLİ DAİRE/TOP */
.scroll-dot {
    width: 4px; /* Topu bir tık daha zarif (küçük) yaptık */
    height: 4px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 6px; /* Başlangıç tavan noktası */
    left: 50%;
    margin-left: -2px; /* Tam ortalama */
    animation: scrollSmooth 2s ease-in-out infinite; 
}

/* --- ANİMASYON MATEMATİĞİ --- */
@keyframes scrollSmooth {
    0% {
        transform: translateY(0); 
        opacity: 0; 
    }
    20% {
        opacity: 1; 
    }
    70% {
        transform: translateY(18px); 
        opacity: 1;
    }
    90% {
        transform: translateY(22px); 
        opacity: 0; 
    }
    100% {
        transform: translateY(22px);
        opacity: 0; 
    }
}

/* =========================================
   4. ANA İÇERİK ALANI
========================================= */
#main-content {
    opacity: 0;
    transition: opacity 1s ease;
}

#main-content.fade-in {
    opacity: 1;
}


/* =========================================
   YENİ: MANİFESTO BÖLÜMÜ (Kayan Yazılı & Sola Hizalı)
========================================= */
/* Kayan Yazı Boyutunu Küçülttük */
.manifesto-section { 
    position: relative !important; 
    padding: 80px 10% 40px 10% !important; 
    width: 100vw !important;
    max-width: 100% !important;
    overflow: hidden !important; /* EKRANIN SAGA KAYMA HATASINI ÇÖZEN SİHİR BURASI */
    display: flex;
    flex-direction: column;
    background-color: #f4f4f4 !important;
}

.marquee-wrapper {
    position: absolute !important;
    top: 40px !important; /* Arka planda üstten biraz aşağıda başlasın */
    left: 0 !important;
    width: 100% !important;
    z-index: 0 !important; /* En arka katmana attık */
    pointer-events: none !important; /* Fare yazılara takılmasın, akıp gitsin */
}

/* Manifesto Metin Kapsayıcısı (Ön Katman) */
.manifesto-container {
    position: relative !important;
    z-index: 2 !important; 
    display: block !important; 
    
    /* İŞTE BURASI SOLA ALIYOR: "margin: 0 auto" (ortalama) kodunu sildik, sola sabitledik */
    margin: 0 !important; 
    text-align: left !important; /* Ne olursa olsun yazılar soldan başlasın */
    
    /* Konteynerin genişliğini kısıtlamayıp tam ekran açtık */
    max-width: 100% !important; 
}
.manifesto-title { 
    margin-bottom: 25px !important; 
}
/* "Minimalist Büyük" Başlık (Transforming Visions Into Reality) */
.reveal-type { 
    font-size: 2.2rem !important; /* 1.4'tü, şimdi ideal bir başlık boyutu oldu */
    letter-spacing: 0px !important; 
    font-weight: 700 !important; 
    line-height: 1.2 !important; 
    color: #111 !important;
}

.manifesto-content {
    display: flex;
    flex-direction: column;
    gap: 20px; 
}

.manifesto-content p { 
    font-size: 1.05rem !important; 
    line-height: 1.9 !important; 
    
    /* İŞTE BURASI SAĞA UZATIYOR: Sınırı kaldırdık, ekranın %90'ına kadar geniş ferah satırlar olacak */
    max-width: 90% !important; 
    
    color: #444 !important;
    font-weight: 300 !important;
}


/* =========================================
   YENİ: KİNETİK TİPOGRAFİ (MARQUEE) TASARIMI
========================================= */
.marquee-wrapper {
    overflow: hidden;
}

.marquee-row {
    white-space: nowrap; /* Yazıları tek satıra zorla */
    overflow: hidden; /* Taşmayı gizle */
    display: flex;
}

/* Tüm kayan yazılar için ortak ve temiz ayar */
.marquee-content {
    display: flex;
    font-size: 3.5rem; /* İnce ve kibar punto */
    font-weight: 200; 
    letter-spacing: 6px; /* Harfler arası ferah boşluk */
    line-height: 1.4; /* Yazının üstten/alttan kesilmesini engeller */
    padding: 15px 0; /* Güvenli alan */
    text-transform: uppercase; 
    color: #111; 
    opacity: 0.03; /* Silik, arka plan silüeti gibi */
}

/* --- SATIR AYARLARI --- */
/* Satır 1: Sağa akar */
/* Satır 1: Sağa akar */
.marquee-row-1 .marquee-content { opacity: 0.04; }

/* Satır 2: Sola akar */
.marquee-row-2 .marquee-content { opacity: 0.03; margin-top: -5px; }

/* Satır 3: Sağa akar */
.marquee-row-3 .marquee-content { opacity: 0.04; margin-top: -5px; }

/* Satır 4: Sola akar */
.marquee-row-4 .marquee-content { opacity: 0.03; margin-top: -5px; }



/* --- ANİMASYON MEKANİZMASI --- */
.marquee-right-to-left {
    animation: marqueeAnimationRightToLeft 60s linear infinite; /* Yavaş ve lüks akış */
}

.marquee-left-to-right {
    animation: marqueeAnimationLeftToRight 50s linear infinite; 
}

@keyframes marqueeAnimationRightToLeft {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); } 
}

@keyframes marqueeAnimationLeftToRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

/* =========================================
   YENİ: MODERN FOOTER TASARIMI
========================================= */
.premium-footer {
    background-color: #111; /* Asil, koyu bir siyah/antrasit */
    color: #fff;
    padding: 100px 12% 30px 12%;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; /* İlk sütun (logo) daha geniş, diğerleri eşit */
    gap: 60px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 25px;
}

.footer-motto {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
    max-width: 80%;
}

.footer-col h4 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a, .footer-address {
    color: #888;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    transition: color 0.3s ease;
    position: relative; /* Çizgi animasyonu için gerekli */
}

/* --- LİNK ANİMASYONU (SİHİRLİ ÇİZGİ) --- */
.footer-links a::after {
    content: '';
    position: absolute;
    width: 0; /* Başlangıçta çizgi yok */
    height: 1px; /* Çizgi kalınlığı */
    bottom: -4px; /* Yazının hemen altında */
    left: 0;
    background-color: #fff;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.footer-links a:hover {
    color: #fff; /* Üzerine gelince metin parlar */
}

.footer-links a:hover::after {
    width: 100%; /* Üzerine gelince çizgi soldan sağa uzar */
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Çok zarif bir ayırıcı çizgi */
    text-align: center;
    color: #555;
    font-size: 0.85rem;
    font-weight: 300;
}

/* --- ANİMASYON DURUMLARI (Aşağıdan Yukarı) --- */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

footer a {
    color: #aaaaaa; /* Linki tam beyaz yapar */
    text-decoration: none; /* Varsayılan o çirkin alt çizgiyi kaldırır */
    transition: color 0.3s ease; /* Fareyle üzerine gelindiğinde yumuşak bir geçiş sağlar */
}

footer a:hover {
    color: #ffffff; /* Fareyle üzerine gelince şık bir gümüş/gri tonuna döner */
}






/* =========================================
   5. RESPONSIVE (TÜM EKRAN BOYUTLARI)
========================================= */

/* ULTRA GENİŞ EKRANLAR (1920px, 2K/4K ve üzeri) */
@media screen and (min-width: 1920px) {
    #navbar { padding: 40px 12%; }
    .logo img { height: 50px; }

    /* Kutuları dar tutuyoruz ki minimalizm bozulmasın */
    .manifesto-container,
    .about-container { max-width: 1200px !important; } 

    /* Yazılar devasa DEĞİL, şık bir dergi boyutunda kalacak */
    .reveal-type { font-size: 3rem !important; letter-spacing: -1px !important; }
    .manifesto-content p { font-size: 1.1rem !important; max-width: 650px !important; }
    
   
    
    /* Dikey boşluklar */
    .manifesto-section { padding: 100px 10% 40px 10% !important; }
    
}

/* BÜYÜK MONİTÖRLER (1440px ve üzeri) */
@media screen and (min-width: 1440px) {
    #navbar { padding: 30px 8%; }
    .logo img { height: 45px; }

    .manifesto-container,
   

    .reveal-type { font-size: 2.5rem !important; }
    
}

/* TABLETLER VE KÜÇÜK LAPTOPLAR (1024px ve altı) */
@media screen and (max-width: 1024px) {
    #navbar { padding: 20px 5%; }
    #navbar .nav-links { gap: 20px; }

    /* Açılış Ekranı (Splash) */
    .splash-logo { height: 55px; } 
    .creative-text { font-size: 1.8rem; }
    .dot { width: 30px; height: 30px; top: 20px; }
    .text-reveal-mask { left: 20px; top: 38px; }

    /* Footer ve About Düzeni */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; } 
    .footer-motto { max-width: 100%; }

    .desktop-video { display: none; } /* Mobilde yatayı gizle */
    .mobile-video { display: block; } /* Mobilde dikey olanı göster */
    
    
}

/* BÜYÜK TELEFONLAR VE DİK TABLETLER (768px ve altı) */
@media screen and (max-width: 768px) {
    #navbar { padding: 15px 5%; }
    .logo img { height: 35px; }
    
    /* Mobil Menü (Buzlu Cam / Glassmorphism) */
    .menu-toggle { display: flex; z-index: 1001; }
    #navbar .nav-links {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 100%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.9); 
        backdrop-filter: blur(15px); 
        -webkit-backdrop-filter: blur(15px); 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.25, 1, 0.5, 1); 
        z-index: 1000;
        gap: 40px; 
    }
    #navbar .nav-links.active { right: 0; }
    #navbar .nav-links a { font-size: 2.2rem; font-weight: 300; letter-spacing: 3px; color: #fff; }

    /* Menü İkon 'X' Animasyonu */
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(10px) rotate(45deg); background-color: #fff; }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-10px) rotate(-45deg); background-color: #fff; }

    /* Manifesto ve Kayan Yazı Mobil Uyumu */
    .marquee-content { font-size: 2.5rem; letter-spacing: 2px; } 
    .manifesto-section { padding: 60px 8% 30px 8% !important; }
    
    .reveal-type { 
        font-size: 7vw !important; /* Ekran genişliğine göre orantılı küçülür */
        letter-spacing: -1px !important; 
        line-height: 1.2 !important;
    }
    .manifesto-content p { font-size: 0.9rem !important; }

    /* Footer Mobil */
    .premium-footer { padding: 60px 5% 30px 5%; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; } 
    .footer-logo { margin: 0 auto 20px auto; display: block; }
    .footer-links a::after { left: 50%; transform: translateX(-50%); } 

    .hero-section {
        height: 100vh; 
        min-height: -webkit-fill-available; /* iOS Safari için adres çubuğu hatasını çözer */
    }
    
   .desktop-video { display: none; } /* Mobilde yatayı gizle */
    .mobile-video { display: block; } /* Mobilde dikey olanı göster */
}

/* DAR TELEFONLAR (480px ve altı) */
@media screen and (max-width: 480px) {
    .logo img { height: 28px; } 
    .prominent-title h1 { font-size: 2.2rem; } 
    
    .manifesto-section { padding: 50px 6% 20px 6% !important; } 
    .reveal-type { font-size: 8.5vw !important; }
   
    
    .splash-logo { height: 50px; } 
    .creative-text { font-size: 1.5rem; } 
    .dot { width: 28px; height: 28px; top: 15px; }
    .text-reveal-mask { left: 18px; top: 32px; }
}