/* === 婚纱故事 · 浪漫优雅 === */

:root {
    --bg: #faf6f0;
    --fg: #4a3f35;
    --muted: #a89888;
    --accent: #c9a87c;
    --soft-pink: #f5e1dc;
    --serif: 'Cormorant Garamond', 'Noto Serif SC', serif;
    --cursive: 'Dancing Script', cursive;
    --zh: 'Noto Serif SC', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--serif);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* === 字体类 === */
.cursive { font-family: var(--cursive); font-weight: 700; }
.zh-name { font-family: var(--zh); font-weight: 300; color: var(--muted); letter-spacing: 0.3em; }
.kicker {
    font-size: 11px;
    letter-spacing: 0.4em;
    color: var(--accent);
    text-transform: uppercase;
    font-family: var(--serif);
    font-weight: 500;
}

h1, h2 { font-weight: 400; line-height: 1.1; }

/* === 顶部导航 === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 48px;
    background: rgba(250, 246, 240, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.nav-brand { font-family: var(--cursive); font-size: 32px; color: var(--fg); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
    font-family: var(--zh);
    font-size: 14px;
    color: var(--fg);
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent); }

/* === Hero === */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; }
.slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}
.slide.active { opacity: 1; }
.slide img { filter: brightness(0.7); }

.hero-content {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center;
    color: white;
    padding: 0 24px;
}
.hero-content .kicker { color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.hero-content h1 {
    font-size: clamp(72px, 12vw, 160px);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content .zh-name {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    margin-bottom: 48px;
}
.btn-outline {
    border: 1px solid rgba(255,255,255,0.6);
    padding: 14px 36px;
    font-family: var(--zh);
    font-size: 14px;
    letter-spacing: 0.2em;
    color: white;
    transition: all 0.3s;
}
.btn-outline:hover {
    background: white;
    color: var(--fg);
    border-color: white;
}

.dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}
.dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}
.dot.active { background: white; }

/* === 引言 === */
.quote-section {
    text-align: center;
    padding: 120px 24px;
    background: var(--soft-pink);
}
.quote-section .cursive {
    font-size: clamp(28px, 4vw, 44px);
    color: var(--fg);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}
.quote-author {
    margin-top: 24px;
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0.2em;
}

/* === 故事 === */
.story {
    padding: 120px 8%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}
.story.alt {
    direction: rtl;
}
.story.alt > * { direction: ltr; }
.story-meta .kicker { margin-bottom: 16px; }
.story-meta h2 {
    font-size: clamp(48px, 6vw, 80px);
    margin-bottom: 8px;
}
.story-meta .zh-name { font-size: 18px; margin-bottom: 24px; }
.story-date {
    font-size: 14px;
    color: var(--accent);
    letter-spacing: 0.2em;
    margin-bottom: 32px;
}
.story-desc {
    font-family: var(--zh);
    font-size: 16px;
    line-height: 2;
    color: var(--fg);
}
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    aspect-ratio: 4/3;
}
.g-item { overflow: hidden; }
.g-item.large { grid-column: span 2; }
.g-item img { transition: transform 1.5s ease; }
.g-item:hover img { transform: scale(1.06); }

/* === 画廊 === */
.gallery { padding: 120px 8%; }
.section-head { text-align: center; margin-bottom: 80px; }
.section-head h2 { font-size: clamp(48px, 6vw, 80px); margin: 16px 0 8px; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}
.g-cell {
    aspect-ratio: 3/4;
    overflow: hidden;
}
.g-cell img { transition: transform 1.5s ease; }
.g-cell:hover img { transform: scale(1.08); }

/* === 关于 === */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 120px 8%;
    align-items: center;
    background: #f0e9df;
}
.about-img {
    aspect-ratio: 3/4;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.about-text h2 {
    font-size: clamp(48px, 6vw, 80px);
    margin: 16px 0 8px;
}
.about-text .zh-name { margin-bottom: 32px; font-size: 18px; }
.about-text p { font-family: var(--zh); font-size: 16px; line-height: 2; }
.signature {
    font-size: 28px;
    color: var(--accent);
    margin-top: 32px;
}

/* === 联系 === */
.contact {
    padding: 120px 24px;
    text-align: center;
}
.contact-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 60px;
    background: white;
    border: 1px solid var(--soft-pink);
    box-shadow: 0 30px 80px rgba(0,0,0,0.05);
}
.contact-card h2 {
    font-size: clamp(40px, 5vw, 64px);
    margin: 16px 0 8px;
}
.contact-card .zh-name { margin-bottom: 24px; }
.contact-desc {
    font-family: var(--zh);
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 48px;
}
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
    font-family: var(--zh);
    font-size: 14px;
}
.contact-info strong {
    color: var(--accent);
    letter-spacing: 0.2em;
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
}
.contact-info div { line-height: 2; }

/* === 页脚 === */
.footer {
    padding: 48px 24px;
    text-align: center;
    background: var(--fg);
    color: rgba(255,255,255,0.7);
}
.footer .cursive {
    font-size: 32px;
    color: white;
    margin-bottom: 8px;
}
.footer p { font-size: 12px; letter-spacing: 0.2em; }

/* === 响应式 === */
@media (max-width: 768px) {
    .nav { padding: 16px 20px; }
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 12px; }
    .nav-brand { font-size: 24px; }
    .story {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 80px 24px;
    }
    .story.alt { direction: ltr; }
    .gallery { padding: 80px 24px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .about {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 80px 24px;
    }
    .contact-card { padding: 48px 24px; }
    .contact-info { grid-template-columns: 1fr; }
}
