@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Sans+TC:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zhi+Mang+Xing&display=swap');

/* ====== 設計系統變量 ====== */
:root {
  /* 顏色 */
  --color-primary: #B69E60;
  --color-primary-dark: #9A7E52;
  --color-primary-light: #D4C08E;
  --color-accent: #5AC269;
  --color-accent-dark: #4CAF50;
  --color-text-main: #3C2A1E;
  --color-text-secondary: #7D7468;
  --color-background-light: #FFFFFF;
  --color-background-warm: #F8F6F2;
  --color-background-dark: #1C322B;
  --color-white: #FFFFFF;
  
  /* 字體 */
  --font-primary: 'Noto Sans TC', 'Noto Sans JP', sans-serif;
  --font-display: 'Zhi Mang Xing', cursive;
  
  /* 間距 */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  /* 邊角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-full: 9999px;
  
  /* 過渡與動畫 */
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* 陰影 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* ====== 重置與基礎樣式 ====== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-background-light);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* ====== 布局組件 ====== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 38px;
}

/* ====== 導航欄 ====== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  z-index: 1000;
  display: flex;
  align-items: center;
}

/* 導航欄背景漸變 */
.nav-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  z-index: -1;
  pointer-events: none;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Logo */
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  margin-right: auto;
  flex: 0 0 auto;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  color: var(--color-white);
  font-size: 2.6rem;
  letter-spacing: 0.05em;
  transition: var(--transition-normal);
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-logo:hover .logo-text {
  color: var(--color-primary-light);
}

/* 導航連結 */
.nav-links {
  display: flex;
  gap: 38px;
  margin: 0 auto;
  flex: 1 0 auto;
  justify-content: center;
}

.nav-links a {
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: var(--transition-normal);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-links a:hover {
  color: var(--color-primary-light);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary-light);
  transition: var(--transition-normal);
}

.nav-links a:hover::after {
  width: 100%;
}

/* 導航按鈕 */
.nav-buttons {
  display: flex;
  gap: 16px;
  margin-left: auto;
  flex: 0 0 auto;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-filled {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-filled:hover {
  background-color: var(--color-accent-dark);
}

/* 滾動時顯示的導航背景 */
.main-nav.scrolled .nav-bg {
  background: rgba(28, 50, 43, 0.95);
  backdrop-filter: blur(10px);
}

/* ====== Hero 區域 ====== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* 設置為視窗高度 */
  overflow: hidden;
  background-color: var(--color-background-dark);
  margin: 0;
  padding: 0;
  padding-top: 0; /* 確保沒有頂部內邊距 */
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28, 50, 43, 0.7), rgba(28, 50, 43, 0.3));
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--color-white);
  padding: var(--spacing-md);
  padding-top: 90px; /* 添加頂部內邊距，等於導航欄高度 */
  height: 100vh; /* 設為全屏高度 */
}

.hero__title {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xl);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 3;
}

.hero__scroll-link {
  color: var(--color-white);
  transition: var(--transition-normal);
}

.hero__scroll-link:hover {
  color: var(--color-primary);
}

/* ====== 按鈕樣式 ====== */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ====== 動畫 ====== */
.animate-fade-in {
  animation: fadeIn var(--transition-normal);
}

