:root {
  --header-color: #00000079;
  --hover-color: #1BA0E2;
  --background-color: rgb(237, 228, 212);
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}


/* ===== Header top bar ===== */
 .header1 {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.829);
  border-bottom: 1px solid black;
  color: black;
}

.header1 .contact, 
.header1 .account {
  display: flex;
  gap: 30px;
  align-items: center;
}

.header1 .contact {
  margin-left: 60px;
}

.header1 .account {
  margin-left: auto;
  margin-right: 60px;
}
.header1 .account .login {
  background-color: white;
  border-radius: 30px;
  padding: 5px 10px;
  border: #007bff solid 2px;
  font-weight: 900;
}

.header1 .account .register{
  background: radial-gradient(#3C20B4,#4253E1);
  border-radius: 30px;
  padding: 5px 16px;
  border: #007bff solid 2px;
  font-weight: 900;
}

@keyframes slide-bg {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Áp dụng cho nút login */
.header1 .account .login {
  background: linear-gradient(270deg, #cce4ff, #80b8ff, #cce4ff);
  background-size: 400% 100%;
  border: none;
  color: #007bff;
  transition: color 0.3s ease;
  cursor: pointer;
}

.header1 .account .login:hover {
  animation: slide-bg 3s linear infinite;
  color: #003d99; 
}

.header1 .account .register {
  background: linear-gradient(270deg, #4a32a8, #1BA0E2, #007bff);
  background-size: 400% 100%;
  border: none;
  color: white;
  transition: color 0.3s ease;
  cursor: pointer;
}

.header1 .account .register:hover {
  animation: slide-bg 3s linear infinite;
  color: #d0cfff;
}


.header1 .contact .phone {
  border-right: 1px solid white;
  padding-right: 30px;
}

.header1 a {
  color: black;
  text-decoration: none;
}
.header1 .account .login a {
  color: #007bff;
  text-decoration: none;
}
.header1 .account .register a {
  color: white;
  text-decoration: none;
}

.header1 a:hover {
  color: #4361EE;
} 

/* ===== Header video ===== */
.header video {
  width: 100%;
  height: auto;
  position: relative;
}

/* ===== Header menu ===== */


.header-menu,
.header-menu.fixed-clone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  top: 40px;
  z-index: 10;
}

.header-menu,
.header-menu.fixed-clone {
  box-sizing: border-box;
}


.header-menu {
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
  padding: 20px;
}

/* .header-menu:hover {
  background-color: rgba(0, 0, 0, 0.705);
} */

.header-menu.fixed-clone {
  position: fixed;
  top: 0;
  left: 0;
  background-color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 999;
}
.header-menu.fixed-clone {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.573);
  transition: box-shadow 0.3s ease;
}


.header-menu.fixed-clone.show {
  opacity: 1;
  pointer-events: auto;
}

.header-menu ul,
.header-menu.fixed-clone ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-menu ul li,
.header-menu.fixed-clone ul li {
  font-weight: bold;
  font-size: 15px;
  text-transform: uppercase;
  
}

.header-menu ul li a,
.header-menu.fixed-clone ul li a {
  position: relative;
  display: inline-block;
  color: black;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.header-menu ul li a::after,
.header-menu.fixed-clone ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background-color: #4361EE;
  transition: width 0.4s ease;
  transform: translateX(-50%);
}

.header-menu ul li a:hover,
.header-menu.fixed-clone ul li a:hover {
  transform: scale(1.1);
  color:#4361EE;
}

.header-menu ul li a:hover::after,
.header-menu.fixed-clone ul li a:hover::after {
  width: 100%;
}

.header-menu .menu-link.active,
.header-menu.fixed-clone .menu-link.active {
  color: black;
  border-bottom: 2px solid #4361EE;
  transform: scale(1.1);
}

/* ===== Header content ===== */
.header-main {
  position: absolute;
  top: 130px;
  width: 100%;
  text-align: center;
  color: white;
}

.header-main img {
  width: 600px;
  height: auto;
  margin: 0 auto 20px;
}

.header-main .VanBan {
  text-transform: uppercase;
}

.header-main .VanBan h1 {
  margin: 15px auto;
  font-size: 40px;
  color: white;
  -webkit-text-stroke: 1px black;
 
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
}


.header-main .VanBan h3 {
  margin: 5px auto;
  font-size: 18px;
   -webkit-text-stroke: 0.3px black;
  
}

.header-main .Search {
  position: relative;
  width: 600px; 
  margin: 50px auto;
}

.header-main .Search input {
  width: 100%; 
  height: 50px;
  border-radius: 50px;
  background: transparent;
  color: white;
  padding-left: 30px;
  padding-right: 70px; 
  border: 2px solid white;
  box-sizing: border-box; /
}

.header-main .Search button {
  position: absolute;
  top: 50%;
  right: 0px; 
  transform: translateY(-50%);
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background-color: rgba(255, 255, 0, 0.868);
  border: none;
  cursor: pointer;
}


input::placeholder {
  color: white;
  font-size: 17px;
}



/* ===== Box1 Section ===== */

 /* .main .box1 {
   background-color: white; 
} */


.main .box1 .tieude h2 {
  font-size: 36px;
  margin: 29px 60px;
  font-weight: 600;
  text-align: center;
  /* padding-bottom: 30px; */
}





.main .box1 .td3 {
  font-size: 20px;
  margin: 20px 60px;
  opacity: 0.8;
  text-align: center;
}

/* ===== Swiper area ===== */
.anh1 {
  width: 1150px;
  height: 300px;
  background-color: antiquewhite;
  border-radius: 10px;
  border: 0.5px solid black;
  overflow: hidden;
  margin: 0 auto;
}

.anh1 .swiper .swiper-wrapper img {
  object-fit: cover;
  object-position: center bottom;
  width: 100%;
  height: 100%;
}

.anh1 .swiper .swiper-slide {
  height: 500px;
}

/* Swiper dots */
.swiper-pagination {
  bottom: 210px !important;
  text-align: center;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #dcdcdc;
  opacity: 1;
  margin: 0 6px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.swiper-pagination-bullet-active {
  background-color: #888888;
}

.summer-vibes {
  padding: 40px 20px;
  background-color: #fff;
  text-align: center;
}

.summer-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.summer-subtitle {
  font-size: 20px;
  color: #666;
  margin-bottom: 40px;
}

.summer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.summer-card {
  width: 275px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.summer-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}
.summer-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 0 0 1px #007bff,             /* viền trong màu xanh đậm */
    0 0 20px 8px rgba(0, 123, 255, 0.3);  
}

.summer-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  padding: 15px;
  text-align: left;
}

.summer-info h3 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

.summer-info p {
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.4;
}

.summer-info a {
  color: #fff;
  text-decoration: underline;
}

/* điểm đến yêu thích */
.destination-grid {
  display: flex;
  gap: 20px;
}
.destination-grid2 {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.cs2 {
  display: flex;
  gap: 20px;
}





.row2 {
  display: flex;
  gap: 20px;
}

.favorite-destination h2 {
  font-size: 36px;
  margin: 29px 60px;
  font-weight: 600;
  text-align: center;
}

.favorite-destination p {
  font-size: 20px;
  margin: 20px 60px;
  opacity: 0.8;
  text-align: center;
}
.favorite-destinations {
  padding: 40px 60px;
  background-color: #f9f9f9;
}



.destination-card1 {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  width: 800px;
  overflow: hidden;
  height: 200px;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-left: 50px;
}

.destination-card2 {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  width: 390px;
  overflow: hidden;
  height: 200px;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-left: 50px;
  margin-top: 20px;
}
.destination-card3 {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  width: 390px;
  overflow: hidden;
  height: 200px;
  cursor: pointer;
  transition: transform 0.3s ease;
  /* margin-left: 50px; */
  margin-top: 20px;
}
.destination-card4 {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  width: 340px;
  overflow: hidden;
  height: 420px;
  cursor: pointer;
  transition: transform 0.3s ease;
  /* margin-right: 20px; */
}

.destination-card5 {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  width: 390px;
  overflow: hidden;
  height: 420px;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-left: 50px;
  margin-top: 20px;
}

.destination-card6 {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  width: 750px;
  overflow: hidden;
  height: 200px;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-top: 20px;
}

.destination-card7 {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  width: 370px;
  overflow: hidden;
  height: 200px;
  cursor: pointer;
  transition: transform 0.3s ease;
  /* margin-left: 50px; */
  margin-top: 20px;
}
.destination-card8 {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  width: 360px;
  overflow: hidden;
  height: 200px;
  cursor: pointer;
  transition: transform 0.3s ease;
  /* margin-left: 50px; */
  margin-top: 20px;
}

.destination-card1:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 0 0 1px #007bff,             /* viền trong màu xanh đậm */
    0 0 20px 8px rgba(0, 123, 255, 0.3);  
}
.destination-card2:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 0 0 1px #007bff,             /* viền trong màu xanh đậm */
    0 0 20px 8px rgba(0, 123, 255, 0.3);  
}
.destination-card3:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 0 0 1px #007bff,             /* viền trong màu xanh đậm */
    0 0 20px 8px rgba(0, 123, 255, 0.3);  
}
.destination-card4:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 0 0 1px #007bff,             /* viền trong màu xanh đậm */
    0 0 20px 8px rgba(0, 123, 255, 0.3);  
}
.destination-card5:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 0 0 1px #007bff,             /* viền trong màu xanh đậm */
    0 0 20px 8px rgba(0, 123, 255, 0.3);  
}
.destination-card6:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 0 0 1px #007bff,             /* viền trong màu xanh đậm */
    0 0 20px 8px rgba(0, 123, 255, 0.3);  
}
.destination-card7:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 0 0 1px #007bff,             /* viền trong màu xanh đậm */
    0 0 20px 8px rgba(0, 123, 255, 0.3);  
}
.destination-card8:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 0 0 1px #007bff,             /* viền trong màu xanh đậm */
    0 0 20px 8px rgba(0, 123, 255, 0.3);  
}




