﻿/* styles/form.css - Estilos do formulário RSVP - Updated for elegant design */

.rsvp-section {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%);
    padding: 6rem 0;
    color: white;
}

.rsvp-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}




.rsvp-form {
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
}

.form-title {
    text-align: center;
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 2rem;
    font-weight: 300;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.radio-option {
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.radio-label {
    display: block;
    padding: 1.5rem;
    background: #f8f8f8;
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.radio-option input[type="radio"]:checked + .radio-label {
    background: linear-gradient(135deg, #d4af37, #f4e4bc);
    color: white;
    border-color: #d4af37;
    transform: scale(1.02);
}

.acompanhante-fields {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 1.5rem;
    border-left: 4px solid #d4af37;
}

.acompanhante-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.acompanhante-item h4 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Form step styling enhancements */
.form-step h4 {
    text-align: center;
    margin-bottom: 2rem;
    color: #d4af37;
    font-size: 1.3rem;
    font-weight: 500;
}

.form-step p {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.6;
}

/* Enhanced button styles in form context */
.form-step .btn {
    margin-top: 1rem;
}

.form-step .btn-group {
    margin-top: 2rem;
}

/* Mobile responsiveness for forms */
@media (max-width: 768px) {
    .rsvp-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .radio-group {
        grid-template-columns: 1fr;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-secondary {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .form-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .rsvp-container {
        padding: 0 1rem;
    }

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

    .form-title {
        font-size: 1.5rem;
    }

    .form-group label {
        font-size: 1rem;
    }
}


/* Título principal do formulário RSVP */
#rsvp h2 {
    font-size: 3rem;
    color: #d4af37;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
    text-align: center;
}

/* Subtítulo do formulário */
#rsvp #formTitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.6;
}

/* Divisor decorativo */
#rsvp h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(135deg, #d4af37, #f4e4bc);
    margin: 1rem auto 2rem;
}

/* Responsividade */
@media (max-width: 768px) {
    #rsvp h2 {
        font-size: 2.5rem;
    }
    
    #rsvp #formTitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    #rsvp h2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    #rsvp #formTitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}