/* Hero Container Logic */
.hero-container-full {
    width: 100vw;
    height: 85vh; 
    background-color: #000; 
    overflow: hidden;
    position: relative;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Hero Spacing */
.hero-container-full {
    width: 100vw;
    margin-bottom: 50px;
}

/* Grid Optimization for 50-inch+ Screens */
@media (min-width: 1600px) {
    .col-xxl-2 {
        flex: 0 0 auto;
        width: 16.66666667%; /* Shows 6 products per row on massive screens */
    }
}

/* Ensuring the product section stretches */
.product-section {
    width: 100%;
    padding-bottom: 100px;
}

.hero-media-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* The Video Fade System */
#heroVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; 
    transition: opacity 1.5s ease;
    z-index: 1;
}

#heroVideo.loaded {
    opacity: 1;
}

/* Darker overlay for text readability */
.hero-media-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15); 
    z-index: 2;
}

.hero-overlay-text {
    position: absolute;
    bottom: 10%;
    left: 5%;
    color: white;
    z-index: 3;
}

.hero-overlay-text h2 {
    font-weight: 800;
    font-size: 3.5rem;
    letter-spacing: 2px;
}

.btn-gap-black {
    background: white;
    color: black;
    padding: 12px 40px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 15px;
    z-index: 4;
}

/* Supporting Classes for Product Logic */
#itemImage {
    height: 200px;
    width: 150px;
}

.display {
    margin: 20px;
}

#productName {
    text-align: center;
    font-weight: bold;
}

#productPrice {
    text-align: center;
}

.displayCategory ul li {
    font-size: 20px;
}

/* Carousel Adjustments */
.carousel-img {
    height: 450px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-img {
        height: 300px;
    }
}