/* --------------------------------------------- */
/* FIXED HERO HEIGHT SYSTEM (NO VH, NO JUMPING) */
/* --------------------------------------------- */

:root {
    --hero-height: 640px;
}

@media (max-width: 992px) {
    :root {
        --hero-height: 520px;
    }
}

@media (max-width: 600px) {
    :root {
        --hero-height: 420px;
    }
}

/* Apply fixed height everywhere */
.hero-slider,
.hero-slide,
.slide-overlay,
.hero-preloader {
    height: var(--hero-height);
    min-height: var(--hero-height);
    max-height: var(--hero-height);
}

/* --------------------------------------------- */
/* PRELOADER (DARK OVERLAY WHILE IMAGE LOADS)    */
/* --------------------------------------------- */

.hero-preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(35, 18, 11, 0.75); /* same dark tone you wanted */
    z-index: 5;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.hero-loaded .hero-preloader {
    opacity: 0;
    pointer-events: none;
}

/* --------------------------------------------- */
/* HERO SLIDER BASE (UNCHANGED VISUALS)          */
/* --------------------------------------------- */

.single-hero .slider-nav {
    display: none !important;
}

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Overlay */
.slide-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    background: rgba(35, 18, 11, 0.75);
    z-index: 1;
}

/* Content */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 2;
    color: #fff;                   /* unchanged */
    width: 100%;
    max-width: 1200px;
    padding: 4rem 15px 6rem;       /* unchanged */
    animation: fadeInUp 1s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Heading — NOT modified */
.slide-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    color: #FDB827;  /* your original yellow */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Tagline — unchanged */
.slide-content .tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #ffffff;
    max-width: 600px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Buttons — unchanged */
.slide-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.slide-buttons .btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
}

.slide-buttons .btn-primary {
    background-color: #FDB827;
    border: 2px solid #FDB827;
    color: #1a1a1a;
}

.slide-buttons .btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

/* Navigation — unchanged */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 3;
}

.slider-nav.prev { left: 2rem; }
.slider-nav.next { right: 2rem; }

/* Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive ONLY — unchanged visuals */
@media (max-width: 992px) {
    .slide-content h1 { font-size: 2.8rem; }
    .slide-content .tagline { font-size: 1.1rem; }
}

@media (max-width: 767px) {
    .slide-content { padding: 2rem 15px 4rem; }
    .slide-content h1 { font-size: 2.2rem; }
    .slide-buttons { flex-direction: column; }
}

@media (max-width: 480px) {
    .slide-content { padding: 1rem; }
    .slide-content h1 { font-size: 1.75rem; }
    .slide-content .tagline { font-size: 1rem; }
}
