/* ==================== HEADER CỐ ĐỊNH ==================== */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background-color: #fff;
  border-bottom: 2px solid #1a71cc;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 1000;
}

body {
  padding-top: 150px;
  font-size: 16px;
}
@media (max-width: 1024px) {
  body {
    padding-top: 90px;
    font-size: 14px;
  }
}

/* ==================== LOGO + HAMBURGER ==================== */
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-container img {
  width: 80px;
  height: auto;
}

.logo-text {
  font-size: 26px;
  font-weight: 700;
  color: #2e2670;
  text-transform: uppercase;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  background-color: #1a71cc;
  border-radius: 1px;
}

.hamburger:focus {
  outline: 2px solid #ffeb00;
  outline-offset: 2px;
}

/* ==================== HEADER INFO ==================== */
.header-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #444;
  font-size: 14px;
}

.info-box i {
  font-size: 24px;
  color: #1a71cc;
}

.info-text {
  flex-direction: column;
  line-height: 1.3;
}

.info-text strong {
  font-weight: bold;
  font-size: 15px;
  margin: 0;
}

.info-text span {
  color: #666;
  font-size: 14px;
  margin: 0;
}

/* ==================== TÌM KIẾM + CỜ ==================== */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==================== MENU ==================== */
.main-nav {
  background-color: #348dda;
  position: fixed;
  top: 110px;
  left: 0;
  right: 0;
  z-index: 999;
  font-size: 18px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 10px 30px;
  gap: 30px;
}

.main-nav ul li a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  padding: 5px 10px;
}

.main-nav ul li a:hover {
  color: white;
}

.main-nav ul li a.active {
  color: white;
  border-radius: 5px;
}

/* ==================== BANNER ==================== */
.slider-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: -3px;
}

.slider-banner .slides {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.slider-banner img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  max-height: 500px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  body {
    font-size: 14px;
  }

  .top-header {
    padding: 0 15px;
  }

  .logo-container img {
    width: 50px;
  }

  .logo-text {
    font-size: 16px;
  }

  .header-info,
  .header-right {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background-color: #348dda;
    padding-top: 70px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 15px;
    padding-left: 20px;
    margin: 0;
    justify-content: flex-start;
  }

  .main-nav ul li a {
    font-size: 16px;
    color: white;
    font-weight: bold;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .main-nav ul li a.active,
  .main-nav ul li a:hover {
    color: #ffeb00;
  }

  .main-nav .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 99999;
  }

  .slider-banner {
    margin-top: 1px;
  }
  .slider-banner img {
    max-height: 300px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  body {
    padding-top: 100px;
    font-size: 15px;
  }

  .top-header {
    height: 80px;
    padding: 10px 20px;
  }

  .logo-container img {
    width: 60px;
  }

  .logo-text {
    font-size: 20px;
  }

  .info-box {
    font-size: 13px;
  }

  .info-text strong {
    font-size: 14px;
  }

  .info-text span {
    font-size: 13px;
  }

  .main-nav {
    top: 80px;
    font-size: 16px;
  }

  .main-nav ul {
    gap: 20px;
    padding: 8px 20px;
  }

  .tour-search-form input[type="text"] {
    width: 100px;
  }

  .featured-services {
    padding: 30px 40px;
  }

  .news-section {
    padding: 30px 40px;
  }

  .footer-container {
    gap: 20px;
  }

  .contact-container {
    padding: 30px 20px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 15px;
  }

  .contact-title {
    font-size: 26px;
  }

  .why-choose-us h2 {
    font-size: 24px;
  }

  .stat-number {
    font-size: 30px;
  }

  .stat-label {
    font-size: 13px;
  }
}

/* Gộp search và flags */
.search-and-flags {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 20px;
}

.tour-search-form {
  display: flex;
  align-items: center;
}

.tour-search-form input[type="text"] {
  display: none;
  width: 150px;
  padding: 5px 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 5px;
  transition: all 0.3s ease;
}

.tour-search-form.active input[type="text"] {
  display: inline-block;
}

.tour-search-form button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #1a71cc;
}