.destination-card:hover {
  transform: scale(1.02);
}

.destination-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: white;
  padding: 15px;
}

.destination-info h3 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

.destination-info p {
  margin: 5px 0 0;
  font-size: 14px;
  text-align: left;
}


.why-choose {
  background-color: #f7f9fb;
  padding: 60px 20px;
  text-align: center;
}

.why-choose .title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.why-choose .subtitle {
  font-size: 20px;
  color: #555;
  margin-bottom: 40px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-box {
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 320px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}



.feature-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-box p {
  font-size: 17px;
  color: #333;
}

.testimonial-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9fbfc;
}

.testimonial-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.testimonial-section p {
  color: #555;
  font-size: 16px;
  margin-bottom: 40px;
}

.testimonial-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.06);
  padding: 20px;
  width: 300px;
  text-align: left;
}

.stars {
  color: #ffc107;
  font-size: 18px;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 15px;
  color: #333;
  margin-bottom: 16px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.user-info strong {
  font-weight: 600;
}

.fixed-icons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1000;
}

.icon-button {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, white 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.icon-button:hover {
  transform: scale(1.1);
}

/* .icon-img {
  width: 35px;
  height: 35px;
  z-index: 2;
} */
.icon-img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  z-index: 2;
}


/* Viền chấm ngoài */
.outer-ring {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px dashed #4361EE;
  animation: rotate 6s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Icon Zalo có màu khác */
.icon-button.zalo {
  background: radial-gradient(circle, white 100%);
}

/* Quay vòng viền chấm */
@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Reset một chút cho mobile */
* {
  box-sizing: border-box;
}

/* ==== Mobile (max-width: 575px) ==== */
@media (max-width: 575px) {
  body {
    font-size: 14px;
  }

  /* Header */
  .header-main img {
    width: 90%;
    max-width: 300px;
  }

  .header-main .VanBan h1 {
    font-size: 28px;
    -webkit-text-stroke: 0.5px black;
  }

  .header-main .VanBan h3 {
    font-size: 14px;
    -webkit-text-stroke: 0.2px black;
  }

  .header-main .Search {
    width: 90%;
    margin: 30px auto 0;
  }

  /* Menu */
  .header-menu {
    position: fixed; /* Cố định trên mobile */
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 0;
    background: white;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    flex-direction: column;
    align-items: flex-start;
  }

  .row2 {
    margin-top: 15px;;
  }

  .cs2 {
    margin-top: 15px;;
  }


  .destination-card4 {
    margin-bottom: 15px;
  }

  .header-menu.show-mobile {
    transform: translateY(0);
  }

  .header-menu ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .header-menu ul li {
    width: 100%;
  }

  .header-menu ul li a {
    padding: 12px 20px;
    display: block;
    width: 100%;
    font-size: 16px;
  }

  /* Mobile menu toggle button */
  .mobile-menu-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #007bff;
    cursor: pointer;
    z-index: 1100;
  }

  /* Box1 Section */
  .anh1 {
    width: 100%;
    height: 200px;
  }

  /* Summer Cards */
  .summer-grid {
    flex-direction: column;
    gap: 15px;
  }

  .summer-card {
    width: 90%;
    margin: 0 auto;
    height: 250px;
  }

  /* Destination Grid */
  .destination-grid,
  .destination-grid2 {
    flex-direction: column;
    gap: 15px;
  }

  .destination-card1,
  .destination-card2,
  .destination-card3,
  .destination-card4,
  .destination-card5,
  .destination-card6,
  .destination-card7,
  .destination-card8 {
    width: 100% !important;
    height: 180px !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  /* Feature Boxes */
  .features {
    flex-direction: column;
    gap: 20px;
    flex-direction: column;
  }
  .feature-box {
    margin: 0 auto 20px;
  }

  /* Testimonial List */
  .testimonial-list {
    flex-direction: column;
  }

  .testimonial-card {
    width: 90%;
    margin: 0 auto 20px;
  }

  /* Fixed icons */
  .fixed-icons {
    right: 10px;
    bottom: 10px;
  }

  .icon-button {
    width: 55px;
    height: 55px;
  }

  .outer-ring {
    width: 70px;
    height: 70px;
  }
}

/* ==== Tablet (576px to 991px) ==== */
@media (min-width: 576px) and (max-width: 991px) {
  body {
    font-size: 15px;
  }

  .header-main img {
    width: 80%;
    max-width: 400px;
  }

  .header-main .VanBan h1 {
    font-size: 34px;
    -webkit-text-stroke: 0.7px black;
  }

  .header-main .VanBan h3 {
    font-size: 16px;
    -webkit-text-stroke: 0.3px black;
  }

  .header-main .Search {
    width: 80%;
    margin: 40px auto 0;
  }

  .anh1 {
    width: 90%;
    height: 280px;
  }

  .summer-card {
    width: 45%;
    height: 320px;
  }

  .destination-grid,
  .destination-grid2 {
    flex-direction: column;
    gap: 15px;
  }

  .destination-card1,
  .destination-card2,
  .destination-card3,
  .destination-card4,
  .destination-card5,
  .destination-card6,
  .destination-card7,
  .destination-card8 {
    width: 100% !important;
    height: 180px !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  .row2 {
    margin-top: 15px;;
  }

  .cs2 {
    margin-top: 15px;;
  }


  .destination-card4 {
    margin-bottom: 15px;
  }

  .features {
    gap: 20px;
    justify-content: space-around;
  }

  .testimonial-card {
    width: 45%;
  }
}

/* ==== Desktop (992px trở lên) ==== */
@media (min-width: 992px) {
  body {
    font-size: 16px;
  }

  /* Giữ nguyên các style gốc hoặc chỉnh nhẹ */
}
