/* ============ HERO SLIDER SECTION ============ */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.slider-wrapper {
    position: relative;
    width: 100%;
}

/* Individual Slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    position: relative;
}

.slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* ============ DESKTOP: Full Wide Banner ============ */
.slide-img {
    width: 100%;
    height: auto;       /* natural aspect ratio maintain hoga */
    display: block;
    object-fit: cover;
}

/* ============ ARROWS ============ */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    color: #1a1a1a;
    font-size: 22px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.6);
}

.prev-arrow { left: 20px; }
.next-arrow { right: 20px; }

/* ============ DOTS ============ */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.2);
}

.dot.active {
    width: 26px;
    border-radius: 6px;
    background: #1a1a1a;
}

/* ==========================================================
   RESPONSIVE - MOBILE: INSTAGRAM POST SIZE
   ========================================================== */

@media (max-width: 768px) {

    /* Mobile pe image ko Instagram Square (1:1) ratio mein force karna */
    .slide-img {
        width: 100%;
        aspect-ratio: 4 / 5;   /* 👈 Square Instagram post size */
        object-fit: cover;
        height: auto;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .prev-arrow { left: 10px; }
    .next-arrow { right: 10px; }

    .slider-dots {
        bottom: 15px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 20px;
    }
}