/* Slider Styles (Container, visuals) */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;/* Or adjust as needed, keeps it from being excessively wide on large screens */
    margin: 1rem auto 0; /* Spacing from text above */
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 16 / 9; /* Landscape aspect ratio, adjust if needed */
    box-shadow: 0 4px 15px var(--shadow-color);
    z-index: 1; /* Ensure it's above the hero background but below header */
}

.slider-container::before,
.slider-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 60px; /* Adjust height of the glow/blur effect */
    z-index: 3; /* Above slides, below arrows/dots */
    pointer-events: none; /* Allow clicks to pass through */
    background: linear-gradient(to bottom, var(--bg-accent) 10%, transparent);
    filter: blur(2px); /* Adjust blur intensity */
}

.slider-container::after {
    top: auto;
    bottom: 0;
    background: linear-gradient(to top, var(--bg-accent) 10%, transparent);
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: relative; /* For potential captions or overlays if added later */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the slide area, may crop */
    display: block;
    border-radius: var(--border-radius); /* Match container if images are direct children */
}


/* Slider Arrow & Dot Components */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4; /* Above glow effect */
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 0.6rem; /* Slightly smaller padding */
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.2rem; /* Icon size */
    line-height: 1;
    width: 2.5rem; /* Fixed width */
    height: 2.5rem; /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px; /* Increased spacing from bottom */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4; /* Above glow effect */
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white */
    border: 1px solid rgba(0,0,0,0.2); /* Subtle border for definition */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-dots .dot.active {
    background-color: var(--accent-main); /* Use accent color for active dot */
    transform: scale(1.2);
    border-color: rgba(0,0,0,0.4);
}