/* ============================================
   友林旅游网站 - 基础样式 (base.css)
   Reset, 通用组件, 动画
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  color: #1c1c1c;
  line-height: 1.6;
  background: #f5f5f5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover { color: #FB5F00; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Top Bar 推广横幅
   ============================================ */
.top-bar {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ============================================
   Common Components
   ============================================ */
.section-title {
  font-size: 36px;
  font-weight: 500;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 16px;
  color: #000;
  text-align: center;
  max-width: 1160px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.btn-primary {
  display: inline-block;
  background: #FB5F00;
  color: #fff;
  padding: 8px 24px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #e55500;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(251,95,0,0.4);
  color: #fff;
}

/* ============================================
   通用 Banner & 面包屑（与 guide.html 一致）
   ============================================ */
.guide-hero {
  height: 418px;
  background-size: cover;
  background-position: center;
  background-color: #e8d5c8;
}

.breadcrumb-wrap {
  padding: 16px 0;
  background: #fff;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}

.breadcrumb-sep {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

.breadcrumb span {
  color: #666;
}

/* ============================================
   Floating Contact Buttons
   ============================================ */
.floating-contact {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.floating-btn img {
  width: 36px;
  height: 36px;
}

.floating-btn span {
  font-size: 11px;
  margin-top: 4px;
  color: #333;
}

/* ============================================
   Responsive - Mobile
   ============================================ */
@media (max-width: 768px) {
  .container { padding: 0 15px; }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .footer-bottom-links {
    gap: 15px;
    font-size: 14px;
  }
  .floating-contact {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(15px, env(safe-area-inset-bottom, 0px));
  }
  .floating-btn {
    width: 64px;
    min-height: 64px;
    height: auto;
    padding: 8px 6px 10px;
    border-radius: 999px;
    box-sizing: border-box;
  }
  .floating-btn img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }
  .floating-btn span {
    font-size: 9px;
    line-height: 1.15;
    margin-top: 3px;
    max-width: 100%;
    text-align: center;
    word-break: break-word;
    overflow-wrap: break-word;
    padding: 0 1px;
  }
  .section-title { font-size: 28px; }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   公共联系 CTA Banner（多页共用）
   ============================================ */
.yueche-banner {
  position: relative;
  height: 353px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yueche-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #e8d5c8;
}
.yueche-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.5);
}
.yueche-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 761px;
  padding: 0 20px;
}
.yueche-banner-content h2 {
  font-size: 36px;
  font-weight: 500;
  color: #1c1c1c;
  margin-bottom: 16px;
}
.yueche-banner-content p {
  font-size: 16px;
  color: #000;
  letter-spacing: 1.6px;
  line-height: 1.5;
  margin-bottom: 32px;
}
.yueche-banner .btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #fb5f00;
  color: #fff;
  padding: 0 32px;
  height: 67px;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.6px;
  transition: all 0.3s;
}
.yueche-banner .btn-contact:hover {
  background: #e55500;
  color: #fff;
  transform: translateY(-2px);
}
.yueche-banner .btn-contact::after {
  content: '';
  width: 11px;
  height: 11px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: 4px;
}
@media (max-width: 768px) {
  .yueche-banner-content h2 { font-size: 28px; }
  .yueche-banner-content p { font-size: 14px; }
}
@media (max-width: 480px) {
  .yueche-banner .btn-contact { height: 56px; font-size: 15px; padding: 0 24px; }
}

/* ============================================
   公共告知弹窗 (Notice Modal) - 样式以设计图为准
   ============================================ */
.notice-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(238, 238, 238, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.notice-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.notice-modal-box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.notice-modal-backdrop.is-open .notice-modal-box {
  transform: scale(1);
}

.notice-modal-header {
  background: #FF8000;
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-size: 17px;
  font-weight: 600;
}

.notice-modal-body {
  background: #fff;
  color: #333;
  text-align: center;
  padding: 24px 28px;
  font-size: 15px;
  line-height: 1.7;
}
