/* General Styles */
body {
    background-color: hsl(0, 0%, 98%);
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures body takes full height of the viewport */
    margin: 0; /* Remove default margin */
}

h1, h2, h3, h4, h5, h6 {
    color: hsl(0, 0%, 30%);
}

.box-element {
    box-shadow: hsl(0, 0%, 80%) 0 0 16px;
    background-color: #fff;
    border-radius: 4px;
    padding: 10px;
}

.thumbnail {
    width: 100%;
    height: 200px;
    -webkit-box-shadow: -1px -3px 5px -2px rgba(214, 214, 214, 1);
    -moz-box-shadow: -1px -3px 5px -2px rgba(214, 214, 214, 1);
    box-shadow: -1px -3px 5px -2px rgba(214, 214, 214, 1);
}

.product {
    border-radius: 0 0 4px 4px;
}

.bg-dark {
    background-color: #4f868c !important;
}

#cart-icon {
    width: 25px;
    display: inline-block;
    margin-left: 15px;
}

#cart-total {
    display: block;
    text-align: center;
    color: #fff;
    background-color: goldenrod;
    width: 20px;
    height: 25px;
    border-radius: 50%;
    font-size: 14px;
}

.col-lg-4, .col-lg-6, .col-lg-8, .col-lg-12 {
    margin-top: 10px;
}

.btn {
    border-radius: 0;
}

.row-image {
    width: 100px;
}

.form-field {
    width: 250px;
    display: inline-block;
    padding: 5px;
}

.cart-row {
    display: flex;
    align-items: flex-stretch;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ececec;
}

.quantity {
    display: inline-block;
    font-weight: 700;
    padding-right: 10px;
}

.chg-quantity {
    width: 12px;
    cursor: pointer;
    display: block;
    margin-top: 5px;
    transition: .1s;
}

.chg-quantity:hover {
    opacity: .6;
}

.hidden {
    display: none !important;
}

.hov-img0 {
    position: relative;
    overflow: hidden;
}

.hov-img0 img {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
}

.hov-img0:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.hov-img0:hover .overlay {
    opacity: 1;
}

.card-body {
    text-align: center;
    padding: 10px;
}

.card-title {
    font-size: 18px;
    color: #333;
}

.card-text {
    font-size: 16px;
    color: #555;
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
    padding: 20px;
    width: 100%;
    margin-top: auto; /* Push footer to the bottom */
}

/* Ensures the footer stays at the bottom of the page */
footer {
    position: relative;
    bottom: 0;
}

/* Text Animations */
.stylish-word {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    opacity: 0;
    animation: fadeInUp 2s forwards;
}

@keyframes fadeInUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Button Transitions */
.shop-now-btn, #shopNowBtn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    text-transform: uppercase;
    border-radius: 25px;
    color: #fff;
    background-color: #e74c3c;
    border: none;
    transition: background-color 0.3s ease;
}

.shop-now-btn:hover, #shopNowBtn:hover {
    background-color: rgb(179, 160, 112);
    cursor: pointer;
}


/* Carousel */
#slideshowCarousel {
    position: relative;
    height: 70vh; /* Fixed height for the carousel at 65% of the viewport height */
    max-height: 100%;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
}

.carousel-inner img {
    object-fit: cover; /* Ensures the image covers the entire container without distortion */
    width: 100%;
    height: 100%; /* The image height will be 65% of the viewport height, matching the height of the carousel */
    object-position: center; /* Keeps the image centered */
}

/* Ensure the caption stays at a fixed position */
.carousel-caption {
    position: absolute;
    bottom: 20px; /* Fixed distance from the bottom of the image */
    left: 40%;
    transform: translateX(-50%); /* Center the caption horizontally */
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 10; /* Ensure caption stays above the image */
}

.carousel-caption p {
    font-size: 1.5rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .carousel-caption h5 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 0.8rem;
    }
}


