/* 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;
}

.hero-style--ocean .planet-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.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: stretch;
}

.hero-style--ocean .planet-hero__layout {
    width: 100%;
    min-height: calc(max(760px, 100vh) - clamp(210px, 26vh, 290px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    grid-template-rows: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-style--ocean .planet-hero__title-col {
    grid-column: 1;
    align-self: center;
    padding: 0;
}

.hero-style--ocean .planet-hero__desc-col {
    grid-column: 2;
    justify-self: end;
    align-self: end;
    width: 100%;
    max-width: 340px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-style--ocean .planet-hero__social-rail {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.hero-style--ocean .planet-hero__social-rail-inner {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-style--ocean .planet-hero__social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    pointer-events: auto;
}

.hero-style--ocean .planet-hero__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    opacity: 0;
    transform: translateX(24px);
    transition:
        opacity 0.45s var(--easing),
        transform 0.45s var(--easing),
        background-color 0.16s ease,
        border-color 0.16s ease,
        color 0.16s ease;
}

.hero-style--ocean.planet-hero--intro-active .planet-hero__social-link,
.hero-style--ocean.planet-hero--intro-done .planet-hero__social-link {
    opacity: 1;
    transform: translateX(0);
}

/* Intro animasyonu: sadece görünürlük/konum geciksin, hover anında tepki versin */
.hero-style--ocean.planet-hero--intro-active .planet-hero__social-link:nth-child(1) { transition: opacity 0.45s var(--easing) 0.65s, transform 0.45s var(--easing) 0.65s, background-color 0.16s ease 0s, border-color 0.16s ease 0s, color 0.16s ease 0s; }
.hero-style--ocean.planet-hero--intro-active .planet-hero__social-link:nth-child(2) { transition: opacity 0.45s var(--easing) 0.72s, transform 0.45s var(--easing) 0.72s, background-color 0.16s ease 0s, border-color 0.16s ease 0s, color 0.16s ease 0s; }
.hero-style--ocean.planet-hero--intro-active .planet-hero__social-link:nth-child(3) { transition: opacity 0.45s var(--easing) 0.79s, transform 0.45s var(--easing) 0.79s, background-color 0.16s ease 0s, border-color 0.16s ease 0s, color 0.16s ease 0s; }
.hero-style--ocean.planet-hero--intro-active .planet-hero__social-link:nth-child(4) { transition: opacity 0.45s var(--easing) 0.86s, transform 0.45s var(--easing) 0.86s, background-color 0.16s ease 0s, border-color 0.16s ease 0s, color 0.16s ease 0s; }
.hero-style--ocean.planet-hero--intro-active .planet-hero__social-link:nth-child(5) { transition: opacity 0.45s var(--easing) 0.93s, transform 0.45s var(--easing) 0.93s, background-color 0.16s ease 0s, border-color 0.16s ease 0s, color 0.16s ease 0s; }
.hero-style--ocean.planet-hero--intro-active .planet-hero__social-link:nth-child(6) { transition: opacity 0.45s var(--easing) 1s, transform 0.45s var(--easing) 1s, background-color 0.16s ease 0s, border-color 0.16s ease 0s, color 0.16s ease 0s; }

.hero-style--ocean.planet-hero--intro-done .planet-hero__social-link {
    transition-delay: 0s;
}

.hero-style--ocean .planet-hero__social-link:hover,
.hero-style--ocean .planet-hero__social-link:focus-visible {
    background: var(--planet-brand-secondary);
    border-color: var(--planet-brand-secondary);
    color: #ffffff;
    transform: translateX(0) translateY(-1px);
}

.hero-style--ocean .planet-hero__icon-x {
    display: block;
    width: 16px;
    height: 16px;
}

.hero-style--ocean .xb-hero_content {
    margin-left: 0;
    margin-right: 0;
}

.hero-style--ocean .xb-hero_content .sec-title .title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 7vw, 100px);
    line-height: 1.08;
    max-width: 14ch;
    color: var(--color-white);
    margin: 0;
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s var(--easing);
}

.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: 0;
    width: 100%;
    text-align: left;
    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: 20px;
    width: 100%;
    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;
}

.hero-style--ocean .planet-hero__bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(36px, 6vh, 72px);
    z-index: 4;
    pointer-events: none;
}

.hero-style--ocean .planet-hero__controls {
    pointer-events: auto;
}

.hero-style--ocean .planet-hero__controls .hero-slide-btn {
    position: relative;
    display: flex;
    gap: 12px;
}

.hero-style--ocean .planet-hero__controls .swiper-button-prev,
.hero-style--ocean .planet-hero__controls .swiper-button-next {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin: 0;
    height: 44px;
    width: 44px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.45s var(--easing),
        transform 0.45s var(--easing),
        background-color 0.16s ease,
        border-color 0.16s ease;
}

.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(0);
}

/* Intro animasyonu: okların görünmesi geciksin, hover anında tepki versin */
.hero-style--ocean.planet-hero--intro-active .planet-hero__controls .swiper-button-prev {
    transition: opacity 0.45s var(--easing) 0.7s, transform 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, transform 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: 15px;
    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(42px, 6vw, 72px);
    }
}

@media (max-width: 991.98px) {
    .hero-style--ocean .planet-hero__layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        align-items: start;
        min-height: auto;
        gap: 28px;
    }

    .hero-style--ocean .planet-hero__title-col {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
    }

    .hero-style--ocean .planet-hero__desc-col {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
        align-self: start;
        max-width: 520px;
        margin-top: 0;
    }
}

@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: 680px;
    }

    .hero-style--ocean .planet-hero__bottom {
        bottom: 28px;
    }

    .hero-style--ocean .xb-hero_content .sec-title .title {
        font-size: clamp(36px, 9vw, 52px);
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .hero-style--ocean .xb-hero_content .sec-title .title {
        font-size: clamp(36px, 10vw, 48px);
        line-height: 1.12;
    }

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

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