body {
    padding-top: 90px;

    background-image: url('../img/background.jpg');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size:  900px auto;
    background-attachment: fixed;

    background-color: #f6f2e6;
}

html, body {
    max-width: 100%;
}
    h1, h2, h3, h4, h5, h6 {
    font-family: 'Bodoni Moda';
    }

    body, p, span {
     font-family: 'Montserrat';
     font-size:14px;
     text-align: justify;
    }

    .main-color {
    color: #7C3821;
    }
    .bg{
    background-repeat: repeat; 
    background-size: auto;    
    background-image: url('../img/background_dt.webp');  
    background-position: top left;
    }
    .btn-light{
    background-repeat: repeat; 
    background-size: auto;    
    background-image: url('../img/background_dt.webp');  
    border: none; 
    }
    .bl-white{
    background-color: #f9f5ee; 
    }
    .btn-outline-primary, .btn-primary {
    color: #7C3821;
    border-color: #7C3821;
    }

    .btn-outline-primary:hover, .btn-primary:hover {
    background-color: #7C3821;
    color: white;
    border-color: #7C3821;
    }

    .btn-primary {
    background-color: #7C3821;
    border-color: #7C3821;
    color: white;
    }

    .navbar-brand img {
    height: 70px; 
    transition: all 0.3s ease-in-out;
    }
    @media (max-width: 768px) {
        body {
            background-image: none;
            background-color: #f9f5ee;
        }
    
        body::before {
            content: "";
            position: fixed;
            right: 0;
            bottom: 0;
            width: 900px;
            height: 900px;
            background-image: url('../img/background_dt.webp');
            background-repeat: no-repeat;
            background-position: right bottom;
            background-size: contain;
            pointer-events: none;
            z-index: -1;
        }
    }

    .navbar {
    transition: all 0.3s;
    }

    .navbar .nav-link {
    color: #333 !important;
    margin: 0 8px;
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.2s, border-bottom 0.2s;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link.active {
    color: #7C3821 !important;
    border-bottom: 2px solid #7C3821;
    }

    /* Menu căn giữa */
    .navbar-nav {
    margin: 0 auto;
    flex-direction: row;
    }

    .navbar-toggler {
    border: 1px solid #7C3821;
    }

    /* Slider */
    .carousel-item img {
    height: 80vh;
    object-fit: cover;
    }

    @media (max-width: 576px) {
    .carousel-item img {
        height: 35vh;
    }
    }

    .carousel-caption {
    bottom: 30%;
    }

    .carousel-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
    }

    section {
    padding: 80px 0;
    }

    section h2 {
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
    }

    .intro img {
    border-radius: 12px;
    }

    .service-card {
    border: none;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    margin-bottom: 20px;
    }
    .row.g-4 > div {
        flex: 0 0 auto;
        min-width: 300px;
        display: flex; 
    }
    .scroll-x {
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  flex-wrap: nowrap;
  max-width: 100%;
}
@media (max-width: 576px) {

    #about .container {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    #about .scroll-x {
        width: 100%;
        margin: 0;
        padding-left: 15px;
        padding-right: 0;
        overflow-x: auto;
        display: flex;
        flex-wrap: nowrap;
    }

    #about .scroll-x > div {
        flex: 0 0 85% !important;
        width: 85% !important;
        max-width: 85% !important;
        min-width: 85% !important;
        padding-left: 0;
        margin-right: 10px;
    }

    #about .service-card {
        width: 100%;
        margin: 0 0 20px 0;
    }

    #about .service-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }
}
@media (max-width: 576px) {
    #about .col-lg-6:last-child {
        padding-left: 25px;
        padding-right: 25px;
    }
}
@media (max-width: 576px) {
  .scroll-x > div {
    min-width: 85%;
  }
     .service-card img {
    height: 220px;
    object-fit: cover;
    }

}
    .service-card img {
    height: 250px;
    object-fit: cover;
    }

    .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }


    .promo h2 {
    color: #fff;
    }

    .promo-overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 80px 20px;
    }

    /* Gallery */
    .gallery img {
    border-radius: 10px;
    transition: transform 0.3s;
    }

    .gallery img:hover {
    transform: scale(1.05);
    }

    /* Đánh giá */
    .testimonial {
    background: #f8f9fa;
    }

    .testimonial .card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .iti {
    width: 100% !important;
    }

    /* Footer */
    footer {
    background: #7C3821;
    color: #ccc;
    padding: 40px 0;
    }

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

    footer a:hover {
    color: #ffc107;
    }

    #featured-services .card {
    border-radius: 12px;
    overflow: hidden;
    }

    #featured-services .card img {
    height: 100%;
    }

    @media (max-width: 576px) {

    #featured-services .container {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    #featured-services .swiper {
        width: 100%;
    }

    #featured-services .swiper-slide {
        width: 100%;
        height: 260px;
        border-radius: 12px;
        overflow: hidden;
    }

    #featured-services .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    #featured-services .swiper-slide img {
        height: 220px;
    }
}

