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

body {
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-switcher select {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    cursor: pointer;
    font-family: 'Roboto Mono', monospace;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
/* Hero Section */
.hero {
    /* Overlay + echtes Bild (Pfad relativ zu public/styles.css) */
    background-image:
        linear-gradient(rgba(48, 166, 202, 0.7), rgba(131, 213, 225, 0.5));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    padding: 2rem;
}

.save-the-date {
    font-family: "Press Start 2P", system-ui;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.couple-names {
    font-family: 'Rubik Puddles', system-ui;
    font-size: 8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;

    /* Neon-Gelb + Outline */
    color: #eaff00;
    -webkit-text-stroke: 3px #000;

    /* Fallback/Glow & Outline für Browser ohne text-stroke */
    /*text-shadow:*/
    /*    2px 2px 0 #000,*/
    /*    -2px 2px 0 #000,*/
    /*    2px -2px 0 #000,*/
    /*    -2px -2px 0 #000,*/
    /*    0 0 10px rgba(234, 255, 0, 0.9),*/
    /*    0 0 22px rgba(234, 255, 0, 0.6);*/
}

.date-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.date-divider .line {
    width: 100px;
    height: 1px;
    background: white;
    opacity: 0.7;
}

.date-divider .heart {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Details Section */
.details {
    padding: 5rem 2rem;
    background: white;
    text-align: center;
}

.details h2 {
    font-family: "Press Start 2P", system-ui;
    font-size: clamp(1.2rem, 4.5vw, 2.5rem);
    color: #2c3e50;
    margin-bottom: 3rem;
    line-height: 1.3;
    word-break: break-word;
}


.detail-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Google-Style Icons (Details Section) */
.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;

    font-size: 44px;
    line-height: 1;
    display: inline-block;
    margin-bottom: 1rem;

    /* Graustufen-Look */
    color: #6b7280; /* neutral grey */
    opacity: 0.95;
}

.detail-card:hover .material-symbols-outlined {
    color: #374151; /* etwas dunkler beim Hover */
}

/* Legacy: falls irgendwo noch alte .icon-Emoji drin sind */
.detail-card .icon {
    display: none;
}

.detail-card {
    padding: 2.5rem 2rem;
    background: #fafafa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detail-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.detail-card h3 {
    font-family: "Press Start 2P", system-ui;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.detail-main {
    font-size: 1.2rem;
    font-weight: 600;
    color: #c9a961;
    margin-bottom: 0.5rem;
}

.detail-sub {
    font-size: 0.95rem;
    color: #666;
}

/* RSVP Section */
.rsvp {
    padding: 5rem 2rem;
    background: linear-gradient(150deg, rgba(48, 166, 202, 0.7), #995bd4 150%);
            /*linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    text-align: center;
}

.rsvp h2 {
    font-family: "Press Start 2P", system-ui;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.rsvp-intro {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Roboto Mono', monospace;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

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

/* Custom Radio Buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: #667eea;
}

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

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #667eea;
    background: #667eea;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.radio-label input[type="radio"]:checked ~ span:last-child {
    color: #667eea;
    font-weight: 600;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Confirmation Section */
.confirmation {
    padding: 5rem 2rem;
    background: white;
    text-align: center;
}

.confirmation-content {
    max-width: 700px;
    margin: 0 auto;
}

.confirmation-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
}

.confirmation-text h2 {
    font-family: 'Roboto Mono', monospace;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.3rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.confirmation-note {
    font-size: 0.95rem;
    color: #666;
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    background: #2c3e50;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-names {
    font-family: 'Rubik Puddles', system-ui;
    font-size: 1.2rem;
    color: white;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .couple-names {
        font-size: 2.5rem;
    }

    .rsvp h2,
    .confirmation-text h2 {
        font-size: clamp(1.2rem, 4.5vw, 2rem);
        line-height: 1.3;
        word-break: break-word;
    }

    .rsvp-form {
        padding: 2rem 1.5rem;
    }

    .date-divider .line {
        width: 50px;
    }
}

/* Extra small screens */
@media (max-width: 420px) {
    .details h2,
    .rsvp h2,
    .confirmation-text h2 {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .details {
        padding: 3rem 1rem;
    }
}

/* Animation for confirmation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.confirmation.show {
    animation: fadeInUp 0.6s ease;
}

/* Loading state */
.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
