@charset "UTF-8";
/*
 * 元品水電行 — 在地親切感視覺 v2.0
 * 暖色調(陶土橘 × 奶油米 × 深咖啡),圓角卡片、柔和陰影
 */
:root {
  --brand: #c65f3a;          /* 陶土橘(主色) */
  --brand-dark: #a84b2b;     /* 深陶土(hover) */
  --brand-soft: #fceee6;     /* 淺橘(icon 底) */
  --accent: #e8a33d;         /* 蜂蜜黃(點綴) */
  --cream: #fdf9f3;          /* 奶油米(底色) */
  --cream-deep: #f7efe3;     /* 深一階米(區塊底) */
  --ink: #43342b;            /* 深咖啡(文字) */
  --ink-soft: #7a6a5f;       /* 淺咖啡(輔助文字) */
  --card-radius: 20px;
  --shadow-soft: 0 6px 20px rgba(120, 85, 60, 0.10);
  --shadow-hover: 0 12px 28px rgba(120, 85, 60, 0.16);
}

body {
  font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--cream);
}

/* ---- 公告列 ---- */
.announcement-bar {
  background-color: var(--accent);
  color: #fff;
  padding: 0.55rem 1rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ---- 導覽列 ---- */
.navbar {
  background-color: var(--brand) !important;
  padding: 0.9rem 0;
  box-shadow: 0 2px 10px rgba(120, 85, 60, 0.18);
}

.navbar-brand {
  color: #fff !important;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.navbar-brand::before {
  content: "🔧";
  margin-right: 0.5rem;
}

/* ---- Hero ---- */
.hero-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(232, 163, 61, 0.14) 0, transparent 32%),
    radial-gradient(circle at 88% 75%, rgba(198, 95, 58, 0.12) 0, transparent 36%),
    linear-gradient(180deg, #fff8ef 0%, var(--cream) 100%);
  color: var(--ink);
  padding: 5.5rem 0 6rem;
  position: relative;
}

.hero-section h1 {
  font-weight: 900;
  letter-spacing: 0.04em;
}

.hero-section .lead {
  color: var(--ink-soft);
  font-size: 1.25rem;
}

.hero-badges {
  margin-bottom: 2.2rem;
}

.hero-badges span {
  display: inline-block;
  background: #fff;
  border: 1.5px solid var(--cream-deep);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin: 0.25rem;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
}

.hero-badges i {
  color: var(--brand);
  margin-right: 0.4rem;
}

.contact-button {
  background-color: var(--brand);
  color: #fff;
  padding: 0.95rem 2.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
  border: none;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(198, 95, 58, 0.35);
}

.contact-button:hover {
  background-color: var(--brand-dark);
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 26px rgba(198, 95, 58, 0.42);
}

/* ---- 服務卡片 ---- */
.section-title {
  color: var(--ink);
  margin-bottom: 0.6rem;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.06em;
}

p.section-subtitle {
  text-align: center !important;
  color: var(--ink-soft);
  margin-bottom: 3rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  margin: 0.7rem auto 0;
}

.service-card {
  border: 1.5px solid #f0e5d8;
  border-radius: var(--card-radius);
  background-color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  height: calc(100% - 2rem);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(198, 95, 58, 0.35);
}

.service-card h3 {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--ink-soft);
  margin-bottom: 0;
  text-align: left;
}

.feature-icon {
  background-color: var(--brand-soft);
  color: var(--brand);
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 1.2rem;
  transform: rotate(-4deg);
  transition: transform 0.3s ease;
}

.service-card:hover .feature-icon {
  transform: rotate(4deg) scale(1.08);
}

.service-illustration {
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 auto 1.2rem;
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.service-card:hover .service-illustration {
  transform: rotate(3deg) scale(1.07);
}

/* ---- 營業時間 ---- */
.business-hours {
  background-color: var(--cream-deep);
  padding: 4.5rem 0;
}

.hours-card {
  background-color: #fff;
  border-radius: var(--card-radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  border: 1.5px solid #f0e5d8;
}

.hours-card i {
  color: var(--accent);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hours-card h3 {
  color: var(--brand) !important;
  font-weight: 900;
}

.hours-card .text-muted {
  color: var(--ink-soft) !important;
}

.contact-badge {
  background-color: #fff;
  color: var(--brand);
  border: 2px solid var(--brand);
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  display: inline-block;
  margin: 0.4rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

a.contact-badge:hover {
  background-color: var(--brand);
  color: #fff;
}

/* ---- CTA ---- */
.cta-section {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 4.5rem 0;
}

.cta-section h2 {
  font-weight: 900;
  letter-spacing: 0.06em;
}

.cta-section .lead {
  color: rgba(255, 255, 255, 0.9);
}

.btn-light {
  background-color: #fff;
  color: var(--brand);
  border: none;
  font-weight: 900;
  border-radius: 999px;
  padding: 0.8rem 2.4rem;
  transition: all 0.25s ease;
}

.btn-light:hover {
  background-color: var(--cream);
  color: var(--brand-dark);
  transform: translateY(-3px);
}

/* ---- Footer + 地圖 ---- */
.footer {
  background-color: #3a2d24;
  color: #efe3d5;
  padding: 3.5rem 0 2.5rem;
}

.footer i {
  color: var(--accent);
}

.footer a {
  color: #efe3d5;
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}

.footer .map-wrap {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 3px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 2rem;
}

.footer .map-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

/* ---- 手機常駐撥號列 ---- */
.mobile-call-bar {
  display: none;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 64px;
  }

  .mobile-call-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    height: 60px;
    text-decoration: none;
    box-shadow: 0 -4px 16px rgba(120, 85, 60, 0.3);
  }

  .mobile-call-bar:active,
  .mobile-call-bar:hover {
    color: #fff;
    background: var(--brand-dark);
  }

  .hero-section {
    padding: 3.5rem 0 4rem;
  }
}
