/* ==============================================
   Wedding Photo Day - Stili CSS
   ============================================== */

/* Sezione La Visione */
.wedding-vision {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border-bottom: 1px solid #e0e0e0;
}

.wedding-vision .container {
    max-width: 900px;
    margin: 0 auto;
}

.wedding-logo {
    display: block;
    max-width: 300px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.wedding-vision h1 {
    font-size: 3em;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.vision-content h2 {
    font-size: 2.2em;
    color: #2c2c2c;
    margin-bottom: 40px;
    font-weight: 600;
    text-align: center;
}

.vision-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.vision-content p:last-child {
    margin-bottom: 0;
}

/* Sezione Form */
.wedding-form-section {
    padding: 80px 20px;
    background: #ffffff;
}

.wedding-form-section .container {
    max-width: 700px;
    margin: 0 auto;
}

.wedding-form-section h2 {
    font-size: 2.2em;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.form-intro {
    text-align: center;
    color: #888;
    margin-bottom: 50px;
    font-size: 1.05em;
}

/* Form Styling */
.wedding-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1em;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: #8b7355;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.form-group input::placeholder {
    color: #bbb;
}

/* Button Submit */
.btn-submit {
    padding: 14px 40px;
    background: linear-gradient(135deg, #8b7355 0%, #6d5843 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.3);
    background: linear-gradient(135deg, #9d8262 0%, #7d6852 100%);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(139, 115, 85, 0.2);
}

.btn-submit:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Messaggi Form */
.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 500;
    display: none;
    text-align: center;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wedding-vision h1 {
        font-size: 2.2em;
        margin-bottom: 40px;
    }

    .wedding-logo {
        max-width: 200px;
        margin-bottom: 20px;
    }

    .vision-content h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .vision-content p {
        font-size: 1em;
        line-height: 1.7;
        margin-bottom: 20px;
        text-align: left;
    }

    .wedding-form-section h2 {
        font-size: 1.8em;
    }

    .wedding-form {
        gap: 20px;
    }

    .form-group input {
        padding: 10px 12px;
        font-size: 16px; /* Previene zoom su mobile */
    }

    .btn-submit {
        padding: 12px 30px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .wedding-vision {
        padding: 50px 15px;
    }

    .wedding-vision h1 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .vision-content h2 {
        font-size: 1.5em;
        margin-bottom: 25px;
    }

    .vision-content p {
        font-size: 0.95em;
        margin-bottom: 15px;
    }

    .wedding-form-section {
        padding: 50px 15px;
    }

    .wedding-form-section h2 {
        font-size: 1.5em;
    }

    .form-intro {
        font-size: 0.95em;
        margin-bottom: 35px;
    }

    .wedding-form {
        gap: 18px;
    }

    .form-group label {
        font-size: 0.95em;
    }
}
