﻿.carousel-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/7;
    min-height: 220px;
    overflow: hidden;
    background: #111;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    color: white;
}

.slide-tag {
    font-size: clamp(10px, 1.2vw, 13px);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 0.6rem;
    font-weight: bold;
}

.slide-title {
    font-size: clamp(22px, 5vw, 56px);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    color: white;
}

.slide-btn {
    display: inline-block;
    padding: 0.55em 2em;
    border: 1px solid rgba(255,255,255,0.8);
    color: white;
    font-size: clamp(11px, 1.3vw, 14px);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
}

.slide-btn:hover {
    background: #fff;
    color: #111;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: clamp(32px, 4vw, 44px);
    height: clamp(32px, 4vw, 44px);
    background: #765238;
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 2vw, 20px);
    transition: background 0.2s;
    user-select: none;
}

.arrow:hover {
    background: rgba(0,0,0,0.65);
}

.arrow-left {
    left: clamp(8px, 2vw, 20px);
}

.arrow-right {
    right: clamp(8px, 2vw, 20px);
}

.dots {
    position: absolute;
    bottom: clamp(10px, 2vw, 18px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

    .dot.active {
        background: #fff;
        transform: scale(1.4);
    }

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: rgba(255,255,255,0.7);
    width: 0%;
    z-index: 10;
    transition: width linear;
}
