﻿/* ========================================
   鍞愬北鍥惧己宸ョ▼鏈夐檺鍏徃 - 鍏ㄥ眬鏍峰紡
   ======================================== */

/* === CSS Variables === */
:root {
  /* Colors */
  --color-primary-dark: #1A1A1A;
  --color-primary: #2D2D2D;
  --color-accent-gold: #C9A96E;
  --color-accent-gold-light: #D4AF37;
  --color-accent-blue: #1E3A5F;
  --color-accent-blue-light: #2B5B84;
  --color-white: #FFFFFF;
  --color-light-gray: #F5F5F5;
  --color-border: #E5E5E5;
  --color-text-secondary: #666666;
  --color-text-light: #999999;
  --color-success: #28a745;
  --color-error: #dc3545;

  /* Typography */
  --font-primary: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  --text-5xl: 48px;
  --text-6xl: 64px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  /* Layout */
  --container-max: 1450px;
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--color-primary);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

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

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

/* === Container === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
}

/* === Header / Navigation === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-primary-dark);
  z-index: 1000;
  border-bottom: none;
  transition: all 0.4s ease;
}

.header.scrolled {
  background-color: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.03);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-list {
  display: flex;
  gap: var(--space-1);
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-3);
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: var(--space-3);
  right: var(--space-3);
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-gold), var(--color-accent-gold-light));
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background-color: var(--color-white);
  min-width: 180px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  border: 1px solid rgba(201, 169, 110, 0.1);
  padding: var(--space-2) 0;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--color-white);
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  border-left: 1px solid rgba(201, 169, 110, 0.1);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-5);
  color: var(--color-primary);
  font-size: var(--text-sm);
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
  opacity: 0;
  transform: translateY(4px);
}

.nav-item:hover .dropdown-link {
  opacity: 1;
  transform: translateY(0);
}

.nav-item:hover .dropdown-link:nth-child(1) { transition-delay: 0.03s; }
.nav-item:hover .dropdown-link:nth-child(2) { transition-delay: 0.06s; }
.nav-item:hover .dropdown-link:nth-child(3) { transition-delay: 0.09s; }
.nav-item:hover .dropdown-link:nth-child(4) { transition-delay: 0.12s; }
.nav-item:hover .dropdown-link:nth-child(5) { transition-delay: 0.15s; }

.dropdown-link::before {
  content: '';
  width: 3px;
  height: 0;
  background: var(--color-accent-gold);
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: height 0.25s ease;
}

.dropdown-link:hover {
  background: linear-gradient(90deg, rgba(201, 169, 110, 0.06), transparent);
  color: var(--color-accent-gold);
  padding-left: calc(var(--space-5) + 4px);
}

.dropdown-link:hover::before {
  height: 60%;
}

.dropdown-link-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent-gold);
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.dropdown-link:hover .dropdown-link-icon {
  opacity: 1;
}

.header-phone {
  color: var(--color-accent-gold);
  font-weight: 600;
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: color 0.3s ease;
}

.header-phone:hover {
  color: var(--color-accent-gold-light);
}

.header-phone svg {
  width: 18px;
  height: 18px;
}

.btn-book {
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-light));
  color: var(--color-primary-dark);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(201, 169, 110, 0.25);
}

.btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.35);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 1px;
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: var(--space-8);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: var(--space-4);
  }

  .nav-link {
    font-size: var(--text-lg);
    display: block;
    padding: var(--space-3) 0;
    color: rgba(255, 255, 255, 0.9);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    color: var(--color-accent-gold);
    border-left: 2px solid var(--color-accent-gold);
    padding-left: var(--space-3);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    display: none;
    padding: var(--space-2) var(--space-4);
    border: none;
    border-radius: var(--radius-md);
    margin: var(--space-1) 0;
  }

  .dropdown::before {
    display: none;
  }

  .nav-item.open .dropdown {
    display: block;
  }

  .nav-item.open .dropdown-link,
  .dropdown-link {
    color: rgba(255, 255, 255, 0.9);
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    opacity: 1 !important;
    transform: none !important;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
  }

  .dropdown-link:hover {
    background: transparent;
    color: var(--color-accent-gold);
    padding-left: calc(var(--space-2) + 4px);
  }

  .dropdown-link::before {
    display: none;
  }

  .dropdown-link-icon {
    display: none;
  }

  .header-phone,
  .btn-book {
    margin-top: var(--space-6);
  }
}

/* === Hero Section === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(30, 58, 95, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--color-white);
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-6);
}

.hero-title span {
  color: var(--color-accent-gold);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-10);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    height: 70vh;
    min-height: 500px;
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn:active {
  transform: scale(0.98);
}

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

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

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

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

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

.btn-blue:hover {
  background-color: var(--color-accent-blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

/* === Section Common === */
.section {
  padding: var(--space-20) 0;
}

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

