/* General Styles */
body {
    font-family: 'HelveticaNeue', sans-serif; /* Apply HelveticaNeue to the entire page */
}

/* Ensure body and html allow scrolling */
html, body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
    overflow-y: auto; /* Ensure vertical scrolling is enabled */
    height: 100%; /* Ensure the body takes up the full height */
    margin: 0;
    padding: 0;
}

/* Image Slider */
.slideshow-container {
    position: relative;
    max-width: 100%; /* Ensure the slider takes up the full width */
    margin: auto;
    overflow: hidden;
}

.slide {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(219, 219, 219);
    width: 100%; /* Ensure the slide takes up the full width */
    border-radius: 20px;
    font-size: 10px;
    font-family: 'HelveticaNeue', sans-serif; /* Use HelveticaNeue for slides */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    padding: 20px;
}

.slide-img {
    width: 300px;
    height: 300px;
    object-fit: contain; /* Ensure the image scales properly */
    border-radius: 10px; /* Add rounded corners */
    max-width: 100%; /* Prevent the image from overflowing horizontally */
}

.slide p {
    font-size: 16px;
    color: #333;
    margin: 0;
    padding: 10px;
    text-align: center;
    max-width: 90%; /* Limit the width of the text */
    word-wrap: break-word; /* Ensure long words wrap properly */
}

/* Navigation Buttons */
.prev,
.next {
    cursor: pointer;
    padding: 10px;
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 10px;
    transition: 0.6s ease;
    border-radius: 50%; /* Make buttons circular */
    user-select: none;
    margin: 0; /* Remove extra margins */
    background-color: rgba(0, 0, 0, 0.5); /* Add background for better visibility */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px; /* Set fixed width for buttons */
    height: 40px; /* Set fixed height for buttons */
    position: absolute; /* Position buttons absolutely */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for proper centering */
    z-index: 10; /* Ensure buttons are above other elements */
}

.prev {
    left: 20px; /* Position the previous button on the left */
}

