/* ================================================
   VIDEO-STYLE CAROUSEL
   Two-tone backgrounds with direct text overlay
   ================================================ */

/* ===================================
   CAROUSEL BASE STYLES
   =================================== */
#heroCarousel {
    position: relative;
    overflow: hidden;
    height: 600px;
    background: #a8c5d4;
}

@media (max-width: 768px) {
    #heroCarousel {
        height: 450px;
    }
}

@media (max-width: 576px) {
    #heroCarousel {
        height: 400px;
    }
}

/* ===================================
   CAROUSEL INNER & ITEMS
   =================================== */
.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    position: relative;
    transition: opacity 0.6s ease-in-out;
}

/* Different background colors for each slide */
.carousel-item:nth-child(1) {
    background: linear-gradient(180deg, #a8c5d4 0%, #b5d0dc 100%);
}

.carousel-item:nth-child(2) {
    background: linear-gradient(180deg, #c4b5d6 0%, #d5c8e3 100%);
}

.carousel-item:nth-child(3) {
    background: linear-gradient(180deg, #b5d6c8 0%, #c8e3d5 100%);
}

/* Two-tone bottom strip */
.carousel-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85px;
    background: linear-gradient(90deg, #c9a961 0%, #d4b876 50%, #c9a961 100%);
    z-index: 2;
}

@media (max-width: 768px) {
    .carousel-item::after {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .carousel-item::after {
        height: 45px;
    }
}

/* ===================================
   CAROUSEL CONTENT LAYOUT
   =================================== */
.carousel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 5%;
    z-index: 5;
}

.carousel-text-section {
    flex: 0 0 45%;
    padding-right: 40px;
}

.carousel-image-section {
    flex: 0 0 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 80%;
}

@media (max-width: 768px) {
    .carousel-content {
        flex-direction: column;
        justify-content: center;
        padding: 0 3%;
    }
    
    .carousel-text-section {
        flex: 1;
        padding-right: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .carousel-image-section {
        flex: 1;
        height: 50%;
    }
}

/* ===================================
   CAROUSEL TEXT - NO CARD OVERLAY
   =================================== */
.carousel-title {
    font-size: 4rem;
    font-weight: 900;
    color: #3d5a6b;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-family: 'Poppins', 'Montserrat', 'Arial Black', sans-serif;
    text-transform: capitalize;
}

.carousel-subtitle {
    font-size: 3.5rem;
    font-weight: 900;
    color: #3d5a6b;
    margin-bottom: 15px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-family: 'Poppins', 'Montserrat', 'Arial Black', sans-serif;
    text-transform: capitalize;
}

.carousel-highlight {
    font-size: 4.5rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.carousel-text {
    font-size: 1.3rem;
    color: #5a7585;
    margin-bottom: 32px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

@media (max-width: 992px) {
    .carousel-title {
        font-size: 3rem;
    }
    
    .carousel-subtitle {
        font-size: 2.5rem;
    }
    
    .carousel-highlight {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .carousel-title {
        font-size: 2.2rem;
    }
    
    .carousel-subtitle {
        font-size: 2rem;
    }
    
    .carousel-highlight {
        font-size: 2.5rem;
    }
    
    .carousel-text {
        font-size: 1.1rem;
        margin-bottom: 24px;
    }
}

@media (max-width: 576px) {
    .carousel-title {
        font-size: 1.8rem;
    }
    
    .carousel-subtitle {
        font-size: 1.6rem;
    }
    
    .carousel-highlight {
        font-size: 2rem;
    }
    
    .carousel-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

/* ===================================
   PRODUCT IMAGE STYLING
   =================================== */
.carousel-product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    animation: floatProduct 4s ease-in-out infinite;
}

@keyframes floatProduct {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}



/* ===================================
   CAROUSEL BUTTONS
   =================================== */
.carousel-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .carousel-buttons {
        justify-content: center;
    }
}

.btn-carousel {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: none;
    cursor: pointer;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-carousel span {
    position: relative;
    z-index: 2;
}

/* Primary Button - Orange */
.btn-primary-carousel {
    background: linear-gradient(135deg, #ff8844 0%, #ffaa66 100%);
    color: white;
    box-shadow: 
        0 8px 20px rgba(255, 136, 68, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary-carousel:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 30px rgba(255, 136, 68, 0.5),
        0 6px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

@media (max-width: 576px) {
    .btn-carousel {
        padding: 14px 32px;
        font-size: 0.95rem;
    }
}

/* ===================================
   NAVIGATION CONTROLS
   =================================== */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: none;
    opacity: 1;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
}

.carousel-control-prev {
    left: 32px;
}

.carousel-control-next {
    right: 32px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(61, 90, 107, 0.7);
    transform: translateY(-50%) scale(1.05);
}

.carousel-control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.carousel-control-icon i {
    font-size: 1.3rem;
    color: #3d5a6b;
    transition: color 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-icon i,
.carousel-control-next:hover .carousel-control-icon i {
    color: white;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: none;
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 16px;
    }
    
    .carousel-control-next {
        right: 16px;
    }
    
    .carousel-control-icon i {
        font-size: 1.1rem;
    }
}

/* ===================================
   CAROUSEL INDICATORS
   =================================== */
.carousel-indicators {
    bottom: 100px;
    z-index: 15;
    gap: 10px;
    display: flex;
    justify-content: center;
    margin: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0;
}

.carousel-indicators [data-bs-target]:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-indicators .active {
    width: 12px;
    height: 12px;
    background: #3d5a6b;
    box-shadow: 0 0 10px rgba(61, 90, 107, 0.5);
}

@media (max-width: 768px) {
    .carousel-indicators {
        bottom: 70px;
    }
}

@media (max-width: 576px) {
    .carousel-indicators {
        bottom: 55px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
    }
    
    .carousel-indicators .active {
        width: 8px;
        height: 8px;
    }
}

/* ===================================
   FADE TRANSITIONS
   =================================== */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

/* ===================================
   ACCESSIBILITY
   =================================== */
.carousel-control-prev:focus,
.carousel-control-next:focus,
.carousel-indicators [data-bs-target]:focus {
    outline: 3px solid rgba(61, 90, 107, 0.6);
    outline-offset: 2px;
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    #heroCarousel {
        display: none;
    }
}

/* ===================================
   REDUCED MOTION
   =================================== */
@media (prefers-reduced-motion: reduce) {
    .carousel-item,
    .btn-carousel,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators [data-bs-target],
    .carousel-product-image {
        animation: none;
        transition: none;
    }
}