/* styles.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: '微软雅黑', sans-serif;
    background-color: #d70000;
    /* 中国红背景色 */
    color: #fff;
}

.page-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.navbar {
    background: linear-gradient(90deg, #ffcc00, #b30000);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid #ffcc00;
}

.navbar ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin: 0 15px;
    position: relative;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 10px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.navbar a:hover {
    color: #b30000;
    background-color: #ffcc00;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ffcc00;
    transition: width 0.3s;
    margin: 0 auto;
}

.navbar a:hover::after {
    width: 100%;
}

header {
    background-color: #b30000;
    /* 深红色背景 */
    text-align: center;
    padding: 40px 0;
    border-bottom: 5px solid #ffcc00;
    /* 金色边框 */
}

header h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #ffcc00;
    /* 金色文字 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.5rem;
    color: #fff;
    font-style: italic;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
    text-align: center;
    background-color: #b30000;
    /* 深红背景色 */
    color: #fff;
    width: 90%;
    margin: 20px auto;
    border: 10px solid #ffcc00;
    /* 金色边框 */
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2rem;
    color: #ffcc00;
    border-bottom: 2px solid #ffcc00;
    margin-bottom: 20px;
}

.couple-info,
.wedding-vow,
.blessings,
.couple-info1,
.couple-info2,
.couple-info3,
.couple-info4,
.couple-info5,
.couple-info6,
.commitment-timer {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

blockquote {
    font-size: 1.5rem;
    color: #ffcc00;
    margin-top: 20px;
    padding: 10px;
    border-left: 4px solid #ffcc00;
    background-color: rgba(255, 255, 255, 0.1);
    font-style: italic;
}

footer {
    background-color: #b30000;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 1rem;
    border-top: 5px solid #ffcc00;
}


/* 添加装饰性元素 */

.header-content::before {
    content: "👑👑";
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.couple-info::before {
    content: "🌹🌹";
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.couple-info1::before {
    content: "🎊";
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.couple-info2::before {
    content: "💎💎";
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.couple-info3::before {
    content: "🥂";
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.couple-info4::before {
    content: "🧧";
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.couple-info5::before {
    content: "🤼‍♀️";
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.couple-info6::before {
    content: "🎆";
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.wedding-vow::before {
    content: "💍";
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.blessings::before {
    content: "🎉";
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.commitment-timer::before {
    content: "⌚️";
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

header h1,
.couple-info,
.wedding-vow,
.blessings {
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}