.animate-slide-up {
  animation: slideUp var(--transition-normal);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* ====== 響應式設計 ====== */
@media (max-width: 992px) {
  .nav-links {
    gap: 25px;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    height: 80px;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .hero__subtitle {
    font-size: 1.25rem;
  }
  
  .btn--lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .logo-text {
    font-size: 2.2rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-buttons .btn-outline {
    display: none;
  }
  
  .hero__title {
    font-size: 1.75rem;
  }
}

/* ====== 品牌理念頁面 ====== */
.philosophy {
  position: relative;
  min-height: 100vh;
  padding: 120px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-background-warm);
}

.philosophy .container {
  display: flex;
  flex-direction: column;
  width: 45%; /* 減少容器寬度以配合更大的圖片 */
  margin: 0;
  margin-left: 38px;
  z-index: 2;
  align-items: center;
  justify-content: center;
}

.philosophy__header {
  margin-bottom: var(--spacing-xl);
  text-align: center; /* 文字置中 */
}

.section-title {
  display: flex;
  justify-content: center; /* 置中對齊 */
  gap: 20px;
  margin-bottom: var(--spacing-md);
}

.title-char {
  font-family: "Noto Serif TC", serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: #a67c00; /* 改為金色調，呼應日式便當的美感 */
  position: relative;
  padding: 0 0.2em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); /* 添加輕微陰影增加可讀性 */
}

.section-subtitle {
  font-family: "Noto Serif", serif;
  font-size: 1.2rem;
  color: #8a6e35; /* 淺金色 */
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.philosophy__content {
  max-width: 100%; /* 修改為100%以適應新的容器寬度 */
  text-align: center; /* 文字置中 */
  position: relative;
  z-index: 2;
  padding: var(--spacing-xl) 0;
}

.philosophy__symbol {
  margin-bottom: var(--spacing-lg);
  display: flex;
  justify-content: center; /* 圖標置中 */
}

.symbol-img {
  width: 80px;
  height: auto;
  opacity: 0.8;
}

.philosophy__subtitle {
  font-size: 2.2rem;
  color: #b28500; /* 深金色 */
  margin-bottom: var(--spacing-lg);
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); /* 添加輕微陰影增加可讀性 */
}

.philosophy__text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #5a4a2d; /* 深褐色，呼應便當的木質感 */
  margin-bottom: var(--spacing-xl);
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500; /* 加粗字體 */
}

.philosophy__btn {
  display: inline-block;
  background-color: transparent !important;
  color: #8a6e35 !important;
  border: 1px solid #8a6e35 !important;
  padding: 0.8rem 2.5rem;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  font-size: 1rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.philosophy__btn:hover {
  background-color: #8a6e35 !important;
  color: white !important;
}

.philosophy__image {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.bg-image {
  width: 110%; /* 稍微放大圖片以填充空間 */
  height: 100%;
  object-fit: cover;
  object-position: center left; /* 調整圖片位置，確保重要部分可見 */
  opacity: 0.95; /* 略微增加不透明度 */
  transition: transform 8s ease; /* 添加緩慢的縮放動畫效果 */
}

.philosophy:hover .bg-image {
  transform: scale(1.05); /* 滑鼠懸停時輕微放大圖片 */
}

/* 平板螢幕的響應式設計 */
@media (max-width: 992px) {
  .philosophy {
    padding: 80px 0;
  }
  
  .philosophy .container {
    width: 55%;
    margin-left: 30px;
  }
  
  .philosophy__image {
    width: 50%;
  }
  
  .title-char {
    font-size: 2.4rem;
  }
  
  .philosophy__subtitle {
    font-size: 1.8rem;
  }
}

/* 手機螢幕的響應式設計 */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  
  .mobile-only {
    display: block;
  }
  
  .philosophy {
    position: relative;
    flex-direction: column;
    min-height: auto;
    padding: 60px 0;
    background-color: #f8f6f2;
    overflow: hidden;
    display: block;
  }
  
  .philosophy .container {
    width: 90%;
    margin: 0 auto;
    max-width: 600px;
    position: relative;
    z-index: 2;
  }
  
  .philosophy__image {
    display: none !important;
  }
  
  /* 創意背景設計 */
  .philosophy::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -10%;
    width: 120%;
    height: 200px;
    background: radial-gradient(circle at center, rgba(166, 124, 0, 0.1) 0%, rgba(166, 124, 0, 0.05) 40%, transparent 70%);
    z-index: 0;
  }
  
  .philosophy::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -10%;
    width: 120%;
    height: 200px;
    background: radial-gradient(circle at center, rgba(166, 124, 0, 0.08) 0%, rgba(166, 124, 0, 0.04) 40%, transparent 70%);
    z-index: 0;
  }
  
  /* 標題樣式 */
  .philosophy__header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
  }
  
  .section-title {
    justify-content: center;
    gap: 15px;
  }
  
  /* 標題裝飾性元素 */
  .philosophy__header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, transparent, #8a6e35, transparent);
  }
  
  /* 內容區塊 */
  .philosophy__content {
    background-color: transparent;
    padding: 10px 0;
    position: relative;
    text-align: center;
    border-radius: 0;
    box-shadow: none;
  }
  
  /* 副標題樣式 */
  .philosophy__subtitle {
    color: #b28500;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }
  
  /* 文字區域 */
  .philosophy__text {
    color: #5a4a2d;
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 520px;
    padding: 0 10px;
    position: relative;
  }
  
  .philosophy__text p {
    margin-bottom: 15px;
    position: relative;
    padding-left: 0; /* 移除左側填充，因為我們用下劃線樣式 */
  }
  
  /* 移除文字前的圓點裝飾 */
  .philosophy__text p::before {
    display: none;
  }
  
  /* 優化副標題 */
  .philosophy__subtitle {
    margin-bottom: 30px;
  }
  
  .philosophy__subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: rgba(178, 133, 0, 0.5);
  }
  
  /* 優化按鈕 - 確保金黃色樣式 */
  .philosophy__btn {
    background-color: transparent !important;
    color: #8a6e35 !important;
    border: 1px solid #8a6e35 !important;
    padding: 8px 25px;
    border-radius: 4px;
  }
  
  .philosophy__btn:hover {
    background-color: #8a6e35 !important;
    color: white !important;
  }
  
  .philosophy__btn::after {
    display: none;
  }
}

