/* Reset đơn giản */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* Header tổng thể */
.navbar {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 3px solid red; /* ← thêm dòng này */
}

/* Logo */
.logo-section {
  flex-shrink: 0;
}

.logo {
  height: 50px;
  width: auto;
}

/* Menu chính */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s, background-color 0.3s;
  border-radius: 4px;
}

.nav-links li a:hover {
  color: #a3080f; /* Màu thương hiệu */
  background-color: rgba(163, 8, 15, 0.08); /* Tông màu nhẹ */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(163, 8, 15, 0.2); /* Đổ bóng nhẹ */
  transform: translateY(-1px);
  transition: all 0.3s ease;
}

/* Icon và flag */
.icon,
.flag {
  margin-right: 6px;
}

/* Responsive (tùy chọn, nếu cần) */
@media (max-width: 768px) {
  .nav-links {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Main */
main {
  width: 100%;
  height: auto;
}
/* Slide container */
.slider {
  position: relative;
  width: 100%;
  /* max-width: 1200px; */
  height: 500px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
}

/* Slide wrapper */
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Individual slide */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 0;
}

/* Active slide */
.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Navigation buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Homestay */
/* Layout chung */
body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f4f7fb;
  margin: 0;
  padding: 0;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.project {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 30px;
  margin-bottom: 60px;
}

.project-content h2 {
  color: #0077b6;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.project-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #005f8e, #0097b2);
}

.project-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 25px;
}

.project-image-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: zoom-in;
}

.project-image-grid img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
/* XNK */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
}

.left {
  flex: 1;
  position: relative;
  width: 500px;
}

.left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  position: absolute;
  bottom: 30px;
  left: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 15px 20px;
}

.caption h1 {
  font-size: 36px;
  font-weight: bold;
}

.caption h2 {
  font-size: 28px;
  font-weight: bold;
}

.right {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 400px;
}

.info-box {
  padding: 25px;
  color: #fff;
}

.info-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.info-box p {
  font-size: 15px;
  line-height: 1.5;
}

.blue {
  background: #e6f8fc;
  color: #006d7e;
}

.purple {
  background: #593f57;
}

.teal {
  background: #368c8f;
}

.lightpurple {
  background: #f7eff9;
  color: #3d2f3b;
}
.phap {
  width: 100%;
  background: #f8f9fb;
  padding: 40px 60px;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.phap p {
  max-width: 1200px;
  margin: 0 auto;
  text-align: justify;
}

.phap strong {
  color: #005f73;
}
.image-section {
  width: 100%;
  background-color: #ffffff;
  text-align: center;
  padding: 40px 20px;
}

.image-section img {
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-section img:hover {
  transform: scale(1.03);
}

.image-section p {
  margin-top: 15px;
  font-size: 18px;
  color: #444;
  font-weight: 500;
}

/* Khách hàng & Đối tác */
.partners-section {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
}

.marquee-container {
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused; /* dừng lại khi hover */
}

.partner-item {
  flex: 0 0 auto;
  margin: 0 20px;
}

.partner-item img {
  height: 60px;
  filter: grayscale(0%);
  transition: transform 0.3s ease;
}

.partner-item:hover img {
  transform: scale(1.1);
}

/* Animation */
@keyframes marqueeScroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Footer */
.footer {
  /* background-color: #880315; */
  color: #f1f5f9;
  font-size: 0.95rem;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-between; */
  gap: 40px;
  /* max-width: 1200px; */
  width: 100%;
  /* margin: auto; */
  background-color: #7c0f0f;
  /* align-items: center; */
}

.footer h3 {
  margin-bottom: 12px;
  color: #f5f6f7;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #f1f5f9;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #38bdf8;
}

.footer-bottom {
  text-align: center;
  /* margin-top: 30px; */
  border-top: 1px solid #07a166be;
  padding-top: 12px;
  font-size: 0.85rem;
  color: #f6f6f7;
  background-color: #dfa403;
}
.footer-map {
  flex: 1 1 300px;
}

.footer-map h3 {
  color: #f5f7f8;
  margin-bottom: 12px;
}

.map-container iframe {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
