/* ========================================
   PGA 太一全球救援 - 精確複製原網站樣式
   ======================================== */

/* Google Fonts - Archivo */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&display=swap');

/* CSS Variables - 原網站配色 */
:root {
  --color-gold: #F7B500;
  --color-gold-dark: #AC7E00;
  --color-dark: #150F32;
  --color-gray-light: #F3F3F6;
  --color-white: #FFFFFF;
  --color-red: #E53935;
  --color-text: #150F32;
  --color-text-light: #9B9B9B;
  --font-family: 'Archivo', sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* ========================================
   Navigation - 黃金色導航
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: var(--color-gold);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  max-width: 1280px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-white);
  height: 32px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 18px;
  font-weight: 500;
  padding-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.87);
  transition: all 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

.btn-nav {
  border: 1px solid rgba(0, 0, 0, 0.87);
  border-radius: 24px;
  padding: 8px 16px;
  font-weight: 500;
  min-width: 128px;
  text-align: center;
  transition: all 0.3s;
}

.btn-nav:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-text);
  padding: 8px;
}

/* ========================================
   Hero Section - 深紫藍背景
   ======================================== */
.hero {
  min-height: 600px;
  background: var(--color-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 16px 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.65;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero .subtitle {
  font-size: 1.33rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Buttons - 按鈕樣式
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 24px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1px solid transparent;
  min-width: 128px;
  transition: all 0.3s;
  font-family: var(--font-family);
}

.btn:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

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

.btn-gold {
  background: var(--color-gold);
  color: rgba(0, 0, 0, 0.87);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

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

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

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

/* ========================================
   Clients Section - 客戶 Logo
   ======================================== */
.clients {
  background: var(--color-gray-light);
  padding: 16px 0;
  overflow: hidden;
}

.clients-label {
  font-size: 0.75rem;
  color: var(--color-text);
  text-align: left;
  padding: 8px 16px;
}

.clients-scroll {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.clients-scroll::-webkit-scrollbar {
  display: none;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 16px 0;
  animation: scroll-left 40s linear infinite;
  white-space: nowrap;
}

.clients-track img {
  height: 70px;
  width: auto;
  flex-shrink: 0;
  display: inline-block;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.clients-scroll:hover .clients-track {
  animation-play-state: paused;
}

/* ========================================
   About Section - 關於太一（深紫藍背景）
   ======================================== */
.about {
  background-color: #150F32 !important;
  padding: 80px 16px;
}

.about .container {
  max-width: 1200px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--color-gold);
}

.about h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--color-gold);
}

.about p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--color-white);
}

.about-features {
  margin-top: 24px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--color-white);
}

.about-feature svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}

.about-feature span {
  font-size: 1rem;
}

.about-image img {
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
}

/* ========================================
   Services Section - 服務（淺灰背景）
   ======================================== */
.services {
  background-color: #F3F3F6 !important;
  padding: 80px 16px;
}

.services .container {
  max-width: 1200px;
}

.services-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.services-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--color-gold);
}

.services h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--color-gold);
}

.services-intro {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  color: var(--color-text);
}

.service-item {
  margin-bottom: 24px;
}

.service-item h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.service-item h3 svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}

.service-item p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-light);
  padding-left: 36px;
}

.services-image img {
  border-radius: 8px;
  width: 100%;
}

.services .btn {
  margin-top: 24px;
}

/* ========================================
   Process Section - 流程（白色背景，圖片在左）
   ======================================== */
.process {
  background: var(--color-white);
  padding: 80px 16px;
}

.process .container {
  max-width: 1200px;
}

.process-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.process-image img {
  border-radius: 8px;
  width: 100%;
}

.process-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--color-gold);
}

.process h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 32px;
  color: var(--color-gold);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.process-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gold);
  flex-shrink: 0;
  position: relative;
}

/* 步驟之間的連接線 */
.process-step:not(:last-child) .step-number::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 24px;
  background: var(--color-gold);
}

.step-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  color: var(--color-gold);
}

.step-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text);
}

/* ========================================
   Quote Form Section - 詢價表單
   ======================================== */
.quote-section {
  background: var(--color-white);
  padding: 80px 16px;
}

.quote-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--color-gold);
}

.quote-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-family);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.turnstile-container {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.quote-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.quote-form .btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  margin-top: 16px;
}

/* ========================================
   Footer - 頁腳（深紫藍背景）
   ======================================== */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 48px 16px 24px;
  text-align: center;
}

.footer-logo img {
  height: 70px;
  margin: 0 auto 16px;
}

.footer p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .about-content,
  .services-content,
  .process-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .process-image {
    order: -1;
  }

  .about h2,
  .services h2,
  .process h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-gold);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 100px 16px 48px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about,
  .services,
  .process,
  .quote-section {
    padding: 48px 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin: 0 auto;
  }
}
