/* golf.css — 天悠高尔夫模块样式（沿用主站品牌变量） */
:root {
  --red: #C6362C; --red-dark: #A02A22; --indigo: #1F2A44; --indigo-soft: #3A4A6E;
  --sakura: #F7ECEE; --cream: #FAF6F1; --ink: #2B2B2B; --gray: #6B7280;
  --line: #E8E0DA; --gold: #B98A2F; --green: #2F5D50; --green-dark: #234740;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif; color: var(--ink); line-height: 1.7; background: #fff; }
.jp { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; letter-spacing: .04em; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ===== 导航 ===== */
.gf-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #F9F8F2; border-bottom: 1px solid var(--line); }
.gf-nav-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.gf-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.gf-logo img { width: 38px; height: 38px; object-fit: contain; }
.gf-logo-name { font-size: 19px; font-weight: 800; color: var(--indigo); letter-spacing: 1px; }
.gf-logo-name em { font-style: normal; color: var(--green); }
.gf-logo-sub { font-size: 11px; color: var(--gray); display: block; margin-top: -3px; }
.gf-nav-links { display: flex; list-style: none; gap: 24px; align-items: center; }
.gf-nav-links a { text-decoration: none; color: var(--indigo); font-size: 15px; font-weight: 500; transition: color .2s; }
.gf-nav-links a:hover, .gf-nav-links a.on { color: var(--green); }
.btn { display: inline-block; text-decoration: none; text-align: center; cursor: pointer; border: none; font-size: 15px; border-radius: 999px; padding: 10px 22px; transition: all .2s; font-family: inherit; }
.btn-primary { background: var(--green); color: #fff !important; font-weight: 600; }
.btn-primary:hover { background: var(--green-dark); }
.btn-red { background: var(--red); color: #fff !important; font-weight: 600; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border: 1px solid var(--line); background: #fff; color: var(--indigo) !important; }
.btn-ghost:hover { border-color: var(--green); color: var(--green) !important; }
.gf-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.gf-burger span { display: block; width: 22px; height: 2px; background: var(--indigo); margin: 5px 0; border-radius: 2px; }
.gf-mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 99; background: #FDFCFA; border-bottom: 1px solid var(--line); padding: 12px 24px 18px; }
.gf-mobile-menu.on { display: block; }
.gf-mobile-menu a { display: block; padding: 10px 0; text-decoration: none; color: var(--indigo); font-weight: 500; border-bottom: 1px dashed var(--line); }
/* ===== Hero ===== */
.gf-hero { margin-top: 64px; position: relative; background: linear-gradient(135deg, #1F2A44 0%, #2F5D50 70%, #234740 100%); color: #fff; overflow: hidden; }
.gf-hero-inner { max-width: 1160px; margin: 0 auto; padding: 88px 24px 96px; position: relative; z-index: 2; }
.gf-hero-tag { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 4px 16px; font-size: 13px; letter-spacing: 2px; margin-bottom: 18px; }
.gf-hero h1 { font-size: 40px; line-height: 1.25; font-weight: 800; max-width: 640px; }
.gf-hero h1 em { font-style: normal; color: #E8C97D; }
.gf-hero p { margin-top: 16px; font-size: 17px; color: rgba(255,255,255,.85); max-width: 560px; }
.gf-hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.gf-hero-actions .btn { padding: 13px 30px; font-size: 16px; }
.gf-hero-deco { position: absolute; right: -60px; bottom: -80px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(232,201,125,.28), transparent 62%); pointer-events: none; }

/* ===== 区块通用 ===== */
.gf-section { max-width: 1160px; margin: 0 auto; padding: 64px 24px 24px; }
.gf-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.gf-section-head h2 { font-size: 27px; color: var(--indigo); font-weight: 800; }
.gf-section-head .sub { color: var(--gray); font-size: 14px; }
.gf-section-head a.more { color: var(--green); text-decoration: none; font-size: 14px; font-weight: 600; }

/* ===== 球场卡片 ===== */
.gf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(31,42,68,.12); }
.card-cover { height: 168px; background: linear-gradient(135deg, var(--green) 0%, var(--indigo) 100%); position: relative; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); font-size: 44px; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-region { position: absolute; top: 12px; left: 12px; background: rgba(31,42,68,.82); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 999px; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 17px; font-weight: 700; color: var(--indigo); line-height: 1.4; }
.card-ja { font-size: 13px; color: var(--gray); font-weight: 400; }
.card-meta { font-size: 13px; color: var(--ink); display: flex; gap: 14px; flex-wrap: wrap; }
.card-price { color: var(--red); font-weight: 700; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; background: var(--cream); color: var(--green-dark); border: 1px solid #E3DDD2; padding: 2px 10px; border-radius: 999px; }
.card-foot { margin-top: auto; display: flex; gap: 10px; padding-top: 6px; }
.card-foot .btn { padding: 8px 18px; font-size: 14px; flex: 1; }
/* ===== 筛选标签 ===== */
.gf-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; align-items: center; }
.gf-filter-label { font-size: 13px; color: var(--gray); margin-right: 2px; }
.ftag { text-decoration: none; font-size: 14px; padding: 7px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--indigo); transition: all .2s; }
.ftag:hover { border-color: var(--green); color: var(--green); }
.ftag.on { background: var(--green); border-color: var(--green); color: #fff; }

/* ===== 文章卡片 ===== */
.art-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.art-card { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; transition: transform .25s, box-shadow .25s; }
.art-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(31,42,68,.1); }
.art-cat { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: 1px; }
.art-card h3 { font-size: 15.5px; color: var(--indigo); line-height: 1.5; margin: 8px 0; font-weight: 700; }
.art-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }
.art-meta { margin-top: 12px; font-size: 12px; color: #A8A8A8; display: flex; justify-content: space-between; }
.news-list { list-style: none; }
.news-list li { border-bottom: 1px dashed var(--line); }
.news-list a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 4px; text-decoration: none; color: var(--indigo); font-size: 15px; }
.news-list a:hover { color: var(--green); }
.news-list time { color: #A8A8A8; font-size: 13px; white-space: nowrap; }

/* ===== 详情页 ===== */
.gf-main { max-width: 1160px; margin: 88px auto 0; padding: 34px 24px 60px; }
.crumbs { font-size: 13px; color: var(--gray); margin-bottom: 18px; }
.crumbs a { color: var(--gray); text-decoration: none; }
.crumbs a:hover { color: var(--green); }
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.detail-title h1 { font-size: 30px; color: var(--indigo); line-height: 1.3; font-weight: 800; }
.detail-title .ja { color: var(--gray); font-size: 17px; margin-top: 6px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 22px 0; background: var(--cream); border-radius: 12px; overflow: hidden; }
.spec-table th, .spec-table td { padding: 11px 18px; font-size: 14.5px; text-align: left; border-bottom: 1px solid #EFE9E1; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { color: var(--green-dark); font-weight: 700; white-space: nowrap; width: 130px; }
.rich { font-size: 15.5px; color: var(--ink); }
.rich p { margin: 14px 0; }
.rich h2 { font-size: 21px; color: var(--indigo); margin: 28px 0 10px; padding-left: 12px; border-left: 4px solid var(--green); }
.rich h3 { font-size: 17.5px; color: var(--indigo); margin: 22px 0 8px; }
.rich ul, .rich ol { padding-left: 22px; margin: 12px 0; }
.rich li { margin: 6px 0; }
.rich blockquote { background: var(--cream); border-left: 4px solid var(--gold); padding: 12px 18px; margin: 16px 0; color: #57534E; border-radius: 0 8px 8px 0; }
.side-box { background: var(--cream); border-radius: 14px; padding: 22px; margin-bottom: 22px; }
.side-box h3 { font-size: 16.5px; color: var(--indigo); margin-bottom: 14px; }
.side-course { display: block; text-decoration: none; padding: 10px 0; border-bottom: 1px dashed #E3DDD2; }
.side-course:last-of-type { border-bottom: none; }
.side-course .n { color: var(--indigo); font-weight: 600; font-size: 14.5px; }
.side-course .p { color: var(--red); font-size: 13px; }
/* ===== 弹窗 ===== */
.modal-mask { position: fixed; inset: 0; background: rgba(15,22,38,.55); z-index: 200; display: none; align-items: center; justify-content: center; padding: 18px; }
.modal-mask.on { display: flex; }
.modal { background: #fff; border-radius: 16px; width: 520px; max-width: 100%; max-height: 92vh; overflow-y: auto; padding: 28px; position: relative; }
.modal h3 { font-size: 20px; color: var(--indigo); margin-bottom: 4px; }
.modal .m-sub { font-size: 13px; color: var(--gray); margin-bottom: 18px; }
.m-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 22px; color: var(--gray); cursor: pointer; line-height: 1; }
.f-row { margin-bottom: 14px; }
.f-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-row label { display: block; font-size: 13.5px; color: var(--indigo); font-weight: 600; margin-bottom: 6px; }
.f-row label i { color: var(--red); font-style: normal; }
.f-row input, .f-row select, .f-row textarea { width: 100%; padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff; }
.f-row input:focus, .f-row select:focus, .f-row textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,93,80,.1); }
.check-line { display: flex; gap: 26px; }
.check-line label { display: flex; align-items: center; gap: 7px; font-weight: 500 !important; margin: 0 !important; cursor: pointer; }
.check-line input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--green); }
.m-submit { width: 100%; margin-top: 8px; padding: 13px; font-size: 16px; }
.m-ok { text-align: center; padding: 30px 6px 14px; }
.m-ok .ico { font-size: 46px; }
.m-ok h4 { color: var(--indigo); font-size: 19px; margin: 12px 0 6px; }
.m-ok p { color: var(--gray); font-size: 14px; }

/* ===== 页脚 / 其他 ===== */
.gf-footer { background: var(--indigo); color: rgba(255,255,255,.75); text-align: center; padding: 30px 20px; font-size: 13.5px; margin-top: 40px; }
.gf-footer a { color: #E8C97D; text-decoration: none; }
.gf-404 { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; margin-top: 64px; }
.gf-404 h1 { font-size: 60px; }
.gf-404 p { color: var(--gray); }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .gf-nav-links { display: none; }
  .gf-burger { display: block; }
  .gf-hero-inner { padding: 56px 22px 66px; }
  .gf-hero h1 { font-size: 29px; }
  .gf-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .art-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-title h1 { font-size: 24px; }
}
@media (max-width: 560px) {
  .gf-grid, .art-grid { grid-template-columns: 1fr; }
  .gf-section { padding: 44px 18px 16px; }
  .gf-main { padding: 24px 16px 48px; }
  .modal { padding: 22px 18px; }
  .f-grid2 { grid-template-columns: 1fr; }
}
