/**
 * Hero Carousel Styles
 */

#carousel,
.hero-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: flex-end;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    text-align: right;
}

.carousel-content h2 {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: white;
	text-shadow: 2px 2px black;
}

.carousel-content p {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
	width: 220px;
	text-shadow: 2px 2px black;
}

.carousel-content a {
    display: inline-block;
    padding: 10px 24px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.carousel-content a:hover {
    background: var(--accent-dark);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.3);
}

.carousel-dot:hover {
    border-color: var(--accent);
    background: var(--accent);
}

@media (min-width: 1024px) {
    #carousel,
    .hero-carousel {
        height: 350px;
    }
}

@media (max-width: 768px) {
    #carousel {
        height: 300px;
    }
    
    .carousel-content {
        padding: 30px 20px;
    }
    
    .carousel-content h2 {
        font-size: 24px;
    }
    
    .carousel-content p {
        font-size: 14px;
        display: none;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    #carousel {
        height: 200px;
    }
    
    .carousel-content {
        padding: 20px 15px;
    }
    
    .carousel-content h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .carousel-content a {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .carousel-dots {
        bottom: 10px;
        gap: 6px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}
