/* ============================================================
   SedixWeb Hero Slider — Muzaa Tarzı Lüks Stil
   ============================================================ */

/* --- Wrapper & Swiper Container --- */
.swhs-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.swhs-slider.swiper {
    width: 100%;
    height: 100vh; /* default, Elementor responsive override eder */
}

/* --- Her Slide --- */
.swhs-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

/* Parallax-benzeri scale efekti (fade geçişte) */
.swhs-slide::before {
    content: '';
    position: absolute;
    inset: -5%;
    background: inherit;
    background-size: cover;
    background-position: inherit;
    transform: scale(1.08);
    transition: transform 6s ease-out;
    z-index: 0;
}

.swiper-slide-active .swhs-slide::before,
.swhs-slide::before {
    transform: scale(1);
}

/* --- Overlay --- */
.swhs-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
    pointer-events: none;
}

/* --- İçerik Alanı --- */
.swhs-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;      /* yatay: varsayılan ortala */
    justify-content: center;  /* dikey: varsayılan ortala */
    padding: 40px 60px;
    box-sizing: border-box;
}

.swhs-content-inner {
    display: flex;
    flex-direction: column;
    align-items: inherit;
    text-align: center;
    animation: swhs-fadeUp 1s ease both;
    animation-delay: 0.3s;
}

/* Slide aktif değilken inner sıfırla */
.swiper-slide:not(.swiper-slide-active) .swhs-content-inner {
    animation: none;
    opacity: 0;
}

@keyframes swhs-fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Başlık --- */
.swhs-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', 'Times New Roman', serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* --- Alt Başlık --- */
.swhs-subtitle {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: clamp(0.65rem, 1.2vw, 0.85rem);
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin: 0 0 28px 0;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

/* --- Buton --- */
.swhs-btn {
    display: inline-block;
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.85);
    padding: 10px 32px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        transform 0.2s ease;
    white-space: nowrap;
}

.swhs-btn:hover {
    background: #ffffff;
    color: #1a1008;
    border-color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

/* --- Navigasyon Okları --- */
.swhs-btn-prev,
.swhs-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.25s ease;
    outline: none;
    padding: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.swhs-btn-prev {
    left: 28px;
}

.swhs-btn-next {
    right: 28px;
}

.swhs-btn-prev:hover,
.swhs-btn-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) scale(1.08);
}

.swhs-btn-prev svg,
.swhs-btn-next svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
    display: block;
    flex-shrink: 0;
}

/* --- Pagination Noktaları --- */
.swhs-slider-wrapper .swiper-pagination {
    bottom: 24px;
    z-index: 10;
}

.swhs-slider-wrapper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.swhs-slider-wrapper .swiper-pagination-bullet-active {
    background: #ffffff;
    width: 24px;
    border-radius: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .swhs-content {
        padding: 30px 40px;
    }
    .swhs-btn-prev { left: 16px; }
    .swhs-btn-next { right: 16px; }
}

/* Mobil */
@media (max-width: 767px) {
    .swhs-slider.swiper {
        height: 60vh;
    }
    .swhs-content {
        padding: 24px 24px;
    }
    .swhs-title {
        font-size: clamp(1.2rem, 6vw, 2rem);
        letter-spacing: 0.15em;
    }
    .swhs-subtitle {
        font-size: 0.6rem;
        letter-spacing: 0.25em;
    }
    .swhs-btn {
        padding: 9px 24px;
        font-size: 0.65rem;
    }
    .swhs-btn-prev,
    .swhs-btn-next {
        width: 36px;
        height: 36px;
    }
    .swhs-btn-prev svg,
    .swhs-btn-next svg {
        width: 14px;
        height: 14px;
    }
    .swhs-btn-prev { left: 12px; }
    .swhs-btn-next { right: 12px; }
}

/* Küçük Mobil */
@media (max-width: 480px) {
    .swhs-slider.swiper {
        height: 55vh;
    }
    .swhs-btn-prev,
    .swhs-btn-next {
        display: none; /* Küçük ekranda okları gizle — swipe yeterli */
    }
}

/* Elementor tam genişlik için */
.elementor-section.elementor-section-stretched .swhs-slider-wrapper,
.e-con.e-con-full-width .swhs-slider-wrapper {
    width: 100vw;
    margin-left: calc(-1 * ((100vw - 100%) / 2));
}
