/* Planet hero – scoped overrides only */

:root {
    --planet-hero-gutter: clamp(16px, 4vw, 12px);
}

.planet-home #xb-header-area .planet-header__wrap--overlay {
    background: transparent;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.planet-home #xb-header-area .main-menu__wrap {
    transform: none;
}

.planet-home .planet-main--home {
    margin-top: 0;
    padding-top: 0;
}

.hero-style--ocean.planet-hero__empty .xb-hero_content .sec-title .title {
    opacity: 1;
    transform: none;
}

.hero-style--ocean {
    z-index: 1;
    min-height: max(760px, 100vh);
    overflow: hidden;
}

.hero-style--ocean .hero-slider-wrap {
    position: relative;
    min-height: max(760px, 100vh);
}

.hero-style--ocean .hero-slider-item,
.hero-style--ocean .hero-slider-item .swiper-wrapper,
.hero-style--ocean .hero-slider-item .swiper-slide {
    min-height: max(760px, 100vh);
}

.hero-style--ocean .hero-slide-content {
    position: relative;
    min-height: max(760px, 100vh);
    padding: 0;
    display: flex;
    align-items: stretch;
}

.hero-style--ocean .hero-slider-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-style--ocean .hero-slider-bg::before {
    background: linear-gradient(
        120deg,
        rgba(10, 43, 80, 0.40) 0%,
        rgba(8, 34, 62, 0.26) 45%,
        rgba(6, 24, 46, 0.34) 100%
    );
}

.hero-style--ocean .hero-slider-bg--video::before {
    z-index: 2;
}

/* Ken Burns: yakından uzağa, başlangıç 1.3 yerine daha hafif */
@keyframes planet-hero-zoomout {
    0% {
        transform: scale(1.12);
    }
    100% {
        transform: scale(1);
    }
}

.hero-style--ocean .hero-slider-item .swiper-slide.swiper-slide-active .hero-slider-bg {
    animation: planet-hero-zoomout 12s linear forwards;
}

/* continuous scale on <video> causes jank */
.hero-style--ocean .hero-slider-item .swiper-slide.swiper-slide-active .hero-slider-bg--video {
    animation: none;
    transform: none;
    transition: none;
}

.hero-style--ocean .planet-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-style--ocean .planet-hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: clamp(110px, 14vh, 160px);
    padding-bottom: clamp(100px, 12vh, 130px);
    min-height: max(760px, 100vh);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-style--ocean .planet-hero__layout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
} 

.hero-style--ocean .xb-hero_content {
    margin: 0 auto;
    width: 100%;
    max-width: 920px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-style--ocean .xb-hero_content .sec-title {
    margin: 0;
    width: 100%;
}

.hero-style--ocean .xb-hero_content .sec-title .title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.08;
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-white);
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s var(--easing);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-style--ocean .hero-slider-item .swiper-slide.swiper-slide-active .xb-hero_content .sec-title .title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.hero-style--ocean .planet-hero__desc {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 22px auto 0;
    width: 100%;
    max-width: 42em;
    text-align: center;
    opacity: 0;
    transform: translateY(24px);
    transition: 0.6s var(--easing);
}

.hero-style--ocean .planet-hero__desc strong,
.hero-style--ocean .planet-hero__desc b {
    color: var(--planet-brand-secondary);
    font-weight: 600;
}

.hero-style--ocean .hero-slider-item .swiper-slide.swiper-slide-active .planet-hero__desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.55s;
}

.hero-style--ocean .hero-slider-item .swiper-slide.swiper-slide-active .planet-hero__cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.hero-style--ocean .planet-hero__cta {
    margin-top: 28px;
    width: auto;
    opacity: 0;
    transform: translateY(24px);
    transition: 0.6s var(--easing);
}

/* Intro sonrası slayt geçişlerinde CTA kaymadan görünür kalır */
.hero-style--ocean.planet-hero--intro-done .planet-hero__cta {
    transform: translateY(0);
    transition: opacity 0.35s var(--easing);
}

.hero-style--ocean.planet-hero--intro-done .hero-slider-item .swiper-slide.swiper-slide-active .planet-hero__cta {
    transition-delay: 0.1s;
}

