/* ==========================================================================
   NARYAM HERO SLIDER & ARCHITECTURAL GALLERY (PERFECT SEAMLESS DESIGN)
   ========================================================================== */

.hero-slider-section {
    position: relative;
    background-color: var(--color-dark);
    color: var(--color-text-white);
    overflow: hidden;
    height: 80vh;
    min-height: 560px;
    max-height: 760px;
    width: 100%;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* Background image & gradient overlay */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.hero-slide.active .hero-slide-bg img {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(17, 20, 26, 0.45) 0%, 
        rgba(17, 20, 26, 0.75) 50%, 
        rgba(17, 20, 26, 0.95) 100%
    );
    z-index: 2;
}

@media (min-width: 992px) {
    .hero-slide-overlay {
        background: linear-gradient(
            90deg, 
            rgba(17, 20, 26, 0.95) 0%, 
            rgba(17, 20, 26, 0.82) 48%, 
            rgba(17, 20, 26, 0.35) 100%
        );
    }
}

/* Slide Content */
.hero-slide-content {
    position: relative;
    z-index: 5;
    max-width: 680px;
    padding: 30px 0 80px 0;
}

.hero-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(12px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.hero-slide.active .hero-slide-badge {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide-title {
    color: var(--color-text-white);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    transform: translateY(16px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.hero-slide.active .hero-slide-title {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide-desc {
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 24px;
    max-width: 560px;
    transform: translateY(16px);
    opacity: 0;
    transition: all 0.4s ease 0.3s;
}

.hero-slide.active .hero-slide-desc {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    transform: translateY(16px);
    opacity: 0;
    transition: all 0.4s ease 0.4s;
}

.hero-slide.active .hero-slide-actions {
    transform: translateY(0);
    opacity: 1;
}

/* Frosted Glass Secondary Button */
.btn-glass {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

/* Slider Controls & Navigation Bar (Floating at Bottom of Slide) */
.slider-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    background: linear-gradient(to top, rgba(17, 20, 26, 0.95), transparent);
    padding: 12px 0 20px;
}

.slider-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Thumbnails Navigation (Desktop) */
.slider-thumbs {
    display: flex;
    gap: 10px;
    flex-grow: 1;
    max-width: 640px;
}

.slider-thumb-item {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.slider-thumb-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.slider-thumb-item.active {
    background-color: rgba(255, 255, 255, 0.22);
    border-color: var(--color-primary);
}

.thumb-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background-color: var(--color-primary);
}

.slider-thumb-item.active .thumb-progress {
    animation: thumbProgressAnim 6s linear forwards;
}

@keyframes thumbProgressAnim {
    0% { width: 0; }
    100% { width: 100%; }
}

.thumb-num {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--color-primary-light);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.thumb-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Slide Counter & Arrows */
.slider-nav-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.slide-counter {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-white);
    letter-spacing: 0.08em;
}

.slide-counter .current-num {
    color: var(--color-primary-light);
    font-size: 1.1rem;
}

.slider-arrow-btn {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-arrow-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ==========================================================================
   Mobile Overrides (Clean, Seamless, No Void Bars)
   ========================================================================== */
@media (max-width: 992px) {
    .slider-thumbs {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 75vh;
        min-height: 500px;
        max-height: 600px;
        position: relative;
    }

    .hero-slide {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .hero-slide-content {
        padding: 20px 20px 75px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-slide-badge {
        font-size: 0.6875rem;
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .hero-slide-title {
        font-size: 1.55rem;
        line-height: 1.22;
        margin-bottom: 10px;
    }

    .hero-slide-desc {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-slide-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hero-slide-actions .btn {
        width: 100%;
        padding: 13px 18px;
        font-size: 0.8125rem;
        border-radius: 2px;
    }

    .slider-bottom-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(to top, rgba(17, 20, 26, 0.95), transparent);
        padding: 10px 20px 20px 20px;
        border-top: none;
        box-sizing: border-box;
    }

    .slider-bottom-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .slider-arrow-btn {
        width: 38px;
        height: 38px;
        border-radius: 2px;
    }
}

@media (max-width: 480px) {
    .hero-slider-section {
        height: 78vh;
        min-height: 480px;
    }
    .hero-slide-title {
        font-size: 1.45rem;
    }
    .hero-slide-content {
        padding: 16px 16px 70px 16px;
    }
    .slider-bottom-bar {
        padding: 10px 16px 18px 16px;
    }
}