/* 較小手機螢幕的響應式設計 */
@media (max-width: 576px) {
  .philosophy {
    padding: 40px 0;
  }
  
  .philosophy__content {
    padding: 25px;
  }
  
  .section-title {
    gap: 10px;
  }
  
  .title-char {
    font-size: 2rem;
    padding: 0 0.1em;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .philosophy__subtitle {
    font-size: 1.4rem;
  }
  
  .philosophy__text {
    font-size: 0.9rem;
  }
  
  .philosophy__btn {
    padding: 0.6rem 2rem;
    font-size: 0.9rem;
  }
}

/* ====== 品牌理念頁面 ====== */
.philosophy-detail {
  padding: var(--spacing-xl) 0;
  background-color: #f2f0e6; /* 溫暖的米色背景，類似和紙色調 */
  position: relative;
  overflow: hidden;
}

/* 裝飾元素 - 模擬水墨畫的筆觸 */
.philosophy-detail::before {
  content: '';
  position: absolute;
  top: 5%;
  right: 5%;
  width: 180px;
  height: 180px;
  background-image: url('/images/ink-circle.png'); /* 需要添加一個水墨圓圈圖片 */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.06;
  z-index: 1;
}

.philosophy-detail::after {
  content: '';
  position: absolute;
  bottom: 5%;
  left: 5%;
  width: 150px;
  height: 150px;
  background-image: url('/images/ink-splash.png'); /* 需要添加一個水墨潑墨圖片 */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: 1;
}

.philosophy-detail .container {
  position: relative;
  z-index: 2;
}

.philosophy-detail__grid {
  display: flex;
  flex-direction: column; /* 改為垂直排列 */
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.philosophy-detail__item {
  display: flex;
  align-items: flex-start;
  text-align: left;
  padding: 0;
  position: relative;
  transition: var(--transition-slow);
  background: transparent;
  color: var(--color-text-main);
}

/* 偶數項向右對齊 */
.philosophy-detail__item:nth-child(even) {
  flex-direction: row-reverse;
}

.philosophy-detail__item:nth-child(even) .philosophy-detail__content {
  padding-left: 0;
  padding-right: var(--spacing-xl);
  text-align: right;
}

.philosophy-detail__image {
  width: 38%;
  flex: 0 0 38%;
  height: 240px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.philosophy-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.philosophy-detail__item:hover .philosophy-detail__image img {
  transform: scale(1.05);
}

/* 圖片疊加效果 */
.philosophy-detail__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.3));
}

