
/* map 容器（你的結構：.map-wrapper > #map-homepage + .map-parchment） */
.map-wrapper{
    position: relative;
    height: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Google Map canvas 填滿 */
#map-homepage{
    position: relative;
    z-index: 1;
    background: transparent;
    overflow: hidden;                /* 避免內部元素溢出 */
}

/* 地圖上方鋪一層淡淡羊皮紋理（不擋互動） */
.map-parchment{
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 2;                      /* 在 map 之上、sidebar 之下 */
    background:
        url("/static/assets/img/parchment.png") center/1000px 1000px repeat,
        radial-gradient(60vmax 40vmax at 50% 120%, rgba(0,0,0,.20), transparent 60%),
        radial-gradient(40vmax 30vmax at -10% 30%, rgba(0,0,0,.10), transparent 60%),
        radial-gradient(40vmax 30vmax at 110% 30%, rgba(0,0,0,.10), transparent 60%);
    opacity: .45;                    /* 紋理強度：0.3~0.55 間調整 */
    mix-blend-mode: multiply;        /* 與地圖顏色相融更復古 */
}

/* Google Map 內建控制按鈕淡化 */
.gm-style .gm-control-active,
.gm-style .gm-fullscreen-control{
    filter: sepia(.35) saturate(.7);
}

/* =========================================================
右側探索欄位（你的 DOM：.results-wrapper、#searchPanel、.results）
目標：保留搜尋表單 + 卡片羊皮風格；整體無硬邊界
========================================================= */



/* 望遠鏡圖示 */
.search-btn img.spyglass {
    position: absolute;
    width: 75px;   /* 調整大小 */
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg); /* 旋轉一點角度 */
    pointer-events: none; /* 點擊不會擋掉按鈕 */
}

.search-btn img.setSail {
    position: absolute;
    width: 65px;   /* 調整大小 */
    height: auto;
    top: 50%;
    left: 50%;
    /* transform: translate(-50%, -50%) rotate(-20deg);  旋轉一點角度 */
    pointer-events: none; /* 點擊不會擋掉按鈕 */
}

.search-btn img.willing {
    position: absolute;
    width: 65px;   /* 調整大小 */
    height: 70px;
    top: 50%;
    left: 50%;
    /* transform: translate(-50%, -50%) rotate(-20deg);  旋轉一點角度 */
    pointer-events: none; /* 點擊不會擋掉按鈕 */
}

.search-btn img.tourNote {
    position: absolute;
    width: 60px;   /* 調整大小 */
    height: 70px;
    top: 50%;
    left: 50%;
    /* transform: translate(-50%, -50%) rotate(-20deg);  旋轉一點角度 */
    pointer-events: none; /* 點擊不會擋掉按鈕 */
}




/* 焦邊強化 + 微內凹陰影 */
.modal-item-detail {
    box-shadow:
        0 0 35px rgba(0, 0, 0, 0.9),
        inset 0 0 80px rgba(0, 0, 0, 0.8);
    border-radius: 18px;
}

/* ===== 內文摘要：保留你的設定 ===== */
.modal-item-detail .read-more p {
    color: #fff9e8;                     /* 象牙白微暖，提亮但不刺眼 */
    font-size: 18px;                    /* 加大字體 */
    line-height: 1.75;                  /* 行距拉開，避免擁擠 */
    font-weight: 600;                   /* 微加粗，提升銳度 */
    letter-spacing: 0.5px;              /* 加一點字距 */
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 0 4px rgba(0, 0, 0, 0.6);
}

/* ===== section 標題 ===== */
.modal-item-detail h3 {
    color: #f8e7b0;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
    margin-top: 18px;
    margin-bottom: 8px;
}

/* ===== 表格、列表與一般文字統一風格 ===== */
.modal-item-detail table,
.modal-item-detail td,
.modal-item-detail th,
.modal-item-detail section p {
    color: #fff9e8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* ===== 讓整體略微暗角、更聚焦 ===== */
.modal-item-detail .modal-body {
    background: radial-gradient(circle at center, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.4) 100%);
    border-radius: 10px;
    padding: 10px;
}

/* 向量表格 */
.modal-item-detail table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}
.modal-item-detail th,
.modal-item-detail td {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(90, 50, 20, 0.2);
}
.modal-item-detail th {
    background: rgba(200, 160, 100, 0.4);
    color: #2d1605;
    font-weight: bold;
}
.modal-item-detail td.score {
    text-align: right;
    color: #553000;
    font-weight: 600;
}

