/* Wedding Website Styles */
@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700;800&display=swap');

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

body {
    font-family: 'Nanum Myeongjo', serif;
    background: #ffffff;
    color: rgb(113, 78, 55);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2rem 0.75rem;
}

header {
    text-align: center;
    padding: 0 0 2rem;
    margin-bottom: 3rem;
}

.banner {
    width: calc(100% + 8rem);
    max-width: calc(100% + 8rem);
    height: auto;
    display: block;
    margin: 0 -4rem 2rem -4rem;
    border-radius: 8px;
}

h1 {
    font-size: 2.5rem;
    color: rgb(113, 78, 55);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 1.8rem;
    color: rgb(113, 78, 55);
    margin: 2rem 0 1rem;
    font-weight: 600;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.4rem;
    color: rgb(113, 78, 55);
    margin: 1.5rem 0 0.8rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.content {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    border: 1px solid #e5e5e5;
}

.content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

/* In-text links (not nav buttons, RSVP button, or map CTA) */
.container a:not(.nav-link):not(.form-button):not(.map-link),
.container a:not(.nav-link):not(.form-button):not(.map-link):visited {
    color: #6883bb;
}

.container a:not(.nav-link):not(.form-button):not(.map-link):hover {
    color: #556db0;
}

.navigation {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 2rem 0 0.35rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.nav-link.home-link {
    margin-right: auto;
    order: -1;
}

.start-navigation .nav-link {
    font-size: 1.15rem;
    padding: 1rem 2rem;
}

.start-navigation .nav-link.secondary {
    font-size: 1.1rem;
    padding: 0.95rem 2rem;
}

.nav-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #6883bb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-weight: 500;
    border: none;
}

.nav-link:hover {
    background: #3d4d6d;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-link.secondary {
    background: transparent;
    color: rgb(113, 78, 55);
    border: 1px solid #e5e5e5;
}

.nav-link.secondary:hover {
    background: #fafafa;
    border-color: rgb(113, 78, 55);
    color: rgb(113, 78, 55);
}

.map-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-weight: 500;
}

.map-link:hover {
    background: #333333;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wip-message {
    text-align: center;
    padding: 3rem;
    background: #fafafa;
    border: 1px dashed #e5e5e5;
    border-radius: 12px;
    margin: 2rem 0;
}

.wip-message p {
    font-size: 1.3rem;
    color: #666666;
    font-style: italic;
}

.planning-message {
    text-align: center;
    padding: 3rem;
    font-size: 1.3rem;
    color: rgb(113, 78, 55);
}

.highlight {
    color: rgb(113, 78, 55);
    font-weight: 600;
}

.time-block {
    background: #fafafa;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 3px solid rgb(113, 78, 55);
    border-radius: 8px;
}

.form-button-container {
    text-align: center;
    margin: 2rem 0 3rem;
    padding: 1.2rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.form-button {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: rgb(113, 78, 55);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    box-shadow: 0 2px 6px rgba(113, 78, 55, 0.2);
}

.form-button:hover {
    background: rgb(90, 62, 44);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(113, 78, 55, 0.25);
}

.form-button-note {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #666666;
    font-style: italic;
}

/* Slow horizontal image strip at bottom of pages — same column width as .container */
.marquee-banner {
    overflow: hidden;
    box-sizing: border-box;
    max-width: 900px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    padding: 0.65rem 2rem;
    background: #fafafa;
    border-top: 1px solid #e5e5e5;
    /* Soft fade at left & right edges (images dissolve into background) */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        #fff 10%,
        #fff 90%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        #fff 10%,
        #fff 90%,
        transparent
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-left 100s linear infinite;
}

.marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.75rem;
    padding-right: 0.75rem;
}

.marquee-group img {
    height: 7rem;
    width: auto;
    max-width: 14rem;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

@keyframes marquee-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem 1rem 0.5rem;
    }
    
    .banner {
        width: calc(100% + 4rem);
        max-width: calc(100% + 4rem);
        margin: 0 -2rem 2rem -2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .content {
        padding: 1.5rem;
    }
    
    .navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
    }

    .marquee-banner {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
