/* ==========================================================
   HERO WRAP — wraps intro video overlay + Swiper slider
   ========================================================== */
.hero-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ==========================================================
   INTRO VIDEO OVERLAY
   ========================================================== */
.intro-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 50;
    background: #000;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.9s ease, visibility 0.9s ease;
}

.intro-video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-video-wrap.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Overlay text */
.intro-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 820px;
    text-align: center;
    color: #fff;
    z-index: 5;
    opacity: 1;
    transition: opacity 1.5s ease;
    text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.intro-text.is-faded { opacity: 0; }

.intro-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 48px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 14px;
    color: #fff;
}
.intro-text p {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 20px;
    margin: 0;
    color: #fff;
}

/* Logo crossfade */
.intro-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
    max-width: 280px;
    width: 55%;
    height: auto;
    opacity: 0;
    transition: opacity 1.5s ease;
}
.intro-logo.is-visible { opacity: 1; }

/* Skip button */
#introSkip {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 10;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 8px 18px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s;
}
#introSkip:hover { background: rgba(255,255,255,0.3); }

@media (max-width: 767px) {
    .intro-text h1 { font-size: 26px; }
    .intro-text p  { font-size: 15px; }
    .intro-logo    { max-width: 180px; }
}

/* ==========================================================
   SWIPER HERO SLIDER
   ========================================================== */

/* Full viewport height, both desktop and mobile */
.hero-swiper {
    width: 100%;
    height: 100svh;      /* svh = accounts for mobile browser chrome */
    min-height: 400px;
}

/* Each slide: background image fills the whole slide */
.hero-swiper .swiper-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay so text is always readable */
.hero-swiper .swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

/* Slide text content — centred, above overlay */
.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
    width: 100%;
    /* Start invisible, animate in after transition */
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

.slide-content--visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 44px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
    line-height: 1.2;
}

.slide-subtitle {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: #fff;
    margin: 0 0 28px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* CTA button inherits existing .btn_1.medium from site CSS */
.slide-content .btn_1 {
    display: inline-block;
}

/* Navigation arrows */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #fff;
    --swiper-navigation-size: 36px;
}

/* Pagination bullets */
.hero-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
    width: 10px;
    height: 10px;
}
.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* Mobile tweaks */
@media (max-width: 767px) {
    .slide-title    { font-size: 24px; }
    .slide-subtitle { font-size: 14px; margin-bottom: 20px; }

    /* Hide arrows on mobile — bullets + swipe are enough */
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev { display: none; }
}
