/* =========================================================
   SURVIVOR'S CHAPEL INTERNATIONAL
   Premium Homepage Hero Slideshow
   ========================================================= */

.hero-slideshow {
    position: relative;
    min-height: calc(100vh - 76px);
    height: min(900px, calc(100vh - 76px));
    overflow: hidden;
    isolation: isolate;
    background: #10051f;
}

.hero-slides,
.hero-slide,
.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slides {
    z-index: -3;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition:
        opacity 1.25s ease,
        visibility 1.25s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    object-fit: cover;
    object-position: center center;
    transform: scale(1.04);
    transition: transform 7s cubic-bezier(.2,.65,.25,1);
    will-change: transform;
}

.hero-slide.is-active img {
    transform: scale(1.10);
}

/* Rich purple-black cinematic overlay. */
.hero-slideshow .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg,
            rgba(12, 2, 24, .78) 0%,
            rgba(20, 4, 35, .54) 34%,
            rgba(22, 4, 37, .18) 67%,
            rgba(8, 2, 18, .34) 100%),
        linear-gradient(0deg,
            rgba(7, 1, 15, .62) 0%,
            rgba(7, 1, 15, .04) 48%,
            rgba(7, 1, 15, .20) 100%);
}

.hero-slideshow-content {
    position: relative;
    z-index: 3;
    width: min(900px, 92%);
    margin: 0 auto;
    padding-top: clamp(80px, 12vh, 135px);
    padding-bottom: 125px;
    text-align: left;
}

.hero-slideshow .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px;
    border: 1px solid rgba(232, 190, 86, .75);
    border-radius: 999px;
    background: rgba(17, 4, 31, .42);
    backdrop-filter: blur(8px);
    color: #f0ca67;
    letter-spacing: .16em;
    font-size: .72rem;
    font-weight: 700;
}

.hero-slideshow h1 {
    max-width: 720px;
    margin: 20px 0 16px;
    font-size: clamp(2.8rem, 5.8vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.045em;
    text-shadow: 0 12px 40px rgba(0,0,0,.45);
}

.hero-slideshow h1 span {
    color: #e6bd59;
}

.hero-slideshow p {
    max-width: 600px;
    font-size: clamp(.98rem, 1.25vw, 1.12rem);
    line-height: 1.75;
    color: rgba(255,255,255,.9);
}

.hero-slideshow .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-slide-controls {
    position: absolute;
    z-index: 5;
    right: clamp(20px, 5vw, 70px);
    bottom: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(13, 2, 25, .42);
    color: #fff;
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
    transition: .25s ease;
    backdrop-filter: blur(8px);
}

.hero-arrow:hover {
    border-color: #e6bd59;
    color: #e6bd59;
    transform: translateY(-2px);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: .3s ease;
}

.hero-dot.is-active {
    width: 28px;
    background: #e6bd59;
    box-shadow: 0 0 12px rgba(230,189,89,.5);
}

.hero-slideshow .hero-scroll {
    z-index: 5;
}

@media (max-width: 768px) {
    .hero-slideshow {
        min-height: calc(100svh - 68px);
        height: calc(100svh - 68px);
    }

    .hero-slide img {
        object-position: center center;
    }

    .hero-slideshow-content {
        width: 90%;
        padding-top: 100px;
        padding-bottom: 130px;
    }

    .hero-slideshow h1 {
        font-size: clamp(2.8rem, 13vw, 4.6rem);
    }

    .hero-slideshow p {
        font-size: .98rem;
        line-height: 1.6;
    }

    .hero-slide-controls {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 35px;
    }

    .hero-arrow {
        width: 38px;
        height: 38px;
    }

    .hero-dot:nth-child(n+7) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide img,
    .hero-arrow,
    .hero-dot {
        transition: none !important;
    }
}


/* Final visual polish: keep the photography dominant and the text readable. */
@media (min-width: 769px) {
    .hero-slideshow-content {
        margin-left: clamp(55px, 9vw, 150px);
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero-slideshow-content {
        padding-top: 85px;
    }

    .hero-slideshow h1 {
        font-size: clamp(2.55rem, 11vw, 4.2rem);
    }
}


/* =========================================================
   PREMIUM WELCOME SECTION
   ========================================================= */

.welcome-section-premium {
    position: relative;
    padding: clamp(70px, 9vw, 125px) 0;
    background:
        radial-gradient(circle at 10% 15%, rgba(117, 45, 155, .14), transparent 34%),
        linear-gradient(135deg, #fbf9fd 0%, #ffffff 55%, #f7f2fa 100%);
    overflow: hidden;
}

.welcome-premium-wrap {
    width: min(1180px, 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    min-height: 560px;
    align-items: stretch;
    box-shadow: 0 28px 80px rgba(32, 8, 55, .12);
}

.welcome-photo-panel {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #160622;
}

.welcome-photo-panel img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 8s ease;
}

.welcome-premium-wrap:hover .welcome-photo-panel img {
    transform: scale(1.045);
}

.welcome-photo-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(18, 3, 30, .08), rgba(18, 3, 30, .62)),
        linear-gradient(90deg, rgba(18, 3, 30, .06), rgba(18, 3, 30, .28));
}

.welcome-photo-badge {
    position: absolute;
    left: 30px;
    bottom: 30px;
    padding: 18px 22px;
    border-left: 3px solid #e6bd59;
    background: rgba(15, 3, 27, .66);
    backdrop-filter: blur(10px);
    color: #fff;
    letter-spacing: .13em;
}

.welcome-photo-badge strong,
.welcome-photo-badge span {
    display: block;
}

.welcome-photo-badge strong {
    color: #e6bd59;
    font-size: .78rem;
}

.welcome-photo-badge span {
    margin-top: 5px;
    font-size: .68rem;
}

.welcome-premium-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 5vw, 72px);
    background: #fff;
}

