/* Carousel Styles */
.carousel-section {
    width: 100%;
    overflow: visible;
}

.carousel-container {
    position: relative;
    width: 100%;
    padding: 60px 0;
    margin: -60px 0;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    border-radius: 16px;
}

.project-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.3) 80%, transparent 100%);
    padding: 45px 50px;
}

.slide-overlay h3 {
    margin: 0 0 10px 0;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.slide-subtitle {
    margin: 0 0 10px 0;
    color: #aaa;
    font-size: 1.1rem;
    font-weight: 500;
}

.slide-description {
    margin: 0 0 20px 0;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.slide-button {
    display: inline-block;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.slide-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
}

.carousel-dot.active {
    background: rgba(255, 255, 255, 0.6);
    width: 28px;
    border-radius: 4px;
}
