/* =========================================================
   WT34 HERO SLİDER (Premium Clip-Path Animasyonlu)
   ========================================================= */

.wt-hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-top: -1px;
    background-color: #000;
}

.wt-hero-slider > .container {
    height: 100%;
}

.wt-hero-slides-wrapper,
.wt-hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.wt-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    background-color: #000;
    color: #fff;
    transition: opacity 0.8s ease, visibility 0.8s;
    clip-path: none !important;
    -webkit-clip-path: none !important;
}

.wt-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* --- İçerik katmanı (görselin üstünde, tıklanabilir) --- */
.wt-hero-content-layer {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.wt-hero-content-layer > .container {
    width: 100%;
}

.wt-hero-slide-content {
    width: 42%;
    padding-right: 45px;
    color: #fff;
    pointer-events: auto;
}

.wt-hero-slide-content h5,
.wt-hero-slide-content h2,
.wt-hero-slide-content p,
.wt-hero-slide-content a {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.wt-hero-slide-content h5 {
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #aaa;
}

.wt-hero-slide-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffcb11;
}

.wt-hero-slide-content p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 35px;
    line-height: 1.6;
}

.wt-hero-slide.active .wt-hero-slide-content h5 { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.wt-hero-slide.active .wt-hero-slide-content h2 { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.wt-hero-slide.active .wt-hero-slide-content p  { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.wt-hero-slide.active .wt-hero-slide-content a  { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

/* --- Görsel katmanı — NABA clip-path animasyonu (GSAP/WtHeroFlow yönetir) --- */
.wt-hero-slide-visual {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 55%;
    height: 80%;
    z-index: 5;
    overflow: hidden;
    backface-visibility: hidden;
    will-change: clip-path;
    /* clip-path baslangici JS ile inline atanir; CSS transition GSAP ile catismasin diye yok */
}

/* Metin yoksa görsel tam ekran (full-bleed) */
.wt-hero-slide--full .wt-hero-slide-visual {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wt-hero-slide-visual img,
.wt-hero-slide-visual video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: center center;
    will-change: transform;
}

/* --- Video overlay --- */
.wt-hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    pointer-events: none;
}

/* --- Tema: Açık --- */
.wt-hero-slide.theme-light { background-color: #fff; color: #000; }
.wt-hero-slide.theme-light .wt-hero-slide-content h5 { color: #555; }
.wt-hero-slide.theme-light .wt-hero-slide-content h2 { color: #222; }
.wt-hero-slide.theme-light .wt-hero-slide-content p { color: #444; }
.wt-hero-slide.theme-light .wt-hero-btn-outline { border-color: #000; color: #000; }
.wt-hero-slide.theme-light .wt-hero-btn-outline:hover { background-color: #000; color: #fff; }

/* --- Buton --- */
.wt-hero-btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.wt-hero-btn-outline:hover,
.wt-hero-btn-outline:focus {
    background: #fff;
    color: #111;
    text-decoration: none;
}

/* --- Kontroller (noktalar) --- */
.wt-hero-slider-controls {
    position: absolute;
    bottom: 40px;
    left: 6%;
    z-index: 100;
}

.wt-hero-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wt-hero-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255,255,255,0.4);
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
}

.wt-hero-dot:hover { background-color: rgba(255,255,255,0.7); }

.wt-hero-dot.active {
    background-color: #fff;
    width: 10px;
    height: 10px;
    transform: translateY(-1px);
}

.wt-hero-slider.light-active .wt-hero-dot { background-color: rgba(0,0,0,0.25); }
.wt-hero-slider.light-active .wt-hero-dot:hover { background-color: rgba(0,0,0,0.5); }
.wt-hero-slider.light-active .wt-hero-dot.active { background-color: #000; }

/* h1/h2/h3 rengi slide tema'sından miras alsın */
.wt-hero-slide .h1,
.wt-hero-slide .h2,
.wt-hero-slide .h3,
.wt-hero-slide h1,
.wt-hero-slide h2,
.wt-hero-slide h3 { color: inherit; }

/* --- Responsive --- */
@media (max-width: 921px) {
    .wt-hero-slide-visual {
        height: 50%;
        top: 0;
        opacity: 0.4;
        width: 100%;
        right: 0;
    }
    /* Metin yoksa mobilde de tam ekran ve net (dim yok) */
    .wt-hero-slide--full .wt-hero-slide-visual {
        height: 100%;
        opacity: 1;
    }
    .wt-hero-slide-content h2 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    .wt-hero-slider { height: 480px; }

    .wt-hero-content-layer {
        align-items: flex-end;
        padding-bottom: 60px;
    }

    .wt-hero-slide-content {
        width: 100%;
        padding-right: 15px;
    }

    .wt-hero-slide-content h2 { font-size: 1.4rem; }

    .wt-hero-slide-content p { margin-bottom: 1.5rem; }

    .wt-hero-slider-controls { bottom: 20px; }
}
