/* Contact Section */
.contact-section {
    width: 100%;
    padding: 40px 10px;
    text-align: center;
}

.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.section-title h2 {
    font-family: 'AlpenFontFree', sans-serif;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -3.6px;
    color: #000000;
    font-weight: 400;
}

.title-underline {
    width: 340px;
    height: 6px;
    background: url('images/d07f7f4d2f0b0e8d4e3add6dba9ecb85307110e3.svg') no-repeat center;
    background-size: contain;
}

.title-underline.small {
    width: 160px;
    height: 4px;
}

/* Action Button */
.action-button {
    width: 100%;
    max-width: 380px;
    height: 100px;
    background: url('images/50b77620a45b79a2a33a69767853e524852abade.png') no-repeat center;
    background-size: contain;
    border: none;
    font-family: 'AlpenFontFree', sans-serif;
    font-size: 20px;
    line-height: 29px;
    color: #000000;
    cursor: pointer;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.action-button:hover {
    opacity: 0.8;
}

/* Contact Form */
.contact-form-section {
    width: 100%;
    padding: 10px 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    align-items: flex-start;
}

.contact-form {
    flex: 1 1 380px;
    max-width: 620px;
    min-width: 360px;
    padding: 10px 0;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 20px;
}

.form-label {
    flex: 0 0 200px;
    max-width: 200px;
    min-width: 140px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'AlpenFontFree', sans-serif;
    font-size: 24px;
    line-height: 29px;
    color: #e6aebb;
}

.form-input-wrapper {
    flex: 1 1 360px;
    min-width: 360px;
    max-width: 420px;
    padding: 0 10px;
}

.input-desc {
    display: block;
    font-family: 'Rounded Mplus 1c', sans-serif;
    font-size: 10px;
    line-height: 1;
    padding: 0 10px 5px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 5px 10px;
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 14px;
    line-height: 24px;
    border: none;
    border-bottom: 1px solid #e6aebb;
    background-color: transparent;
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

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

.submit-button {
    margin-top: 20px;
}

.contact-image {
    width: 380px;
    height: 429px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design - Tablet */
@media screen and (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-form {
        width: 90%;
    }

    .contact-image {
        width: 100%;
        max-width: 380px;
    }
}

/* Responsive Design - Mobile */
@media screen and (max-width: 400px) {
    .form-row {
        flex-direction: column;
    }

    .form-label {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: auto;
        height: 30px;
        font-size: 24px;
        line-height: 20px;
        justify-content: center;
        padding: 20px 10px;
    }

    .form-input-wrapper {
        flex: 0 0 auto;
        width: 100%;
        padding: 20 10px;
    }

    .form-input,
    .form-textarea {
        font-size: 14px;
        line-height: 20px;
        padding: 8px 10px;
    }
}