.philosophy-detail__content {
  flex: 1;
  padding-left: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.philosophy-detail__title {
  font-size: 2rem;
  color: var(--color-text-main);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
  position: relative;
  padding-bottom: var(--spacing-sm);
  font-family: "Noto Serif TC", serif;
}

.philosophy-detail__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--color-primary);
}

.philosophy-detail__item:nth-child(even) .philosophy-detail__title::after {
  left: auto;
  right: 0;
}

.philosophy-detail__text {
  color: var(--color-text-secondary);
  line-height: 1.9;
  font-size: 1.1rem;
}

/* 日式美學引言區塊 */
.philosophy-detail__quote {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl) 0;
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: var(--spacing-xl);
}

.philosophy-detail__quote::before {
  content: '"';
  font-size: 5rem;
  font-family: "Noto Serif TC", serif;
  position: absolute;
  top: 2rem;
  left: 0;
  line-height: 0;
  color: var(--color-primary);
  opacity: 0.2;
}

.philosophy-detail__quote::after {
  content: '"';
  font-size: 5rem;
  font-family: "Noto Serif TC", serif;
  position: absolute;
  bottom: 0;
  right: 0;
  line-height: 0;
  color: var(--color-primary);
  opacity: 0.2;
}

.philosophy-detail__quote blockquote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-text-main);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
  font-family: "Noto Serif TC", serif;
}

.philosophy-detail__quote cite {
  font-size: 1rem;
  color: var(--color-primary-dark);
  font-weight: 500;
  display: block;
  position: relative;
  padding-top: var(--spacing-md);
}

.philosophy-detail__quote cite::before {
  content: '';
  width: 40px;
  height: 1px;
  background-color: var(--color-primary);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 992px) {
  .philosophy-detail__image {
    height: 200px;
  }
  
  .philosophy-detail__title {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .philosophy-detail__item,
  .philosophy-detail__item:nth-child(even) {
    flex-direction: column;
  }
  
  .philosophy-detail__image {
    width: 100%;
    flex: 0 0 100%;
    margin-bottom: var(--spacing-md);
    height: 220px;
  }
  
  .philosophy-detail__content,
  .philosophy-detail__item:nth-child(even) .philosophy-detail__content {
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }
  
  .philosophy-detail__item:nth-child(even) .philosophy-detail__title::after {
    left: 0;
    right: auto;
  }
  
  .philosophy-detail__quote blockquote {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .philosophy-detail__title {
    font-size: 1.5rem;
  }
  
  .philosophy-detail__text {
    font-size: 1rem;
  }
}

/* ====== 人氣推薦區塊 - 新式設計 ====== */
.popular-items {
  padding-top: 100px; /* 增加頂部留白 */
  padding-bottom: 80px; /* 增加底部留白 */
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  padding-top: 40px; /* 增加標題區域的頂部留白 */
}

.chinese-title {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.chinese-char {
  font-family: "Yuji Boku", serif; /* 更改為 Yuji Boku 字體 */
  font-size: 3rem; /* 略微放大字體尺寸 */
  font-weight: 400;
  color: var(--color-text-main);
  position: relative;
  padding: 0 5px;
  line-height: 1.2; /* 調整行高 */
}

.chinese-char:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -12px;
  width: 1px;
  height: 70%;
  background-color: var(--color-text-secondary);
  opacity: 0.5;
  transform: translateY(-50%);
}

.english-subtitle {
  font-family: "Noto Serif", serif;
  font-size: 1rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.dishes-showcase {
  position: relative;
  width: 100%;
  padding: 40px 0;
}

.dishes-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
  flex-wrap: nowrap;
}

.dish-item {
  flex: 0 0 auto;
  width: calc(25% - 30px);
  max-width: 280px;
  text-align: center;
  transition: transform 0.3s ease;
}

.dish-item:hover {
  transform: translateY(-8px);
}

.dish-image {
  width: 100%;
  height: 180px;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dish-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dish-item:hover .dish-image img {
  transform: scale(1.08);
}

.dish-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.dish-description {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 15px;
  line-height: 1.6;
  height: 45px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dish-price-action {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 12px;
}

.dish-price {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.view-details {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.view-details::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.view-details:hover {
  color: var(--color-primary-dark);
}

.view-details:hover::after {
  width: 100%;
}

.menu-action {
  text-align: center;
  margin-top: var(--spacing-lg);
}

/* 背景裝飾 */
.dishes-showcase::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-image: url('/images/ink-decoration.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: -1;
}

.dishes-showcase::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 120px;
  height: 120px;
  background-image: url('/images/leaf-decoration.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.07;
  z-index: -1;
}

@media (max-width: 992px) {
  .dishes-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .dish-item {
    width: calc(50% - 30px);
  }
}

@media (max-width: 576px) {
  .chinese-char {
    font-size: 2rem;
  }
  
  .chinese-char:not(:last-child)::after {
    height: 60%;
  }
  
  .dishes-container {
    gap: 30px;
  }
  
  .dish-item {
    width: 100%;
    max-width: 240px;
  }
}

/* 菜單專用字體樣式 */
.menu-title {
  margin-bottom: 15px;
}

.menu-char {
  font-family: "Yuji Boku", serif;
  font-size: 3.2rem;
  letter-spacing: 0.05em;
}

.menu-char:not(:last-child)::after {
  right: -15px;
  height: 75%;
}

@media (max-width: 576px) {
  .menu-char {
    font-size: 2.5rem;
  }
}

/* ====== 門市據點區塊 ====== */
.locations {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-background-light);
  position: relative;
}

.locations-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/location.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 0;
}

.locations .container {
  position: relative;
  z-index: 1;
}

.locations__content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-xl);
}

.locations__list {
  flex: 0 0 45%;
  max-width: 45%;
}

.locations__map {
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.taiwan-map {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.5s ease;
}

.taiwan-map:hover {
  transform: scale(1.02);
}

.google-map {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-map:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-lg);
}

.location-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.location-card__content {
  padding: var(--spacing-md);
}

.location-card__title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-main);
}