@media (min-width: 769px) {
    #featured-services .swiper-slide img {
        height: 250px;
    }
}

    @media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column; 
        text-align: center; 
    }

    .navbar-nav .nav-item {
        margin: 8px 0;
    }

    .navbar-toggler {
        border: none; 
    }
    }


    .dropdown-menu {
    padding: 0;
    min-width: auto;
    }

    .dropdown-item {
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    }

    .dropdown-item img {
    width: 30px;
    height: auto;
    }

    .btn.dropdown-toggle {
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    }
    
/* Tab danh mục */
.nav-tabs {
    overflow-x: auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    -webkit-overflow-scrolling: touch;

    border: none !important;
    margin-bottom: 30px;
    padding-bottom: 13px;
}

/* Tab mặc định */
.nav-tabs .nav-link {
    color: #7C3821;
    font-weight: 600;

    border: none !important;
    background: transparent !important;

    margin: 0 12px;
    padding: 8px 4px;

    white-space: nowrap;
    border-radius: 0 !important;

    transition: color 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #7C3821;
    background: transparent !important;
}
.nav-tabs .nav-link.active {
    color: #7C3821 !important;
    background: transparent !important;

    border: none !important;
    border-bottom: 1px solid #7C3821 !important;

    border-radius: 0 !important;
    padding: 8px 4px;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-tabs {
        justify-content: flex-start;
    }

    .nav-tabs .nav-link {
        margin: 0 8px;
    }
}    
.card-img-top {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    object-position:  top;
    display: block;
}
.mgtb{
    margin-top: 15px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.card-body {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

.card:hover {
  
    transform: scale(1.02) ; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.guest-item:hover {
  background-color: inherit !important;
  box-shadow: none !important;
  border-color: inherit !important;
  transform: none !important;
  transition: none !important;
}

@media (max-width: 992px) and  (max-width: 576px) {
    .card-img-top {
      aspect-ratio: 4 / 3 ;  
    }
    .anh{
      aspect-ratio: 1 / 1 !important; 
      object-fit: contain !important;
    }
  }
@media (max-width: 768px) {
  .col-md-4 .form-control {
    padding-left: 1px !important; 
    text-align: center;
  }
  .booking-form .row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .booking-form .col-md-4 {
    flex: 1 1 calc(33.333% - 12px) !important;
    max-width: calc(33.333% - 12px) !important;
  }

  .booking-form .col-md-6,
  .booking-form .col-12 {
    flex: 1 1 100%;
    max-width: 100%;
  }

}

select.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #ffffff;
  border: 1px solid #e6e9ec;
  color: var(--main-color);
  padding: 6px 40px 6px 12px;
  border-radius: 6px;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%237C3821' height='16' width='16' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  height: 38px;
}

select.form-select:focus {
  outline: none;
  border-color: #e6e9ec;
  box-shadow: 0 0 5px rgba(172, 171, 170, 0.5);
}
select.form-select option {
  color: #222222;
}
.flatpickr-calendar {
  border-color: #7C3821 !important;
  margin-top: 15px;  
  margin-bottom: 15px;  
}

.flatpickr-day.today,
.flatpickr-day.selected {
  background-color: #7C3821 !important;
  border-color: #7C3821 !important;
  color: #fff !important;
}


.flatpickr-time input {
  color: #7C3821 !important;
}

.flatpickr-time {
  display: flex;
  justify-content: space-between;  
  align-items: center;
  padding: 3px 5px; 
  width: 100px; 
  box-sizing: border-box;  
}

.flatpickr-time input {
  width: 40px;  
  height: 25px;  
  text-align: center;
  font-size: 14px !important; 
  padding: 3px;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-sizing: border-box; 
   font-weight: normal !important;
}

.flatpickr-calendar {
  width: auto !important;
  max-width: 100% !important; 
  box-sizing: border-box;
}

/* button */
.btn-auto-shine {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 12px 34px;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, #7C3821, #A45A3F);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(124, 56, 33, 0.6);
  animation: float 2s ease-in-out infinite; 
  transition: all 0.3s ease;
}

.btn-auto-shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.01) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.01) 100%
  );
  transform: skewX(-25deg);
  animation: shine 1.5s linear infinite; 
}

