/* Custom Styles for JYOO Corporation */

:root {
    --brand-cream: #fdfcf9;
    --brand-olive: #5a5a40;
    --brand-gold: #c5a059;
    --brand-ink: #1a1a1a;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--brand-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-gold);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-olive);
}

/* 1. Main Section & Background */
#container-custom {
    position: relative;
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    filter: brightness(1.3);
}

#container-custom::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    z-index: 2;
}

/* 2. Swiper Container */
.productSwiper {
    width: 100%;
    max-width: 1400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    overflow: visible !important;
    touch-action: pan-y;
    user-select: none;
}

/* 2.5 Swiper Wrapper */
.swiper-wrapper {
    align-items: center;
}

/* 3. Slide Styling */
.swiper-slide {
    width: 200px !important;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;

    /* Blur and fade non-active slides */
    filter: blur(4px);
    opacity: 0.5;

    /* Smooth transition for description overlay and effects */
    transition: all 0.5s ease;
}

.swiper-slide-active {
    filter: blur(0px);
    opacity: 1;
}

.swiper-slide img {
    pointer-events: none;
    -webkit-user-drag: none;
}

/* 4. Description & Navbar */
.description-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: rgba(0,0,0,0.8);
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 10px;
}

.description-overlay h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.description-overlay i {
    width: 1.5rem;
    height: 1.5rem;
    margin-bottom: 0.5rem;
}

.swiper-slide-active:hover .description-overlay {
    opacity: 1;
}

nav.scrolled {
    background-color: rgba(253, 252, 249, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Intro section utility */
.intro-bg {
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Swiper Navigation and Pagination */
.swiper-button-next,
.swiper-button-prev {
    color: #c5a059;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination {
    bottom: 20px;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #c5a059;
}

@media (max-width: 767px) {
    #container-custom {
        height: auto;
        min-height: 0;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .intro-bg {
        background-position: center top;
    }
}
