/* ============================================= */
/* CONTACT PAGE STYLES - JINHONGLJH PORTFOLIO */
/* ============================================= */

/* ===== CONTACT PAGE STRUCTURE ===== */
.contact-page .banner {
    width: 100vw;
    height: 50vh;
    padding: 0 3%;
    overflow: hidden;
    box-sizing: border-box;
}

.contact-page .banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.contact-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5% 3%;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* ===== CONTENT SECTIONS ===== */
.contact-header {
    font-weight: 500;
    padding-bottom: 20px;
}

.contact-description {
    font-weight: 350;
    padding-bottom: 30px;
}

.location-text {
    font-size: 13px;
    font-weight: 450;
    letter-spacing: 0.5px;
    margin: 0;
    display: block;
    line-height: 1.6;
}

/* ===== LAYOUT CONTAINERS ===== */
.contact-layout {
    display: flex;
    gap: 30px;
}

.form-container {
    flex: 3;
}

.map-container {
    flex: 2;
    display: flex;
    flex-direction: column;
}

/* ===== FORM STRUCTURE ===== */
.contact-form .input-group {
    font-size: 13px;
    font-weight: 450;
}

.name-fields {
    display: flex;
    gap: 3%;
    min-width: 0;
}

.input-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 20px;
    min-width: 0;
}

/* ===== FORM ELEMENTS ===== */
.input-group input,
.input-group textarea {
    padding: 10px;
    border: 1px solid var(--secondary-color);
    box-sizing: border-box;
    font-size: 13px;
    font-weight: 350;
}

.input-group #message {
    padding: 10px;
    resize: vertical;
}

/* ===== BUTTONS ===== */
.contact-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 30px;
}

.cta {
    display: inline-block;
    padding: 1.2em 1.5em;
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    color: var(--background-color);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}

.cta:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    opacity: 0.8;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .contact-layout {
        flex-direction: column;
        gap: 40px;
    }
}