/* HEADER */
.header {
    background: linear-gradient(to right, #b91c1c, #7f1d1d);
    color: yellow;
    padding: 15px;
    text-align: center;
}

.header nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    position: relative;
}

.header nav a::after {
    content: "";
    width: 0%;
    height: 2px;
    background: yellow;
    position: absolute;
    left: 0;
    bottom: -3px;
    transition: 0.3s;
}

.header nav a:hover::after {
    width: 100%;
}

/* HERO */
.hero {
    position: relative;
    height: 500px;
    background: url("https://cdn.thuvienphapluat.vn/uploads/DanLuat-BanAn/2025/2/5Background-Tet-2026.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    color: white;
    text-align: center;
}


.intro {
    text-align: center;
    padding: 40px;
    background: #fff5f5;
}

.intro h2 {
    color: rgb(230, 14, 14);
    margin-bottom: 10px;
}


.intro p {
    text-align: justify;
    line-height: 1.6; /* giãn dòng cho dễ đọc */
}

.highlight {
    text-align: center;
    padding: 40px;
}

.grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background:url(https://png.pngtree.com/thumb_back/fh260/background/20210207/pngtree-yellow-lanterns-watermelon-and-rice-dumplings-vietnamese-new-year-background-image_557854.jpg) center/cover no-repeat;
    width: 250px;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid #171717;
    font-size: 16px;
}

.card:hover {
    transform: translateY(-5px);
    border-color: red;
}


.about {
    width: 80%;
    margin: 40px auto;
    text-align: center;
}

.about h1 {
    color: red;
    margin-bottom: 30px;
}

.about-box {
    background: #fff5f5;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: left;
    transition: 0.3s;
}

.about-box:hover {
    transform: translateY(-5px);
    background: #ffeaea;
}

.about-box h2 {
    color: darkred;
    margin-bottom: 10px;
}

.about-box p {
    text-align: justify;
    line-height: 1.6;
}

.title {
    text-align: center;
    color: red;
    margin-bottom: 20px;
}

.about-box {
    background: #fff5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.title {
    text-align: center;
    color: red;
    margin-bottom: 20px;
}

.flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.content {
    width: 65%;
}


/* ===== PHONG TỤC ===== */
.phong-tuc {
    padding: 30px;
    background-color: #fff5f5;
}

.pt-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.pt-item.reverse {
    flex-direction: row-reverse;
}

.pt-item img {
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.pt-text {
    flex: 1;
}
.pt-item img:hover {
    transform: scale(1.05);
    transition: 0.3s;
}

.pt-text h2 {
    color: #d60000;
}


/* LIÊN HỆ */
.lien-he {
    padding: 30px;
    background-color: #fff5f5;
}

/* TIÊU ĐỀ */
.lien-he h2 {
    text-align: center;
    color: black;
}

/* FORM */
.lien-he input,
.lien-he textarea {
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 16px;
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Chỉnh chữ xám (placeholder) */
.lien-he input::placeholder,
.lien-he textarea::placeholder {
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 16px;
    color: #888; /* xám đồng đều */
}

/* BUTTON */
.lien-he button {
    background: red ;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.lien-he button:hover {
    background: darkred;
}

/* MAP */
.lien-he iframe {
    margin-top: 10px;
    border-radius: 10px;
}

.footer {
    background-color: #b30000; /* đỏ Tết */
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

.footer p {
    margin: 5px 0;
    font-size: 16px;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* ===== ẨM THỰC ===== */
.am-thuc {
    padding: 30px;
    background-color: #fff5f5;
}

.intro {
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
}

/* mỗi món ăn */
.food-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

/* đảo ngược layout */
.food-item.reverse {
    flex-direction: row-reverse;
}

/* ảnh */
.food-item img {
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.food-item img:hover {
    transform: scale(1.05);
    transition: 0.3s;
}


/* chữ */
.food-text {
    flex: 1;
}

.food-text h2 {
    color: #d60000;
}

/* footer */
footer {
    text-align: center;
    background: red;
    color: white;
    padding: 15px;
    margin-top: 30px;
}

/* ===== VĂN HÓA ===== */
.van-hoa {
    padding: 30px;
    background-color: #fff5f5;
}

.culture-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.culture-item.reverse {
    flex-direction: row-reverse;
}

.culture-item img {
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.culture-item img:hover {
    transform: scale(1.05);
    transition: 0.3s;
}

.culture-text {
    flex: 1;
}

.culture-text h2 {
    color: #d60000;
}

/* ===== GIỚI THIỆU ===== */
.gioi-thieu {
    padding: 30px;
    background-color: #fff5f5;
}

.gt-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.gt-item.reverse {
    flex-direction: row-reverse;
}

.gt-item img {
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.gt-item img:hover {
    transform: scale(1.05);
    transition: 0.3s;
} 

.gt-text {
    flex: 1;
}

.gt-text h2 {
    color: #d60000;
}


/* ===== KÝ ỨC ===== */
.ky-niem {
    padding: 40px;
    background: #fff5f5;
}

/* mỗi khối */
.kn-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

/* đảo chiều */
.kn-item.reverse {
    flex-direction: row-reverse;
}

/* ảnh */
.kn-item img {
    width: 300px;
    height: 200px;
    object-fit: cover; /* QUAN TRỌNG: ảnh không bị méo */
    border-radius: 12px;
}
.kn-item img:hover {
    transform: scale(1.05);
    transition: 0.3s;
}

/* chữ */
.kn-text {
    flex: 1;
}

.kn-text h2 {
    color: #d60000;
    margin-bottom: 10px;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    background: #d60000;
    color: white;
    padding: 15px;
    margin-top: 30px;
}

/* ===== HÌNH ẢNH & VIDEO ===== */
.media {
    padding: 30px;
    background-color: #fff5f5;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.gallery img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

.culture-item img:hover {
    transform: scale(1.05);
    transition: 0.3s;
}
/* VIDEO */
.video-box {
    margin-top: 30px;
    text-align: center;
}

.video-box iframe {
    width: 80%;
    height: 400px;
    border-radius: 15px;
}