/* ===========================================
   HERO SLIDER — WRAPPER
=========================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    background: #000;
    margin-bottom: 0; /* remove gap if needed */

}


/* SLIDES CONTAINER */
.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ===========================================
   SLIDE IMAGES — CENTERED, NO CROPPING
=========================================== */
/* FULL STRETCH — NO CROP */
.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    
    object-fit: cover;   /* <— THIS FILLS THE BOX WITHOUT CROPPING */
    
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}


/* ===========================================
   HERO TEXT
=========================================== */
.hero-text {
    position: absolute;
    top: 27%;
    left: 6%;
    transform: translate(0, -30%);
    color: #fff;
    max-width: 40%;
    z-index: 10;

    padding: 0;
    background: none;
    backdrop-filter: none;
    border-radius: 0;

    text-shadow: 
        0 4px 18px rgba(0,0,0,0.85),
        0 0 8px rgba(0,0,0,0.55);
}

.hero-text h1 {
    margin: 0 0 12px;
    font-size: 2.8rem;
    font-weight: 700;
}

.hero-text p {
    margin: 0 0 18px;
    font-size: 1.15rem;
}

.hero-fade {
    opacity: 1;
    transform: translateY(0);
    transition: .6s ease-in-out;
}

.hero-hidden {
    opacity: 0;
    transform: translateY(-22px);
}

/* ===========================================
   GRADIENT OVERLAY
=========================================== */
.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;

    background: linear-gradient(
        to right,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.45) 15%,
        rgba(0,0,0,0.35) 30%,
        rgba(0,0,0,0.25) 40%,
        rgba(0,0,0,0.15) 50%,
        rgba(0,0,0,0.10) 60%,
        rgba(0,0,0,0.05) 70%,
        transparent 100%
    );
}

/* ===========================================
   HERO BUTTON
=========================================== */
.hero-btn {
    display: inline-block;
    background: #EF7A18;
    color: #000;
    padding: 10px 22px;
    font-weight: 700;
    border-radius: 26px;
    text-decoration: none;
    text-shadow: none !important;
}

.hero-btn:hover {
    background: #d86d14;
}

/* ===========================================
   SLIDER ARROWS
=========================================== */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: #fff;
    font-size: 28px;
    padding: 8px 14px;
    cursor: pointer;
    z-index: 9998;
    border-radius: 4px;
}
.arrow.left  { left: 20px; }
.arrow.right { right: 20px; }
.arrow:hover { background: rgba(0,0,0,0.7); }

/* ===========================================
   DOTS
=========================================== */
#dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align:center;
    z-index: 9998;
}

.dot {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    display: inline-block;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active-dot {
    background: #EF7A18;
}

@media (max-width: 999px) {

    .hero-slider {
        height: 75vh;          /* keep an actual height so absolute slides can render */
        min-height: 520px;     /* prevents collapse on short screens */
        background: #000;      /* safe */
        overflow: hidden;
    }

    .slides { height: 100%; }

    .slide {
        width: 100%;
        height: 100%;
        object-fit: cover;     /* fixes distortion */
        object-position: center;
    }

    .hero-text {
        top: 10%;
        left: 6%;
        transform: none;
        max-width: 88%;
        text-align: left;
    }

    .hero-text h1 {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .hero-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
        border-radius: 20px;
    }
}






