/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background: #0b3d2e;
  color: #333;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #063024;
  padding: 15px 30px;
  flex-wrap: wrap;
}

/* LOGO + TEXT */
.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border-radius: 50%;
}

.logo-text h1 {
  color: #f2c94c;
  font-size: 22px;
  font-weight: bold;
}

.logo-text p {
  font-size: 14px;
  color: #ddd;
}

/* BUTTON */
.contact-btns {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}

.btn.zalo {
  background: #0068ff;
}

.btn.fb {
  background: #1877f2;
}

/* ===== BANNER ===== */
.banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== SECTION CHUNG ===== */
section {
  padding: 40px 20px;
  background: #fff;
}

section h2 {
  text-align: center;
  color: #8b6f28;
  margin-bottom: 20px;
}

/* ===== ABOUT ===== */
.about {
  background: #fffaf2;
}

.about-content {
  max-width: 900px;
  margin: auto;
  line-height: 1.7;
  color: #4a2c00;
}

.about-content h3 {
  margin-top: 20px;
  color: #7a5c1e;
}

.about-content ul {
  padding-left: 20px;
  margin-top: 10px;
}

.about-content ul li {
  margin-bottom: 8px;
}

.about-slogan {
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
  color: #8b6f28;
}

/* ===== PRODUCTS ===== */
.product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product {
  background: #fdf8ef;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

.product img {
  width: 100%;
  border-radius: 8px;
}

.product h3 {
  margin-top: 10px;
  color: #4a2c00;
}

.price {
  color: #c0392b;
  font-weight: bold;
  margin: 6px 0;
}

/* ===== GALLERY ===== */
.gallery-wrapper {
  overflow-x: auto;
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  gap: 15px;
}

.gallery-item {
  width: 250px;
  background: #fdf8ef;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-item p {
  margin-top: 8px;
  font-size: 14px;
  color: #4a2c00;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  background: #063024;
  color: #f5f5f5;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
  }

  .logo-area {
    justify-content: center;
    margin-bottom: 10px;
  }

  .product-list {
    grid-template-columns: 1fr;
  }

  .logo-img {
    width: 60px;
    height: 60px;
  }

  .logo-text h1 {
    font-size: 18px;
  }
}

/* ===== contract ===== */

.btn {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn.tiktok {
  background: #000;
}


/* FLOATING CONTACT */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.float-btn:hover {
  transform: scale(1.1);
}

/* ZALO */
.float-btn.zalo {
  background: #0068ff;
}

.float-btn.zalo img {
  width: 26px;
  height: 26px;
}

/* CALL */
.float-btn.call {
  background: #25d366; /* xanh lá gọi điện */
}

/* FACEBOOK */
.float-btn.fb {
  background: #1877f2;
}

/* ===== ANIMATION RUNG NHẸ ===== */
@keyframes pulse-shake {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.1);
  }
  60% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

/* RUNG CHO 4 NÚT */
.floating-contact .float-btn.zalo,
.floating-contact .float-btn.call,
.floating-contact .float-btn.fb,
.floating-contact .float-btn.maps {
  animation: pulse-shake 1.6s infinite !important;
}

/* MÀU GOOGLE MAP – NỀN */
.floating-contact .float-btn.maps {
  background: #34A853 !important;
  color: #fff !important;
}

/* MÀU ICON GOOGLE MAP – ƯU TIÊN CAO NHẤT */
.floating-contact .float-btn.maps i {
  color: #fff !important;
  font-size: 20px !important;
  animation: pulse-shake 1.6s infinite !important;
}





/* ===== CERTIFICATES ===== */
.certificates {
  background: #fffaf2;
}

.cert-desc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #5a3b00;
  font-size: 15px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

.cert-item {
  background: #fff;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.cert-item img {
  width: 100%;
  aspect-ratio: 3 / 4; /* RẤT QUAN TRỌNG CHO A4 */
  object-fit: contain;
  border-radius: 6px;
  background: #f8f8f8;
}

.cert-item p {
  margin-top: 10px;
  font-size: 14px;
  color: #4a2c00;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== ACTION BUTTONS ===== */
.product-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

/* NÚT ZALO */
.btn-zalo {
  flex: 1;
  background: #0068ff;
  color: #fff;
  padding: 9px 6px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* NÚT GỌI */
.btn-call {
  flex: 1;
  background: #2ecc71;
  color: #fff;
  padding: 9px 6px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* HIỆU ỨNG */
.btn-zalo:hover,
.btn-call:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}


/* ================= VIDEO NHÀ YẾN ================= */
.video-section {
  background: #ffffff;
  padding: 40px 20px;
  text-align: center;
}

.video-section h2 {
  color: #8b6f28;
  margin-bottom: 10px;
}

.video-desc {
  max-width: 700px;
  margin: 0 auto 25px;
  font-size: 15px;
  color: #555;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* MỖI VIDEO */
.video-item {
  background: #fdf8ef;
  padding: 15px;
  border-radius: 12px;
}

/* VIDEO QUAY DỌC */
.video-item video {
  width: 100%;
  aspect-ratio: 9 / 16;   /* CHUẨN VIDEO DỌC */
  object-fit: contain;    /* KHÔNG CẮT VIDEO */
  background: #000;
  border-radius: 10px;
}

.video-item p {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .video-list {
    grid-template-columns: 1fr;
  }
}


/* ================= HỘI NGHỊ - HIỆP HỘI ================= */
.event-section {
  background: #ffffff;
  padding: 40px 20px;
  text-align: center;
}

.event-section h2 {
  color: #8b6f28;
  margin-bottom: 10px;
}

.event-desc {
  font-size: 15px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* BỐ CỤC NGANG 3 PHẦN */
.event-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* VIDEO DỌC */
.event-video video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
  border-radius: 12px;
}

/* CỘT HÌNH 2 TẤM */
.event-images {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
}

.event-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .event-layout {
    grid-template-columns: 1fr;
  }

  .event-images {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}

/* === FIX ƯU TIÊN NÚT GOOGLE MAP === */
.floating-contact .float-btn.maps {
  background: #34A853 !important; /* Màu xanh Google */
  color: #fff !important;
  border-color: #34A853 !important;
}

/* Icon bên trong */
.floating-contact .float-btn.maps i {
  color: #fff !important;
}

/* Animation */
.floating-contact .float-btn.maps {
  animation: pulse-shake 1.6s infinite !important;
}

@keyframes pulse-shake {
  0% { transform: scale(1); }
  40% { transform: scale(1.14); }
  70% { transform: scale(0.92); }
  100% { transform: scale(1); }
}


