:root{
    --bs-body-color:#5d0c23;
    --light-pink: #d41f68;
}

/* Navbar */
.navbar{
    background-color: #ffeef1;
}
.navbar-brand{
    color: var(--bs-body-color);
    font-family: 'Courier New', Courier, monospace;
}
.navbar-brand img{
    max-height: 50px;
    max-width: 60px;
}
.nav-link{
    color: black;
}
.nav-link:hover{
    color: var(--light-pink);
    font-weight: bold;
}

/* Modals */
.modal-content{
    box-shadow: 2px 2px 10px 10px #681f32;
}
.modal-body{
    max-height: 60vh;
    overflow-y: auto;
}
.modal-body .item{
    max-height: none;
    min-height: 90px;
    border: 2px solid #d41f68;
    border-radius: 30px;
}
.modal-body .item img{
    width: 60px; 
    height: 60px; 
    object-fit: cover;
    border-radius: 10px;
}
.modal-body .item .category{
    background-color: var(--light-pink);
    color: white;
    padding: 2px 8px;
    border-radius: 15px;
    font-size: 0.8em;
    margin-left: 10px;
}
.modal-body .item .price{
  color: var(--light-pink);
    font-weight: bold;
    margin-left: 10px;
}
.modal-body .item .qnt{
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
}
.modal-body  .item .qnt i{
    cursor: pointer;
}
.modal-body .item .qnt .quantity{
    font-size: 0.9em;
    padding: 5px 10px;
}

/* Titles style */
#about h2,#reviews h2,
#products h2,#contact h2{
    color: var(--bs-body-color);
    font-family: 'Courier New', Courier, monospace;  
}

/* Home Section */
#home{
    background-color: rgb(251, 203, 211);
}

.home-content{
    max-width: 50%;
}
.home-content h3{
    color: #dc4f77;
}
.home-content .btn{
    background-color: var(--light-pink);
    border: none;
    border-radius: 15px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.404);
}
.home-content .btn:hover{
    background-color: var(--bs-body-color);
}
#home .img{
    max-height: 500px;
}

/* Products section */
/* Navigation buttons */
.btns .btn{
    border: 1px solid var(--bs-body-color);
    box-shadow: 2px 2px 8px #750d2b;
    border-radius: 30px;
}
.btns .btn:hover{
    background-color: #750d2b;
    color: white;
}
.btns .btn.active{
    background-color: var(--bs-body-color);
    color: white;
}
#products .card{
    border: none;
    box-shadow: 2px 2px 10px rgba(36, 36, 36, 0.404);
    border-radius: 20px;
}
#products .card:hover{
    box-shadow: 2px 2px 10px 10px #d3156161;
    transform: scale(1.02);
    transition: all 0.3s ease-in-out;
}
#products .card img{
    border-radius: 20px 20px 0 0;
    width: 100%;
    height: 300px;
}
#products .card .card-body .card-text{
    font-size: 0.9em;
    margin-bottom: 0.9em;
}
.product-price{
    color: var(--light-pink);
    margin-bottom: 0.9em;
}
#products .card .card-body .btn{
    border:2px solid var(--light-pink);
    color: var(--light-pink);
    border-radius: 15px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.404);
}
#products .card .card-body .btn:hover{
    background-color: var(--light-pink);
    color: white;
}

/* About section */
/* the carousel images style */
#carouselImages{
    width: 350px;
    height: 400px;
    border-radius: 20px;
    box-shadow: 2px 2px 10px rgba(36, 36, 36, 0.404);
}

.carousel-item {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

#carouselImages .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}
/* the about content style */
.about-para{
    max-width: 50%;
}
.about-para .lead{
    font-size: 1.10em;
}

/* Reviews Section */
#carouselReviews{
    width: 80%;
    min-height: 250px;
    border-radius: 30px;
    background-color: #ffeef1;
    box-shadow: 2px 2px 10px rgba(36, 36, 36, 0.404);
}
/* Contact Section */
.btn-outline-pink {
    border-color: var(--light-pink);
    color: var(--light-pink);
}

.btn-outline-pink:hover {
    background-color: var(--light-pink);
    color: white;
}
/* Submission Button */
button[type="submit"]{
    background-color: var(--light-pink);
    border: none;
    border-radius: 15px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.404);
}
button[type="submit"]:hover{
    background-color: var(--bs-body-color);
}

/* Footer */
footer{
    background-color: #ffeef1;
}
footer a{
    color: var(--bs-body-color);
}


/* Responsive Design */
@media (max-width: 330px) {
    .navbar-brand img{
        max-height: 30px;
        max-width: 30px;
    }
    .navbar-brand{
        font-size: 1.3em !important;
    }
    .icons i{
        font-size: 1.2em !important;
    }
    .badge{
        font-size: 0.6em !important;
    }
}

@media (max-width: 480px) {
    .modal-body .item {
        flex-direction: column !important;
        min-height: auto;
    }
    
    .modal-body .item .qnt {
        align-self: center;
        margin-bottom: 0 !important;
        transform: none !important;
    }
    
    .modal-body .item h5 {
        font-size: 0.9em;
    }
    
    .modal-body .item .category {
        font-size: 0.65em !important;
    }
    
    .modal-body .item .price {
        font-size: 0.8em !important;
    }
}


@media (max-width: 767px) {
    .home-content{
        max-width: 100%;
        text-align: center;
    }
    .img{
        margin-top: 20px;
        max-height: 300px !important;
    }
    .about-para{
        max-width: 100%;
    }
    #carouselImages {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    #carouselReviews{
        width: 90%;
    }
}