.tour-search-form button:hover {
  background-color: #0056b3;
}

.flags {
  display: flex;
  align-items: center;
  gap: 6px;
}

.flags img {
  height: 24px;
  cursor: pointer;
  width: 60px;
  height: 40px;
  border: 1px solid #ccc;
}

/* === FOOTER === */
.site-footer {
  background-color: #348dda;
  color: #eee;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1500px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 280px;
  margin-bottom: 20px;
  padding-right: 10px;
}

.footer-logo {
  width: 100px;
  margin-bottom: 15px;
}

.footer-column h3 {
  color: #f5c518;
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
  display: inline-block;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 3px;
  width: 40px;
  background: linear-gradient(to left, #428dff, #03bcca);
  border-radius: 2px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
}

.footer-column ul li::marker {
  content: none;
}

.footer-column a {
  color: #eee;
  text-decoration: none;
  font-size: 14px;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-column.links,
.footer-column.contact {
  flex: 0.5;
}
.footer-column.links ul li::before {
  content: "»";
  color: #f7de83;
  margin-right: 6px;
  font-weight: bold;
}

.contact-list li i {
  margin-right: 8px;
  color: #f7de83;
  width: 20px;
  display: inline-block;
  font-size: 16px;
}

.footer-column .contact-map {
  max-width: 100%;
  margin-top: 10px;
}

.footer-column .contact-map iframe {
  width: 80%;
  height: 180px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: none;
  display: block;
}

.social-icons {
  margin-top: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  overflow: hidden;
}

.social-icons a:hover {
  background-color: #f7de83;
  transform: translateY(-2px);
}

.social-icons i {
  font-size: 20px;
  color: #348dda;
}

.zalo-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  border-top: 1px solid #444;
  padding-top: 10px;
}

/* Responsive cho điện thoại */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-column {
    width: 100%;
    padding-right: 0;
    text-align: left;
  }

  .footer-column ul,
  .footer-column li,
  .footer-column p,
  .footer-column h3 {
    text-align: left;
  }

  .footer-column h3 {
    display: block;
  }

  .footer-column h3::after {
    margin-left: 0;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .footer-column .contact-map iframe {
    height: 160px;
  }
  .social-icons {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}

/* SOCIAL ICONS */
.social-icons {
  margin-top: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  overflow: hidden;
}

.social-icons a:hover {
  background-color: #f5c518;
  transform: translateY(-2px);
}

.social-icons i {
  font-size: 20px;
  color: #348dda;
}

.zalo-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* TOUR NỔI BẬT - ĐÃ CHỈNH RESPONSIVE TOÀN BỘ */
.section-wrapper-bg {
  background-color: #fef7ef;
  padding: 10px 0;
}

.featured-services {
  padding: 40px 130px;
}

.featured-services .section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #134c87;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  justify-content: center;
}

@media (max-width: 1200px) {
  .featured-services {
    padding: 30px 60px;
  }
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .featured-services {
    padding: 30px 30px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .featured-services {
    padding: 20px 16px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .featured-services .section-title {
    font-size: 24px;
  }
}

/* === TOUR CARD === */
.service-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  padding-bottom: 16px;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (max-width: 600px) {
  .service-card img {
    height: 180px;
  }
}

.sale-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(45deg, #ff0000, #ff9900);
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 50px;
  z-index: 5;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(255, 153, 0, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
  }
}

.departure-label {
  position: absolute;
  top: 10px;
  right: 10px;
  background: orange;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  z-index: 5;
}

.tour-title {
  font-size: 15px;
  font-weight: bold;
  padding: 12px 12px 0;
  color: #222;
  min-height: 45px;
}

.tour-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 6px 12px 0;
}

.tour-details {
  font-size: 15px;
  color: #444;
  flex-direction: column;
}

.tour-details i {
  margin-right: 6px;
  color: #1a71cc;
}

.price-box {
  font-size: 16px;
  font-weight: bold;
  color: red;
  text-align: right;
  white-space: nowrap;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  line-height: 1.3;
  padding-top: 15px;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  margin-top: 2px;
}

.view-more-green {
  display: block;
  margin-top: auto;
  margin-left: 20px;
  margin-right: 20px;
  padding: 8px 16px;
  background: #317fd3;
  color: #fff;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.view-more-green:hover {
  background: #218838;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto 0;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination a {
  display: inline-block;
  padding: 8px 14px;
  background-color: #f0f0f0;
  color: #1a73e8;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 1px solid #dcdcdc;
}

.pagination a:hover {
  background-color: #1a73e8;
  color: white;
  border-color: #1a73e8;
}

.pagination a.active {
  background-color: #1a73e8;
  color: white;
  pointer-events: none;
  border-color: #1a73e8;
}

/**/
.contact-btn {
  margin-top: auto;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #0056b3;
}

.button-group {
  display: flex;
  gap: 10px;
  margin-top: auto;
  justify-content: center;
}

/* ========== NEWS SECTION RESPONSIVE ========== */

.news-section {
  padding: 40px 100px;
  background-color: #f9f9f9;
}

.news-section .section-title {
  font-size: 28px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 30px;
  text-align: center;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.news-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.news-card h3 {
  font-size: 16px;
  color: #222;
  margin-bottom: 12px;
  flex-grow: 1;
}

.read-more {
  font-size: 14px;
  color: #dc3545;
  text-decoration: none;
  font-weight: 500;
  margin-top: auto;
  display: inline-block;
}

.read-more:hover {
  color: #b02a37;
}

@media (max-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .news-section {
    padding: 20px 16px;
  }

  .news-section .section-title {
    font-size: 22px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card img {
    height: 160px;
  }

  .news-card h3 {
    font-size: 15px;
  }

  .read-more {
    font-size: 13px;
  }
}

.view-more-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #1a73e8;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.view-more-btn:hover {
  background-color: #0c56b0;
}

#zalo-chat {
  position: fixed;
  bottom: 140px;
  right: 20px;
  z-index: 999;
}

#zalo-chat img {
  width: 60px;
  height: 60px;
  cursor: pointer;
}
#facebook-link {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 999;
  padding-right: 5px;
}

