body {
    margin: 0;
}

.box {
    width: 100%;
    height: 80px;
    background: linear-gradient(to right, #A80403, #CE2715);
    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

    border-top: 2px solid #F6C967;
    border-bottom: 2px solid #F6C967;
}

.box a {
    color: #F6C967;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    position: relative;
    padding: 0 30px;
    transition: 0.3s;

    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

/* vạch ngăn cách */
.box a:not(:last-child)::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 20px;
    background-color: #F6C967;
}

/* hover chữ */
.box a:hover {
    color: #fff3b0;
    transform: translateY(-3px);
}

/* gạch chân animation */
.box a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 3px;
    background-color: #F6C967;
    transition: 0.3s;
}

.box a:hover::after {
    width: 100%;
}

#table {
    max-width: 1100px;
    margin: 60px auto;
    padding: 50px;
    background-color: #fff8e7;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

    transition: 0.3s;

    display: flex;
    align-items: center;
    /* căn giữa theo chiều dọc */
    gap: 50px;
}

#table .text h2 {
    font-family: 'Oswald', sans-serif;
}

#table:hover {
    transform: translateY(-5px);
}

/* TEXT */
#table .text {
    flex: 1;
}

#table .text p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

#table .image {
    flex: 1;
}

#table .image img {
    width: 100%;
    border-radius: 12px;
}

#footer p {
    color: white;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;

}

.section-title {
    text-align: center;
    margin: 60px 0 30px;
}

.section-title h1 {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 40px;
    color: #A80403;
}

/* MAP */
#table .map {
    flex: 1;
}

#table .map iframe {
    width: 100%;
    /* bỏ 80% đi */
    height: 250px;
    /* cố định chiều cao cho đẹp */
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#table .video {
    flex: 1;
}

#table .video iframe {
    width: 100%;
    /* bỏ 80% đi */
    height: 250px;
    /* cố định chiều cao cho đẹp */
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    background-color: #fdf6e3;
    font-family: 'Crimson Pro', Georgia, serif;
}

.diary-hero {
    text-align: center;
    padding: 60px 20px 20px;
    background: linear-gradient(180deg, #fff8e7 0%, #fdf6e3 100%);
}

.diary-hero .subtitle {
    font-size: 14px;
    letter-spacing: 4px;
    color: #A80403;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 12px;
}

.diary-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 52px;
    color: #A80403;
    margin: 0 0 16px;
    letter-spacing: 3px;
}

.diary-hero .tagline {
    font-size: 20px;
    color: #7a5c3a;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 10px auto 50px;
}

.divider-ornament span {
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, #CE2715);
}

.divider-ornament span:last-child {
    background: linear-gradient(to left, transparent, #CE2715);
}

.divider-ornament .flower {
    font-size: 22px;
}

.timeline {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 20px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #CE2715, #F6C967, #CE2715);
    transform: translateX(-50%);
}

.day-block {
    position: relative;
    margin-bottom: 70px;
}

.day-label {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 40px;
    background: #fdf6e3;
    padding: 10px 0 6px;
}

.day-label .badge {
    display: inline-block;
    background: linear-gradient(135deg, #A80403, #CE2715);
    color: #F6C967;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    padding: 6px 24px;
    border-radius: 30px;
    border: 2px solid #F6C967;
    box-shadow: 0 4px 12px rgba(168, 4, 3, 0.25);
}

.day-label h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
    color: #A80403;
    margin: 10px 0 4px;
    letter-spacing: 2px;
}

.day-label .day-desc {
    font-size: 16px;
    color: #9c7a50;
    font-style: italic;
}

.entry {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
    margin-bottom: 40px;
}

.entry.left {
    flex-direction: row;
    padding-right: calc(50% + 30px);
}

.entry.right {
    flex-direction: row-reverse;
    padding-left: calc(50% + 30px);
}

.entry::before {
    content: '🌸';
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    font-size: 20px;
    z-index: 3;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.entry-card {
    background: #fff8e7;
    border: 1px solid #e8d5a3;
    border-left: 4px solid #CE2715;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    flex: 1;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.entry.right .entry-card {
    border-left: 1px solid #e8d5a3;
    border-right: 4px solid #CE2715;
    border-radius: 12px;
}

.entry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(168, 4, 3, 0.1);
}

.entry-card .time-tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: #CE2715;
    background: #fde8e8;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.entry-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    color: #6b2c00;
    margin: 0 0 10px;
    letter-spacing: 1px;
}

.entry-img-wrap {
    position: relative;
    margin-bottom: 14px;
}

.entry-img-wrap img {
    width: 100%;
    border-radius: 8px;
    display: block;
    min-height: 180px;
    object-fit: cover;
    background: #e8d5b0;
}

.entry-card p {
    font-size: 17px;
    line-height: 1.85;
    color: #4a3520;
    margin: 0;
    text-align: justify;
}

.diary-quote {
    border-left: 4px solid #F6C967;
    padding: 10px 16px;
    margin: 12px 0 0;
    background: rgba(246, 201, 103, 0.12);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #7a5c3a;
    font-size: 16px;
}

.diary-end {
    text-align: center;
    padding: 20px 20px 60px;
}

.diary-end p {
    font-size: 20px;
    color: #9c7a50;
    font-style: italic;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.8;
}

@media (max-width: 680px) {
    .timeline::before {
        left: 20px;
    }

    .entry.left,
    .entry.right {
        flex-direction: column;
        padding: 0 0 0 50px;
    }

    .entry::before {
        left: 20px;
    }

    .entry.right .entry-card {
        border-right: 1px solid #e8d5a3;
        border-left: 4px solid #CE2715;
    }

    .diary-hero h1 {
        font-size: 34px;
    }
}