
.collections-head {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.collections-head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collections-head h1 {
    position: absolute;
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 5vw; /* Default font size */
    font-weight: bold;
    line-height: 1.3;
    color: white;
    letter-spacing: 2px;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5);
    max-width: 70%; /* Limit text width */
    white-space: normal;
}
@media (max-width: 850px) and (max-height: 400px) and (orientation: landscape) {
    .scroll-down {
        bottom: 10px !important;
    }
    .scroll-down p {
        font-size: 2vw !important;
    }
    .scroll-indicator {
        width: 6px !important;
        height: 14px !important;
    }
    .arrow {
        font-size: 14px !important;
    }
    .collections-head h1 {
        font-size: 5vw !important; /* Smaller font size for smartphones */
        top: 60% !important; /* Adjust vertical position */
        text-align: center !important; /* Center-align text for smaller screens */
        right: 5% !important; /* Center horizontally */
        max-width: 90% !important;
    }
}
/* Responsive adjustments */
@media (max-width: 1024px) {
    .collections-head {
        height: 80vh; /* Adjust height for tablets */
    }
    .collections-head h1 {
        font-size: 5vw; /* Reduce font size for tablets */
    }
}

@media (max-width: 768px) {
    .collections-head {
        height: 70vh; /* Adjust height for smaller screens */
    }
    .collections-head h1 {
        font-size: 5vw; /* Further reduce font size for smaller screens */
    }
}

@media (max-width: 480px) {
    .collections-head {
        height: 60vh; /* Adjust height for mobile */
    }
    .collections-head h1 {
        bottom: 20%;
        font-size: 5vw;;
    }
}
.split-scroll-section {
    display: flex;
    height: 400px;
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
}

.left-label {
    width: 20%;
    padding: 10px;
    display: flex;
    font-weight: 100;
    letter-spacing: 2px;
    background-color: #f5f5f5;
    color: orangered;
    align-items: center; /* vertically center h2 */
}

.left-label h2 {
    font-weight: lighter;
    font-size: 30px;
    margin-left: 15px;
    position: relative;
    cursor: pointer;
    display: inline-block; /* Only as wide as the text */
}

.left-label h2::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: orangered;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.left-label h2:hover::after {
    transform: scaleX(1);
}

.right-label {
    width: 80%;
    display: flex;
    align-items: center;
    overflow-y: hidden;
    white-space: nowrap;
    position: relative;
    cursor: pointer;
}

.right-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 180px;
    scrollbar-width: none; /* Firefox */
}

.right-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.product-slider {
    display: flex;
    animation: autoScroll 20s linear infinite;
}
  
.product {
    min-width: 350px;
    height: 350px;
    margin: 10px 10px;
    background: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 1rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.product:hover {
    transform: scale(1.05);
}

.product img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.marble-name {
    margin-top: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    font-family: 'Mulish', sans-serif;
}

.scroll-button-arrow {
    position: absolute;
    top: 50%;
    background: none;
    color: black;
    border: none;
    transform-origin: top;
    padding: 0 10px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-button:hover {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .split-scroll-section {
        flex-direction: column;
        height: auto;
    }
    .left-label {
        width: 100%;
        text-align: center;
        padding: 15px;
    }
    .right-label {
        width: 100%;
        padding: 10px 0;
    }
    .product {
        min-width: 300px;
        height: 300px;
    }
    .product img {
        height: 250px;
    }
    .right-scroll {
        padding-right: 150px;
    }
    .left-label h2 {
        font-size: 28px;
        margin-left: 12px;
    }
}

@media (max-width: 768px) {
    .product {
        min-width: 250px;
        height: 250px;
    }
    .product img {
        height: 200px;
    }
    .marble-name {
        font-size: 0.9rem;
    }
    .right-scroll {
        padding-right: 140px;
    }
    .left-label h2 {
        font-size: 24px;
        margin-left: 10px;
    }
}

@media (max-width: 480px) {
    .split-scroll-section {
        margin: 20px 0;
    }
    .product {
        min-width: 220px;
        height: 220px;
    }
    .product img {
        height: 180px;
    }
    .marble-name {
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }
    .scroll-button-arrow {
        font-size: 20px;
    }
    .right-scroll {
        padding-right: 100px;
    }
    .left-label h2 {
        font-size: 20px;
        margin-left: 8px;
    }
}
.background-image-section {
    width: 100%;
    height: auto;
    background-image: url("slideshow/background-image.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.split-scroll-section-calming {
    display: flex;
    height: 480px;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}

.left-label-calming {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 100;
    font-size: 1.5rem;
    letter-spacing: 2px;
    background-color: #f5f5f5;
    color: orangered;
    position: relative;
    overflow: hidden;
    margin: 10px;
    border-radius: 20px;
}

.left-label-calming img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.left-label-calming a {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;

}
.left-label-calming h2 {
    position: absolute;
    bottom: 20%;
    left: 50%;
    font-size: 30px;
    color: white;
    font-weight: lighter;
    transform: translateX(-50%);
    text-align: center;
    cursor: pointer;
}

.left-label-calming h2::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: red;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.left-label-calming h2:hover {
    color: red;
    transform: scale(1.5) smooth;
}

.left-label-calming h2:hover::after {
    width: 100%;
}

#prevBtn, #prevBtn2, #prevBtn3, #prevBtn4 ,#prevBtn5 {
    left: 10px;
    transition: color 0.5s ease;

}

#nextBtn, #nextBtn2, #nextBtn3, #nextBtn4 , #nextBtn5 {
    right: 10px;
    transition: color 0.5s ease;
}
#prevBtn:hover, #prevBtn2:hover, #prevBtn3:hover, #prevBtn4:hover , #prevBtn5:hover {
    color: white;
}
#nextBtn:hover ,#nextBtn2:hover, #nextBtn3:hover, #nextBtn4:hover , #nextBtn5:hover {
    color: white;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .split-scroll-section-calming {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }
    .left-label-calming {
        width: 100%;
        margin: 10px 0;
    }
    .left-label-calming h2 {
        font-size: 25px;
    }
}

@media (max-width: 768px) {
    .split-scroll-section-calming {
        padding: 15px 0;
    }
    .left-label-calming {
        font-size: 1.2rem;
    }
    .left-label-calming h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .split-scroll-section-calming {
        padding: 10px 0;
    }
    .left-label-calming {
        font-size: 1rem;
    }
    .left-label-calming h2 {
        font-size: 18px;
        bottom: 15%;
    }
}
