
/* === SLIDER === */
.slider-container {
    position: relative;
    width: 1024px;
    height: 530px;
    max-width: 95vw;
    overflow: visible;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    margin-top: 60px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    overflow: visible;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    background: rgba(255, 255, 255, 0.9);
    color: #666;
    padding: 12px 25px;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 1.3em;
    font-weight: 300;
    line-height: 1.5;
    font-style: italic;
    text-align: center;
    opacity: 0;
    transition: all 0.8s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slide.active .slide-caption {
    opacity: 1;
    transition-delay: 1s;
}

/* === SLIDER CONTROLS === */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(102,102,102,0.15);
    color: rgba(102,102,102,0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.4s ease;
    z-index: 100;
    opacity: 0.3;
}

.slider-nav:hover {
    background: rgba(201,169,110,0.2);
    color: var(--accent-color);
    transform: translateY(-50%) scale(1.02);
    opacity: 1;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .slider-container {
        width: 95vw;
        height: calc(95vw * 530 / 1024);
    }
    
    .slide-caption {
        font-size: 1em;
        padding: 8px 15px;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}
