/* 首页大图样式 */
/* 首页大图样式 */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-button {
    position: absolute;
    bottom: 40px;
    right: 40px;
    padding: 14px 28px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #e91e63;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: #d81b60;
}

/* 倒计时样式 */
.countdown-section {
    padding: 60px 20px;
    background-color: #fdf2f5;
    text-align: center;
}

.wedding-date-display {
    font-size: 36px; /* 比倒计时标题大一号 */
    color: #ff0000; /* 红色显示 */
    text-align: center; /* 居中显示 */
    margin-bottom: 20px;
    font-family: 'Great Vibes', cursive;
}

.countdown-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px; /* 减少底部间距，为婚礼日期留出空间 */
    font-family: 'Great Vibes', cursive;
}

.wedding-date-display {
    font-size: 36px; /* 比倒计时标题大一号 */
    color: #ff0000; /* 红色显示 */
    text-align: center; /* 居中显示 */
    margin-bottom: 30px; /* 增加底部间距，与倒计时内容分隔 */
    font-family: 'Great Vibes', cursive;
    display: block; /* 确保单独占一行 */
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.countdown-value {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #e91e63;
    line-height: 1;
}

.countdown-label {
    font-size: 16px;
    color: #666;
    text-transform: uppercase;
    margin-top: 10px;
    display: block;
}

/* 照片画廊样式 */
.wedding-photo-gallery {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    width: 100%;
    /* 修改为高度自适应，限制最大高度 */
    height: auto;
    max-height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 36px;
}

.gallery-link {
    display: block;
}

.no-photos {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* 烟花动画容器 */
#fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .countdown-container {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 15px 10px;
    }
    
    .countdown-value {
        font-size: 32px;
    }
    
    .hero-button {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 16px;
    }
    
    /* 新增手机端首页大图样式调整 */
    .hero-section {
        height: 60vh;
    }
    
    /* 新增手机端倒计时标题样式调整 */
    .countdown-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

/* 新增小屏幕（手机）优化 */
@media (max-width: 480px) {
    .hero-section {
        height: 40vh;
    }
    
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 10px 5px;
    }
    
    .countdown-value {
        font-size: 24px;
    }
    
    .countdown-label {
        font-size: 12px;
    }
    
    .hero-button {
        bottom: 10px;
        right: 10px;
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* 音乐播放器样式 */
.music-player {
    position: fixed;
    top: 20vh;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.music-player .music-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.music-player.playing {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.music-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background-color: #e91e63;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.music-player:hover .music-close {
    opacity: 1;
}

audio, .volume-control {
    display: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .music-player {
        width: 60px;
        height: 60px;
    }
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

/* 导航栏 */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 100;
}

.site-navigation {
    text-align: center;
}

.site-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-navigation li {
    display: inline-block;
    margin: 0 15px;
}

.site-navigation a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: color 0.3s;
}

.site-navigation a:hover {
    color: #ffccd5;
}

/* 页脚 */
.site-footer {
    background: linear-gradient(135deg, #1a2a6c 0%, #b21f1f 50%, #fdbb2d 100%); /* 渐变背景 */
    color: #fff;
    padding: 80px 20px 40px;
    text-align: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* 添加页脚装饰元素 */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" opacity="0.1"><circle cx="50" cy="50" r="15" fill="%23ffffff"/></svg>');
    pointer-events: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 40px;
    position: relative;
    z-index: 1;
}

.footer-copyright {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    flex-basis: 100%;
}

.footer-contact {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 20px;
    flex-basis: 100%;
}

.footer-link {
    color: #ffeb3b;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    padding-bottom: 3px;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffeb3b;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-link:hover {
    color: #fff;
}

.footer-link:hover::after {
    width: 100%;
}

/* 社交链接样式 */
.footer-social {
    flex-basis: 100%;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 0 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background-color: #fff;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* 响应式页脚 */
@media (min-width: 768px) {
    .footer-copyright,
    .footer-contact,
    .footer-social {
        flex-basis: auto;
        margin-bottom: 0;
    }

    .footer-contact {
        text-align: right;
    }

    .footer-social {
        margin-top: 0;
    }
}

/* 响应式导航 */
@media (max-width: 768px) {
    .site-navigation li {
        display: block;
        margin: 10px 0;
    }
}


/* 基础容器样式 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 文章和页面标题 */
.entry-title {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 10px;
}

/* 移动端样式调整 */
@media (max-width: 768px) {
    /* 调整主内容区域内边距 */
    .main-content {
        padding: 20px 15px;
    }

    /* 减小标题字体大小 */
    .entry-title {
        font-size: 24px;
    }

    /* 调整文章元信息字体大小 */
    .entry-meta {
        font-size: 12px;
    }

    /* 调整内容行高 */
    .entry-content {
        line-height: 1.6;
    }

    /* 调整分页链接样式 */
    .page-links {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    /* 调整文章导航样式 */
    .nav-subtitle {
        display: block;
    }
}

.entry-header {
    margin-bottom: 30px;
    text-align: center;
}

.entry-title {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 10px;
}

.entry-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.no-content {
    text-align: center;
    color: #999;
    padding: 40px 0;
}

.footer-wedding-date {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    flex-basis: 100%;
    color: #ffeb3b;
}

.site-footer {
    background: linear-gradient(135deg, #ff8177 0%, #ff867a 0%, #ff8c7f 21%, #f99185 52%, #cf556c 78%, #b12a5b 100%);
    /* 更浪漫的粉色渐变 */
    color: #fff;
    padding: 80px 20px 40px;
    text-align: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* 添加心形装饰 */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" opacity="0.1"><path d="M92.5,28.3c-1.6-11.8-5.7-22.8-13.5-31.2c-7.7-8.4-17.9-13.4-29-13.4c-11.1,0-21.3,5-29,13.4C13.2,5.5,9.1,16.5,7.5,28.3c-1.6,11.8-1.6,24.4,3.9,35.6l35.4,37.9l35.4-37.9C94.1,52.7,94.1,40.1,92.5,28.3z" fill="%23ffffff"/></svg>');
    pointer-events: none;
}

.footer-contact {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 20px;
    flex-basis: 100%;
}

.footer-link {
    color: #ffeb3b;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    padding-bottom: 3px;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffeb3b;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-link:hover {
    color: #fff;
}

.footer-link:hover::after {
    width: 100%;
}

/* 社交链接样式 */
.footer-social {
    flex-basis: 100%;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 0 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background-color: #fff;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* 响应式页脚 */
@media (min-width: 768px) {
    .footer-copyright,
    .footer-contact,
    .footer-social {
        flex-basis: auto;
        margin-bottom: 0;
    }

    .footer-contact {
        text-align: right;
    }

    .footer-social {
        margin-top: 0;
    }
}

/* 响应式导航 */
@media (max-width: 768px) {
    .site-navigation li {
        display: block;
        margin: 10px 0;
    }
}


/* 基础容器样式 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 文章和页面标题 */
.entry-title {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 10px;
}

/* 移动端样式调整 */
@media (max-width: 768px) {
    /* 调整主内容区域内边距 */
    .main-content {
        padding: 20px 15px;
    }

    /* 减小标题字体大小 */
    .entry-title {
        font-size: 24px;
    }

    /* 调整文章元信息字体大小 */
    .entry-meta {
        font-size: 12px;
    }

    /* 调整内容行高 */
    .entry-content {
        line-height: 1.6;
    }

    /* 调整分页链接样式 */
    .page-links {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    /* 调整文章导航样式 */
    .nav-subtitle {
        display: block;
    }
}

.entry-header {
    margin-bottom: 30px;
    text-align: center;
}

.entry-title {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 10px;
}

.entry-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.no-content {
    text-align: center;
    color: #999;
    padding: 40px 0;
}

/* ... existing code ... */

/* 欢迎弹层样式 */
.welcome-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.welcome-modal-content {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-modal {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

.close-modal:hover {
    background-color: #ff5252;
}

/* 显示弹层 */
.welcome-modal.show {
    display: block;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .welcome-modal-content {
        width: 90%;
        margin: 30% auto;
        padding: 15px;
    }

    .close-modal {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* ... existing code ... */

