body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #fff8e1, #ffe0b2);
    scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */
/* ===== NAVBAR (ĐÃ CHỈNH NHỎ LẠI) ===== */
.navbar {
    position: sticky;
    top: 10px;
    z-index: 9999;

    width: 94%;
    margin: 15px auto;
    padding: 12px 50px;

    background: linear-gradient(to right, #c40000, #d60000);
    border-radius: 50px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    text-decoration: none;
    color: #ffd700;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
    white-space: nowrap;
}

.menu a:hover {
    color: white;
    transform: translateY(-2px);
}

/* Active menu */
.menu a.active {
    color: white;
    border-bottom: 2px solid white;
}

/* ===== HERO / SLIDESHOW ===== */
.slideshow {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slideshow::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.15);
    top: 0;
    left: 0;
}

/* ===== HERO TEXT ===== */
.hero {
    position: relative;
    height: 90vh;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: white;
    width: 90%;
    z-index: 2;
}

.hero-content h1 {
    font-size: 50px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 20px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.btn-hero {
    background: white;
    color: #c62828;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-hero:hover {
    background: #c62828;
    color: white;
}

/* ===== SECTION ===== */
section {
    padding: 60px;
    text-align: center;
}

section h2 {
    color: #c62828;
}

/* Hiệu ứng xuất hiện */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CARD ===== */
.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.card {
    width: 250px;
    background: white;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    border-radius: 10px;
}

/* ===== MOMENT GRID ===== */
.moment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 15px;
    margin-top: 20px;
}

.moment-grid img {
    width: 100%;
    border-radius: 10px;
}

/* ===== QUOTE ===== */
.quote {
    font-style: italic;
    font-size: 20px;
    margin: 40px;
}

/* ===== PAGE TITLE ===== */
.page-title {
    margin-top: 150px;
    text-align: center;
}

.page-title h1 {
    font-size: 32px;
    color: #c40000;
    margin-bottom: 40px;
}

/* ===== CONTENT SECTION ===== */
.content-section {
    margin-bottom: 60px;
}

.content-section img {
    width: 400px;
    max-width: 90%;
    border-radius: 20px;
    margin-top: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===== CONTACT FORM ===== */
.contact-section {
    margin-top: 40px;
}

.contact-section form {
    width: 400px;
    max-width: 90%;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-section input,
.contact-section textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.contact-section button {
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: #c40000;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-section button:hover {
    background: #a00000;
    transform: translateY(-2px);
}

#status {
    margin-top: 10px;
    font-weight: bold;
}

/* ===== FOOTER ===== */
footer {
    background: #c62828;
    color: white;
    text-align: center;
    padding: 20px;
}

/* ===== NÚT LÊN ĐẦU ===== */
#topBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: red;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

/* ===== HOA RƠI ===== */
.flowers span {
    position: fixed;
    top: -10px;
    font-size: 24px;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

/* ===== GIỚI THIỆU TỔNG QUAN TẾT CÁI BÈ ===== */

.intro-section {
    padding: 100px 10%;
    background: linear-gradient(to right, #f8e7c6, #f3d7b3);
}

.intro-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
}

.intro-text {
    flex: 1;
    text-align: left;
}

.intro-text h2 {
    font-size: 38px;
    color: #c40000;
    margin-bottom: 25px;
    border-bottom: 4px solid gold;
    display: inline-block;
    padding-bottom: 8px;
}

.intro-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    transition: 0.5s;
}

.intro-image img:hover {
    transform: scale(1.03);
}

/* ===== RESPONSIVE (Tự xuống 1 cột khi xem điện thoại) ===== */

@media (max-width: 900px) {
    .intro-container {
        flex-direction: column;
        text-align: center;
    }

    .intro-text {
        text-align: center;
    }
}

.card a {
    color: inherit;
    text-decoration: none;
}

/* ===== NÚT TRONG CARD GIỐNG NÚT KHÁM PHÁ NGAY ===== */

.card a {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 45px;
    background: #ffffff;
    color: #c40000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    transition: 0.3s ease;
    border: 2px solid #c40000;
}

.card a:hover {
    background: #c40000;
    color: #ffffff;
    transform: translateY(-3px);
}
/* ===== FIX CỨNG NÚT TRONG CARD ===== */

.card a {
    display: inline-block !important;
    margin-top: 20px !important;
    padding: 14px 45px !important;
    background: #ffffff !important;
    color: #c40000 !important;
    font-weight: bold !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    transition: 0.3s ease !important;
    border: 2px solid #c40000 !important;
}

.card a:hover {
    background: #c40000 !important;
    color: #ffffff !important;
    transform: translateY(-3px);
}

.content-section {
    max-width: 900px;
    margin: 50px auto;
    background: #ffffffcc;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.content-section img {
    width: 100%;
    margin-top: 20px;
    border-radius: 15px;
}

.content-section h2 {
    color: #c62828;
    margin-bottom: 15px;
}

/* ===== HERO BANNER PHONG TỤC ===== */
.hero-banner {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    top: 0;
    left: 0;
}

.hero-banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-banner-text h1 {
    font-size: 48px;
    text-shadow: 3px 3px 20px rgba(0,0,0,0.8);
    letter-spacing: 2px;
}

/* PAGE TITLE */
.page-title {
    text-align: center;
    padding: 40px 20px;
}

.page-title h1 {
    color: #c40000;
    font-size: 32px;
}

.page-title p {
    color: #333;
    margin-top: 10px;
}

/* CONTACT WRAPPER */
.contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    flex-wrap: wrap;
}

/* FORM */
.contact-form {
    flex: 1;
    max-width: 500px;
}

.contact-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.contact-form button {
    margin-top: 20px;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 30px;
    background: #d80000;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #a50000;
}

/* MAP */
.contact-map {
    flex: 1;
    max-width: 500px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
}

/* INFO BOX */
.contact-info {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #f3dfc6;
    border-left: 6px solid #d80000;
    border-radius: 20px;
}

.contact-info h2 {
    color: #c40000;
    margin-bottom: 20px;
}