/* ===== MENU ĐẸP & CÂN ĐỐI ===== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #c62828;
    z-index: 1000;
}

.container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    color: white;
    font-size: 30px;
    font-weight: bold;
    white-space: nowrap;
}

/* MENU */
.menu {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.menu li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    padding: 6px 8px;
    border-radius: 6px;
    transition: 0.3s;
}

.menu li a:hover {
    background: white;
    color: #c62828;
}

body {
    margin: 0;
    padding-top: 80px;
}

/* ======= PAGE INDEX ========*/
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff8f0;
    color: #333;
}

/* ===== HEADER ===== */
.header {
    background: #c62828;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.header h1 {
    margin: 0;
    font-size: 42px;
}

.header p {
    font-size: 20px;
}

/* ===== BANNER ===== */
.banner img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ===== INTRO ===== */
.intro {
    padding: 38px 10%;
    text-align: center;
}

.intro h2 {
    color: #2e7d32;
    font-size: 30px;
}

.intro p {
    font-size: 25px;
    line-height: 1.6;
}

/* ===== FEATURES ===== */
.features {
    padding: 40px 10%;
    text-align: center;
    background: #ffeaea;
    font-size: 25px;
}

.feature-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card {
    background: white;
    width: 250px;
    text-decoration: none;
    color: black;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    font-size: 20px;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.feature-card h3 {
    padding: 15px;
}

/* ===== GALLERY ===== */
.gallery {
    padding: 40px 10%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 30px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    width: 250px;
    text-align: center;
    font-size: 25px;
}

.gallery-item img {
    width: 100%;
    border-radius: 15px;
    height: 180px;
    object-fit: cover;
}

.gallery h2 {
    margin-bottom: 30px;
    font-size: 28px;
}


/* ===== QUOTE ===== */
.quote {
    background: #2e7d32;
    color: white;
    padding: 40px;
    text-align: center;
    font-style: italic;
    font-size: 20px;
}

/* ===== FOOTER ===== */
.footer {
    background: #c62828;
    color: white;
    text-align: center;
    padding: 20px;
}


/* ===== PAGE QUÊ HƯƠNG ===== */
.page-banner {
    background: linear-gradient(to right, #2e7d32, #4caf50);
    color: white;
    text-align: center;
    padding: 140px 20px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-banner h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

/* ===== CONTENT ===== */
.content {
    padding: 80px 10%;
}

.content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: #2e7d32;
}

/* ===== PLACE ===== */
.place-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: center;   /* căn giữa */
    align-items: stretch;      /* các card cao bằng nhau */
}

.place-item {
    width: 300px;
    height: 420px;
    background: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    display: flex;
    flex-direction: column;   /* giúp nội dung dàn đều */
}

.place-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.place-item h3 {
    padding: 15px 15px 0;
}

.place-item p {
    padding: 0 15px 20px;
    font-size: 20px;
    flex-grow: 1;   /* giúp card cao bằng nhau */
}

.place-item:hover {
    transform: translateY(-8px);
}

/* ===== PHONG TỤC ===== */
.phongtuc-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.phongtuc-item img {
    width: 350px;
    height: 230px;
    object-fit: cover;
    border-radius: 15px;
}

.phongtuc-item div {
    flex: 1;
}

.phongtuc-item h2 {
    margin-bottom: 15px;
    color: #2e7d32;
}

/* Đảo chiều ảnh */
.reverse {
    flex-direction: row-reverse;
}

/* Responsive cho màn hình nhỏ */
@media (max-width: 768px) {
    .phongtuc-item {
        flex-direction: column;
        text-align: center;
    }

    .reverse {
        flex-direction: column;
    }
}


/* ===== ẨM THỰC ===== */
.food-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.food-item {
    width: 260px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    text-align: center;
}

.food-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.food-item h3 {
    margin: 15px 0 10px;
    color: #c62828;
    /* đỏ Tết */
}

.food-item p {
    padding: 0 15px 20px;
    font-size: 20px;
}

/* Hiệu ứng hover */
.food-item:hover {
    transform: translateY(-8px);
}


/* ===== VĂN HÓA ===== */
.vanhoa-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.vanhoa-item {
    width: 260px;
    background: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    text-align: center;
}

.vanhoa-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.vanhoa-item h3 {
    margin: 15px 0 10px;
    color: #2e7d32;
    /* xanh lá */
}

.vanhoa-item p {
    padding: 0 15px 20px;
    font-size: 20px;
}

.vanhoa-item:hover {
    transform: translateY(-8px);
}

/* ===== HÌNH ẢNH ===== */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: #c62828;
}

.album-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.album-item {
    width: 260px;
    text-align: center;
}

.album-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.3s;
}

.album-item img:hover {
    transform: scale(1.05);
}

/* ===== VIDEO ===== */
.video-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.video-container video,
.video-container iframe {
    width: 80%;
    max-width: 700px;
    border-radius: 15px;
}

/* ===== KÝ ỨC ===== */
.kyuc-box {
    background: #fff5f5;
    padding: 30px;
    margin-bottom: 40px;
    border-left: 6px solid #c62828;
    /* đỏ Tết */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.kyuc-box h2 {
    margin-bottom: 15px;
    color: #2e7d32;
}

.kyuc-box p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* ===== HEADER TRANG CON ===== */
.sub-header {
    padding: 120px 10% 60px;
    text-align: center;
    background: #fff3e0;
}

.sub-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

/* ===== CONTACT ===== */
.contact-info,
.contact-form,
.map {
    padding: 60px 10%;
    text-align: center;
}

.contact-form form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.contact-form button {
    padding: 12px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #b71c1c;
}

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
}

/* ===== VIDEO ===== */
.video-container {
    max-width: 800px;
    margin: 30px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.video-container iframe {
    width: 100%;
    height: 450px;
}