.location-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
  border-radius: var(--radius-sm);
}

.location-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.location-card:hover .location-card__image img {
  transform: scale(1.05);
}

.location-card__details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.location-card__details li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-secondary);
}

.location-card__details svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

@media (max-width: 992px) {
  .locations__content {
    flex-direction: column;
  }
  
  .locations__list, 
  .locations__map {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .locations__map {
    height: 400px;
    margin-top: var(--spacing-lg);
  }
  
  .taiwan-map {
    height: 100%;
  }
  
  .google-map {
    height: 400px;
  }
}

/* ====== 詳細菜單頁面 ====== */
.detail-menu {
  padding: 100px 0;
  background-color: var(--color-background-warm);
}

.menu-categories {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 20px;
}

.menu-category {
  padding: 8px 20px;
  background-color: transparent;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-normal);
}

.menu-category.active,
.menu-category:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.menu-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.menu-item__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.menu-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-item:hover .menu-item__image img {
  transform: scale(1.05);
}

.menu-item__content {
  padding: 20px;
}

.menu-item__title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--color-text-main);
}

.menu-item__description {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 15px;
  line-height: 1.6;
}

.menu-item__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-item__price {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.menu-item__button {
  padding: 6px 15px;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.menu-item__button:hover {
  background-color: var(--color-primary-dark);
}

@media (max-width: 992px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-categories {
    flex-wrap: wrap;
  }
}

/* ====== 動態效果 ====== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    transform: translateY(30px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.animate-fade-in {
  animation: fadeIn 1.5s ease-in-out;
}

.animate-slide-up {
  animation: slideUp 1s ease-out forwards;
  opacity: 0;
}

.animate-slide-up:nth-child(2) {
  animation-delay: 0.3s;
}

.animate-slide-up:nth-child(3) {
  animation-delay: 0.6s;
}

/* ====== 更新後的Hero區域樣式 ====== */
.hero__main-title {
  margin-bottom: 30px;
  text-align: center;
}

.hero__logo {
  font-size: 5rem;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
  font-family: "Zhi Mang Xing", cursive;
  animation: pulse 3s infinite ease-in-out;
}

.hero__tagline {
  font-size: 1.5rem;
  color: var(--color-white);
  opacity: 0.9;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 10px;
}

.hero__subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  animation-delay: 0.9s;
}

.btn--outline {
  background-color: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  transition: all 0.3s ease;
}

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.hero__content {
  padding-top: 120px;
}

@media (max-width: 768px) {
  .hero__logo {
    font-size: 3.5rem;
  }
  
  .hero__tagline {
    font-size: 1.2rem;
  }
  
  .hero__subtitle {
    font-size: 1rem;
  }
  
  .hero__cta {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

/* ====== 頁尾設計 - 超級簡約版 ====== */
.footer {
  position: relative;
  background-color: var(--color-background-dark);
  color: var(--color-white);
  padding: 40px 0 20px; /* 進一步減少上下padding */
  overflow: hidden;
  margin-top: 20px;
}

.footer__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05; /* 降低背景不透明度 */
  overflow: hidden;
}

.footer__pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.2'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer__branding {
  flex: 0 0 auto;
  max-width: 250px;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 2.2rem; /* 進一步減小字體大小 */
  color: var(--color-white);
  margin-bottom: 3px; /* 減少下方間距 */
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

.footer__logo-text:hover {
  color: var(--color-white);
  text-shadow: 0 0 10px rgba(212, 192, 142, 0.5);
}

.footer__tagline {
  font-size: 0.85rem; /* 減小字體大小 */
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
}

.footer__links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 50px;
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.footer__nav-list li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: var(--transition-normal);
  position: relative;
}

.footer__nav-list li a:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary-light);
  transition: width 0.3s ease;
}

