@charset "utf-8";

/* [Contact 전용 배경 이미지] */
.sub-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/background.jpg');
}

/* =========================================
   문의(Contact) 페이지 고유 스타일
   ========================================= */
/* [탭 1: 오시는 길] */
.contact-info-wrap {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    text-align: left;
}

.info-text {
    flex: 1;
}

.info-item {
    margin-bottom: 40px;
}

.info-item h3 {
    font-size: 22px;
    color: #0056b3;
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 2px solid #0056b3;
    display: inline-block;
    padding-bottom: 5px;
}

.info-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.info-map {
    flex: 1.2;
    height: 400px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.info-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* [탭 2: 폼 스타일] */
.form-desc {
    margin-bottom: 50px;
    color: #666;
    font-size: 18px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.required {
    color: #e60012;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0056b3;
    outline: none;
}

.form-group textarea {
    height: 200px;
    resize: none;
}

.privacy-check {
    margin: 20px 0 40px;
    font-size: 14px;
}

.privacy-check input {
    margin-right: 10px;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 18px;
    background-color: #0056b3;
    color: #fff;
    border: none;
    font-size: 18px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #004494;
}

@media (max-width: 768px) {
    .contact-info-wrap {
        flex-direction: column;
    }

    .info-map {
        height: 300px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}