.section-light {
  background-color: var(--color-light-gray);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-accent-gold);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-top: var(--space-6);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-12) 0;
  }

  .section-title {
    font-size: var(--text-2xl);
  }
}

/* === Service Cards === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-8);
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card-body {
  padding: var(--space-6);
}

.service-card-title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-primary);
}

.service-card-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.service-card-link {
  color: var(--color-accent-gold);
  font-weight: 600;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap 0.3s ease;
}

.service-card-link:hover {
  gap: var(--space-3);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* === Advantage Section === */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
}

.advantage-item {
  text-align: center;
  padding: var(--space-8);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold-light) 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.advantage-icon svg {
  width: 28px;
  height: 28px;
}

.advantage-title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-primary);
}

.advantage-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* === Cases Grid === */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.case-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

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

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

.case-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  color: var(--color-white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-card:hover .case-card-overlay {
  opacity: 1;
}

.case-card-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.case-card-meta {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .case-card {
    aspect-ratio: 16 / 10;
  }

  .case-card-overlay {
    opacity: 1;
  }
}

/* === Stats Section === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  text-align: center;
}

.stat-item {
  padding: var(--space-6);
}

.stat-number {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, var(--color-accent-blue) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-20) 0;
}

.cta-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.cta-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-10);
}

.cta-phone {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-accent-gold);
  margin-top: var(--space-8);
}

/* === Page Header (Inner Pages) === */
.page-header {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-accent-blue) 100%);
  color: var(--color-white);
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-12);
  text-align: center;
}

.page-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.page-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent-gold);
  margin: var(--space-4) auto 0;
}

.page-breadcrumb {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-6);
}

.page-breadcrumb a:hover {
  color: var(--color-accent-gold);
}

/* === Content Layout === */
.content-section {
  padding: var(--space-16) 0;
}

.content-section .section-title::after {
  display: none;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-10);
}

@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

/* === Sidebar === */
.sidebar {
  background-color: var(--color-light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.sidebar-title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-accent-gold);
}

.sidebar-list li {
  margin-bottom: var(--space-3);
}

.sidebar-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
  background-color: var(--color-accent-blue);
  color: var(--color-white);
}

/* === Forms === */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

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

.form-error {
  color: var(--color-error);
  font-size: var(--text-xs);
  margin-top: var(--space-1);
}

/* === Footer === */
.footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  position: relative;
  padding-bottom: var(--space-3);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent-gold);
}

.footer-text {
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  transition: color 0.3s ease;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: var(--space-6) 0;
  text-align: center;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gold { color: var(--color-accent-gold); }
.text-blue { color: var(--color-accent-blue); }
.text-white { color: var(--color-white); }
.text-muted { color: var(--color-text-secondary); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* === Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Breadcrumb === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

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

.breadcrumb-separator {
  color: var(--color-text-light);
}

/* === Filter Tabs === */
.filter-tabs {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.filter-tab {
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
}

.filter-tab:hover,
.filter-tab.active {
  background-color: var(--color-accent-blue);
  color: var(--color-white);
  border-color: var(--color-accent-blue);
}

/* === Timeline === */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-accent-gold);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-10);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) - 5px);
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-accent-gold);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-accent-gold);
}

.timeline-year {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-2);
}

.timeline-content {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* === Map Container === */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-8);
  background-color: var(--color-light-gray);
}

/* === Loading Spinner === */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: var(--space-8) auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === Back to Top === */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 48px;
  height: 48px;
  background-color: var(--color-accent-gold);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-accent-gold-light);
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

/* === News / Article Grid === */
.news-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  flex: 0 1 360px;
  width: 360px;
  max-width: 100%;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--color-text, #1a1a1a);
  line-height: 1.4;
}

.news-card-summary {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 12px;
  flex: 1;
}

.news-card-link {
  color: #1E3A5F;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}

.news-card-link:hover {
  color: var(--color-gold, #C9A96E);
}

@media (max-width: 768px) {
  .news-card {
    flex: 1 1 100%;
    width: 100%;
  }
}

.news-pagination {
  width: 100%;
  flex-basis: 100%;
  text-align: center;
  margin-top: var(--space-8);
}
