/* carousel.css */

/* Basic Reset - consider if you have a global reset already */
* {
    /* margin: 0; remove if global reset exists */
    /* padding: 0; remove if global reset exists */
    box-sizing: border-box;
}

/* Carousel Container */
.carousel-container {
    width: 100% ; /* Full width */
    max-width: 1448px; /* Max width of your images */
    margin: 0 auto; /* Center it if viewport is wider than images */
    overflow: hidden;
    position: relative;
    background:transparent ;
    b ackground-color: #000; /* Fallback background for the slide area */
    b order-bottom: 3px solid #DAA520; /* Gold-like accent border */
    border-radius:12px; 
    /* Height will be set by JavaScript to maintain aspect ratio */
}

/* Slides Wrapper - this will move */
.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* Height will be set by JavaScript */
}

/* Individual Slide */
.carousel-slide {
    min-width: 100%;
    position: relative; /* For potential captions or overlays */
    box-sizing: border-box;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Cover the area, might crop if aspect ratios differ */
    max-height: 1024px; /* Reverted: Max height for 2048x1024 images */
}

/* Navigation Buttons */
.carousel-prev,
.carousel-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.1);
    border: none;
    user-select: none;
    z-index: 10;
    border-radius: 0 3px 3px 0; /* Rounded corners for next */
}

.carousel-prev {
    left: 10px;
    border-radius: 3px 0 0 3px; /* Rounded corners for prev */
}
.carousel-next {
    right: 10px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(218, 165, 32, 0.8); /* Gold-like hover */
}

/* Navigation Dots */
.carousel-dots {
    text-align: center;
    padding: 15px 0;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.carousel-dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
    background-color: #DAA520; /* Gold-like active/hover */
}

