@charset "utf-8";
/* =========================================================
 * contact.css — 联系页（contact.html）专属样式
 * 引入顺序：layout.css → contact.css
 * ========================================================= */

/* ---------- 联系内容布局 ---------- */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* ---------- 联系信息 ---------- */
.contact-info h2 {
    font-size: 26px;
    color: var(--color-dark-green);
    margin-bottom: 25px;
}
.info-card {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.info-card h3 {
    font-size: 18px;
    color: var(--color-dark-green);
    margin-bottom: 12px;
}
.info-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}
.info-card a {
    color: var(--color-dark-green);
    text-decoration: none;
    font-weight: 600;
}

.opening-hours { margin-top: 10px; }
.opening-hours li {
    list-style: none;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}
.opening-hours li:last-child { border-bottom: none; }

/* ---------- 联系表单 ---------- */
.contact-form-card {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.contact-form-card h2 {
    font-size: 24px;
    color: var(--color-dark-green);
    margin-bottom: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
.form-row .form-group { margin-bottom: 0; }

.btn-submit-rounded {
    background-color: var(--color-orange);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
    transition: opacity 0.2s;
}
.btn-submit-rounded:hover { opacity: 0.9; }

/* ---------- 地图区（独立 section） ---------- */
.map-section {
    padding: 60px 0 0;
    background: #fff;
}
.map-title {
    font-size: 26px;
    color: var(--color-dark-green);
    text-align: center;
    margin-bottom: 8px;
}
.map-subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}
.map-frame {
    width: 100%;
    height: 450px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================================
 * 响应式（contact 专属）
 * ========================================================= */
@media (max-width: 992px) {
    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .map-section { padding: 40px 0 0; }
    .map-frame { height: 350px; }
}

@media (max-width: 600px) {
    .contact-form-card { padding: 25px 20px; }
    .map-frame { height: 280px; }
}
