@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- 1. 核心設計系統與 Token --- */
:root {
  --primary: hsl(28, 80%, 52%);
  --primary-hover: hsl(28, 80%, 45%);
  --primary-light: hsl(28, 100%, 96%);
  --primary-trans: hsla(28, 80%, 52%, 0.15);
  --secondary: hsl(36, 60%, 97%);
  --secondary-dark: hsl(36, 30%, 92%);
  --text-dark: hsl(24, 30%, 14%);
  --text-muted: hsl(24, 12%, 45%);
  --text-light: hsl(24, 10%, 80%);
  --accent-green: hsl(142, 50%, 40%);
  --accent-green-light: hsl(142, 60%, 95%);
  --white: #ffffff;
  
  --font-display: 'Outfit', 'Noto Sans TC', sans-serif;
  --font-body: 'Noto Sans TC', sans-serif;

  --shadow-sm: 0 2px 8px rgba(28, 15, 5, 0.04);
  --shadow-md: 0 8px 30px rgba(28, 15, 5, 0.08);
  --shadow-lg: 0 16px 40px rgba(28, 15, 5, 0.12);
  --shadow-glow: 0 0 25px hsla(28, 80%, 52%, 0.3);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --header-height: 80px;
}

/* --- 2. 基礎設定 --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--secondary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

button, input, textarea, select {
  font-family: inherit;
  outline: none;
  border: none;
}

/* 捲軸美化 */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary-dark);
  border-radius: 5px;
  border: 2px solid var(--secondary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* --- 3. 重用排版與組件 --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  display: inline-block;
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-bounce);
  font-size: 1rem;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(230, 92, 0, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--secondary-dark);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
}

/* --- 4. 導覽列 (Header) --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  height: 70px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.logo span {
  color: var(--primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  border-radius: 50% 50% 45% 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(230, 92, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  padding: 8px 0;
  color: var(--text-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon-btn {
  position: relative;
  background: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  color: var(--text-dark);
}

.cart-icon-btn:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  transform: scale(0);
  transition: var(--transition-bounce);
}

.cart-badge.active {
  transform: scale(1);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* --- 5. 首頁形象區 (Hero Section) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, hsl(36, 40%, 95%) 0%, hsl(28, 30%, 90%) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, hsla(28, 80%, 52%, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-content h1 span {
  color: var(--primary);
  position: relative;
}

.hero-content h1 span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: hsla(28, 80%, 52%, 0.15);
  z-index: -1;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 520px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-btns {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease forwards;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%;
  width: 420px;
  height: 420px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
  transition: var(--transition-normal);
  background: var(--white);
}

.hero-image-wrapper:hover {
  border-radius: 50%;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: var(--transition-normal);
}

.hero-image-wrapper:hover img {
  transform: scale(1);
}

/* 蒸籠煙霧特效 */
.steam-container {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 100px;
  pointer-events: none;
  z-index: 5;
}

.steam-particle {
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 40px;
  background: rgba(255, 255, 255, 0.45);
  filter: blur(8px);
  border-radius: 50%;
  opacity: 0;
  animation: steamRise 3.5s infinite linear;
}

.steam-particle:nth-child(1) { left: 20%; animation-delay: 0s; width: 15px; }
.steam-particle:nth-child(2) { left: 45%; animation-delay: 0.8s; width: 20px; }
.steam-particle:nth-child(3) { left: 70%; animation-delay: 1.6s; width: 12px; }
.steam-particle:nth-child(4) { left: 35%; animation-delay: 2.4s; width: 18px; }

/* 裝飾卡片 */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.badge-1 {
  bottom: 20px;
  left: -20px;
}

.badge-2 {
  top: 30px;
  right: -10px;
  animation-delay: 2s;
}

.badge-icon {
  width: 42px;
  height: 42px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.badge-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.badge-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- 6. 關於我們 (About Section) --- */
.about {
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.highlight-card {
  background-color: var(--secondary);
  padding: 30px 24px;
  border-radius: var(--border-radius-md);
  text-align: center;
  transition: var(--transition-normal);
  border: 1px solid rgba(28, 15, 5, 0.03);
}

.highlight-card:hover {
  transform: translateY(-8px);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-trans);
}

.highlight-card i {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 15px;
  display: inline-block;
}

.highlight-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- 7. 精選菜單 (Menu Section) --- */
.menu-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--white);
  color: var(--text-dark);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--secondary-dark);
  font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-1px);
}

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

.product-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid rgba(28, 15, 5, 0.02);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-trans);
}

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--secondary);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-badge.veggie {
  background-color: var(--accent-green);
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-hover);
  font-family: var(--font-display);
}

.product-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}

.add-to-cart-btn {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-bounce);
  font-size: 1.1rem;
}

