/* style.css */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-image: url('./images/bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Tuỳ chọn: cuộn không di chuyển */
  color: #333;
}

.container {
  max-width: 400px;
  margin: auto;
  text-align: center;
  background-color: #9E9999;
  border: 2px solid #ddd;
  /* viền xám nhẹ */
  border-radius: 12px;
  /* bo góc mềm */
  background-color: #D7EFFE ;
  /* nền trắng hơi trong */
  box-shadow: 0 4px 20px #348EF3;
  /* bóng đổ nhẹ */
}

.banner {
  width: 100%;
  height: 400px;

  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;

  display: flex;
  flex-direction: column;
  /* đảm bảo các dòng xuống dòng */
  align-items: center;
  /* căn giữa ngang */
  justify-content: center;
  /* căn giữa dọc */
  gap: 8px;
  /* khoảng cách giữa các dòng */
}

.banner-text {
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1s ease-in-out;
  opacity: 0;
  animation-fill-mode: forwards;
}

.section-label {
  position: relative;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background: linear-gradient(90deg, #ff416c, #ff4b2b);
  padding: 10px 20px;
  margin: 20px auto 10px;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(255, 65, 108, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: glow 1.5s infinite alternate;
  margin: 0 20px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

@keyframes glow {
  from {
    box-shadow: 0 0 10px rgba(255, 65, 108, 0.5);
  }
  to {
    box-shadow: 0 0 20px rgba(255, 65, 108, 1);
  }
}

.contact-btn img {
  width: 32px;
  height: 32px;
  vertical-align: middle;
}

.banner-text:nth-child(1) {
  animation-delay: 0.2s;
}

.banner-text:nth-child(2) {
  animation-delay: 0.5s;
}

.banner-text:nth-child(3) {
  animation-delay: 0.8s;
}

.banner img {
  width: 100%;
  border-radius: 10px;
}

.title {
  font-size: 36px;
  font-weight: bold;
  margin: 20px 0 10px;
  color: #e74c3c;
}

.promo .quatang {
  width: 80%;
  max-width: 300px;
  margin: 20px 0;
  animation: float 3s ease-in-out infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.contact-trigger {
  display: inline-block;
  margin: 20px auto;
  padding: 12px 24px;
  background: #ff4757;
  color: white;
  font-size: 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-trigger:hover {
  background: #e84118;
}

.info-table {
  margin-top: 30px;
  text-align: left;
}

.row {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  font-size: 16px;
  opacity: 0;
  transform: translateX(-20px);
  animation:
    slideIn 0.6s forwards;
}

.row:nth-child(1) {
  animation-delay: 0.3s;
}

.row:nth-child(2) {
  animation-delay: 0.6s;
}

.row:nth-child(3) {
  animation-delay: 0.9s;
}

.row a {
  color: #3498db;
  text-decoration: none;
}

.row i {
  margin-right: 8px;
  color: #555;
  font-size: 18px;
}

.row a:hover {
  text-decoration: underline;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 500px) {
  .title {
    font-size: 28px;
  }

  .contact-trigger {
    font-size: 16px;
    padding: 10px 20px;
  }

  .row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin: 30px auto;
  width: 100%;
  padding: 0 50px;
  box-sizing: border-box;
}


/* Cơ bản cho tất cả */
.contact-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  width: 100%;
  max-width: 600px;
  /* giữ đẹp trên desktop */
  padding: 4px 0px;

  font-size: 20px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  border: 3px solid transparent;
  transition: all 0.3s ease;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}


/* --- TELE: Shake mạnh --- */
.tele {
  background-color: #0088cc;

}

.tele:hover {

  box-shadow: 0 0 18px #00cfff;
}

/* --- ZALO: Zoom mạnh --- */
.zalo {
  background-color: #25d366;

}

.zalo:hover {

  box-shadow: 0 0 20px #2bff94;
}

/* --- FACEBOOK: Glow + Flash Border --- */
.fb {
  background-color: #1877f2;
  border: 3px solid #1877f2;
}

.fb:hover {

  box-shadow: 0 0 25px #ffffff;
  border-color: #ffffff;
}


/* ICON size */
.contact-btn i {
  font-size: 22px;
}

/* RESPONSIVE hàng ngang */
@media (min-width: 500px) {
  .contact-buttons {
    justify-content: center;
  }
}

@keyframes strong-shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

@keyframes strong-pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes strong-glow {

  0%,
  100% {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    border-color: #1877f2;
  }

  50% {
    box-shadow: 0 0 20px #ffffff;
    border-color: #ffffff;
  }
}


.promo-slider {
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 12px;
}

.logo-fixed {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  text-align: center;
}

.logo-fixed img {
  max-width: 120px;
  height: auto;
}





.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;

}

.slides img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 12px;
}

/* Nút điều hướng */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: white;
  font-size: 24px;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}
.nav:hover {
  background: rgba(0,0,0,0.7);
}
.prev { left: 10px; }
.next { right: 10px; }

.scroll-text {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  box-sizing: border-box;
  position: absolute;
  bottom: -6px;
}

.scroll-inner {
  display: inline-block;
  white-space: nowrap;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding-left: 100%;
  animation: scroll-marquee 900s linear infinite;
}


.scroll-text:hover .scroll-inner {
  animation-play-state: paused;
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
