/* DP Hero Slider — v1.1.0 — Birebir tasarım */

/* ── Wrapper ────────────────────────────────── */
.dp-hs-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #0d0d0b;
    user-select: none;
    font-family: 'Poppins', sans-serif;
}

/* ── Track (fade sistemi) ───────────────────── */
.dp-hs-track {
    position: relative;
    display: block;
    width: 100%;
}

/* ── Slide ──────────────────────────────────── */
.dp-hs-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.85s ease;
}
/* İlk slide wrapper yüksekliğini tutar */
.dp-hs-slide:first-child {
    position: relative;
}
.dp-hs-slide.active {
    opacity: 1;
    pointer-events: auto;
    animation: dpFadeIn 0.85s ease forwards;
}
@keyframes dpFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Gradient Overlay (soldan sağa, görseldeki gibi) */
.dp-hs-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10,10,8,0.92) 0%,
        rgba(10,10,8,0.75) 35%,
        rgba(10,10,8,0.30) 60%,
        rgba(10,10,8,0.08) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* ── İçerik alanı (sol taraf, dikey ortada) ── */
.dp-hs-body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
}

.dp-hs-content {
    max-width: 520px;
    padding: 56px 64px 40px 64px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ── Eyebrow ─────────────────────────────────── */
.dp-hs-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #C9A84C;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1;
}
.dp-hs-eyebrow i,
.dp-hs-eyebrow svg { font-size: 13px; }

/* ── Heading ─────────────────────────────────── */
.dp-hs-heading {
    margin: 0;
    line-height: 1.08;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-weight: 600;
}
.dp-hs-heading-white {
    display: block;
    color: #ffffff;
    font-size: clamp(2.4rem, 4.2vw, 4rem);
    font-style: normal;
}
.dp-hs-heading-gold {
    display: block;
    color: #C9A84C;
    font-size: clamp(2.4rem, 4.2vw, 4rem);
    font-style: italic;
}

/* ── Description ─────────────────────────────── */
.dp-hs-description {
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
    max-width: 380px;
}

/* ── Button ──────────────────────────────────── */
.dp-hs-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #C9A84C;
    border: 1.5px solid #C9A84C;
    background: transparent;
    padding: 13px 28px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    width: fit-content;
    margin-top: 4px;
}
.dp-hs-btn:hover {
    background: #C9A84C;
    color: #111;
}
.dp-hs-btn-arrow {
    width: 16px; height: 16px;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.dp-hs-btn:hover .dp-hs-btn-arrow { transform: translateX(4px); }

/* ══════════════════════════════════════════════
   FEATURES BAR — slide içinde, sol alt köşe
   Görselde: slide'ın alt şeridinde, sol tarafta
══════════════════════════════════════════════ */
.dp-hs-features {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    width: fit-content;               /* sadece içerik kadar genişlik */
    max-width: 60%;                   /* görseldeki gibi sol yarıda kalır */
    background: rgba(0,0,0,0.50);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(201,168,76,0.25);
}

.dp-hs-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-right: 1px solid rgba(255,255,255,0.10);
    flex-shrink: 0;
}
.dp-hs-feat-item:last-child { border-right: none; }

.dp-hs-feat-icon {
    color: #C9A84C;
    font-size: 20px;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(201,168,76,0.35);
    border-radius: 50%;
    flex-shrink: 0;
}
.dp-hs-feat-icon i,
.dp-hs-feat-icon svg { font-size: 14px; width: 14px; height: 14px; }

.dp-hs-feat-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dp-hs-feat-title {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}
.dp-hs-feat-desc {
    color: rgba(255,255,255,0.58);
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
}

/* ══════════════════════════════════════════════
   OKLAR — sağ alt köşe, kare küçük butonlar
   Görseldeki kırmızı kutu: sağ altta yan yana 2 kare
══════════════════════════════════════════════ */
.dp-hs-arrows {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: stretch;
}

.dp-hs-arrow {
    width: 52px;
    height: 52px;
    background: rgba(0,0,0,0.55);
    border: none;
    border-left: 1px solid rgba(255,255,255,0.12);
    color: #C9A84C;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
    padding: 0;
    flex-shrink: 0;
}
.dp-hs-arrow:first-child { border-left: none; }
.dp-hs-arrow svg { width: 18px; height: 18px; }
.dp-hs-arrow:hover {
    background: #C9A84C;
    color: #111;
}

/* ── Dots (opsiyonel, gizli varsayılan) ──────── */
.dp-hs-dots {
    position: absolute;
    bottom: 18px;
    left: 64px;
    display: flex;
    gap: 7px;
    z-index: 10;
}
.dp-hs-dot {
    width: 24px; height: 2px;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s;
}
.dp-hs-dot.active {
    background: #C9A84C;
    width: 42px;
}

/* ══════════════════════════════════════════════
   TABLET (≤ 1024px)
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .dp-hs-content {
        max-width: 70%;
        padding: 44px 40px 32px 40px;
    }
    .dp-hs-features {
        max-width: 80%;
    }
    .dp-hs-feat-item { padding: 12px 20px; }
    .dp-hs-dots { left: 40px; }
}

/* ══════════════════════════════════════════════
   MOBİL (≤ 767px)
══════════════════════════════════════════════ */
@media (max-width: 767px) {
    .dp-hs-slide {
        min-height: 100svh;
        background-position: center center;
    }

    /* Overlay mobilde daha koyu */
    .dp-hs-overlay {
        background: linear-gradient(
            to bottom,
            rgba(10,10,8,0.55) 0%,
            rgba(10,10,8,0.80) 60%,
            rgba(10,10,8,0.95) 100%
        );
    }

    .dp-hs-body {
        align-items: flex-end;
    }

    .dp-hs-content {
        max-width: 100%;
        padding: 24px 24px 20px 24px;
        gap: 14px;
    }

    .dp-hs-heading-white,
    .dp-hs-heading-gold {
        font-size: clamp(1.9rem, 9vw, 2.8rem);
    }

    .dp-hs-description {
        font-size: 13px;
        max-width: 100%;
    }

    /* Features bar mobilde yatay scroll veya tam genişlik */
    .dp-hs-features {
        max-width: 100%;
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .dp-hs-feat-item {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        padding: 12px 16px;
    }
    .dp-hs-feat-title,
    .dp-hs-feat-desc { white-space: normal; text-align: left; }

    /* Oklar mobilde features barın üstüne, ortada */
    .dp-hs-arrows {
        bottom: auto;
        right: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        gap: 12px;
        background: transparent;
    }
    .dp-hs-arrow {
        width: 44px; height: 44px;
        border: 1.5px solid rgba(201,168,76,0.60);
        border-left: 1.5px solid rgba(201,168,76,0.60);
        border-radius: 50%;
        background: rgba(0,0,0,0.45);
    }

    .dp-hs-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 14px;
    }
}

/* Elementor editörde features bar görünsün */
.elementor-editor-active .dp-hs-features {
    position: relative;
}
