/* ============================================================
   Hero Luxury Slider — JamesEdition Style
   Full-viewport, dark-left gradient, line indicators
   ============================================================ */

/* ---- Header overlay (transparent on hero) ---- */
.hero-header-overlay {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.3s ease;
}

.hero-header-overlay:not(.header-fixed) {
    position: absolute !important;
    background: linear-gradient(180deg, rgb(2 37 31) 0%, rgba(0, 0, 0, 0) 60%);
}

.hero-header-overlay .realestate-header-container {
    background: transparent;
}

.realestate-header.home1 .realestate-header-container {
    padding: 20px 0;
}

.hero-header-overlay .realestate-header-logo img {
    filter: brightness(1.2);
}

/* ---- Section ---- */
.hero-luxury-landing {
    height: 70vh;
    min-height: 600px;
    max-height: 780px;
}

/* ---- Slides ---- */
.hero-luxury-background-slider {
    top: 0;
    left: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    animation: none;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1),
                transform 6s ease;
}

/* ---- Gradient overlay ---- */
.hero-luxury-gradient {
    top: 0;
    left: 0;
    background:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.45) 45%,
            rgba(0, 0, 0, 0.12) 75%,
            rgba(0, 0, 0, 0.04) 100%
        ),
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.25) 35%,
            transparent 65%
        );
}

/* ---- Content layer ---- */
.hero-luxury-content-layer {
    top: 0;
    left: 0;
    z-index: 10;
}

/* ---- Bottom bar ---- */
.hero-bottom-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 64px 56px;
    gap: 48px;
}

/* ---- Left content ---- */
.hero-content-left {
    flex: 1;
    max-width: 720px;
}

/* Eyebrow */
.hero-eyebrow-text {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    opacity: 0.65;
    font-weight: 500;
}

/* Title */
.hero-luxury-title {
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 0;
}

.hero-luxury-accent {
    font-weight: 700;
}

/* Stats row */
.hero-stats-row {
    display: flex;
    align-items: center;
}

.hero-stats-text {
    font-size: 1rem;
    letter-spacing: 0rem;
    /* text-transform: uppercase; */
    opacity: 0.55;
    font-weight: 400;
}

/* ---- Right content (controls) ---- */
.hero-content-right {
    flex-shrink: 0;
    padding-bottom: 2px;
}

/* Slide line indicators */
.hero-slide-lines {
    margin-bottom: 14px;
    gap: 8px !important;
}

.hero-slide-line {
    width: 28px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: width 0.35s ease, background 0.35s ease;
    border: none;
    padding: 0;
    display: block;
    flex-shrink: 0;
}

.hero-slide-line.active {
    width: 48px;
    background: #ffffff;
}

.hero-slide-line:hover:not(.active) {
    background: rgba(255, 255, 255, 0.6);
}

/* Arrow navigation */
.hero-nav-arrows {
    gap: 10px !important;
}

.hero-luxury-prev,
.hero-luxury-next {
    width: 46px;
    height: 46px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #ffffff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    padding: 0;
    line-height: 1;
}

.hero-luxury-prev:hover,
.hero-luxury-next:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.65);
}

.hero-luxury-prev:focus,
.hero-luxury-next:focus {
    outline: none;
}

/* ---- Legacy .hero-dot (kept for any other use) ---- */
.hero-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active,
.hero-dot:hover {
    background: white;
    transform: scale(1.2);
}

/* ---- Video slide (background olarak Vimeo iframe) ---- */
.hero-slide-video {
    background: #000;
    transform: none;
}

.hero-slide-video.active {
    transform: none;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Vimeo iframe'i 16:9 oranında ekranı kapsayacak şekilde merkeze al
   (cover davranışı: viewport'un kısa kenarı tam dolar, uzun kenar taşıp kırpılır). */
.hero-video-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw;       /* 100vw * 9/16 */
    min-width: 177.78vh;   /* 100vh * 16/9 */
    min-height: 100vh;
    border: 0;
    pointer-events: none;
}

/* Aktif slayt açıklaması - okların altında, sağa hizalı sade metin */
.hero-slide-caption {
    margin-top: 14px;
    max-width: 360px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-align: right;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* ---- Slide transition animations ---- */
@keyframes heroKenBurns {
    from { transform: scale(1.04); }
    to   { transform: scale(1); }
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    .hero-luxury-title {
        font-size: 3.75rem;
    }

    .hero-bottom-bar {
        padding: 0 48px 48px;
    }
}

@media (max-width: 992px) {
    .hero-luxury-title {
        font-size: 3rem;
    }

    .hero-bottom-bar {
        padding: 0 36px 40px;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hero-luxury-landing {
        height: 65vh;
        min-height: 420px;
    }

    .hero-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 24px 32px;
        gap: 20px;
    }

    .hero-luxury-title {
        font-size: 2.4rem;
    }

    .hero-content-right {
        align-self: stretch;
        width: 100%;
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero-slide-caption {
        width: 100%;
        max-width: 100%;
        text-align: left;
        margin-top: 10px;
        font-size: 0.68rem;
    }

    .hero-slide-lines {
        margin-bottom: 0 !important;
        flex: 1 1 auto;
        min-width: 0;
        flex-wrap: wrap;
        max-width: calc(100% - 110px);
        row-gap: 6px;
    }
    .hero-slide-line {
        width: 22px;
    }
    .hero-slide-line.active {
        width: 36px;
    }

    .hero-nav-arrows {
        flex: 0 0 auto;
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    .hero-luxury-landing {
        height: 65vh;
        min-height: 380px;
    }

    .hero-luxury-title {
        font-size: 1.95rem;
    }

    .hero-bottom-bar {
        padding: 0 20px 28px;
    }

    .hero-luxury-prev,
    .hero-luxury-next {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
}

/* ---- Legacy hero-slider-section (kept for other pages) ---- */
.hero-slider-section {
    width: 100%;
    min-height: 40vh;
    max-height: 50vh;
    overflow: visible;
    position: relative;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 3rem;
    z-index: 100;
    pointer-events: none;
}

.hero-prev,
.hero-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.hero-slider-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 100;
}
