/* ==========================================================================
   6. Hero Slider Section ( Style)
   ========================================================================== */

.hero-slider {
    position: relative;
    height: 900px;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.slide.active-slide {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    padding: 12rem 0;
    color: white;
}

.slide-content h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Desktop Search in Hero - Positioned separately */
.hero-search-wrapper {
    display: none;
    position: absolute;
    bottom: 12rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    width: 90%;
    max-width: 600px;
}

.hero-search-form {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-medium);
}

.hero-search-form:focus-within {
    box-shadow: 0 12px 48px rgba(112, 109, 156, 0.4);
    transform: translateY(-2px);
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1.6rem 2.4rem;
    font-size: 1.6rem;
    font-family: var(--font-secondary);
    background: transparent;
    color: var(--color-text);
}

.hero-search-input::placeholder {
    color: var(--color-text-light);
}

.hero-search-btn {
    background: var(--main-gradient);
    border: none;
    padding: 1.6rem 3rem;
    color: white;
    font-weight: var(--weight-semibold);
    cursor: pointer;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: var(--main-gradient-reverse);
    padding-right: 3.5rem;
}

.hero-search-btn svg {
    width: 2rem;
    height: 2rem;
}

/* Slider Navigation */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5rem;
    height: 5rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: white;
    transition: all var(--transition-medium);
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 2rem;
}

.next-arrow {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.dot.active-dot {
    background-color: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}