body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #FEEEDF;
    color: #89251B;
}

/* HEADER */
header {
    background: linear-gradient(135deg, #FDBDA0, #FA8D40);
    color: #89251B;
    padding: 20px;
    text-align: center;
}

nav a {
    color: #89251B;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #DC392F;
}

/* BANNER */
.banner {
    background:
        url("https://drive.google.com/thumbnail?id=1rfWRi4QF4usulH3bsYLEeBg892QupLlu&sz=w1600");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 80px 40px;
    text-align: center;
    color: white;
}

/* SECTION */
section {
    padding: 40px;
}

h2 {
    color: #DC392F;
    padding-left: 12px;
}

/* CARD */
.card {
    background: #FEEEDF;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 6px 15px rgba(137,37,27,0.15);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* BUTTON */
.btn {
    display: inline-block;
    padding: 10px 18px;
    background: #FA8D40;
    color: #FEEEDF;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 10px;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: #DC392F;
    transform: scale(1.05);
}

/* ===== GALLERY ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* Mỗi item */
.gallery-item {
    text-align: center;
}

/* Khung ảnh giữ tỉ lệ */
.img-box {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: #f2f2f2;
}

/* Ảnh không méo */
.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.img-box:hover img {
    transform: scale(1.05);
}

/* Chú thích */
.caption {
    margin-top: 10px;
    font-size: 15px;
    color: #89251B;
    font-weight: 500;
}

/* QUOTE */
.quote {
    background: linear-gradient(135deg, #FA8D40, #DC392F);
    color: #FEEEDF;
    text-align: center;
    padding: 40px;
    font-style: italic;
}

/* HAPPY NEW YEAR GIF */
.happy-container {
    text-align: center;
    margin: 25px 0;
}

.happyNewYear {
    max-width: 90%;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* TITLE ANIMATION */
.title-animate {
    animation: floatText 2.5s ease-in-out infinite;
}

@keyframes floatText {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* FOOTER */
footer {
    background: #89251B;
    color: #FEEEDF;
    text-align: center;
    padding: 15px;
}



/* ===== QUÊ HƯƠNG ===== */

/* GIỚI THIỆU */
.intro-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px;
    background: #F2E206;
    border-radius: 18px;
    line-height: 1.6;
}

.intro-section h2 {
    color: #038C3E;
    margin-bottom: 15px;
}

/* KHU VỰC ẢNH + CHỮ */
.info-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
}

/* 1 hàng nội dung */
.info-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

/* đảo chiều */
.info-row.reverse {
    flex-direction: row-reverse;
}

/* Ảnh */
.info-img {
    flex: 1;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
}

.info-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Chữ */
.info-text {
    flex: 1;
}

.info-text h3 {
    color: #F23635;
    margin-bottom: 10px;
}

.info-text p {
    line-height: 1.6;
}

/* CARD KẾT */
.info-card {
    max-width: 900px; /* tăng để ảnh không bị bé */
    margin: 80px auto;
    text-align: center;
}

.info-card img {
    width: 100%;
    max-width: 700px;          /* 👈 GIỚI HẠN KÍCH THƯỚC */
    aspect-ratio: 1906 / 1306; /* TỈ LỆ ĐÚNG */
    object-fit: contain;       /* KHÔNG MÉO */
    border-radius: 18px;
    margin: 0 auto 20px;
    display: block;
    background: #f3f3f3;
}

.info-card h3 {
    color: #038C3E;
    margin-bottom: 10px;
}

.info-card p {
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .info-row {
        flex-direction: column;
    }

    .info-row.reverse {
        flex-direction: column;
    }
}




/* ===== PHONG TỤC – MINIMAL ===== */
.custom-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    color: #038C3E;
    font-size: 32px;
    margin-bottom: 50px;
}

.custom-item {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.custom-item.reverse {
    flex-direction: row-reverse;
}

.custom-img {
    width: 50%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
}

.custom-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.custom-text {
    width: 50%;
}

.custom-text h3 {
    color: #F23635;
    font-size: 22px;
    margin-bottom: 12px;
}

.custom-text p {
    color: #333;
    line-height: 1.7;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-item,
    .custom-item.reverse {
        flex-direction: column;
    }

    .custom-item img,
    .custom-text {
        width: 100%;
    }
}




/* ===== ẨM THỰC NGÀY TẾT ===== */

/* Làm ảnh món ăn ấm và nổi hơn */
.info-section .info-img img {
    filter: saturate(1.15) contrast(1.05);
    transition: transform 0.4s ease;
}

.info-section .info-img:hover img {
    transform: scale(1.03);
}

/* Chữ phần ẩm thực mềm, dễ đọc */
.info-section .info-text p {
    font-size: 16px;
    line-height: 1.7;
}

/* Card đặc trưng ẩm thực */
.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.info-card img {
    margin-bottom: 18px;
}

/* Tiêu đề món ăn */
.info-text h3 {
    position: relative;
    padding-left: 10px;
}

.info-text h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 70%;
    background: #F23635; /* đỏ Tết */
    border-radius: 4px;
}




/* ===== CUỐN PHIM KÝ ỨC TẾT ===== */

.film-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.film-frame {
    margin-bottom: 80px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    animation: filmFade 1.2s ease forwards;
}

/* Hiệu ứng lần lượt */
.film-frame:nth-child(1) { animation-delay: 0.2s; }
.film-frame:nth-child(2) { animation-delay: 0.6s; }
.film-frame:nth-child(3) { animation-delay: 1s; }
.film-frame:nth-child(4) { animation-delay: 1.4s; }
.film-frame:nth-child(5) { animation-delay: 1.8s; }

.film-frame img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.film-caption {
    margin-top: 15px;
    font-style: italic;
    color: #084824;
    font-size: 16px;
}

/* Animation như phim cũ */
@keyframes filmFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== GIỚI THIỆU ===== */
.intro-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px;
    background: #FDBDA0;
    border-radius: 18px;
    line-height: 1.6;
}

.intro-section h2 {
    color: #DC392F;
}

.intro-section h2 {
    color: #DC392F;
    font-size: 28px;
    margin-bottom: 16px;
}

.intro-section p {
    color: #444;
    font-size: 17px;
    line-height: 1.8;
}

/* ===== THƯỚC PHIM ===== */
.film-section {
    max-width: 1100px;
    margin: 80px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.film-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.film-card:hover {
    transform: translateY(-6px);
}

.film-card img,
.film-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: none;
}

/* 2 ảnh trong 1 khung */
.double-img {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.double-img img {
    aspect-ratio: 1 / 1;
}

.film-caption {
    padding: 14px 16px;
    text-align: center;
    font-size: 15px;
    color: #89251B;
    background: #FEEEDF;
}




/* ===== LIÊN HỆ ===== */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 15px;
    font-family: Arial, sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #038C3E;
}

.contact-form button {
    width: fit-content;
}




.intro-body {
    margin: 0;
    height: 100vh;
    background: linear-gradient(to bottom, #fff8e1, #ffe0b2);
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.intro-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* NGỰA 2026 */
.horse {
    width: 180px;
    animation: horseSwing 2.5s ease-in-out infinite;
    margin-bottom: 20px;
}

@keyframes horseSwing {
    0% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
    100% { transform: rotate(-3deg); }
}

/* LÌ XÌ */
.lixi-box {
    cursor: pointer;
    text-align: center;
}

.lixi-box img {
    width: 460px;
    animation: lixiShake 1.8s infinite;
}

@keyframes lixiShake {
    0%,100% { transform: rotate(0); }
    50% { transform: rotate(3deg); }
}

/* CHÚC */
.wish-box {
    display: none;
    margin-top: 25px;
    background: white;
    padding: 20px 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* HOA RƠI */
.flower-container span {
    position: absolute;
    top: -50px;
    width: 70px;
    animation: fall linear infinite;
    opacity: 0.8;
}


@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(110vh) rotate(160deg);
    }
}