/* Color and Size Selection */
.product-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.option-group label {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.option-group select {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.option-group select:hover {
    border-color: rgb(179, 160, 112);
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Specific Colors
.color-red { background-color: #e74c3c; }
.color-blue { background-color: #3498db; }
.color-green { background-color: #2ecc71; }
.color-yellow { background-color: #f1c40f; } */


.color-circle {
    width: 30px; /* or your desired size */
    height: 30px; /* or your desired size */
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ccc; /* Default border */
    transition: border-color 0.3s ease;
}

.color-circle:hover {
    border: 2px solid rgb(179, 160, 112);
    transform: scale(1.1);
}

.color-circle.active {
    border: 2px solid black;
    transform: scale(1.1);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.option-group.bordered {
    border: 1px solid #ccc; /* Border when no color is selected */
    padding: 10px;
}

.color-options .color-circle:hover {
    opacity: 0.8; /* Add hover effect */
}


/* Form styling */
form {
    max-width: 500px;
    margin: auto;
}



/* Add custom margin and padding to form */
form.bg-light {
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
}

/* Additional customizations */
.container {
    margin-top: 50px;
}

.profile-form .form-group {
    margin-bottom: 1.5rem;
}

.profile-form button {
    margin-top: 20px;
} 




/* Add these styles to your CSS file */
footer .location-section {
    text-align: right; /* Align to the right */
    font-size: 16px;
    padding-top: 15px;
}

footer .location-section .location-address {
    font-size: 14px;
    margin-top: 5px;
    font-style: italic;
}

footer .location-section i {
    font-size: 20px;
    color: #ffffff;
    margin-left: 10px;
}

/* Style for the map */
footer .location-section .location-map {
    margin-top: 15px;
}

footer .location-section iframe {
    width: 100%;  /* Make the map responsive */
    max-width: 200px; /* Set max width for small map */
    height: 200px; /* Height of the map */
    border: none;
    border-radius: 8px;
}


.profile-container {
    max-width: 600px;  /* Maximum width for the profile container */
    margin: 0 auto;  /* Center the container horizontally */
    padding: 20px;  /* Padding around the content */
    text-align: center;  /* Center the text inside */
    border: 1px solid #ddd;  /* Optional: Add border around the profile */
    border-radius: 8px;  /* Optional: Round the corners */
    background-color: #f9f9f9;  /* Optional: Background color for the profile container */
}

.profile-container h2 {
    margin-bottom: 20px;  /* Add space below the title */
}

.profile-container p {
    margin: 10px 0;  /* Add space between paragraphs */
}

.profile-container a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;  /* Button background color */
    color: white;  /* Text color */
    text-decoration: none;  /* Remove underline */
    border-radius: 5px;  /* Rounded button corners */
}

.profile-container a:hover {
    background-color: rgb(179, 160, 112);  /* Change background on hover */
}


.navbar-logo {
    width: 110px;
    height: 60px;
    object-fit: contain; /* Ensures the aspect ratio is maintained */
}

/* customed nav bar */

.custom-navbar {
    background-color: #e6eee6; /* Change this to your desired color */
    color: rgb(47, 194, 182);
}


.custom-navbar .navbar-nav .nav-link {
    color: rgb(37, 160, 129); /* Ensure the text is visible */
    font-style: sans-serif;
    font-size: 20px;
    
    /* font-family: 'Playfair Display', serif;
    font-size: 1.5rem; */
    /* font-family: 'Lora', serif;
    font-size: 1.3rem; */
}

.custom-navbar .navbar-text {
    color: white;
}

.navbar-toggler {
    border: none;
    outline: none;
    transition: all 0.3s ease-in-out;
}
/* Optional: Change the toggle icon color */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='goldenrod' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    /* background-color: rgb(192, 168, 62); */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-block;
}

.nav-link:hover {
    color: rgb(179, 160, 112) !important; /* Add hover effect */
}


.navbar-collapse {
    justify-content: space-between;
}


/* custom footer */

.custom-footer {
    background-color: #e6eee6; /* Change this to your desired color */
    color: rgb(47, 194, 182);
}

.custom-footer .navbar-footer .footer-link {
    color: rgb(37, 160, 129); /* Ensure the text is visible */
    font-style: sans-serif;
    font-size: 16px;
}

.custom-footer .footer-text {
    color: rgb(26, 189, 162);
    font-style: sans-serif;
    font-size: 16px;
}

/* Optional: Change the toggle icon color */
.footer-toggler-icon {
    background-color: white;
}


/* Responsive Navbar Padding */
/* @media (max-width: 768px) {
    .navbar {
        padding: 0.5rem;
    }

    .navbar-brand img {
        width: 100px;
    }

    .nav-link {
        font-size: 0.9rem;
    }
} */




.navbar-toggler.collapsed {
    transform: rotate(0deg);
}

.navbar-toggler:not(.collapsed) {
    transform: rotate(180deg); /* Or any other effect you prefer */
}



.navbar-toggler:hover {
    background-color: #c6c78a;
}


.btn-outline-gold {
    /* border-color: #c6c78a; */
    color: #c6c78a; 
}

.btn-outline-gold:hover {
    background-color:#c6c78a;
    color: white !important;
}


/* Base carousel settings */
.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Smooth fade-in and slide transition */
.carousel .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(100%); /* Start from right */
    transition: opacity 1s ease, transform 1s ease;
    width: 100%;
    height: 100%;
}

.carousel .carousel-item.active {
    opacity: 1;
    /* transform: translateX(0); /* Slide to the center */
    transform: translateX(0) scale(1.05); /* Slight zoom in on active */
}

.carousel .carousel-item-next,
.carousel .carousel-item-prev {
    opacity: 1;
    transform: translateX(0); /* For active/next/prev */
}


.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    transform: scale(1.2);
}

/* Caption appearance animation */
.carousel-caption h5 {
    animation: fade-in 1.5s ease-out;
    text-shadow: 2px 2px 10px gol;
}

.carousel-caption .btn {
    animation: fade-in 2s ease-in-out;
    transform: translateY(-30px);
    animation: float-up 1s ease-out forwards;
    }
    
    /*
    Caption appearance animation */

.carousel-caption h5 {
    animation: fade-in 2s ease-in-out;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    transform: translateY(-30px);
    animation: float-up 2s ease-out forwards;
}

/* Fade-in keyframes */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


@keyframes float-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add floating effect to carousel items */
.carousel-item img {
    transition: transform 2s ease, box-shadow 1s ease;
}

/* Apply floating effect to active image */
.carousel-item.active img {
    transform: scale(1.05); /* Slight zoom-in */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3); /* Floating shadow */
}


.custom-heading {
    /* font-style: sans-serif;
    font-size: 20px; */
    /* font-family: 'Playfair Display', serif;
    font-size: 2.0rem; */
    /* font-family: 'Lora', serif;
    font-size: 2.0rem; */
    font-family: 'Dancing Script', cursive;
    font-size: 2.0rem;

}
