html::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    font-family: 'Cochin', serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url('media/theme/background.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

header {
    font-family: sans-serif;
    background-color: #ffffff;
    color: #b23772;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    font-family: sans-serif;
    font-size: 1.5rem;
    background-color: #ffffff;
    color: #b23772;
    padding: 15px;
    border-radius: 5px;
    margin-left: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-button:hover {
    background-color: #ddd;
}

.dropdown-content {
    font-family: sans-serif;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    margin-left: 50px;
}

.dropdown-content a {
    color: #b23772;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.logo img {
    height: 150px;
    margin: 0;
    padding: 0;
}

.contact a {
    font-family: sans-serif;
    font-size: 1.5rem;
    color: #b23772;
    text-decoration: none;
    padding: 15px;
    border-radius: 5px;
    margin-right: 75px;
    transition: all 0.3s ease;
}

.contact a:hover {
    background-color: #ddd;
}

main {
    flex: 1;
    padding: 20px;
    text-align: center;
    padding-top: 180px;
    padding-bottom: 80px;
}

h1 {
    font-family: sans-serif;
    font-size: 3rem;
    color: #b23772;
    margin-bottom: 40px;
    margin-top: 40px;
}

.how-to-order {
    margin: 20px 0;
    padding-bottom: 45px;
}

.how-to-order h2 {
    font-family: sans-serif;
    font-size: 2rem;
    color: #000000;
    margin-bottom: 20px;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 60px;
    height: 2px;
    background-color: #b23772;
    transform: translateX(70px);
    z-index: 0;
}

.circle {
    width: 60px;
    height: 60px;
    background-color: #b23772;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 1;
}

.step p {
    font-family: sans-serif;
    margin: 10px 0 0;
    color: #b23772;
    font-size: 1rem;
    font-weight: bold;
}

.product-carousel {
    display: grid;
    grid-template-columns: repeat(5, auto); 
    justify-content: center; 
    gap: 50px; 
    margin: 20px auto;

}

.carousel-container {
    width: 250px;
    text-align: center;
    background-color: #ddd;
    padding: 25px 35px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.carousel-container:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    transform: translateY(-5px);
}

.carousel {
    position: relative;
    width: 250px;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px 0px 25px;
}

.carousel-images {
    display: flex;
    width: 500%;
    height: 400px;
    transition: transform 0.5s ease;
}

.carousel-images img {
    width: 20%;
    height: 400px;
    object-fit: cover;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: #b23772;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 1rem;
}

.carousel-prev.disabled,
.carousel-next.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none; 
    color:#333;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #b23772;
}

.carousel-container h3 {
    margin: 0px;
    font-size: 1.6rem;
    color: #b23772;
}

.carousel-container p {
    margin: 0;
    font-family: sans-serif;
    font-size: 1.2rem;
    color: #333;
}

footer {
    position:fixed;
    bottom:0px;
    width: 100%;
    font-family: sans-serif;
    background-color: #ffffff;
    color: #b23772;
    text-align: center;
    padding: 10px;
    box-shadow: 0px -4px -8px rgba(0,0,0,0.2);
}

footer a {
    color: #b23772;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 2200px) {
    .product-carousel {
        grid-template-columns: repeat(4, auto); 
    }
}

@media screen and (max-width: 1800px) {
    main {
        padding-top: 160px;
    }
    .logo img {
        height:120px;
    }
    .product-carousel {
        grid-template-columns: repeat(3, auto); 
    }
}

@media screen and (max-width: 1300px) {
    .product-carousel {
        grid-template-columns: repeat(2, auto); 
    }
}

@media screen and (max-width: 1000px) {
    .logo img {
        height: 120px;
    }
}

@media screen and (max-width: 850px) {
    .product-carousel {
        grid-template-columns: repeat(1, auto); 
    }
    .carousel-container {
        width: 400px;
        padding: 30px 35px 15px;
    }

    .carousel {
        width: 400px;
        height: 700px;
    }

    .carousel-images {
        height: 700px;
    }

    .carousel-images img {
        height: 700px;
    }
}

@media screen and (max-width: 700px) {
    main {
        padding-top: 120px;
    }
    .dropdown-button {
        margin-left: 15px;
    }
    .logo img {
        height: 100px;
    }
    .steps {
        gap: 10px;
    }
    .step {
        width: 100px;
    }
    .circle {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    .step:not(:last-child)::after {
        top: 25px;
        width: 40px;
        transform: translateX(55px);
    }
    .step p {
        font-size: 0.8rem;
    }
    .contact a {
        margin-right: 50px;
    }
    .how-to-order {
        margin: 20px 0;
        padding-bottom: 20px;
    }
    .carousel-container {
        width: 350px;
        padding: 30px 35px 15px;
    }

    .carousel {
        width: 350px;
        height: 600px;
    }

    .carousel-images {
        height: 600px;
    }

    .carousel-images img {
        height: 600px;
    }
}

@media screen and (max-width: 600px) {
    main {
        padding-top: 120px;
    }
    .dropdown-button {
        font-size: 0;
        padding: 10px;
        margin-left: 10px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dropdown-button::before {
        content: "☰";
        font-size: 1.5rem;
        color: #b23772;
    }

    .dropdown-content {
        margin-left: 20px;
    }

    .contact {
        margin-right: 20px;
    }
    .contact a {
        font-size: 0;
        padding: 10px;
        margin-right: 20px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact a::before {
        content: '';
        background-image: url('media/theme/contact.png');
        background-size: 30px 30px;
        background-repeat: no-repeat;
        background-position: center;
        display: inline-block;
        width: 30px;
        height: 30px;
    }
    .carousel-container {
        width: 300px;
        padding: 30px 35px 15px;
    }

    .carousel {
        width: 300px;
        height: 500px;
    }

    .carousel-images {
        height: 500px;
    }

    .carousel-images img {
        height: 500px;
    }
    
}

@media screen and (max-width: 580px) {
    .steps {
        gap: 10px;
    }
    .step {
        width: 100px;
    }
    .circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .step:not(:last-child)::after {
        top: 20px;
        width: 40px;
        transform: translateX(50px);
    }
    .step p {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 524px) {
    .steps {
        gap: 10px;
    }
    .step {
        width: 100px;
    }
    .circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .step:not(:last-child)::after {
        top: 20px;
        width: 40px;
        transform: translateX(50px);
    }
    .step p {
        font-size: 0.8rem;
    }
    span:not([id="3"])::before {
        content: "hi ";
        color: #b23772;
        font-family: sans-serif;
        visibility: hidden;
    }
    .carousel-container {
        width: 250px;
        padding: 20px 25px 5px;
    }

    .carousel {
        width: 250px;
        height: 450px;
    }

    .carousel-images {
        height: 450px;
    }

    .carousel-images img {
        height: 450px;
    }
}

@media screen and (max-width: 485px) {
    .steps {
        gap: 10px;
    }
    .step {
        width: 100px;
    }
    .circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .step:not(:last-child)::after {
        top: 20px;
        width: 40px;
        transform: translateX(45px);
    }
    .step p {
        font-size: 0.8rem;
    }

    span[id="2"]::before {
        content: " ";
    }
    footer {
        font-size: 0.9rem;
        padding: 0px;
    }
}

@media screen and (max-width: 450px) {
    .circle {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    .step:not(:last-child)::after {
        top: 20px;
        width: 40px;
        transform: translateX(40px);
    }
    h1 {
        font-size: 2.5rem;
        margin-bottom: 30px;
        margin-top: 30px;
    }
    .product-carousel {  
        gap: 30px;
    }
}

@media screen and (max-width: 350px)  {
    .logo img {
        height: 70px;
    }
    main {
        padding-top: 90px;
    }
    h1 {
        font-size: 2rem;
        margin-bottom: 20px;
        margin-top: 30px;
    }
    footer {
        font-size: 0.9rem;
        padding: 0px;
    }
    .product-carousel {  
        gap: 30px;
    }
    .carousel-container {
        width: 200px;
        text-align: center;
        background-color: #ddd;
        padding: 20px 25px 5px;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .carousel-container:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.4);
        transform: translateY(-5px);
    }

    .carousel {
        position: relative;
        width: 200px;
        height: 300px;
        overflow: hidden;
        border-radius: 10px;
        margin: 20px 0px 25px;
    }

    .carousel-images {
        display: flex;
        width: 500%;
        height: 300px;
        transition: transform 0.5s ease;
    }

    .carousel-images img {
        width: 20%;
        height: 300px;
        object-fit: cover;
    }
}