/* =========================
   NYK HERO SECTION
========================= */
.nyk-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0d0f14;
    color: #fff;
}

.nyk-hero .container {
    position: relative;
    z-index: 3;
}

.nyk-hero-inner {
    padding: 120px 0 60px;
}

/* Background slider */
.nyk-hero-bg-slider,
.nyk-hero-bg-slider .swiper-wrapper,
.nyk-hero-bg-slider .swiper-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.nyk-hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    transform: scale(1.05);
}

.nyk-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(5, 8, 15, 0.86) 0%, rgba(5, 8, 15, 0.72) 35%, rgba(5, 8, 15, 0.45) 60%, rgba(5, 8, 15, 0.68) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.35) 100%);
}

/* Content */
.nyk-hero-content {
    max-width: 700px;
}

.nyk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f3f5f7;
    margin-bottom: 24px;
}

.nyk-hero-copy h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    color: #fff;
}

.nyk-hero-copy h1 span {
    color: #cf0b0f;
}

.nyk-hero-copy p {
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
    margin-bottom: 0;
}

.nyk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

/* Buttons */
.nyk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 26px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.nyk-btn-primary {
    background: linear-gradient(135deg, #cf0b0f, #fc3b3f);
    color: #111;
    box-shadow: 0 12px 30px rgba(212, 55, 55, 0.28);
}

.nyk-btn-primary:hover {
    transform: translateY(-2px);
    color: #111;
}

.nyk-btn-outline {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}

.nyk-btn-outline:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

/* Search card */
.nyk-search-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 24px;
    padding: 28px;
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.30);
}

.nyk-search-card-top {
    margin-bottom: 22px;
}

.nyk-search-card-top h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.nyk-search-card-top p {
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
}

.nyk-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.88);
    letter-spacing: 0.02em;
}

.nyk-field .form-control,
.nyk-field input,
.nyk-field select {
    width: 100%;
    min-height: 54px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 14px 16px;
    box-shadow: none;
}

.nyk-field .form-control::placeholder,
.nyk-field input::placeholder {
    color: rgba(255,255,255,0.55);
}

.nyk-field .form-control:focus,
.nyk-field input:focus,
.nyk-field select:focus {
    border-color: rgba(212, 55, 55, 0.8);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    background: rgba(255,255,255,0.10);
    color: #fff;
}

/* nice-select fallback styling */
.nyk-field .nice-select {
    width: 100%;
    min-height: 54px;
    line-height: 54px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding-left: 16px;
}

.nyk-field .nice-select .list {
    width: 100%;
    border-radius: 14px;
    background: #161a22;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

.nyk-field .nice-select .option {
    color: #fff;
}

.nyk-field .nice-select .option:hover,
.nyk-field .nice-select .option.focus,
.nyk-field .nice-select .option.selected.focus {
    background-color: rgba(212, 175, 55, 0.12);
}

/* Price box */
.nyk-price-box {
    padding: 16px 16px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
}

.nyk-price-range {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

/* Slider controls */
.nyk-hero-controls {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 4;
}

.nyk-slider-nav {
    display: flex;
    gap: 12px;
}

.nyk-slider-btn {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nyk-slider-btn:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-2px);
}

/* Pagination */
.nyk-hero-pagination {
    width: auto !important;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display:none;
}

/* noUiSlider custom */
#priceSlider {
    margin-top: 6px;
}

.noUi-target {
    background: rgba(255,255,255,0.12);
    border: none;
    box-shadow: none;
    height: 6px;
    border-radius: 999px;
}

.noUi-connect {
    background: linear-gradient(90deg, #cf0b0f, #f83437);
}

.noUi-handle {
    width: 18px !important;
    height: 18px !important;
    right: -9px !important;
    top: -6px !important;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #cf0b0f;
    box-shadow: none;
}

.noUi-handle:before,
.noUi-handle:after {
    display: none;
}

/* Responsive */
@media (max-width: 1199px) {
    .nyk-hero {
        min-height: auto;
    }

    .nyk-hero-inner {
        padding: 110px 0 50px;
    }
}

@media (max-width: 991px) {
    .nyk-hero-copy h1 {
        font-size: clamp(2.2rem, 7vw, 4rem);
    }

    .nyk-hero-copy p {
        font-size: 1rem;
    }

    .nyk-search-card {
        margin-top: 10px;
    }

    .nyk-hero-controls {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .nyk-hero-inner {
        padding: 95px 0 40px;
    }

    .nyk-search-card {
        padding: 20px;
        border-radius: 20px;
    }

    .nyk-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nyk-btn {
        width: 100%;
    }

    .nyk-slider-btn {
        width: 46px;
        height: 46px;
    }
}
#home-img-slider-1 .swiper-slide {
    opacity: 0;
    transition-property: opacity !important;
}

#home-img-slider-1 .swiper-slide-active {
    opacity: 1 !important;
    z-index: 2;
}