/* Special Marble — ana sayfa hero/slayt (scoped) */

.sm-hero {
    --sm-hero-gutter: var(--sm-site-gutter, 80px);
    --sm-hero-controls-size: 44px;
    --sm-hero-controls-gap: 16px;
    --sm-hero-content-lift: 56px;
    position: relative;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.sm-hero__frame {
    position: relative;
    width: 100%;
    height: 100vh;
    border-radius: 0;
    overflow: hidden;
    background: var(--color-black, #221F20);
    isolation: isolate;
}

.sm-hero-swiper,
.sm-hero-swiper .swiper-wrapper,
.sm-hero__slide {
    width: 100%;
    height: 100%;
}

.sm-hero__slide {
    position: relative;
    overflow: hidden;
}

.sm-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.sm-hero__media-inner {
    width: 100%;
    height: 100%;
    transform: scale(1.1);
    transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.swiper-slide-active .sm-hero__media-inner {
    transform: scale(1);
}

.sm-hero__poster,
.sm-hero__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sm-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    background: var(--color-black, #221F20);
}

.sm-hero__video.is-ready {
    opacity: 1;
}

.sm-hero__video--embed {
    border: 0;
    pointer-events: none;
}

.sm-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(115deg, rgba(34, 31, 32, 0.48) 0%, rgba(34, 31, 32, 0.2) 42%, rgba(34, 31, 32, 0.06) 68%),
        linear-gradient(0deg, rgba(34, 31, 32, 0.52) 0%, rgba(34, 31, 32, 0.14) 38%, rgba(34, 31, 32, 0.02) 100%);
    pointer-events: none;
}

.sm-hero__content {
    position: absolute;
    left: var(--sm-hero-gutter);
    right: auto;
    bottom: calc(var(--sm-hero-gutter) + var(--sm-hero-controls-size) + var(--sm-hero-content-lift));
    z-index: 2;
    max-width: min(760px, calc(100% - (var(--sm-hero-gutter) * 2)));
    padding: 0;
    color: #fff;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.85s ease 0.12s, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
    pointer-events: none;
}

.swiper-slide-active .sm-hero__content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sm-hero__eyebrow {
    margin: 0 0 14px;
    font-family: var(--font-primary, 'Avagardd', sans-serif);
    font-size: clamp(10px, 1.1vw, 12px);
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.4;
}

.sm-hero__title {
    margin: 0 0 18px;
    font-family: var(--font-primary, 'Avagardd', sans-serif);
    font-size: clamp(28px, 4.8vw, 58px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.02em;
    color: #fff;
    text-wrap: balance;
}

.sm-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--color-primary, #BC9632);
    color: #fff;
    font-family: var(--font-primary, 'Avagardd', sans-serif);
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}

.sm-hero__cta i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.sm-hero__cta:hover,
.sm-hero__cta:focus-visible {
    color: var(--color-primary, #BC9632);
    border-color: rgba(188, 150, 50, 0.65);
}

.sm-hero__cta:hover i,
.sm-hero__cta:focus-visible i {
    transform: translateX(4px);
}

.sm-hero__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--sm-hero-gutter);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    padding: 0 var(--sm-hero-gutter);
    min-height: var(--sm-hero-controls-size);
}

.sm-hero__pagination.swiper-pagination {
    position: static;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    pointer-events: auto;
}

.sm-hero__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border-radius: 0;
    background: var(--color-secondary, #BCB7A9);
    opacity: 1;
    transition: background 0.3s ease;
}

.sm-hero__pagination .swiper-pagination-bullet-active {
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: var(--color-primary, #BC9632);
    transform: none;
}

.sm-hero__arrows {
    position: absolute;
    right: var(--sm-hero-gutter);
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
}

.sm-hero__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--sm-hero-controls-size);
    height: var(--sm-hero-controls-size);
    padding: 0;
    border: 1px solid var(--color-secondary, #BCB7A9);
    border-radius: 0;
    background: #bcb7a947;
    color: var(--color-secondary, #BCB7A9);
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.sm-hero__arrow i {
    font-size: 14px;
    line-height: 1;
}

.sm-hero__arrow:hover,
.sm-hero__arrow:focus-visible {
    border-color: var(--color-primary, #BC9632);
    background: rgba(34, 31, 32, 0.55);
    color: var(--color-primary, #BC9632);
}

.sm-hero__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

@media screen and (max-width: 1099px) {
    .sm-hero__title {
        font-size: clamp(26px, 4.2vw, 48px);
    }
}

@media screen and (max-width: 991px) {
    .sm-hero__video,
    .sm-hero__video--embed {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    .sm-hero {
        --sm-hero-controls-size: 40px;
        --sm-hero-controls-gap: 12px;
        --sm-hero-content-lift: 72px;
    }

    .sm-hero__content {
        max-width: calc(100% - (var(--sm-hero-gutter) * 2));
        bottom: calc(var(--sm-hero-gutter) + (var(--sm-hero-controls-size) * 2) + var(--sm-hero-content-lift) + 14px);
    }

    .sm-hero__controls {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        min-height: auto;
    }

    .sm-hero__arrows {
        position: static;
        right: auto;
    }
}

@media screen and (max-width: 575px) {
    .sm-hero__eyebrow {
        letter-spacing: 0.2em;
        margin-bottom: 10px;
    }

    .sm-hero__title {
        margin-bottom: 14px;
    }

    .sm-hero__cta {
        letter-spacing: 0.08em;
        gap: 10px;
    }
}

@media screen and (max-width: 375px) {
    .sm-hero {
        --sm-hero-content-lift: 72px;
    }
}