/* Tag 標籤 */
.modal-item-detail .tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
}
.modal-item-detail .tags li {
    background: rgba(180, 120, 60, 0.85);
    color: #fff6d0;
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 14px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.4);
}
    </style>

    <style>
/* === 航海主題導覽列 === */
.voyage-navbar {
  background: linear-gradient(to bottom, #fffef9, #fdf7ee);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(200,180,140,0.3);
  padding: 6px 0;
  position: relative;
  z-index: 100;
}

.voyage-navbar .nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 4px 40px; */
  position: relative;
}

/* Logo 區塊 */
.voyage-navbar .brand img {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: all 0.3s ease;
}

@media (max-width: 1023px) {
  .voyage-navbar .brand img {
    height: 72px;
    max-width: 240px;
  }
}

/* 主選單 */
.navigation {
  display: flex;
  align-items: flex-start;
  gap: 42px;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-top: 12px;
  position: relative;
}

.navigation li {
  position: relative;
}

.navigation li a {
  font-family: "Noto Sans TC", "Helvetica Neue", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #2a1f0e;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.navigation li.active a,
.navigation li a:hover {
  color: #5d2cff;
  transform: translateY(-2px);
}

/* === 語言選單 (點擊展開，不推版) === */
.nav-language {
  position: relative;
}

.nav-language > a.language-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-language .wrapper {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  z-index: 1000;
  background: #fdf9f3;
  border: 2px solid #e2cfa3;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  padding: 10px 16px;
  min-width: 180px;
  animation: fadeIn 0.2s ease-in-out;
}

.nav-language.open .wrapper {
  display: block;
}

.nav-language ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-language ul li a {
  color: #3b2f1c;
  font-weight: 700;
  font-size: 17px;
  display: block;
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-language ul li a:hover {
  color: #7c4d00;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 右側區塊 */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  /* width: 56px; */
  /* height: 56px; */
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.avatar:hover {
  transform: scale(1.05);
}

.voyage-log {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0d1b3e;
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.voyage-log img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}

.voyage-log:hover {
  color: #1f3a7a;
  transform: translateY(1px);
}

/* === 中螢幕 (1024–1399px) === */
@media (min-width: 1024px) and (max-width: 1399px) {
  .voyage-navbar .nav-inner {
    align-items: flex-end;
    gap: 45px;
    padding-top: 10px;
  }

  .navigation {
    margin-top: 18px;
  }

  .navigation li a {
    font-size: 19px;
  }

  .voyage-log {
    transform: translateY(2px);
  }
}

/* === 大螢幕 (>1400px) === */
@media (min-width: 1400px) {
  /*
  .voyage-navbar .nav-inner {
    padding: 10px 60px;
  }
  */

  .navigation {
    margin-top: 10px;
  }

  .voyage-log {
    transform: translateY(4px);
  }
}

/* === 小螢幕 (<768px) === */
@media (max-width: 767px) {
  .voyage-navbar {
    padding: 8px 10px;
  }

  .voyage-navbar .brand img {
    height: 80px;
    max-width: 260px;
  }

  .navigation {
    gap: 26px;
    font-size: 18px;
    margin-top: 12px;
  }

  .nav-right {
    gap: 8px;
  }

  .voyage-log {
    font-size: 20px;
  }
}

/* === 小螢幕專用 (<768px) 修正版 === */
@media (max-width: 767px) {
  .voyage-navbar {
    padding: 10px 16px;
    background: linear-gradient(to bottom, #fffef9, #fdf7ee);
  }

  /* 讓 Logo 顯示並放大 */
  .voyage-navbar .brand img {
    display: block;
    height: 88px;
    max-width: 260px;
    margin: 0 auto 6px auto; /* 置中 + 下方留白 */
  }

  /* 主選單置中顯示 */
  .navigation {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 4px;
  }

  .navigation li a {
    font-size: 18px;
    font-weight: 700;
  }

  /* 語言下拉維持浮動 */
  .nav-language .wrapper {
    top: 120%;
    left: 0;
    right: auto;
    min-width: 180px;
  }

  /* 右側航海日誌改第二行 */
  .nav-right {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    gap: 6px;
  }

  .avatar {
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
  }

  .voyage-log {
    font-size: 20px;
    gap: 6px;
  }

  .voyage-log img {
    width: 26px;
    height: 26px;
  }
}