.premium-eyebrow {
    color: #76508e;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.welcome-premium-content h2 {
    max-width: 530px;
    margin: 14px 0 14px;
    color: #26112f;
    font-size: clamp(2.25rem, 4vw, 4.25rem);
    line-height: 1.03;
    letter-spacing: -.045em;
}

.welcome-premium-content h2 span {
    display: block;
    color: #76508e;
}

.premium-gold-line {
    width: 72px;
    height: 3px;
    margin: 4px 0 26px;
    background: #e6bd59;
}

.welcome-premium-content p {
    max-width: 590px;
    margin: 0 0 17px;
    color: #625a66;
    line-height: 1.8;
    font-size: 1rem;
}

.welcome-premium-content .welcome-lead {
    color: #302738;
    font-size: 1.08rem;
    line-height: 1.75;
}

.welcome-feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 22px 0 28px;
}

.welcome-feature-row > div {
    padding: 15px 13px;
    border: 1px solid #eee5f2;
    background: #fbf9fc;
}

.welcome-feature-icon {
    display: block;
    margin-bottom: 7px;
    color: #e6bd59;
}

.welcome-feature-row strong,
.welcome-feature-row small {
    display: block;
}

.welcome-feature-row strong {
    color: #2b1534;
    font-size: .9rem;
}

.welcome-feature-row small {
    margin-top: 4px;
    color: #7a7180;
    font-size: .72rem;
    line-height: 1.4;
}

.welcome-premium-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: #5f3975;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .02em;
    transition: .25s ease;
}

.welcome-premium-link span {
    color: #d2a63e;
    font-size: 1.25rem;
    transition: transform .25s ease;
}

.welcome-premium-link:hover {
    color: #2b1534;
}

.welcome-premium-link:hover span {
    transform: translateX(5px);
}

@media (max-width: 900px) {
    .welcome-premium-wrap {
        grid-template-columns: 1fr;
    }

    .welcome-photo-panel,
    .welcome-photo-panel img {
        min-height: 430px;
        height: 430px;
    }

    .welcome-premium-content {
        padding: 45px 35px;
    }
}

@media (max-width: 560px) {
    .welcome-section-premium {
        padding: 55px 0;
    }

    .welcome-premium-wrap {
        width: 92%;
    }

    .welcome-photo-panel,
    .welcome-photo-panel img {
        min-height: 340px;
        height: 340px;
    }

    .welcome-photo-badge {
        left: 18px;
        bottom: 18px;
    }

    .welcome-premium-content {
        padding: 38px 25px;
    }

    .welcome-feature-row {
        grid-template-columns: 1fr;
    }
}
