/* Hero slider base */
.hero-slider { 
    width:100%; 
    height:93vh; 
    position:relative; 
    overflow:hidden; 
}

.hero-section {
    height: 93vh; /* cover entire top */
}

.hero-slider {
    margin-top: -80px; /* header height — adjust as needed */
    position: relative;
    z-index: 10;
}


.hero-slider {
    position: relative;
    z-index: 1; /* Behind header */
}

.hero-content {
    z-index: 5;
}

.hero-slide { 
    background-size:cover; 
    background-position:center; 
    display:flex; 
    align-items:center; 
    padding:0 10%; 
}

.hero-content {
    width: 100%;
    z-index:10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-slide {
    position: relative;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.hero-media {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-content h1 {
    color: #fff;
    font-family: "Josefin Sans", Sans-serif;
    font-size: 42px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.hero-content-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.hero-content a {
    font-family: "Josefin Sans", Sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    /* border-color: #fff; */
    background: transparent;
    text-decoration:none;
    display: inline-block;
    text-align: center;
    transform: translateY(20px);
    border-radius: 3px;
    transition: opacity 2s ease-out, transform 2s ease-out;
}
.hero-content a .char {
    display: inline-block;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.hero-content a .char:first-child {
    padding-left: 20px;
    border-left: 1px solid #fff;
}
.hero-content a .char:last-child {
    padding-right: 20px;
    border-right: 1px solid #fff;
}

.hero-content a .char.on {
    opacity: 1;
    transform: translateY(0);
}

.swiper-button-next, .swiper-button-prev, .swiper-pagination {
    color: #444 !important;
}
/* .hero-slide:second {
    background-size:auto !important;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: bottom;
} */
/* Splitting.js characters */
.swiper-slide-active .char {
    opacity: 1;
    transform: translateY(0);
    animation: fadeUp 2s ease forwards;
}

@keyframes fadeUp { from{opacity:0; transform:translateY(20px)} to{opacity:1; transform:translateY(0)} }

.slide-overlay {
  position:absolute;
  top:0;
  right:-100%;
  width:100%;
  height:100%;
  background-size: cover;
  background-position: center;
  z-index:40;
  pointer-events:none;
  background-color: rgba(0,0,0,0.55);
  background-blend-mode: overlay;
  display:none;
}

/* Semi-transparent layer */
.slider-transparent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(35 35 35 / 65%);
    z-index: 2;
}
@keyframes overlayWipe {
  0%   { right:-100%; }
  100% { right:100%; }
}


@media(max-width: 575px) {	
	.hero-section {
		height: 40vh; /* cover entire top */
	}
	.hero-slider {
		height: 40vh; 
		margin-top: 0px;
	}
    .hero-content h1 {
        font-size: 25px;
        text-align: center;
    }
    .slide-overlay {
        background-position: unset !important;
    }
}

@media (max-width: 768px) {	
	.hero-section {
		height: 50vh; /* cover entire top */
	}
	.hero-slider {
		height: 60vh; 
		margin-top: 0px;
	}
    .hero-content h1 {
        font-size: 30px;
        text-align: center;
    }
    .slide-overlay {
        background-position: unset !important;
    }
}