.btn-auto-shine:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px #7C3821;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
  .custom-dropdown {
    position: relative;
    width: 100%;
    font-family: inherit;
  }

  .custom-dropdown .selected {
    background: #fff;
    border: 2px solid #dee2e6;
    padding: 6px 15px;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
  }

  .custom-dropdown .selected::after {
    content: "▼";
    float: right;
    color: #959595;
    font-size: 12px;
    margin-top: 3px;
  }

  .custom-dropdown.active .selected::after {
    transform: rotate(180deg);
  }

  .custom-dropdown .dropdown-list {
    display: none;
    position: absolute;
    width: 100%;
    background: #ffffff;
    color: #000000;
    border-radius: 8px;
    margin-top: 4px;
    padding: 0;
    list-style: none;
    z-index: 999;
    overflow: hidden;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  .custom-dropdown.active .dropdown-list {
    display: block;
  }

  .custom-dropdown .dropdown-list li {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .custom-dropdown .dropdown-list li:hover {
    background: #fef3f0;
  }

  .text-danger {
    font-size: 0.875em;
  }
.no-hover:hover {
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
}
.booking-toast {
    position: fixed;
    top: 90px;
    right: 25px;
    width: 380px;
    max-width: calc(100vw - 40px);
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #eeeeee;
    z-index: 99999;
    opacity: 0;
    transform: translateX(120%);
    animation: bookingToastIn 0.4s ease forwards;
}

.booking-toast-success {
    border-left: 4px solid #4d8b55;
}

.booking-toast-error {
    border-left: 4px solid #c95757;
}

.toast-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.booking-toast-success .toast-icon {
    background: #4d8b55;
}

.booking-toast-error .toast-icon {
    background: #c95757;
}

.toast-content {
    flex: 1;
    min-width: 0;
    padding-right: 5px;
}

.toast-title {
    margin-bottom: 3px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #5b2d20;
}

.toast-message {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: #555555;
    overflow-wrap: anywhere;
}

.toast-close {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    padding: 0;
    border: none;
    background: transparent;
    color: #999999;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.toast-close:hover {
    background: #f5f5f5;
    color: #5b2d20;
}

@keyframes bookingToastIn {
    0% {
        opacity: 0;
        transform: translateX(120%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.booking-toast.hide {
    animation: bookingToastOut 0.35s ease forwards;
}

@keyframes bookingToastOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(120%);
    }
}

@media (max-width: 768px) {
    .booking-toast {
        top: 80px;
        right: 18px;
        width: 350px;
        max-width: calc(100vw - 36px);
        padding: 13px 15px;
    }
}

@media (max-width: 576px) {
    .booking-toast {
        top: 75px;
        left: 15px;
        right: 15px;
        width: auto;
        max-width: none;
        min-height: 60px;
        padding: 12px 13px;
        border-radius: 10px;
    }

    .toast-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        margin-right: 10px;
        font-size: 15px;
    }

    .toast-title {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .toast-message {
        font-size: 13px;
        line-height: 1.4;
    }

    .toast-close {
        width: 26px;
        height: 26px;
        margin-left: 3px;
        font-size: 21px;
    }
}

@media (max-width: 374px) {
    .booking-toast {
        top: 70px;
        left: 10px;
        right: 10px;
        padding: 10px 11px;
    }

    .toast-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        margin-right: 8px;
        font-size: 14px;
    }

    .toast-title {
        font-size: 13px;
    }

    .toast-message {
        font-size: 12px;
    }

    .toast-close {
        font-size: 20px;
    }
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 20px;
}

.pagination .page-link {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 14px;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

@media (max-width: 576px) {
    .pagination {
        gap: 2px;
    }

    .pagination .page-link {
        min-width: 36px;
        height: 36px;
        padding: 5px 9px;
        font-size: 13px;
    }
}
    .about-content {
    background: #fff0e4;
    border-radius: 18px;
    padding: 30px;
}

.about-content h4 {
    color: #7c3821;
    line-height: 1.15;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
}

.about-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #171717;
    margin-bottom: -10px;
}

.about-content .btn {
    background: transparent;
    border: none;
    color: #7c3821;
    padding: 0;
    font-size: 14px;
}
.about-content .btn:hover {
    color: #7c3821;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 768px) {
    .about-content {
        padding: 25px 22px;
        border-radius: 16px;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .about-content p {
        font-size: 15px;
        line-height: 1.7;
    }
}
@media (max-width: 768px) {

    .navbar-collapse {
        position: absolute !important;
        top: 85px !important;
        right: 10px !important;
        left: auto !important;

        width: 140px !important;
        max-width: 140px !important;

        background-image: url('../img/background_dt.webp') !important;
        background-size: auto !important;
        background-position: center !important;
        background-repeat: repeat !important;

        border-radius: 8px;
        padding: 10px 15px;

        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

        z-index: 10000;
    }

    .navbar-nav {
        width: 100%;
        text-align: center;
    }

}