@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&family=Satisfy:wght@400&display=swap');

:root {
  --primary-color: #dfba9f;
  --secondary-color: #2c2c2c;
  --text-dark: #333;
  --bg-light: #faf8f5;
  --font-main: 'Work Sans', sans-serif;
  --font-script: 'Satisfy', cursive;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  margin: 0;
}

/* ================== HEADER ================== */
.navbar {
  background-color: var(--secondary-color) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}
.btn-booking {
  background: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
  padding: 8px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}
.btn-booking:hover {
  background: transparent;
  color: var(--primary-color);
}

/* ================== PRICE SECTION ================== */
.price-section {
  background: #fff;
  padding: 40px 0;
  display: flex;
  justify-content: center;
}
.price-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1400px;
  width: 100%;
}
/* Áp dụng margin-top chỉ cho section đầu tiên */
.price-section:first-of-type .price-container {
  margin-top: 70px;
}

/* Những section còn lại không cần margin-top */
.price-section:not(:first-of-type) .price-container {
  margin-top: 0;
}
.price-content {
  flex: 2;
  padding: 20px;
  background: #fff;
  border-right: 1px dashed #f4a261;
}
.title-satisfy {
  font-family: var(--font-script);
  font-size: 48px;
  line-height: 58px;
  text-align: center;
  color: #141414;
  margin-bottom: 16px;
}
.price-description {
  font-size: 14px;
  font-weight: 600;
  color: #f4a261;
  margin-bottom: 20px;
}
.pricing-list {
  max-height: 330px;
  overflow-y: auto;
  padding-right: 10px;
}
.pricing-list::-webkit-scrollbar {
  width: 8px;
}
.pricing-list::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 4px;
}
.pricing-list ul {
  list-style: none;
  padding: 0;
}
.pricing-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #f4a261;
}
.pricing-list li:last-child {
  border-bottom: none;
}
.pricing-list span {
  font-size: 18px;
  font-weight: 600;
}
.price-value {
  color: #f4a261;
}
.price-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff, #faf8f5);
  padding: 15px; /* thêm padding nhẹ */
  box-sizing: border-box; /* đảm bảo padding không làm tràn khung */
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-image img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* bóng nhẹ */
  object-fit: contain; /* giữ nguyên tỉ lệ và không bị cắt */
}

/* .price-image::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background: linear-gradient(45deg, #d4a373, #f4a261);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(212, 163, 115, 0.5), 0 0 10px rgba(255, 215, 0, 0.3);
  z-index: 0;
} */

/* ================== FOOTER ================== */
.footer-wrapper {
  background-color: var(--secondary-color);
  color: #fff;
}
.subscribe-wrapper {
  background: rgba(0, 0, 0, 0.5);
  padding: 50px 0;
  text-align: center;
}
.subscribe-form h4 {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}
.social-icon-items {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
}
.social-icon-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: 0.3s;
}
.social-icon-item:hover {
  background: #fff;
  color: var(--primary-color);
  transform: translateY(-5px);
}
.footer-content {
  padding: 80px 0 40px;
}
.footer-widget-area {
  margin-bottom: 40px;
}
.footer-widget-area .logo img {
  max-height: 80px;
  margin-bottom: 20px;
}
.widget-text,
.footer-links a,
.contact-info a {
  color: #ccc;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.3s;
}
.widget-title h4 {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 600;
}
.contact-info a:hover,
.footer-links a:hover {
  color: var(--primary-color);
}
.contact-info i {
  color: var(--primary-color);
  font-size: 1.2rem;
}
.foh-date {
  font-weight: 600;
  width: 40%;
}
.foh-date,
.foh-time {
  padding: 8px 0;
}
.footer-copyright {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px 0;
  text-align: center;
}

/* ================== FLOATING BUTTONS ================== */
/* Floating Action Buttons */
.freeze-footer {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.freeze-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn_call_now,
.btn_make_appointment {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  background: gray;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn_call_now {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.btn_make_appointment {
  background: linear-gradient(135deg, #d9a679, #c9a480);
}

/* Icon styling with animation */
.btn_call_now img,
.btn_make_appointment img {
  width: 28px;
  height: 28px;
  animation: bounce 2s infinite ease-in-out;
}

/* Hover effect */
.btn_call_now:hover,
.btn_make_appointment:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn_call_now:hover img,
.btn_make_appointment:hover img {
  animation: pulse 0.6s ease;
}

/* Responsive */
@media (max-width: 480px) {
  .freeze-footer {
    bottom: 20px;
    right: 20px;
  }

  .btn_call_now,
  .btn_make_appointment {
    width: 70px;
    height: 70px;
  }

  .btn_call_now img,
  .btn_make_appointment img {
    width: 25px;
    height: 25px;
  }
}

/* Bounce animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Pulse animation for hover */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}


/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: 0.3s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--secondary-color);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 991.98px) {
  .price-container {
    flex-direction: column;
  }
  .price-content {
    border-right: none;
    border-bottom: 1px dashed #f4a261;
  }
  .pricing-list {
    max-height: 250px;
  }
  .title-satisfy {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 480px) {
  .title-satisfy {
    font-size: 28px;
    line-height: 36px;
  }
  .pricing-list li span,
  .price-value {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .price-section {
    padding: 20px 0 !important; /* giảm từ 40px xuống 20px */
  }

  .price-content {
    padding: 15px !important; /* giảm padding nội dung */
  }

  .pricing-list {
    max-height: none; /* cho phép hiển thị toàn bộ nếu muốn */
    padding-right: 0; /* gọn hơn */
  }

  .price-container {
    margin-top: 30px !important; /* giảm khoảng cách section đầu */
  }

  .price-section:first-of-type .price-container {
    margin-top: 90px !important; /* giảm từ 70px xuống 30px */
  }

  .price-section:not(:first-of-type) .price-container {
    margin-top: 10px !important; /* các section sau cách ít hơn */
  }
}
@media (max-width: 768px) {
  .price-section:not(:first-of-type) .price-container {
    margin-top: 20px !important;
  }
}
