:root {
    --accent: #c36b7b;
    --accent-soft: #f3d9df;
    --text: #333;
    --text-muted: #666;
    --card-bg: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: linear-gradient(to right, SeaGreen, Maroon);
}

html::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, MediumPurple, Silver);
    -webkit-mask: linear-gradient(#fff, transparent);
    mask: linear-gradient(#fff, transparent);
    z-index: -1;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.6;

    scroll-padding-top: 90px;
}

a {
    color: var(--accent);
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 1rem;
}

header {
    position: sticky;
    top: 8px;
    left: 8px;
    z-index: 10;
    background-color: transparent;
    margin-bottom: -64px;
}

header>a {
    display: inline;
}

nav {
    padding: 8px 16px;
    border-radius: 8px;
    position: absolute;
    display: none;
    flex-direction: column;
    gap: 10px;
    backdrop-filter: blur(3px);
}

nav a {
    background-color: #1cb3f5;
    color: black;
    -webkit-box-shadow: 5px 5px 14px 5px rgba(0, 0, 0, 0.61);
    box-shadow: 5px 5px 14px 5px rgba(0, 0, 0, 0.61);
    border-radius: 10px;
    padding: 6px 12px;
    text-align: center;
}

input[type="text"],
input[type="number"],
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
    margin-bottom: 12px;
}

button {
    width: 100%;
    padding: 12px;
    border-radius: 999px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: #222;
    color: #fff;
}

.small-button {
    width: auto;
    padding: 8px 12px;
    font-size: 0.9rem;
    margin-top: 4px;
    margin-inline: auto;
}

.error {
    background: #ffe0e0;
    color: #a40000;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.success {
    background: #e0ffe8;
    color: #006b2d;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.guest-list-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.98rem;
}

.guest-list-item:last-child {
    border-bottom: none;
}

.subtle {
    font-size: 0.85rem;
    color: Orange;
    text-align: center;
    margin-top: 8px;
}


video {
    max-width: 100%;
    border-radius: 8px;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.hero-text h1 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    margin-bottom: 0.4rem;
}

.hero-text p.subtitle {
    margin-top: 0;
    color: var(--text-muted);
}

.tagline {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.hero-image-placeholder {
    aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, #f3d9df, #f8ebe2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    padding: 1rem;
}

section {
    margin-bottom: 2.5rem;
}

section h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.gallery img {
    width: 100%;
    height: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 12px;
    background: #ddd;
}

.small {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* TikTok embed wrapper voor betere responsiviteit */
.tiktok-wrapper {
    margin-top: 1rem;
    width: 100%;
    max-width: 420px;
}

/* Underline-style headings */
.section-header {
    display: inline-block;
    border-bottom: 3px solid var(--accent-soft);
    padding-bottom: 0.25rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 720px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-image-placeholder {
        order: -1;
    }

    main {
        padding: 1rem 0.75rem 2.5rem;
    }

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
