/**
 * Tinh chỉnh nhẹ — CỐ TÌNH không đổi bố cục, padding, font hay màu chữ.
 *
 * File này chỉ làm 3 việc:
 *   1. Thêm transition mềm cho các phần tử có hover.
 *   2. Bo góc nhẹ cho ảnh.
 *   3. Ẩn thanh cuộn bên trong khối chữ (tránh lộ thanh cuộn khi animation chạy).
 *
 * Muốn trở về 100% giao diện gốc: xoá thẻ <link> tới file này trong index.php.
 */

:root {
  --mz-gold: #c9a227;
  --mz-gold-soft: #d9b45f;
  --mz-ease: cubic-bezier(.22, .61, .36, 1);
}

/* 1. Transition mềm cho phần tử tương tác */
.btn,
.tab-nav li,
.children-tab-nav li,
#main-menu .menu-list a,
#footer a,
.social-item a,
.row-banner-form .social-network-item,
.logo-image a {
  transition:
    color .2s var(--mz-ease),
    background-color .2s var(--mz-ease),
    border-color .2s var(--mz-ease),
    opacity .2s var(--mz-ease),
    transform .2s var(--mz-ease);
}

/* 2. Ảnh bo góc nhẹ (không đổi kích thước hay tỉ lệ) */
.single-item-slider .image img,
.image-zoom img,
.utilitie-map img,
.location-img img,
.children-img img,
.angent-list-slider img {
  border-radius: 10px;
}

/* 3. Khối chữ có cuộn bên trong: ẩn thanh cuộn để không lộ khi animation chạy.
   Vẫn cuộn được bằng chuột / bàn phím như bình thường. */
.row-location .text-box .inner,
.row-shophouse .text-box .inner,
.row-townhouse .text-box .inner,
.row-villas .text-box .inner {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.row-location .text-box .inner::-webkit-scrollbar,
.row-shophouse .text-box .inner::-webkit-scrollbar,
.row-townhouse .text-box .inner::-webkit-scrollbar,
.row-villas .text-box .inner::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* 4. Link footer sáng hơn khi hover */
#footer a:hover {
  color: var(--mz-gold-soft);
}

/* ------------------------------------------------------------------
   Form đăng ký: nền đặc + viền vàng + đổ bóng để nổi khỏi banner
   ------------------------------------------------------------------ */
.row-banner-form {
  background: rgba(13, 24, 40, .94);
  border: 1px solid rgba(201, 162, 39, .42);
  border-top-width: 3px;
  border-radius: 14px;
  box-shadow:
    0 26px 60px rgba(0, 0, 0, .45),
    0 0 0 1px rgba(255, 255, 255, .05) inset;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Giữ nguyên dạng tấm trượt trên mobile nhưng vẫn nổi */
@media (max-width: 767px) {
  .row-banner-form.fixed-form {
    border-radius: 18px 18px 0 0;
    border-bottom: none;
  }
}

/* Khi đã có ảnh: thẻ co lại vừa ảnh, không để khoảng trống hai bên */
.cf-image.has-image .cf-drop {
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
}

/* Khung form banner: co theo nội dung thay vì kéo hết chiều cao */
.row-banner-form {
  bottom: auto;
  max-height: none;
  height: auto;
}
