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

body {
    background-color: #1a1a2e;
    font-family: 'Playfair Display', serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    color: #e8e8e8;
}

/* Header / Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(26, 26, 46, 0.95);
    padding: 0.8rem 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    padding-right: 1rem;
}

/* Language Switcher */
.lang-switcher {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid #555;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lang-switcher .lang-text {
    display: none;
    margin-left: 0.3rem;
    font-size: 1.1rem;
}

.lang-switcher:hover {
    transition: all 0.05s ease;
    display: inline;
    background: #e8e8e8;
    color: #1a1a2e;
    border-color: #e8e8e8;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 20px;
}

/* The Main Card */
.card-container {
    background-color: #16213e;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

/* Header Image */
.header-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text Content */
.content-area {
    padding: 40px 30px 60px 30px;
    text-align: center;
    color: #e8e8e8;
    position: relative;
    z-index: 2;
}

.save-the-date-text {
    font-size: 1.2rem;
    letter-spacing: 2px;
    /* text-transform: uppercase; */
    margin-bottom: 20px;
    color: #b8b8b8;
}

.names {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 400;

    /* New frame styling */
    padding: 20px 30px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    position: relative;
}

.ampersand {
    font-size: 3rem;
    display: block;
    margin: 10px 0;
    font-style: italic;
}

.details {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.details strong {
    font-size: 1.4rem;
    display: block;
    margin: 10px 0;
}

.closing {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 50px;
}

/* Watercolor Background Effect */
.card-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 80%, rgba(100, 100, 180, 0.15), transparent 60%),
                radial-gradient(circle at 10% 90%, rgba(80, 80, 160, 0.15), transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background: #0f0f1a;
    color: #e8e8e8;
    font-size: 0.85rem;
}

.date {
    font-size: 1.6rem;
    font-weight: bold;
    display: block;
    margin: 15px 0;
    color: #e8e8e8;
}

