/* WEDDING DESIGN SYSTEM 
   Theme: Midnight Navy, Slate, and Earthy Browns
*/
:root {
    /* Colors from your image */
    --navy-dark: #0a1128;
    /* Midnight Navy */
    --slate-blue: #3e4c6d;
    /* Slate Blue */
    --earth-brown: #4a3728;
    /* Mocha/Brown */
    --taupe: #b59a7d;
    /* Warm Taupe */
    --champagne: #e3d5c1;
    /* Pale Beige */

    /* Functional Colors */
    --soft-white: #fdfdfd;
    --charcoal: #2d2d2d;
    --gray-muted: #757575;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
}

/* 1. Global Overrides */
body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--soft-white);
    margin: 0;
    line-height: 1.7;
}

/* Force light mode background even if system is dark */
:root,
[data-theme="dark"],
[data-theme="light"] {
    --background-color: var(--soft-white);
    --card-background-color: #ffffff;
}

h1,
h3 {
    font-family: var(--font-serif);
    font-weight: 400;
}

/* H2 now uses the Slate Blue from your palette */
h2 {
    font-family: var(--font-serif);
    color: var(--slate-blue) !important;
    text-align: center;
}

/* 2. Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: linear-gradient(rgba(25, 22, 18, 0.55), rgba(25, 22, 18, 0.55)),
        url('https://images.squarespace-cdn.com/content/v1/55c39ab2e4b0cd309c87d45e/1578787594205-WJXDNYEH0WPD2V0GF0JS/0N6A2422.jpg?format=1500w') no-repeat center center/cover;
}

/* Buttons using the Brown/Taupe tones */
.btn-scroll,
.button-primary {
    background-color: var(--earth-brown) !important;
    border: none !important;
    color: white !important;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn-scroll:hover,
.button-primary:hover {
    background-color: var(--taupe) !important;
}

/* 3. RSVP Form Components */
.section-container {
    padding: 80px 0px;
    max-width: 700px;
    margin: auto;
}

.card {
    background: white;
    padding: 40px;
    border-top: 5px solid var(--navy-dark);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

/* Form inputs using the Slate Blue tint from your image */
.rsvp-form input[type="text"],
.rsvp-form input[type="number"],
.rsvp-form select {
    background-color: rgba(62, 76, 109, 0.1) !important;
    /* Tinted Slate Blue */
    border: 1px solid rgba(62, 76, 109, 0.2) !important;
    border-radius: 0 !important;
    color: var(--charcoal) !important;
    height: 55px !important;
    margin-bottom: 20px !important;
}

.rsvp-form input:focus,
.rsvp-form select:focus {
    border-color: var(--taupe) !important;
    background-color: rgba(62, 76, 109, 0.15) !important;
    outline: none !important;
}

/* .rsvp-form */

.guest-section {
    margin-top: 0rem;
    padding: 1.5rem;
    border: 1px solid var(--pico-muted-border-color);
    border-radius: var(--pico-border-radius);
    background: var(--pico-card-background-color);
    margin-bottom: 0px;
}

.guest-input {
    margin-bottom: 1rem;
}

.hidden {
    display: none;
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
}