.footer__nav-list li a:hover {
  color: var(--color-white);
}

.footer__nav-list li a:hover:after {
  width: 100%;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.footer__contact-item svg {
  color: var(--color-primary-light);
}

.footer__social {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.footer__social-links {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; /* 減小尺寸 */
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  transition: var(--transition-normal);
}

.footer__social-link:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

.footer__copyright {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10px;
}

.footer__decoration {
  position: absolute;
  width: 120px; /* 進一步減小裝飾尺寸 */
  height: 120px;
  z-index: 0;
  opacity: 0.03; /* 降低不透明度 */
}

.footer__decoration--left {
  bottom: -30px;
  left: -30px;
  background-image: url('/images/japanese-pattern.svg');
  background-size: cover;
  transform: rotate(-15deg);
}

.footer__decoration--right {
  top: -30px;
  right: -30px;
  background-image: url('/images/sakura-pattern.svg');
  background-size: cover;
  transform: rotate(15deg);
}

@media (max-width: 992px) {
  .footer__main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }
  
  .footer__branding {
    max-width: 100%;
  }
  
  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }
  
  .footer__nav-list {
    justify-content: center;
  }
  
  .footer__contact {
    align-items: center;
  }
  
  .footer__social {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 30px 0 15px;
  }
  
  .footer__nav-list {
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .footer__nav-list {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer__logo-text {
    font-size: 2rem;
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* ====== 訂閱與部落格樣式 ====== */
.footer__subscribe {
    margin-top: 20px;
}

.footer__subscribe-title {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer__form {
    display: flex;
    margin-bottom: 10px;
    max-width: 300px;
}

.footer__input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px 0 0 4px;
    color: white;
    font-size: 0.9rem;
}

.footer__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer__button {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer__button:hover {
    background-color: var(--color-primary-dark);
}

.footer__note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 部落格樣式 */
.blog-header {
    background-color: var(--color-background-dark);
    color: var(--color-white);
    padding: 100px 0 40px;
    text-align: center;
    position: relative;
}

.blog-header__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(28, 50, 43, 0.8), rgba(28, 50, 43, 0.9));
    z-index: 1;
}

.blog-header__content {
    position: relative;
    z-index: 2;
}

.blog-header__title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.blog-header__subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 0;
}

.blog-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__content {
    padding: 20px;
}

.blog-card__meta {
  display: flex;
  justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
}

.blog-card__category {
    background-color: var(--color-primary-light);
    color: var(--color-text-main);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text-main);
    line-height: 1.3;
}

.blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.blog-card__link {
    display: inline-flex;
  align-items: center;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.blog-card__link svg {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-card__link:hover {
    color: var(--color-primary-dark);
}

.blog-card__link:hover svg {
    transform: translateX(3px);
}

/* 部落格分頁 */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0 60px;
}

.pagination__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: var(--radius-full);
    background-color: var(--color-background-warm);
    color: var(--color-text-main);
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination__item:hover {
    background-color: var(--color-primary-light);
    color: var(--color-white);
}

.pagination__item.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* 部落格文章頁 */
.blog-post {
    padding: 40px 5%;
}

.blog-post__header {
    margin-bottom: 40px;
}

.blog-post__meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.blog-post__category {
    background-color: var(--color-primary-light);
    color: var(--color-text-main);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 15px;
}

.blog-post__date {
  display: flex;
    align-items: center;
}

.blog-post__date svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    opacity: 0.7;
}

.blog-post__title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.blog-post__featured-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 40px;
}