.next {
    right: 35px; /* Position the next button on the right */
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

/* Slide Buttons Container */
.slide_buttons {
    display: flex;
    justify-content: center; /* Center the buttons horizontally */
    margin-top: 20px;
    gap: 10px; /* Add spacing between buttons */
}

/* Product Photos */
.img-text {
    display: flex;
    flex-direction: row;
    margin-top: 70px;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.mainproductimage {
    width: 400px;
    height: 400px;
    border: 1px black solid;
    margin-left: 10px;
    border-radius: 20px;
    object-fit: cover; /* Ensure the image scales properly */
    max-width: 100%; /* Prevent the image from overflowing horizontally */
}

.text {
    margin-top: 20px;
    margin-right: 80px;
    max-width: 500px; /* Limit the width of the text */
    text-align: left;
}

b {
    font-size: 30px;
    font-family: 'HelveticaNeueBold', sans-serif; /* Use bold font for bold text */
}

.price {
    font-size: 20px;
    margin-top: 20px;
    font-family: 'HelveticaNeueMedium', sans-serif; /* Use medium font for price */
}

.name {
    font-size: 40px;
    font-family: 'HelveticaNeueBlack', sans-serif; /* Use black font for product names */
}

.taxes {
    opacity: 50%;
    margin-top: 10px;
    font-family: 'HelveticaNeueItalic', sans-serif; /* Use italic font for taxes */
}

.amount-container {
    display: flex;
    gap: 10px;
    margin-top: 60px;
    margin-bottom: 40px; /* Add more space below the amount box */
    margin-left: 30px; /* Center the amount box */
    font-family: 'HelveticaNeue', sans-serif; /* Use HelveticaNeue for amount container */
}

.amount-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid gray;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
    font-family: 'HelveticaNeue', sans-serif; /* Use HelveticaNeue for amount boxes */
}

.amount-box:hover {
    background-color: lightgray;
}

.selected {
    border: 2px solid black;
    background-color: #ddd;
}

/* Buttons Container */
.buttons {
    display: flex;
    flex-direction: column; /* Stack the buttons vertically */
    align-items: center; /* Center the buttons horizontally */
    gap: 10px; /* Add spacing between the buttons */
    margin-top: 20px; /* Add space above the buttons */
}

.buttons > button {
    width: 300px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 20px;
    font-family: 'HelveticaNeueMedium', sans-serif; /* Use medium font for buttons */
}

.tobuy {
    background-color: black;
    color: white;
}

.tofav {
    background-color: white;
    color: black;
}

.tofav:hover {
    background-color: black;
    color: white;
    transition: 0.5s;
}

.text-stuk {
    width: 300px;
    border: 1px solid black;
    padding: 20px;
    margin-top: 30px;
    margin-left: 18px;
    font-family: 'HelveticaNeue', sans-serif; /* Use HelveticaNeue for text blocks */
}

.more {
    font-size: 20px;
    margin-top: 100px;
    margin-left: 20px;
    font-family: 'HelveticaNeueBold', sans-serif; /* Use bold font for "more" section */
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.slide {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(219, 219, 219);
    width: 95%;
    border-radius: 20px;
    font-size: 10px;
    font-family: 'HelveticaNeue', sans-serif; /* Use HelveticaNeue for slides */
}

.slide-img {
    width: 300px;
    height: 300px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slide_buttons {
    display: flex;
    justify-content: right;
    margin-top: 20px;
}

/* Style for the color buttons */
.color-buttons {
    display: flex; /* Ensure the buttons are next to each other */
    gap: 10px; /* Add spacing between the buttons */
    justify-content: center; /* Center the buttons horizontally */
    margin-bottom: 20px; /* Add space below the color buttons */
}

.color-option {
    background-color: rgb(176, 190, 199); /* Default button background color */
    color: black; /* Default text color */
    border: 2px solid rgb(120, 120, 120); /* Button border */
    border-radius: 10px; /* Rounded corners */
    padding: 10px 20px; /* Padding for better appearance */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.color-option.selected {
    background-color: rgb(109, 127, 137); /* Darker color for the selected button */
    border-color: rgb(100, 100, 100); /* Darker border for the selected button */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .slide {
        flex-direction: column; /* Stack text and image vertically */
        align-items: center;
        padding: 15px;
    }

    .slide-img {
        width: 250px; /* Reduce image size for smaller screens */
        height: 250px;
    }

    .slide p {
        font-size: 14px; /* Reduce font size for smaller screens */
    }

    .mainproductimage {
        width: 300px; /* Reduce product image size */
        height: 300px;
        margin-left: 45px;
    }

    .img-text {
        flex-direction: column; /* Stack image and text vertically */
        align-items: center;
    }

    .text {
        margin-right: 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: scroll; /* Ensure vertical scrolling on smaller screens */
    }

    .slide {
        padding: 10px;
    }

    .slide-img {
        width: 200px; /* Reduce image size for medium screens */
        height: 200px;
    }

    .slideshow-container {
        display: grid; /* Use grid layout */
        grid-template-columns: repeat(2, 1fr); /* 2 columns of equal width */
        gap: 15px; /* Add spacing between grid items */
        justify-items: center; /* Center items horizontally */
        overflow: visible; /* Ensure the slider content doesn't get cut off */
    }

    .menu-overlay {
        overflow-y: auto; /* Allow scrolling inside the menu overlay */
    }

    .footer {
        flex-direction: column; /* Stack footer content vertically */
        align-items: center; /* Center footer content */
    }

    .footer div {
        margin-bottom: 20px; /* Add spacing between footer sections */
    }
}

@media (max-width: 480px) {
    body {
        overflow-y: scroll; /* Ensure vertical scrolling on very small screens */
    }

    .slide {
        padding: 5px;
    }

    .slide-img {
        width: 150px; /* Further reduce image size for very small screens */
        height: 150px;
    }

    .slideshow-container {
        grid-template-columns: 1fr; /* Switch to 1 column for very small screens */
    }

    .hero {
        overflow: visible; /* Ensure hero section content is fully visible */
    }

    .tips {
        overflow: visible; /* Ensure tips section content is fully visible */
    }

    .footer {
        flex-direction: column; /* Stack footer content vertically */
        align-items: center; /* Center footer content */
    }

    .footer div {
        margin-bottom: 20px; /* Add spacing between footer sections */
    }
}

/* Footer */
footer {
    background: black;
    color: white;
    text-align: center;
    padding: 20px;
}


.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icons a {
    color: white;
    font-size: 20px;
}
