/* ==================== RESET ==================== */
 @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Normalize base font sizing so laptop and desktop show consistent text scale */
html {
  font-size: 16px; /* fixed root font-size (rem = 16px) */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body { font-size: 1rem; }

* {  font-family: "Montserrat", serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
       .main-nav {
            position: sticky;
            top: 0;
            z-index: 999;
            background: linear-gradient(135deg, #fbf7ed 0%, #fff9f0 100%);
            border-bottom: 2px solid #e1a900;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            padding: 12px 52px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: 'Montserrat', sans-serif;
        }

        .logo {
            font-size: 28px;
            font-weight: 800;
            background: linear-gradient(135deg, #c10000 0%, #e1a900 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: 2px;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .logo i {
            font-size: 32px;
            background: linear-gradient(135deg, #c10000 0%, #e1a900 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
nav ul li {
  list-style: none;
}
        .nav-menu {
            list-style: none;
            display: flex;
            gap: 35px;
            align-items: center;
        }

        .nav-menu li {
            position: relative;
        }

        .nav-menu a {
            text-decoration: none;
            color: #333;
            font-weight: 600;
            font-size: 1rem;
            padding: 10px 8px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-menu a::before {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, #c10000, #e1a900);
            transition: width 0.3s ease;
        }

        .nav-menu a:hover {
            color: #c10000;
        }

        .nav-menu a:hover::before {
            width: 100%;
        }

        .nav-menu a i {
            font-size: 1.1rem;
            color: #c10000;
        }

    /* ======= DROPDOWN ======= */

    /* Use opacity/visibility transitions and a small overlap so the dropdown
       doesn't disappear when the cursor moves from the trigger to the menu. */
    .dropdown { position: relative; }

    .dropdown-menu {
      position: absolute;
      top: calc(100% - 6px); /* slight overlap to avoid pointer gaps */
      left: 0;
      min-width: 160px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.12);
      padding: 8px 0;
      z-index: 9999;
      background: linear-gradient(135deg, rgba(252, 248, 235, 0.98) 0%, rgba(255, 250, 240, 0.98) 100%);
      backdrop-filter: blur(10px);
      border-radius: 12px;
      border: 1px solid rgba(225, 169, 0, 0.28);
      white-space: nowrap;
      opacity: 0;
      visibility: hidden;
      transform: translateY(6px);
      pointer-events: none;
      transition: opacity .18s ease, transform .18s ease, visibility .18s;
    }

    /* show the menu when hovering the dropdown or when the menu itself is hovered
       also support keyboard focus-within to improve accessibility */
    .dropdown:hover > .dropdown-menu,
    .dropdown:focus-within > .dropdown-menu,
    .dropdown-menu:hover {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }
        

    .banner-slider {
      position: relative;
      width: 100vw; 
      height: 90vh;
      overflow: hidden;
      left: 50%;
      right: 50%;
      margin-left: -50vw;
      margin-right: -50vw;
      margin-bottom: 0;
      padding-bottom: 0;
    
    }

    .slide {
      position:absolute;
      width: 100%;
      
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }

    .slide.active {
      opacity: 1;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .slider {
  position: relative;
  height: 500px;
}
    .prev, .next {
      position:absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.4);
      color: white;
      border: none;
      font-size: 30px;
      padding: 10px 15px;
      cursor: pointer;
      border-radius: 50%;
      transition: background 0.3s;
    }

    .prev:hover, .next:hover {
      background: rgba(0,0,0,0.7);
    }

    .prev { left: 20px; }
    .next { right: 20px; }

    body {
  margin: 0;
  padding: 0;
  background-color:#f9f6f0;
  overflow-x: hidden; 
}
       

         #backButton {
            position: fixed;
            top: 20px;
            left: 20px;
            background: #421c1c;
            color: white;
            padding: 10px 15px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
            transition:background 0.2s;
            z-index: 1000;
        }

        #backButton:hover {
            background: #af6f6f;
        }
        #content {
       background: linear-gradient(to bottom, #fff9f2, #f9f6f0);
       padding: 60px 0;
       border-top: 3px solid #b30000;
    }
    #content h3 {
  color: #8b0000;
  font-size: 1.8em;
  margin-bottom: 10px;
  text-align: center;
   }

  #content p {
  margin-bottom: 25px;
  font-size: 1.25em;
  color: #444;
  text-align: center;

}

.region {
  margin: 60px auto;
  width: 90%;
  max-width: 1200px;
}

.region h2 {
  text-align: center;
  color: #b30000;
  margin-bottom: 30px;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.destinations {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ======== CARD ======== */
.card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #3a2a1a;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow:0 14px 32px rgba(255, 200, 0, 0.35);
}

.card img {
  width: 45%;
  height: 250px;
  object-fit: cover;
}

.card h3 {
  font-size: 1.6rem;
  color: #9f2727;
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.card div {
  padding: 25px;
  width: 55%;
}
h3{
text-align: center;
color: #b30000;
margin-bottom: 30px;
font-size: 2rem;
text-transform: uppercase;
letter-spacing: 1px;
}
/* ======== TỔNG HỢP – HƯƠNG VỊ VIỆT NAM (SÁNG TẠO) ======== */
.summary {
  position: relative;
  background: linear-gradient(135deg, #eaf4fb, #ffffff 70%);
  padding: 100px 60px;
  text-align: center;
  border-top: 3px solid #b30000;
  margin: 100px auto 80px auto;
  max-width: 1200px;
  border-radius: 25px;
  box-shadow: 0 12px 35px rgba(255,200,0,.2);
  overflow: hidden;
  animation: fadeInUp 1.2s ease;
}

/* Hiệu ứng ánh sáng di chuyển chậm */
.summary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at 20% 40%, rgba(255,255,255,0.4), transparent 60%);
  animation: moveLight 10s infinite linear;
}

@keyframes moveLight {
  0% { transform: translateX(-20%); }
  50% { transform: translateX(20%); }
  100% { transform: translateX(-20%); }
}
/* Tiêu đề */
.summary h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: #004f91;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.summary h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #1e6091, #1eb2a6);
  margin: 15px auto;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(30,178,166,0.6);
}

/* Nội dung mô tả */
.summary p {
  font-size: 18px;
  color: #2a2a2a;
  line-height: 1.9;
  max-width: 950px;
  margin: 0 auto;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

/* Hiệu ứng nổi nhẹ khi rê chuột */
.summary:hover {
  transform: translateY(-6px);
  transition: all 0.5s ease;
  box-shadow:0 14px 32px rgba(255, 200, 0, 0.35);
}

/* Đốm ánh sáng nhẹ phía sau */
.summary::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(223, 112, 38, 0.25), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .summary {
    padding: 60px 25px;
  }

  .summary h2 {
    font-size: 28px;
  }

  .summary p {
    font-size: 16px;
  }
}


/* Hiệu ứng mờ dần và trượt lên */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Giao diện cho điện thoại */
@media (max-width: 768px) {
  .summary {
    padding: 40px 20px;
  }

  .summary h2 {
    font-size: 22px;
  }

  .summary p {
    font-size: 16px;
  }
}


/* Hiệu ứng fade-in */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tăng hiệu ứng trên màn hình nhỏ */
@media (max-width: 768px) {
  .summary {
    padding: 40px 20px;
  }

  .summary h2 {
    font-size: 1.6rem;
  }

  .summary p {
    font-size: 1rem;
  }
}


/* ======= RESPONSIVE ======= */
@media (max-width: 900px) {
  .card {
    flex-direction: column;
  }

  .card img {
    width: 100%;
    height: 220px;
  }

  .card div {
    width: 100%;
    padding: 20px;
  }
}

/* ======= HIỆU ỨNG FADE IN ======= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ======= HIỆU ỨNG HOVER CHUYỂN ĐỘNG ======= */
.card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Khi rê chuột tới card */
.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 95, 163, 0.25);
}

