*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* mixed  */

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body{
    background-color: #ffeedd;
}

 .review .box, .carousel-item img {
    max-width: 100%;
    overflow-x: hidden;
}

/* Flexbox adjustments */
 .icon-box {
    max-width: 100%;
}

/* Additional safeguard for mobile */
@media (max-width: 768px) {
    .nav-item, .icon-box, .carousel-item img {
        width: 100%; /* Ensure elements fit within mobile viewport */
    }
}

/* navbar section  */
.navbar {
    background-color: #ffeedd;
    padding: 0 1.5rem;
    height: 60px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #765643;
}

.offcanvas-body a{
    font-weight: 700;
}

.nav-item {
    margin: 0 15px;
}

.icon-box i{
    font-size: 1.3rem;
    margin: 0 10px;
    color: #765643;
}

.login-button{
    background: none;
    color: #765643;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border: 3px solid #765643;
    border-radius: 50px;
    text-decoration: none;
    margin-right: 10px;
    transition: 0.3s background-color;
}

.login-button:hover{
    background-color: #765643;
    color: white;
    border: 3px solid #765643;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
}

.navbar-toggler:focus, .btn-close:focus {
    box-shadow: none;
    outline: none;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    transition: background-color 0.3s;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
  width: 0;
  opacity: 0;
  transition: width 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.form-control.search-input {
  background: #ffeedd;
  border: 1px solid #765643;
  padding: 0;
}

.search-active .search-input {
  width: 200px;
  opacity: 1;
  padding-left: 10px;
  padding-right: 30px; /* add some space for the close icon */
}

.search-icon, .close-icon {
  cursor: pointer;
  font-size: 1.25rem;
  color: #765643;
}

.close-icon {
  display: none;
  margin-left: 10px; /* add some space between the search icon and close icon */
}

.search-active .close-icon {
  display: inline;
}

.search-active .search-icon {
  display: none;
}

.search-icon-inside {
  position: absolute;
  right: 35px; /* adjust the value to position the icon correctly */
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px; /* adjust the font size to your liking */
  color: #aaa; /* adjust the color to your liking */
  pointer-events: none; /* prevent the icon from receiving click events */
  opacity: 0; /* hide the icon by default */
  transition: opacity 0.2s ease-in-out;
}

.search-active .search-icon-inside {
  opacity: 1; /* show the icon when search input is toggled */
}

#search-results {
  height: 40px;
  margin-top: 10px; /* add some space between the search input and results */
  padding: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
  text-align: center;
  display: none; /* hide the results container by default */
  font-size: 14px; /* adjust the font size to your liking */
  color: #666; /* adjust the color to your liking */
}
.search-results p{
  margin-bottom: 0;
}
  
@media (min-width: 991px) {
    .nav-link::before{
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: #473428;
        visibility: hidden;
        transition: 0.3s ease-in-out;
    }

    .nav-link:hover::before, .nav-link.active::before{
        width: 100%;
        visibility: visible;
    }
}

@media (max-width: 768px) {
    .icon-box {
        width: 35px;
        height: 35px;
    }
    .search-icon, .close-icon {
        font-size: 1rem;
    }
}

.nav-link{
    color: #765643;
    font-weight: 500;
    position: relative;
}

.nav-link:hover, .nav-link.active{
    color: #473428;
}

/* Account Dropdown */
.dropdown-menu {
    border-radius: 0.5rem;
    padding: 10px;
}

.dropdown-item {
    color: #473428;
}

.dropdown-item:hover {
    background-color: #ffeedd;
}


/* hero-section  */

.carousel-item img {
    height: 90vh;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 991px) {
    .carousel-item img {
        height: 60vh;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 45vh;
        width: 100%;
    }
}

/* buttons  */
#more-btn {
    margin-top: 30px;
    margin-right: 20px;
    width: 80px;
    background-color: #765643;
    color: white;
    padding: 5px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
  
#more-btn:hover {
    background-color: #473428;
}

/* review section  */
.review .box {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 0.5rem;
    background-color: #fff;
}

.review .box .fa-quote-right {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    color: #765643;
}

.review .stars i {
    color: #765643; 
    font-size: 1.5rem;
}

.review .box p {
    color: #999;
    font-size: 1rem;
    line-height: 1.5;
    padding-top: 1rem;
}

.review .user img {
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.review .user h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.review .user span {
    font-size: 0.875rem;
    color: #999;
}

/* footer section  */
.foot .footer .row{
    margin-top: 30px;
    --bs-gutter-x: 8rem;
}

@media (max-width: 991px) {
    .foot .footer .row{
        --bs-gutter-x: 12rem;
    }
}