.blog-post__featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post__content {
    margin-top: 32px;
    padding-left: 0;  /* Remove previous left padding */
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-main);
}

.blog-post__content p {
    margin-bottom: 25px;
}

.blog-post__content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.blog-post__content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.blog-post__content ul, 
.blog-post__content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.blog-post__content ul li, 
.blog-post__content ol li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.blog-post__content ol li {
    list-style-type: decimal;
}

.blog-post__content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 15px 25px;
    margin: 30px 0;
    background-color: var(--color-background-warm);
    font-style: italic;
  color: var(--color-text-secondary);
}

.blog-post__share {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-post__share-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.blog-post__share-buttons {
    display: flex;
    gap: 15px;
}

.blog-post__share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--color-background-warm);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.blog-post__share-button svg {
    width: 18px;
    height: 18px;
    color: var(--color-text-main);
}

.blog-post__share-button:hover {
    transform: translateY(-3px);
}

.blog-post__share-button.facebook:hover {
    background-color: #3b5998;
}

.blog-post__share-button.twitter:hover {
    background-color: #1da1f2;
}

.blog-post__share-button.line:hover {
    background-color: #00b900;
}

.blog-post__share-button:hover svg {
    color: var(--color-white);
}

/* 最新消息區塊 */
.news-updates {
    padding: 60px 0;
    background-color: var(--color-background-warm);
    position: relative;
}

.news-updates::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/japanese-pattern.svg');
    background-size: 300px;
    opacity: 0.05;
    z-index: 1;
}

.news-updates .container {
    position: relative;
    z-index: 2;
}

.news-updates__title {
    text-align: center;
    margin-bottom: 40px;
}

.news-updates__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--color-white);
  border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card__image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card__image img {
    transform: scale(1.05);
}

.news-card__content {
    padding: 20px;
}

.news-card__date {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
}

.news-card__title {
    font-size: 1.2rem;
  font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text-main);
    line-height: 1.3;
}

