/* ================================================= */
/* 1. CSS VARIABLES (For easy theme changes) */
/* ================================================= */
:root {
    --watercolorPink: #FFE6F0; /* Very light pink for body background */
    --mainCardPink: #F8D8E5; /* Main card body pink */
    --accentPink: #A03070; /* Darker pink for main text, shadows */
    --goldGlitter: #D4A942; /* Gold color for glitter text/accents */
    --buttonPink: #EEB3C9; /* Button base color */
    --buttonShadow: #C28299; /* Button shadow color */
    --rsvpBackground: #7A2855; /* Darkest Pink/Maroon for RSVP background */
    --font: 'Arial', sans-serif; /* Fallback font */
    --scriptFont: 'Pacifico', cursive; /* Use a standard decorative font for the script title */
}

/* ================================================= */
/* 2. BASE BODY STYLES (BACKGROUND FIX) */
/* ================================================= */

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: var(--font);
    
    /* Solid light pink background and centered content */
    background-color: var(--watercolorPink);
    
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to the top */
    padding-top: 50px; 
    position: relative;
}

/* ================================================= */
/* 3. CARD CONTAINER (invite-content) */
/* ================================================= */

.invite-content {
    max-width: 500px; 
    width: 90%; 
    padding: 30px 25px;
    
    /* Card appearance */
    background-color: var(--mainCardPink); 
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); 
    
    color: var(--accentPink); 
    text-align: center;
}

/* ================================================= */
/* 4. HEADER & SUBTITLE STYLES (Gold Glitter Text) */
/* ================================================= */

.invite-header h1 {
    font-size: 1.8rem;
    font-weight: normal;
    font-family: var(--scriptFont); 
    margin-bottom: 5px;
    color: var(--accentPink);
}
.kam-jam-title { 
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0;
    color: var(--accentPink);
}

.invite-subtitle { 
    display: block;
    font-size: 2.5rem; 
    margin: 10px 0 20px 0; 
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    color: var(--goldGlitter); 
    /* Mimics the glitter sparkle */
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); 
}

.date-location {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #444; 
}
.date-location .highlight {
    font-weight: bold;
    color: var(--accentPink);
}

/* ================================================= */
/* 5. PROFILE IMAGE STYLES (Three Circular Images) */
/* ================================================= */
.park-images {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
}

.image-wrapper {
    width: 30%;
    position: relative;
    text-align: center;
}
/* Update the .image-wrapper CSS to style the actual images */
.image-wrapper .profile-img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    aspect-ratio: 1 / 1; /* Force square shape */
    object-fit: cover;
    border-radius: 50%; /* Makes the images circular */
    border: 3px solid var(--accentPink);
    display: block;
    margin-bottom: 5px;
}

.image-wrapper .placeholder-img {
    width: 100%;
    padding-top: 100%; /* Creates a square aspect ratio for circular images */
    background-color: #f0f0f0;
    border-radius: 50%;
    border: 3px solid var(--accentPink);
    display: block;
    margin-bottom: 5px;
    /* Center text/content within the placeholder if it were used */
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-label {
    display: block;
    font-size: 0.7rem;
    color: var(--accentPink);
    margin-top: 5px;
}

/* ================================================= */
/* 6. LINK & BUTTON STYLES (Layered Look) */
/* ================================================= */

.interactive-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; 
    gap: 10px;
    margin-bottom: 30px;
}

.interactive-links .link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(33% - 10px); /* 3-up layout */
    
    background-color: var(--buttonPink); 
    color: var(--accentPink); 
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    
    padding: 8px 5px;
    /* Layered/Pressed button look */
    box-shadow: 0 3px 0 var(--buttonShadow); 
    
    text-decoration: none;
    transition: all .1s ease-out;
}

@media (max-width: 400px) {
    .interactive-links .link {
        width: 100%; /* Stack on small screens */
        flex-direction: row;
        justify-content: flex-start;
        padding: 10px;
    }
    .interactive-links .link i {
        margin-right: 10px;
        margin-bottom: 0;
    }
}

.interactive-links .link i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.interactive-links .link:active {
    transform: translateY(1px); 
    box-shadow: 0 2px 0 var(--buttonShadow);
}

/* ================================================= */
/* 7. RSVP FORM STYLES (To fit Card theme) */
/* ================================================= */

/* ================================================= */
/* 1. CSS VARIABLES (For easy theme changes) */
/* (omitted for brevity, assume they are correct) */
/* ================================================= */

/* ... (Sections 2 through 6 remain the same) ... */

/* ================================================= */
/* 7. RSVP FORM STYLES (To fit Card theme) */
/* ================================================= */

.rsvp-section {
    background-color: var(--rsvpBackground); 
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.rsvp-header {
    color: white; 
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.form-group {
    text-align: left;
    margin-bottom: 10px;
}

.form-group input {
    color: var(--accentPink); 
}

.form-group input[type="text"],
.form-group input[type="number"], 
.form-group input[type="tel"],
.form-group input[type="email"],
/* ADDED: Styling for the new select element */
.form-group select { 
    width: 95%; 
    padding: 8px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
    /* Center text within the select field */
    text-align-last: center; 
    /* Style for dropdown text color */
    color: var(--accentPink); 
    /* Ensures the select box background is white */
    background-color: white; 
}

.form-group label {
    display: none; /* Hide labels, relying on placeholders/headers */
}

/* REMOVED: .checkbox-group and related styles */

.submit-button {
    display: block;
    width: 90%;
    margin: 15px auto 0 auto;
    background-color: var(--goldGlitter); 
    color: white; 
    border-radius: 10px;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    
    box-shadow: 0 4px 0 #A07525; 
}
.submit-button:active {
    transform: translateY(2px); 
    box-shadow: 0 2px 0 #A07525;
} 

/* ================================================= */
/* 9. FOOTER STYLES (White Text) */
/* ================================================= */

.invite-footer {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.5); 
    color: white;
    font-size: 0.8rem;
}
.invite-footer a {
    color: white; /* Ensure the link is also white */
    text-decoration: none;
    font-weight: bold;
}
.invite-footer a:hover {
    text-decoration: underline;
}