/* === Reset & 基本設定 === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans TC', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f6f1;
  padding: 0;
  margin: 0;
}

/* === Header 導覽列 === */
header {
  background-color: #8b0000;
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header nav {
  margin-top: 10px;
}

header nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

header nav a:hover {
  text-decoration: underline;
}

/* === Hero 區塊 === */
#hero {
  position: relative;
  text-align: center;
}

.hero-text {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 20px;
  border-radius: 8px;
}

.hero-text h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

/* === Section 標準區塊 === */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  border-left: 5px solid #8b0000;
  padding-left: 15px;
  color: #8b0000;
}

/* === 商圈介紹文字區 === */
#about p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* === 導覽地圖區塊 === */
#map-container {
  margin-top: 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

/* === 店家推薦樣式 === */
#shops article {
  background-color: #fff;
  margin: 20px 0;
  padding: 20px;
  border-left: 6px solid #8b0000;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

#shops h3 {
  margin-bottom: 10px;
  color: #8b0000;
}

/* === 活動區塊 === */
#events ul {
  list-style-type: square;
  padding-left: 20px;
}

#events li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* === 聯絡表單區 === */
form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

form input,
form textarea {
  margin-bottom: 15px;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  background-color: #8b0000;
  color: white;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #a61c1c;
}

/* === Footer === */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* === 響應式 RWD === */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.4rem;
  }

  section {
    padding: 40px 15px;
  }
}
