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

:root {
    --christmas-red: #c41e3a;
    --dark-red: #8b1538;
    --burgundy: #8B1538;
    --text-dark: #1A1A1A;
    --text-gray: #4A4A4A;
    --cream: #FFF8DC;
    --champagne: #F7E7CE;
    --border-color: #E8D5C4;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--christmas-red);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    padding: 3rem 1rem;
}

/* CSS Snowflakes - https://pajasevi.github.io/CSSnowflakes/ */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: #fff;
    user-select: none;
    pointer-events: none;
    animation: snowfall linear infinite;
    opacity: 0;
}

@keyframes snowfall {
    0% {
        transform: translateY(-100vh) translateX(0px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.snowflake:nth-child(1) { left: 1%; animation-duration: 6s; animation-delay: 0s; font-size: 1em; }
.snowflake:nth-child(2) { left: 10%; animation-duration: 12s; animation-delay: 1s; font-size: 0.9em; }
.snowflake:nth-child(3) { left: 20%; animation-duration: 18s; animation-delay: 0.5s; font-size: 1.1em; }
.snowflake:nth-child(4) { left: 30%; animation-duration: 10s; animation-delay: 1.7s; font-size: 0.8em; }
.snowflake:nth-child(5) { left: 40%; animation-duration: 14s; animation-delay: 0.2s; font-size: 1.3em; }
.snowflake:nth-child(6) { left: 50%; animation-duration: 16s; animation-delay: 2.1s; font-size: 0.7em; }
.snowflake:nth-child(7) { left: 60%; animation-duration: 8s; animation-delay: 1.2s; font-size: 1.2em; }
.snowflake:nth-child(8) { left: 70%; animation-duration: 13s; animation-delay: 0.8s; font-size: 0.9em; }
.snowflake:nth-child(9) { left: 80%; animation-duration: 11s; animation-delay: 2.5s; font-size: 1.4em; }
.snowflake:nth-child(10) { left: 90%; animation-duration: 9s; animation-delay: 1.4s; font-size: 1em; }
.snowflake:nth-child(11) { left: 5%; animation-duration: 15s; animation-delay: 0.3s; font-size: 0.6em; }
.snowflake:nth-child(12) { left: 15%; animation-duration: 7s; animation-delay: 1.9s; font-size: 1.1em; }
.snowflake:nth-child(13) { left: 25%; animation-duration: 17s; animation-delay: 0.7s; font-size: 0.8em; }
.snowflake:nth-child(14) { left: 35%; animation-duration: 12s; animation-delay: 2.3s; font-size: 1.5em; }
.snowflake:nth-child(15) { left: 45%; animation-duration: 14s; animation-delay: 1.1s; font-size: 0.9em; }
.snowflake:nth-child(16) { left: 55%; animation-duration: 6s; animation-delay: 0.6s; font-size: 1.2em; }
.snowflake:nth-child(17) { left: 65%; animation-duration: 19s; animation-delay: 2.7s; font-size: 0.7em; }
.snowflake:nth-child(18) { left: 75%; animation-duration: 10s; animation-delay: 1.6s; font-size: 1.3em; }
.snowflake:nth-child(19) { left: 85%; animation-duration: 13s; animation-delay: 0.4s; font-size: 1em; }
.snowflake:nth-child(20) { left: 95%; animation-duration: 8s; animation-delay: 2.2s; font-size: 0.8em; }

/* Snow Hills Footer */
.snow-hills {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 250px;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hill {
    position: absolute;
    bottom: 0;
    background: white;
    border-radius: 50%;
}

.hill-1 {
    width: 800px;
    height: 400px;
    left: -200px;
    bottom: -200px;
}

.hill-2 {
    width: 600px;
    height: 300px;
    right: -100px;
    bottom: -150px;
}

.hill-3 {
    width: 500px;
    height: 250px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -100px;
}

/* Language Switcher - Minimal Top Right */
.language-switcher {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.4rem;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    padding: 0.4rem 0.8rem;
    background: transparent;
    color: var(--text-dark);
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 0.85rem;
}

.lang-btn:hover {
    background: rgba(139, 21, 56, 0.1);
    color: var(--burgundy);
}

.lang-btn.active {
    background: var(--burgundy);
    color: white;
}

/* Main Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Card */
.card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--champagne);
}

.card-header h2 {
    font-size: 2.6rem;
    color: var(--burgundy);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(139, 21, 56, 0.3);
    letter-spacing: 1px;
}

.card-header p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    color: #155724;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
}

/* Form */
.form-group {
    margin-bottom: 1.8rem;
}

label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.required {
    color: var(--burgundy);
    margin-left: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Yes/No Radio buttons */
.radio-group {
    display: flex;
    gap: 1rem;
}

.radio-option {
    flex: 1;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option label {
    display: block;
    padding: 0.9rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    background: white;
    font-weight: 500;
}

.radio-option label:hover {
    border-color: var(--burgundy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.15);
}

.radio-option input[type="radio"]:checked + label {
    border-color: var(--burgundy);
    background: var(--burgundy);
    color: white;
    font-weight: 600;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1.1rem 2rem;
    background: var(--burgundy);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Info Section */
.info-section {
    background: var(--cream);
    border-left: 4px solid var(--burgundy);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.info-section h3 {
    color: var(--burgundy);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(139, 21, 56, 0.2);
}

.info-section ul {
    padding-left: 1.5rem;
    color: var(--text-gray);
}

.info-section li {
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

/* Error styling */
.error {
    color: var(--burgundy);
    font-size: 0.85rem;
    margin-top: 0.4rem;
    font-weight: 500;
}

/* Info message styling */
.info-message {
    background: #f0f7ff;
    border-left: 3px solid #2196F3;
    padding: 0.9rem 1rem;
    margin-top: 0.6rem;
    border-radius: 6px;
    font-size: 0.88rem;
    color: #0d47a1;
    line-height: 1.5;
}

/* Conditional field */
.conditional-field {
    display: none;
    margin-top: 1.2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--burgundy);
}

.conditional-field.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 2rem 1rem;
    }

    .card {
        padding: 2rem 1.5rem;
    }

    .card-header h2 {
        font-size: 2rem;
    }

    .language-switcher {
        top: 1rem;
        right: 1rem;
    }

    .snow-hills {
        height: 150px;
    }

    .hill-1 {
        width: 500px;
        height: 250px;
        left: -150px;
        bottom: -125px;
    }

    .hill-2 {
        width: 400px;
        height: 200px;
        right: -100px;
        bottom: -100px;
    }

    .hill-3 {
        width: 350px;
        height: 175px;
        bottom: -75px;
    }
}

/* reCAPTCHA styling */
.g-recaptcha {
    transform: scale(0.9);
    transform-origin: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .g-recaptcha {
        transform: scale(0.75);
    }
}

@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.65);
    }
}

/* Ensure reCAPTCHA container fits well in form */
.form-group .g-recaptcha {
    margin: 1.5rem auto;
    display: flex !important;
    justify-content: center;
}