.news-card__excerpt {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-card__link {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.news-card__link svg {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.news-card__link:hover {
    color: var(--color-primary-dark);
}

.news-card__link:hover svg {
    transform: translateX(3px);
}

/* 響應式調整 */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-post__featured-image {
        height: 350px;
  }
}

@media (max-width: 768px) {
    .blog-header__title {
        font-size: 2rem;
    }
    
    .blog-header__subtitle {
        font-size: 1rem;
    }
    
    .footer__form {
        max-width: 100%;
    }
    
    .blog-post__title {
        font-size: 2rem;
    }
    
    .blog-post__featured-image {
        height: 300px;
    }
    .blog-post {
      padding: 40px 5%;  /* Keep consistent 5% padding on mobile */
    }
    .blog-post__content {
      padding-left: 0;  /* Remove previous left padding on mobile */
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-header__title {
        font-size: 1.8rem;
    }
    
    .news-updates__grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post__title {
        font-size: 1.8rem;
    }
    
    .blog-post__featured-image {
        height: 250px;
    }
}

/* 訂閱成功提示 */
.subscription-alert {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-primary);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: fadeInUp 0.5s ease forwards, fadeOut 0.5s ease 4s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.blog-post__return {
  text-align: center;
  margin: var(--spacing-lg) 0 var(--spacing-xl);
}

.blog-return {
  text-align: center;
  margin: var(--spacing-lg) 0 var(--spacing-xl);
}

/* 返回箭頭樣式 */
.blog-back-link {
  margin: 30px 0 20px;
}

.blog-post__back-link {
  margin: 15px 0 25px;
}

.back-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-arrow svg {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.back-arrow:hover {
  color: var(--color-primary);
}

.back-arrow:hover svg {
  transform: translateX(-3px);
}

/* 桌面/移動設備顯示控制 */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  
  .mobile-only {
    display: block;
  }
  
  .philosophy {
    flex-direction: column;
    padding: 60px 0;
    min-height: auto;
    background-color: var(--color-background-warm);
    background-image: none;
  }
  
  .philosophy .container {
    width: 90%;
    margin: 0 auto;
    order: 1;
    max-width: 600px;
  }
}

/* 手機螢幕的響應式設計 */
@media (max-width: 768px) {
  /* 文字高亮效果 */
  .text-highlight {
    position: relative;
    z-index: 1;
    font-weight: 500;
  }
  
  .text-highlight::after {
    content: '';
    position: absolute;
    left: -2px;
    bottom: 2px;
    width: calc(100% + 4px);
    height: 6px;
    background-color: rgba(178, 133, 0, 0.15);
    z-index: -1;
    border-radius: 2px;
  }
  
  .philosophy__text p {
    margin-bottom: 15px;
    position: relative;
    padding-left: 0; /* 移除左側填充，因為我們用下劃線樣式 */
  }
  
  /* 移除文字前的圓點裝飾 */
  .philosophy__text p::before {
    display: none;
  }
  
  /* 優化副標題 */
  .philosophy__subtitle {
    margin-bottom: 30px;
  }
  
  .philosophy__subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: rgba(178, 133, 0, 0.5);
  }
  
  /* 優化按鈕 - 確保金黃色樣式 */
  .philosophy__btn {
    background-color: transparent !important;
    color: #8a6e35 !important;
    border: 1px solid #8a6e35 !important;
    padding: 8px 25px;
    border-radius: 4px;
  }
  
  .philosophy__btn:hover {
    background-color: #8a6e35 !important;
    color: white !important;
  }
  
  .philosophy__btn::after {
    display: none;
  }
}

/* ====== 共用按鈕樣式 ====== */
.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-normal);
  white-space: nowrap;
}

/* ====== 返回按鈕樣式 ====== */
.back-button-container {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 30px;
}

.back-button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  background-color: transparent;
  border: 1px solid var(--color-primary);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.back-button:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateX(-5px);
}

.back-button svg {
  transition: transform 0.3s ease;
}

.back-button:hover svg {
  transform: translateX(-3px);
}

/* Blog page specific back button styling */
.blog-page-wrapper .back-button-container {
  margin-top: 20px;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}

.blog-page-wrapper .back-button {
  background-color: var(--color-background-warm);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-primary-light);
}

.blog-page-wrapper .back-button:hover {
  background-color: var(--color-primary);
  box-shadow: 0 3px 15px rgba(182, 158, 96, 0.25);
}

@media (max-width: 768px) {
  .blog-page-wrapper .back-button-container {
    margin-top: 10px;
    margin-bottom: 30px;
  }
  
  .blog-page-wrapper .back-button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

@media (max-width: 768px) {
  .blog-page-wrapper {
    padding-top: 30px;
  }
  
  .blog-page-wrapper .back-button-container {
    margin-top: 10px;
    margin-bottom: 30px;
  }
  
  .blog-page-wrapper .back-button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}