/*
Theme Name: 香港專業手錶維修中心
Theme URI: https://yourwebsite.com
Author: Watch Repair HK
Author URI: https://yourwebsite.com
Description: 專業手錶維修、拋光翻新主題，瑞士技師透明報價。
Version: 2.0
License: GPL-2.0+
Text Domain: hk-watch-repair
*/

/* ========== 全局與變量 ========== */
:root {
  --gold: #c5a152;
  --gold-light: #dbbc6a;
  --gold-dark: #9c7e3c;
  --dark: #1c1c1c;
  --darker: #111;
  --gray: #f4f4f4;
  --text: #333;
  --text-light: #777;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(0,0,0,0.06);
  --shadow-hover: 0 20px 40px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans HK', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fafaf8;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

/* ========== 排版 ========== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

.text-center {
  text-align: center;
  margin-top: 30px;
}

/* ========== 按鈕 ========== */
.btn-gold,
.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 40px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff !important;
  border: none;
  box-shadow: 0 8px 20px rgba(197, 161, 82, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 25px rgba(197, 161, 82, 0.45);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: #fff;
}

/* ========== 頭部 ========== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-top {
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.site-logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 1px;
}

.site-logo .tagline {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 2px;
}

.header-contact {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
}

/* 導航 */
.main-nav {
  background: var(--dark);
}

.main-nav .container {
  padding: 0;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.main-nav ul li a {
  display: block;
  color: #ccc;
  padding: 14px 24px;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a {
  color: var(--gold-light);
  background: rgba(255,255,255,0.03);
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  transform: translateX(-50%);
}

.main-nav ul li a:hover::after,
.main-nav ul li.current-menu-item a::after {
  width: 70%;
}

/* ========== 英雄區 ========== */
.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 20px;
}

.hero-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  color: #fff;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* ========== 服務卡片 ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.service-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-light);
}

.service-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--dark);
  font-size: 1.2rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== 報價優勢 ========== */
.quote-section {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.adv-item {
  padding: 25px;
  border-left: 3px solid var(--gold);
  background: #fafaf8;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.adv-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.adv-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.cta-box {
  background: linear-gradient(135deg, #1c1c1c 0%, #2a2a2a 100%);
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
  color: #fff;
}

.cta-box h3 {
  color: var(--gold-light);
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.cta-box p {
  margin-bottom: 25px;
  color: #ccc;
}

/* ========== 關於我們簡介 ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

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

.about-text p {
  color: var(--text-light);
  margin-bottom: 25px;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ========== 聯繫條 ========== */
.contact-strip {
  background: url('images/watch-bg.jpg') center/cover no-repeat;
  position: relative;
  text-align: center;
  color: #fff;
}

.contact-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
}

.contact-strip .container {
  position: relative;
  z-index: 2;
  padding: 70px 0;
}

.contact-strip h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact-strip p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ========== 内部页面样式 ========== */
.page-title {
  font-size: 2.2rem;
  margin-bottom: 40px;
  text-align: center;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-detail {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-detail h2 {
  margin-bottom: 15px;
  color: var(--dark);
}

.service-detail p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.about-page .about-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-info h3 {
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 20px;
  color: var(--text-light);
}

/* ========== 頁腳 ========== */
.site-footer {
  background: var(--darker);
  color: #aaa;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 60px 0 30px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #aaa;
}

.footer-col ul li a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ========== 響應式 ========== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .main-nav ul {
    flex-wrap: wrap;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .container {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .main-nav ul li a {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .hero-content h2 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}