.add-to-cart-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

/* --- 8. 預訂中心架構 (Reservation Drawer & Cart) --- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  transition: 0.4s cubic-bezier(0.85, 0, 0.15, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28, 15, 5, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--secondary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-drawer-btn {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
}

.close-drawer-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.cart-items-wrapper {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
}

.cart-empty-state i {
  font-size: 3.5rem;
  margin-bottom: 15px;
  color: var(--secondary-dark);
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--secondary);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background-color: var(--secondary);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.cart-item-details p {
  font-size: 0.9rem;
  color: var(--primary-hover);
  font-weight: 700;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.quantity-btn-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--secondary-dark);
  border-radius: 20px;
  overflow: hidden;
  background-color: var(--secondary);
}

.qty-btn {
  background: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.qty-num {
  padding: 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

.item-remove-btn {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
}

.item-remove-btn:hover {
  color: hsl(0, 75%, 50%);
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--secondary-dark);
  background-color: var(--secondary);
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.cart-summary h4 {
  font-weight: 500;
}

.cart-summary .total-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-hover);
  font-family: var(--font-display);
}

/* --- 9. 預訂表單區 (Reservation Section) --- */
.booking-section {
  background: linear-gradient(135deg, var(--white) 0%, hsl(36, 40%, 96%) 100%);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: flex-start;
}

.booking-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(28, 15, 5, 0.03);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  background-color: var(--secondary);
  border: 1px solid var(--secondary-dark);
  padding: 14px 20px;
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-trans);
}

textarea.form-control {
  resize: none;
  height: 100px;
}

.booking-summary-panel {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--secondary-dark);
  position: sticky;
  top: 100px;
}

.booking-summary-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--secondary);
}

.summary-list {
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.summary-item span:first-child {
  color: var(--text-dark);
}

.summary-total {
  border-top: 1px solid var(--secondary-dark);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.summary-total h4 {
  font-size: 1.1rem;
}

.summary-total .total-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-hover);
  font-family: var(--font-display);
}

/* --- 10. 聯絡我們與營業資訊 (Contact Section) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  border: 1px solid rgba(28, 15, 5, 0.02);
  transition: var(--transition-normal);
}

.info-item:hover {
  transform: translateX(5px);
  border-color: var(--primary-trans);
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.info-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  white-space: pre-line;
}

.map-wrapper {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 350px;
  border: 4px solid var(--white);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- 11. 頁尾 (Footer) --- */
.footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-bounce);
}

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

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.footer-contact p i {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- 12. 彈出對話框 (Modal) 與 Toast 提示 --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28, 15, 5, 0.5);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 500px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  transform: translateY(30px);
  transition: var(--transition-bounce);
  text-align: center;
  border: 1px solid var(--secondary-dark);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-success-icon {
  width: 70px;
  height: 70px;
  background-color: var(--accent-green-light);
  color: var(--accent-green);
  font-size: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: pulseGreen 2s infinite;
}

.modal-content h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.modal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.order-copy-box {
  background-color: var(--secondary);
  border: 1px solid var(--secondary-dark);
  border-radius: var(--border-radius-md);
  padding: 18px;
  font-size: 0.85rem;
  text-align: left;
  max-height: 180px;
  overflow-y: auto;
  font-family: monospace;
  margin-bottom: 24px;
  white-space: pre-wrap;
}

.modal-btns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Toast 提示訊息 */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--text-dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  transition: var(--transition-bounce);
  opacity: 0;
}

.toast-container.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-container i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* --- 13. 動畫宣告區 (Animations) --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes steamRise {
  0% {
    transform: translate(-50%, 0) scale(0.8);
    opacity: 0;
  }
  20% {
    opacity: 0.45;
  }
  50% {
    transform: translate(-30%, -40px) scale(1.1);
    opacity: 0.3;
  }
  80% {
    opacity: 0.1;
  }
  100% {
    transform: translate(-60%, -90px) scale(1.4);
    opacity: 0;
  }
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(49, 162, 76, 0.2); }
  70% { box-shadow: 0 0 0 15px rgba(49, 162, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(49, 162, 76, 0); }
}

/* --- 14. 響應式佈局 (Responsive Web Design) --- */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 2.8rem; }
  .hero .container { gap: 24px; }
  .hero-image-wrapper { width: 340px; height: 340px; }
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 1;
  }
  .hero-image-container {
    order: 2;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .hero-btns {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-highlights {
    grid-template-columns: 1fr;
  }
  .booking-grid {
    grid-template-columns: 1fr;
  }
  .booking-summary-panel {
    position: static;
    margin-top: 30px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map-wrapper {
    height: 350px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: var(--transition-bounce);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    z-index: 999;
  }
  .nav-links.active {
    left: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
