﻿/* =====================================================
   HEADER (VIDEO ÜSTÜ) + SCROLL/LOGO SWITCH (GÜÇLÜ OVERRIDE)
   Not: Mobil menü yapısına dokunmaz
===================================================== */
html, body {
    height: auto !important;
    overflow-x: hidden;
}

#siteHeader.header--sticky.header-one {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999 !important;
}

/* Başlangıç: transparan */
#siteHeader .header-main-one {
    background: transparent !important;
    transition: background .25s ease, box-shadow .25s ease;
}

/* Menü yazıları başlangıçta beyaz */
#siteHeader .mainmenu > li > a {
    color: #fff !important;
    transition: color .25s ease;
}

/* Menü buton ikonları (video üstünde açık ikon görünsün) */
#siteHeader .menu-dark {
    display: none;
}

#siteHeader .menu-light {
    display: inline-block;
}

/* Logo varsayılan */
#siteHeader .logo-white {
    display: block !important;
}

#siteHeader .logo-color {
    display: none !important;
}

/* Hover (scroll yokken) */
#siteHeader:not(.is-scrolled):hover .header-main-one {
    background: #fff !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08) !important;
}

#siteHeader:not(.is-scrolled):hover .mainmenu > li > a {
    color: #111 !important;
}

#siteHeader:not(.is-scrolled):hover .logo-white {
    display: none !important;
}

#siteHeader:not(.is-scrolled):hover .logo-color {
    display: block !important;
}

#siteHeader:not(.is-scrolled):hover .menu-dark {
    display: inline-block;
}

#siteHeader:not(.is-scrolled):hover .menu-light {
    display: none;
}

/* Scroll sonrası: her zaman beyaz */
#siteHeader.is-scrolled .header-main-one {
    background: #fff !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08) !important;
}

#siteHeader.is-scrolled .mainmenu > li > a {
    color: #111 !important;
}

#siteHeader.is-scrolled .logo-white {
    display: none !important;
}

#siteHeader.is-scrolled .logo-color {
    display: block !important;
}

#siteHeader.is-scrolled .menu-dark {
    display: inline-block;
}

#siteHeader.is-scrolled .menu-light {
    display: none;
}


/* =====================================================
   FULL SCREEN SLIDER (VIDEO)
===================================================== */

html, body {
    height: 100%;
}

.rts-banner-area,
.hero-slider,
.swiper,
.swiper-wrapper,
.swiper-slide {
    height: 100vh !important;
}

.slide-inner {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Video */
.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Üstten alta karartı (menü okunurluğu) */
.slide-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient( to bottom, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.14) 40%, rgba(0,0,0,0.18) 70%, rgba(0,0,0,0.32) 100% );
}

/* ALT KISIM “BLUR HİSSİ” (videoyu blur’lamaz, kasmaz)
   Sadece altta yumuşak bir haze oluşturur */
.slide-inner::before {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -12%;
    height: 40%;
    z-index: 1;
    pointer-events: none;
    background: rgba(0,0,0,0.22);
    filter: blur(18px);
    opacity: .9;
}

/* İçerik üstte */
.slide-inner .container {
    position: relative;
    z-index: 2;
}


/* =====================================================
   SCROLL INDICATOR
===================================================== */

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 3;
    width: 44px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: scrollBounce 1.6s infinite;
}

    .scroll-indicator .mouse {
        width: 26px;
        height: 42px;
        border: 2px solid rgba(255,255,255,0.75);
        border-radius: 20px;
        position: relative;
        display: block;
    }

    .scroll-indicator .wheel {
        width: 4px;
        height: 8px;
        background: rgba(255,255,255,0.9);
        border-radius: 2px;
        position: absolute;
        left: 50%;
        top: 9px;
        transform: translateX(-50%);
        animation: wheelMove 1.2s infinite;
    }

@keyframes wheelMove {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    60% {
        transform: translate(-50%, 14px);
        opacity: .3;
    }

    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes scrollBounce {
    0%,100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}






:root {
    --text: #0e1a2b;
    --muted: #5e6b7d;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: #fff;
}

.promo {
    padding: clamp(40px, 6vw, 90px) 0;
}

.promo__container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
}

.promo__title {
    margin: 0 0 18px 0;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.promo__titleStrong {
    display: block;
    font-weight: 800;
    font-size: clamp(34px, 4.4vw, 62px);
}

.promo__titleThin {
    display: block;
    font-weight: 300;
    font-size: clamp(34px, 4.4vw, 52px);
    color: #162742;
}

.promo__text {
    margin: 0 0 14px 0;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.85;
    max-width: 560px;
}

    .promo__text b {
        color: var(--text);
        font-weight: 800;
    }

/* SAĞ: ÇERÇEVESİZ / HAFİF */
.promo__right {
    /* çok hafif giriş animasyonu (performans dostu) */
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp .55s ease forwards;
    animation-delay: .08s;
    will-change: transform, opacity;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.promo__image {
    width: 100%;
    height: min(420px, 46vw);
    display: block;
    object-fit: cover; /* kırpmasın istersen contain yap */
    border-radius: 0; /* çerçeve yok */
    box-shadow: none; /* gölge yok */
    background: #f2f4f7; /* görsel yüklenene kadar boşluk rengi */
    transform: translateZ(0);
    /* İstersen hover zoom kapatılabilir (aşağıdaki iki satırı silebilirsin) */
    transition: transform .6s ease;
    will-change: transform;
}

    .promo__image:hover {
        transform: scale(1.02);
    }

/* Responsive */
@media (max-width: 980px) {
    .promo__container {
        grid-template-columns: 1fr;
    }

    .promo__image {
        height: 320px;
    }
}

@media (max-width: 560px) {
    .promo__image {
        height: 260px;
    }
}

/* Hareket azaltmayı tercih edenler için */
@media (prefers-reduced-m .promo__image {
    animation: heartbeat 4s ease-in-out infinite; transform-origin: center; will-change: transform;
}

/* Yumuşak, çift atış efekti */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    6% {
        transform: scale(1.02);
    }

    12% {
        transform: scale(1);
    }

    18% {
        transform: scale(1.015);
    }

    24% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}