/* Sol / sağ dikey ortalı navigasyon */
.hero-style--ocean .planet-hero__controls {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.hero-style--ocean .planet-hero__controls .hero-slide-btn {
    position: absolute;
    inset: 0;
    margin: 0;
    pointer-events: none;
}

.hero-style--ocean .planet-hero__controls .swiper-button-prev,
.hero-style--ocean .planet-hero__controls .swiper-button-next {
    position: absolute;
    top: 50%;
    margin: 0;
    height: 52px;
    width: 52px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    opacity: 0;
    transform: translateY(-50%) translateX(0);
    transition:
        opacity 0.45s var(--easing),
        background-color 0.16s ease,
        border-color 0.16s ease;
    pointer-events: auto;
    z-index: 5;
}

.hero-style--ocean .planet-hero__controls .swiper-button-prev {
    left: clamp(12px, 2.5vw, 40px);
    right: auto;
}

.hero-style--ocean .planet-hero__controls .swiper-button-next {
    right: clamp(12px, 2.5vw, 40px);
    left: auto;
}

.hero-style--ocean.planet-hero--intro-active .planet-hero__controls .swiper-button-prev,
.hero-style--ocean.planet-hero--intro-active .planet-hero__controls .swiper-button-next,
.hero-style--ocean.planet-hero--intro-done .planet-hero__controls .swiper-button-prev,
.hero-style--ocean.planet-hero--intro-done .planet-hero__controls .swiper-button-next {
    opacity: 1;
    transform: translateY(-50%);
}

.hero-style--ocean.planet-hero--intro-active .planet-hero__controls .swiper-button-prev {
    transition: opacity 0.45s var(--easing) 0.7s, background-color 0.16s ease 0s, border-color 0.16s ease 0s;
}

.hero-style--ocean.planet-hero--intro-active .planet-hero__controls .swiper-button-next {
    transition: opacity 0.45s var(--easing) 0.8s, background-color 0.16s ease 0s, border-color 0.16s ease 0s;
}

.hero-style--ocean .planet-hero__controls .swiper-button-prev::after,
.hero-style--ocean .planet-hero__controls .swiper-button-next::after {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
}

.hero-style--ocean .planet-hero__controls .swiper-button-prev:hover,
.hero-style--ocean .planet-hero__controls .swiper-button-next:hover {
    background: var(--planet-brand-secondary);
    border-color: var(--planet-brand-secondary);
}

.hero-style--ocean .planet-hero__thumbs-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-style--ocean .hero-swiper-inner {
    display: none;
}

@media (max-width: 1199.98px) {
    .hero-style--ocean .xb-hero_content .sec-title .title {
        font-size: clamp(32px, 4.5vw, 56px);
    }

    .hero-style--ocean .xb-hero_content {
        max-width: 760px;
    }
}

@media (max-width: 991.98px) {
    .hero-style--ocean,
    .hero-style--ocean .hero-slider-wrap,
    .hero-style--ocean .hero-slider-item,
    .hero-style--ocean .hero-slider-item .swiper-wrapper,
    .hero-style--ocean .hero-slider-item .swiper-slide,
    .hero-style--ocean .hero-slide-content,
    .hero-style--ocean .planet-hero__container {
        min-height: max(640px, 88vh);
    }

    .hero-style--ocean .planet-hero__container {
        padding-top: clamp(100px, 12vh, 140px);
        padding-bottom: clamp(88px, 10vh, 120px);
        padding-left: 56px;
        padding-right: 56px;
    }

    .hero-style--ocean .planet-hero__controls .swiper-button-prev,
    .hero-style--ocean .planet-hero__controls .swiper-button-next {
        height: 44px;
        width: 44px;
    }

    .hero-style--ocean .planet-hero__controls .swiper-button-prev {
        left: 10px;
    }

    .hero-style--ocean .planet-hero__controls .swiper-button-next {
        right: 10px;
    }
}

@media (max-width: 767.98px) {
    .hero-style--ocean,
    .hero-style--ocean .hero-slider-wrap,
    .hero-style--ocean .hero-slider-item,
    .hero-style--ocean .hero-slider-item .swiper-wrapper,
    .hero-style--ocean .hero-slider-item .swiper-slide,
    .hero-style--ocean .hero-slide-content,
    .hero-style--ocean .planet-hero__container {
        min-height: max(560px, 100svh);
    }

    .hero-style--ocean .planet-hero__container {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: clamp(96px, 14vh, 130px);
        padding-bottom: clamp(96px, 12vh, 120px);
    }

    .hero-style--ocean .xb-hero_content .sec-title .title {
        font-size: clamp(26px, 7vw, 40px);
        max-width: none;
        letter-spacing: 0.04em;
    }

    .hero-style--ocean .planet-hero__desc {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.6;
        max-width: 36em;
    }

    .hero-style--ocean .planet-hero__cta {
        margin-top: 22px;
    }

    .hero-style--ocean .planet-hero__controls .swiper-button-prev,
    .hero-style--ocean .planet-hero__controls .swiper-button-next {
        top: auto;
        bottom: 28px;
        transform: none;
        height: 42px;
        width: 42px;
    }

    .hero-style--ocean.planet-hero--intro-active .planet-hero__controls .swiper-button-prev,
    .hero-style--ocean.planet-hero--intro-active .planet-hero__controls .swiper-button-next,
    .hero-style--ocean.planet-hero--intro-done .planet-hero__controls .swiper-button-prev,
    .hero-style--ocean.planet-hero--intro-done .planet-hero__controls .swiper-button-next {
        transform: none;
    }

    .hero-style--ocean .planet-hero__controls .swiper-button-prev {
        left: calc(50% - 52px);
        right: auto;
    }

    .hero-style--ocean .planet-hero__controls .swiper-button-next {
        left: calc(50% + 10px);
        right: auto;
    }
}

@media (max-width: 575.98px) {
    .hero-style--ocean,
    .hero-style--ocean .hero-slider-wrap,
    .hero-style--ocean .hero-slider-item,
    .hero-style--ocean .hero-slider-item .swiper-wrapper,
    .hero-style--ocean .hero-slider-item .swiper-slide,
    .hero-style--ocean .hero-slide-content,
    .hero-style--ocean .planet-hero__container {
        min-height: max(520px, 100svh);
    }

    .hero-style--ocean .planet-hero__container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-style--ocean .xb-hero_content .sec-title .title {
        font-size: clamp(24px, 8vw, 34px);
        line-height: 1.15;
    }

    .hero-style--ocean .planet-hero__desc {
        font-size: 15px;
    }

    .hero-style--ocean .planet-hero__controls .swiper-button-prev,
    .hero-style--ocean .planet-hero__controls .swiper-button-next {
        height: 40px;
        width: 40px;
        bottom: 22px;
    }

    .hero-style--ocean .planet-hero__controls .swiper-button-prev::after,
    .hero-style--ocean .planet-hero__controls .swiper-button-next::after {
        font-size: 14px;
    }

    .planet-home #xb-header-area.header-transparent {
        top: 10px;
    }
}