/* Ảnh chuyển động mượt mà */
.card img {
  width: 45%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.08) rotate(-1deg);
}

/* Phần chữ trượt lên nhẹ khi hover */
.card div {
  padding: 25px;
  width: 55%;
  transition: transform 0.4s ease, color 0.4s ease;
}

.card:hover div {
  transform: translateY(-5px);
  color: #003f7d;
}

/* Hiệu ứng ánh sáng khi hover */
.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  transition: left 0.8s ease;
}

.card:hover::after {
  left: 150%;
}
        
   /* khám phá thêm: */

.link-container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;               /* khoảng cách giữa các khung */
  max-width: 1200px;
  margin: 0 auto;
}

.link-box{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  padding:22px;
  height:80px;
  border:1px solid #e4e4e4;
  border-radius:18px;
  font-size:20px;
  font-weight:600;
  text-decoration:none;
  color:#333;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
  transition: all .25s ease;
}

.link-box:hover{
  transform: translateY(-6px);
  box-shadow:0 14px 28px rgba(0,0,0,0.18);
  color:#e74c3c;
}
.video-wrapper{
  width:100%;
  display:flex;
  justify-content:center;
  margin-top:30px;     /* tạo khoảng cách với các link */
}

.video-wrapper iframe{
  max-width:100%;
  border-radius:12px;  /* bo góc video (tuỳ chọn) */
}

        
        
        

        .custom-select-arrow {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3e%3cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd' /%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
            background-size: 1.5em 1.5em;
            padding-right: 2.5rem; /* Tạo khoảng trống cho mũi tên */
        }

       .social-item.facebook{
        margin: 10px;
        font-size: 20px;
       }

       .social-item.instagram{
        margin: 10px;
        font-size: 20px;
       }

       .social-item.tiktok{
        margin: 10px;
        font-size: 20px;
       }

         .social-item.facebook:hover i {
            color: #1877F2;
        }

        /* Xanh Dương */
        .social-item.instagram:hover i {
            color: #E4405F;
        }
        .social-item.tiktok:hover i {
            color: black;
        }



       
    .form-input {
        width: 100%;
        padding: 0.5rem 0.75rem;
        border-radius: 0.5rem;
        border: 1px solid #4B5563;
        /* gray-600 */
        background-color: #374151;
        /* gray-700 */
        color: #F3F4F6;
        /* gray-100 */
        transition: all 0.3s;
    }

    .form-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
        /* Mô phỏng ring 2px với màu primary (xanh dương nhạt, opacity 50%) */
        outline: none;
    }

    .btn-submit {
        padding: 0.75rem 2rem;
        font-weight: bold;
        color: white;
        background-color: var(--primary-color);
        border-radius: 0.75rem;
        transition: all 0.3s;
        box-shadow: 0 4px 6px rgba(37, 99, 235, 0.4);
    }

    .btn-submit:hover {
        background-color: #1D4ED8;
        transform: translateY(-2px);
    }

    .btn-clear {
        padding: 0.75rem 2rem;
        font-weight: bold;
        color: var(--text-dark);
        background-color: var(--secondary-color);
        border-radius: 0.75rem;
        transition: all 0.3s;
        box-shadow: 0 4px 6px rgba(251, 191, 36, 0.4);
    }

    .btn-clear:hover {
        background-color: #F59E0B;
        transform: translateY(-2px);
    }

    /* Contact success panel */
    #contact-success {
        display: none;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 22px;
        border-radius: 12px;
        background: linear-gradient(90deg, #f0fff4, #e6fffa);
        color: #065f46;
        box-shadow: 0 10px 30px rgba(6, 95, 70, 0.06);
        border: 1px solid rgba(6, 95, 70, 0.08);
        min-height: 160px;
        flex-direction: column;
        text-align: center;
    }

    #contact-success.show {
        display: flex;
        animation: successIn .36s ease forwards;
    }

    #contact-success .check {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        background: #3ae495;
        color: #065f46;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        box-shadow: 0 6px 18px rgba(6, 95, 70, 0.12);
    }

    @keyframes successIn {
        from {
            transform: translateY(12px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* Ensure form wrapper layout */
    #contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    custom-select-arrow {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3e%3cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd' /%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* --- STYLE CHUNG CHO ICON --- */
.social-item {
    margin: 10px;
    font-size: 20px;
}

.social-item i {
    transition: color 0.3s ease, transform 0.3s ease; /* cực mượt */
}

/* FACEBOOK */
.social-item.facebook:hover i {
    color: #1877F2;
    transform: scale(1.3);
}

/* INSTAGRAM */
.social-item.instagram:hover i {
    color: #E4405F;
    transform: scale(1.3);
}

/* TIKTOK */
.social-item.tiktok:hover i {
    color: #000000;
    transform: scale(1.3);
}
