/* RESET CƠ BẢN */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #8b0000;
}

/* KHUNG CHÍNH */
.container {
  width: 1000px;
  margin: auto;
  background: #fffaf0;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* HEADER */
.header {
  background: linear-gradient(to right, #b30000, #8b0000);
  color: #ffd966;
  text-align: center;
  padding: 25px 10px;
  border-bottom: 5px solid #1e7f43;
}

.header h1 {
  margin: 0;
  font-size: 36px;
}

.header p {
  margin: 5px 0 0;
  font-size: 16px;
}

/* MENU */
.menu {
  background: #1e7f43;
  text-align: center;
}

.menu a {
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  display: inline-block;
  font-weight: bold;
}

.menu a:hover {
  background: #ffd966;
  color: #8b0000;
}

/* BANNER */
.banner img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-bottom: 4px solid #1e7f43;
}

/* NỘI DUNG */
.content {
  padding: 20px;
  line-height: 1.7;
}

.content h2 {
  color: #b30000;
  border-left: 6px solid #1e7f43;
  padding-left: 10px;
}

.section {
  margin-bottom: 30px;
}

/* ẢNH */
.section img, .gallery img {
  width: 200px;
  height: 180px;
  object-fit: cover;
  margin: 8px;
  border: 3px solid #1e7f43;
  border-radius: 5px;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.image-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.image-item:hover {
    transform: scale(1.05);
}

.image-item img {
    width: 92%;
    height: 230px;
    object-fit: cover;
}

.image-item p {
    padding: 8px;
    font-weight: bold;
    font-size: 14px;
}


.tet-media {
  background: linear-gradient(135deg, #7b0000, #b30000);
  padding: 60px 15px;
}

.tet-container {
  max-width: 1200px;
  margin: auto;
  background: #900000;
  border: 3px solid #f4c430;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.tet-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.tet-image img {
  width: 100%;
  border-radius: 18px;
  border: 4px solid #f4c430;
}

.tet-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tet-box {
  background: rgba(255,255,255,0.08);
  padding: 18px 20px;
  border-radius: 15px;
  border: 1px solid rgba(255,215,0,0.6);
}

.tet-box h3 {
  color: #ffd966;
  margin-bottom: 6px;
}

.tet-box p {
  color: #000000;
  font-size: 0.95rem;
}

.tet-title {
  text-align: center;
  margin-bottom: 35px;
}

.tet-title h2 {
  display: inline-block;
  background: #f4c430;
  color: #900000;
  padding: 10px 35px;
  border-radius: 30px;
  letter-spacing: 1px;
  font-weight: bold;
}

.tet-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.tet-card {
  background: #fffaea;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  transition: 0.4s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.tet-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.tet-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.tet-card h4 {
  padding: 12px;
  color: #900000;
}

.tet-video {
  text-align: center;
}

.tet-video h3 {
  color: #ffd966;
  margin-bottom: 15px;
}

.tet-video video {
  width: 320px;
  border-radius: 18px;
  border: 3px solid #f4c430;
}

/* Responsive */
@media(max-width:900px){
  .tet-top{
    grid-template-columns: 1fr;
  }
}

/* GALLERY */
.gallery {
  text-align: center;
}

/* FORM */
form {
  background: #fff0f0;
  padding: 15px;
  border: 2px solid #b30000;
  border-radius: 5px;
}

form input, form textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #1e7f43;
}

form input[type="submit"] {
  background: #b30000;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

form input[type="submit"]:hover {
  background: #1e7f43;
}

/* FOOTER */
.footer {
  background: linear-gradient(to right, #8b0000, #b30000);
  color: #ffd966;
  text-align: center;
  padding: 12px;
  font-weight: bold;
  border-top: 4px solid #1e7f43;
}

/* TRANG TRÍ CHỦ ĐỀ NGỰA VÀ ĐÈN LÒNG */
.horse {
  font-size: 40px;
}

.denlong {
  position: fixed;
  top: -10px;
  right: -10px;
  width: 180px;
  z-index: 999;
  filter: drop-shadow(0px 6px 10px rgba(0,0,0,0.4));
  pointer-events: none;
}
@keyframes swing {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(1deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-1deg); }
  100% { transform: rotate(0deg); }
}

.denlong {
  animation: swing 3s infinite ease-in-out;
  transform-origin: top center;
}


/*Index ND nổi bật*/
.feature-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.feature-item {
  width: 32%;
  text-align: center;
}

.feature-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.feature-box img:hover {
  transform: scale(1.05);
}

.caption {
  margin-top: 10px;
  font-size: 15px;
  color: #444;
}