/* --- CAROUSEL STYLES (UPDATED FOR RESPONSIVENESS) --- */
.carousel-container {
    position: relative;
	top:-24px;
    width: 100%;               /* 1. Take up full available layout width */
    max-width: 1290px;         /* 2. Cap the maximum size at your desktop design limit */
    margin: 0 auto;            /* 3. Center it on massive desktop screens */
    aspect-ratio: 1290 / 380;  /* 4. Locks the exact original aspect ratio fluidly */
    /*overflow: hidden;*/
	
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;               /* Inherit 100% of container width */
    height: 100%;              /* Inherit 100% of container height */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    padding-left: 8%;          /* Adjusted padding for safer text scaling boundaries */
    box-sizing: border-box;    /* Ensures padding is calculated inside width bounds */
}

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

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Typography Overlays */
.slide-content {
    max-width: 50%;            /* Keeps text clean on the left-half side of the banner */
    z-index: 2;
}

.hero-text {
    font-size: clamp(1rem, 2.2vw, 24px); /* Fluid typography: scales dynamically between 16px and 24px */
    line-height: 1.4;
    color: #e0e0e0;
    margin-bottom: 20px;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.highlight-live {
    color: #ffcc00;
    font-style: italic;
    font-weight: bold;
}

.btn-about {
    display: inline-block;
    background-color: #ffb700; 
    color: #000;
    text-decoration: none;
    padding: clamp(8px, 1vw, 12px) clamp(16px, 2vw, 28px); /* Buttons scale down slightly on smaller displays */
    border-radius: 25px;
    font-weight: bold;
    font-size: clamp(12px, 1.2vw, 14px);
    transition: background 0.3s ease;
	font-family: Open Sans
}

a.btn-about:hover {
    background-color: #ffb700;
	color: #000 !important;
}

/* UI Action Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(20px, 3vw, 32px); /* Scales arrows gracefully */
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    transition: color 0.2s ease;
}

.carousel-arrow:hover {
    color: #ffffff;
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* Navigation Dots Indicators */
.carousel-dots {
    position: absolute;
    bottom: 8%;                 /* Uses percentage instead of fixed px so it adapts to height shrink */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #ffffff;
    transform: scale(1.1);
}

/* --- MOBILE EMERGENCY RESET ---
   Because a 3.4:1 ratio becomes a very tiny ribbon on mobile, we drop the aspect-ratio 
   lock at 600px wide and give the content breathing room to stretch vertically. */
@media (max-width: 600px) {
    .carousel-container {
        aspect-ratio: auto; 
        height: 260px;          /* Clean fallback minimum height for mobile viewports */
    }
    .slide-content {
        max-width: 80%;         /* Let text widen out since the screen space is tiny */
    }
    .carousel-arrow {
        display: none;          /* Optional: hides arrows on mobile to clear clutter for finger-swipes */
    }
}