/* Slider Styles */
.hero-slider {
    position: relative;
    height: calc(100vh - 45px); /* Adjust for new navbar height */
    overflow: hidden;
    margin-top: 45px; /* Match navbar height */
    z-index: 5; /* Lower z-index so mobile menu can appear above it */
}

.slider-container {
    height: 100%;
    position: relative;
}

.slider-wrapper {
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    pointer-events: none; /* Allow clicks to pass through to elements below */
}
    pointer-events: none; /* Allow clicks to pass through to elements below */
}

.slider-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-content {
    max-width: 800px;
    margin-left: 10%;
    color: var(--light-text);
    position: relative;
    z-index: 3;
    padding-left: 50px;
    border-left: 5px solid var(--secondary-color);
    animation: fadeInUp 1s ease-out;
}

.slider-slide h1,
.slider-slide h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-subtitle {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    margin: 0 5px;
}

.slider-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-size: 20px;
}

.slider-arrow:hover {
    background-color: var(--secondary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