#facebook-link img {
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.contact-container {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.contact-title {
  text-align: center;
  font-size: 30px;
  color: #1a73e8;
  margin-bottom: 30px;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: stretch;
}

.contact-form {
  margin-top: 25px;
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.contact-submit {
  background-color: #1a73e8;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-submit:hover {
  background-color: #135ecf;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.contact-info p {
  margin: 12px 0;
  font-size: 16px;
  color: #333;
}

.contact-info i {
  color: #1a73e8;
  margin-right: 8px;
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }
}

.why-choose-us {
  background: linear-gradient(rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.1)),
    url("../images/anhnen.png") no-repeat center center;
  background-size: cover;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
  position: relative;
}

.why-choose-overlay {
  padding: 40px;
  border-radius: 10px;
  max-width: 1000px;
  margin: 0 auto;
}

.why-choose-us h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: bold;
}

.why-choose-us p {
  margin-bottom: 30px;
  font-size: 16px;
}

.why-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-number {
  font-size: 36px;
  font-weight: bold;
}

.stat-label {
  font-size: 14px;
  margin-top: 8px;
}

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 25px;
  z-index: 998;
  background-color: white;
  color: black;
  border: none;
  outline: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollTopBtn:hover {
  background-color: #1558a3;
}

/* ==================== CLOSE MENU ==================== */

@media (min-width: 961px) {
  .main-nav .close-btn {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .main-nav .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 99999;
    display: block;
  }
}

@media (min-width: 769px) and (max-width: 960px) {
  .top-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
    height: auto;
    gap: 10px;
  }

  .header-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .logo-text {
    font-size: 24px;
    margin-bottom: 5px;
  }

  .info-text strong {
    font-size: 16px;
  }

  .info-text span {
    font-size: 14px;
  }

  .main-nav ul {
    gap: 15px;
    flex-wrap: wrap;
    padding: 10px 0;
    justify-content: center;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-column {
    width: 100%;
    padding-right: 0;
  }

  .contact-map iframe {
    width: 100%;
    height: 200px;
  }
}
