/* --- Tổng thể trang --- */
*{
    text-decoration: none;
}
body {
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
}

/* --- Header --- */
header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 4px #ffffff;
    max-height: 60px;
}

/* --- Bố cục header --- */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Logo --- */
.logo {
    height: 120px;
    border-radius: 6px;
}

/* --- Thanh điều hướng --- */
.navbar a {
    text-decoration: none;
    color: #141414;
    margin: 0 12px;
    font-weight: bold;
    transition: color 0.2s;
    font-size: 15px;
}

.navbar a:hover {
    color: #c59d5f; /* màu vàng nhạt sang trọng */
}

/* --- Gạch ngang dưới header --- */
hr {
    border: none;
    border-top: 2px solid #ffffff;
    margin: 0;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    .navbar {
        margin-top: 10px;
    }
}

/* --- BOX BẢNG GIÁ --- */
.box-banggia-title {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
    margin-top: 40px;
    margin-bottom: 10px;
    max-width: 1200px;
    flex-wrap: wrap;
}

/* --- Mỗi ô --- */
.banggia-title {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banggia-title:hover .banggia-title-img {
    transform: scale(1.05);
    border-color: #c59d5f;
    color: #c59d5f;
    box-shadow: 0 4px 12px rgba(197,157,95,0.3);
}

.banggia-title:hover .banggia-title-name {
    color: #c59d5f;
}

/* --- Hình tròn bao quanh icon --- */
.banggia-title-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.banggia-title-img:hover {
    border-color: #c59d5f;
    background-color: rgba(250, 188, 94, 0.25);
    box-shadow: 0 4px 12px rgba(197,157,95,0.3);
}
.banggia-title.active .banggia-title-img {
    background-color: #fff8e1;
    border-color: #c59d5f;
    box-shadow: 0 4px 10px rgba(197,157,95,0.25);
}

/* --- Icon bên trong hình tròn --- */
.banggia-title-img img {
    width: 100px;
    height: 100px;
}

/* --- Tên bên dưới hình tròn --- */
.banggia-title-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {


    .box-banggia-title {
       /* flex-direction: column;*/
        align-items: center;
        margin-top: 100px;
        margin-bottom: 10px;
        gap: 60px;
    }

    .banggia-title-img {
        width: 100px;
        height: 100px;
    }

    .media-img {
        width: 70px !important;
        height: 70px !important;
    }

    .banggia-title-name {
        font-size: 14px;
    }
}

/* --- BOX BẢNG GIÁ NỘI DUNG --- */
.content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Khung ngoài bảng giá --- */
.box-out-banggia {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin: 20px auto;
    max-width: 1200px;
}

.mb-20 {
    margin-bottom: 20px;
}

.fw-700 {
    font-weight: 700;
}

/* --- Bảng giá vàng --- */
.table-banggia {
    width: 100%;
    border-collapse: collapse;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
    font-size: 15px;
}

.table-banggia thead {
    background-color: #c59d5f; /* màu vàng sang */
    color: #fff;
}

.table-banggia th,
.table-banggia td {
    border: 1px solid #e0e0e0;
    padding: 12px 8px;
    text-align: center;
    vertical-align: middle;
}

.table-banggia th {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.3px;
}

/* --- Hàng lẻ có màu nền nhẹ --- */
.table-banggia tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* --- Hiệu ứng hover từng dòng --- */
.table-banggia tbody tr:hover {
    background-color: #fff8e1;
    transition: background-color 0.2s ease;
}

/* --- Màu chữ động --- */
.text-danger {
    color: #d9534f; /* đỏ */
}

.text-success {
    color: #28a745; /* xanh */
}

/* --- Bảng responsive --- */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* --- Responsive trên mobile --- */
@media (max-width: 768px) {
    .table-banggia th, 
    .table-banggia td {
        font-size: 14px;
        padding: 10px 6px;
    }

    .box-out-banggia {
        padding: 15px;
    }
}


/* ===== FOOTER STYLES ===== */
footer,
.footer-bottom {
  text-align: center;
  background-color: #ffffff;
  color: #000000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 20px 10px;
}

/* --- Bố cục chính: logo + thông tin --- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 40px;
  flex-wrap: wrap; /* tự xuống hàng khi màn nhỏ */
  max-width: 1200px;
  margin: 10px auto;
  background-color: #ffffff;
  border-top: 1px solid #c59d5f;
  padding: 15px;
}

/* --- Logo --- */
#logo-footer {
  width: 100px;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* --- Thông tin công ty --- */
.info-footer {
  text-align: left;
  /*font-weight: bold;*/
  max-width: 600px;
}

.info-footer p {
  margin: 4px 0;
  font-size: 14px;
  line-height: 1.5;
}

/* --- Bản quyền cuối trang --- */
footer {
  /*background-color: #ffffff;
  border-top: 1px solid #000000;
  */
  padding: 15px;
}

footer p {
  margin: 0;
  font-size: 13px;
}

/* --- Responsive cho mobile --- */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  #logo-footer {
    width: 80px;
  }

  .info-footer {
    text-align: center;
  }

  .info-footer p {
    font-size: 13px;
  }

  footer p {
    font-size: 12px;
  }
}
/* ===== END FOOTER STYLES ===== */

