/* 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.72d91a.css) */
    background-image:
    /*linear-gradient(135deg, #333 0%, #999 100%);*/
        linear-gradient(#30a6cab3, #83d5e180);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 20vh;
    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 #eaff00;

    /* 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); }
}

/* Hero RSVP Button */
.hero-rsvp-btn {
    background: linear-gradient(135deg, #eaff00 0%, #ffeb3b 100%);
    color: #000;
    border: none;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto Mono', monospace;
    margin-top: 1.5rem;
    box-shadow: 0 8px 20px rgba(234, 255, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-rsvp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(234, 255, 0, 0.6);
}

.hero-rsvp-btn:active {
    transform: translateY(-1px);
}

/* 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 */
}


.detail-card {
    padding: 2.5rem 2rem;
    /*background: #fafafa;*/
    background: linear-gradient(135deg, #30a6cab3, #83d5e180);
    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: #eaff00;
    margin-bottom: 0.5rem;
}

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

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

/* Dresscode Section */
.dresscode-section {
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.gift-section {
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.dresscode-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #30a6cab3, #83d5e180);
    border: 1px solid rgba(102, 126, 234, 0.12);
    box-shadow: 0 18px 50px rgba(44, 62, 80, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dresscode-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(102, 126, 234, 0.10), transparent 60%);
    pointer-events: none;
}


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

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

.dresscode-icon {
    color: #ffeb3b;
    font-size: 56px;
    margin-bottom: 0.75rem;
}

.dresscode-card h3 {
    font-family: "Press Start 2P", system-ui;
    font-size: clamp(1rem, 2.8vw, 1.6rem);
    line-height: 1.45;
    color: #eaff00;
    margin-bottom: 1rem;
}

.dresscode-text {
    max-width: 44rem;
    margin: 0 auto 1.5rem;
    color: #556;
    font-size: 1.05rem;
}

.dresscode-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.dresscode-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.10);
    color: #3f51b5;
    border: 1px solid rgba(102, 126, 234, 0.16);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.detail-map {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
}

/* 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;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
}

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

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.modal-close-btn:hover {
    color: #333;
}

.modal-content h2 {
    font-family: "Press Start 2P", system-ui;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-align: center;
}

.rsvp-intro-modal {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Modal Confirmation Section */
.modal-confirmation-content {
    text-align: center;
}

.modal-confirmation-image {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
}

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

.modal-confirmation-text .thank-you-message {
    font-size: 1.1rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-confirmation-close-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Roboto Mono', monospace;
    margin-top: 1rem;
}

.modal-confirmation-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* 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); }
}
