/* ========================================
   現代化設計系統 - 貓咪派對企劃網站
   ======================================== */

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

:root {
  /* 主色系 - 溫暖親切 */
  --primary: #FF6B9D;
  --primary-light: #FFB3D9;
  --primary-dark: #E84C7A;
  
  /* 輔助色系 - 活力與信任 */
  --accent: #00D4FF;
  --accent-light: #66E5FF;
  --accent-dark: #00A8CC;
  
  /* 中性色系 */
  --dark: #1A1A2E;
  --dark-light: #2D2D44;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
  --white: #FFFFFF;
  
  /* 漸層 */
  --gradient-primary: linear-gradient(135deg, #FF6B9D 0%, #FFB3D9 100%);
  --gradient-accent: linear-gradient(135deg, #00D4FF 0%, #00A8CC 100%);
  --gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #2D2D44 100%);
  
  /* 陰影系統 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
  
  /* 圓角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ========================================
   基礎樣式
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* ========================================
   排版系統
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 1.875rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray);
  line-height: 1.8;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* ========================================
   按鈕系統
   ======================================== */

.btn {
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #E84C7A 0%, #FF6B9D 100%);
}

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

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

.btn-secondary {
  background: var(--gray-light);
  color: var(--dark);
}

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

/* ========================================
   S01 - 社群連結區
   ======================================== */

#s01 {
  background: var(--gradient-dark);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 107, 157, 0.1);
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   S02 - 導航列
   ======================================== */

#s02 {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary) !important;
}

.navbar-brand i {
  margin-right: 0.5rem;
}

.nav-link {
  font-weight: 600;
  color: var(--dark) !important;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary) !important;
}

.nav-link.active::after {
  width: 100%;
}

.dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding-left: 2rem;
}

/* ========================================
   S03 - 輪播區
   ======================================== */

#s03 {
  position: relative;
  overflow: hidden;
}

.carousel-inner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.carousel-item {
  position: relative;
  min-height: 500px;
}

.carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.3));
  z-index: 1;
}

.carousel-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 4rem 2rem 2rem;
  text-align: left;
  z-index: 2;
}

.carousel-caption h5 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.carousel-caption p {
  color: var(--gray-light);
  font-size: 1.1rem;
}

.tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background: var(--primary);
  width: 32px;
  border-radius: 6px;
}

/* ========================================
   S04 - 卡片區域
   ======================================== */

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

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

.card-header {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

/* ========================================
   S05 - 時間軸
   ======================================== */

#s05 {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.05), rgba(0, 212, 255, 0.05));
}

.s05-timeline-section {
  position: relative;
  padding: 2rem 0;
}

.s05-timeline-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.s05-timeline-section-pointer {
  position: relative;
  margin-bottom: 2rem;
}

.s05-timeline-section-pointer::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.s05-timeline-section-pointer:hover::before {
  width: 36px;
  height: 36px;
  box-shadow: var(--shadow-lg);
}

.timeline-content {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  box-shadow: var(--shadow-lg);
}

/* ========================================
   S07 & S08 - 團隊介紹
   ======================================== */

#s07, #s08 {
  padding: 4rem 0;
}

#s07 {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.08), rgba(255, 179, 217, 0.08));
}

.team-member {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-member img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.team-member h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.team-member p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ========================================
   S09 - 服務方案
   ======================================== */

#s09 {
  padding: 4rem 0;
  background: var(--white);
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
}

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

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.pricing-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.pricing-price {
  font-size: 2rem;
  color: var(--dark);
  font-weight: 800;
  margin-bottom: 1rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--gray);
  display: flex;
  align-items: center;
}

.pricing-features li::before {
  content: '✓';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  margin-right: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ========================================
   S10 - 聯絡表單
   ======================================== */

#s10 {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 107, 157, 0.05));
}

.form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-control {
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
  outline: none;
}

.form-check-input {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-light);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background: var(--primary);
  border-color: var(--primary);
}

/* ========================================
   S11 - 徵才區
   ======================================== */

#s11 {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

#s11 .col-md-6 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

#s11 .col-md-6::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.job-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 400px;
  backdrop-filter: blur(10px);
}

.job-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.job-badge.danger {
  background: rgba(255, 107, 157, 0.2);
  color: var(--primary);
}

.job-badge.success {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
}

.job-title {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
  font-weight: 800;
}

.job-salary {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.job-description {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ========================================
   S12 - 頁尾
   ======================================== */

#s12 {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 107, 157, 0.1);
}

#s12 .nav-link {
  color: var(--gray-light) !important;
  font-weight: 500;
}

#s12 .nav-link:hover {
  color: var(--primary) !important;
}

/* ========================================
   模態框
   ======================================== */

.modal-content {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.modal-header {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 1.5rem;
}

.modal-title {
  font-weight: 800;
}

.modal-body {
  padding: 2rem;
}

/* ========================================
   響應式設計
   ======================================== */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .carousel-caption {
    padding: 2rem 1rem 1rem;
  }

  .carousel-caption h5 {
    font-size: 1.5rem;
  }

  #s11 {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .job-card {
    max-width: 100%;
  }

  .s05-timeline-section::before {
    left: 20px;
  }

  .s05-timeline-section-pointer::before {
    left: 20px;
  }

  .timeline-content {
    margin-left: 60px;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .carousel-item {
    min-height: 300px;
  }

  .modal-body {
    padding: 1rem;
  }
}

/* ========================================
   動畫效果
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

/* ========================================
   工具類
   ======================================== */

.text-primary {
  color: var(--primary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.bg-primary {
  background: var(--gradient-primary) !important;
}

.bg-accent {
  background: var(--gradient-accent) !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
  box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.shadow-xl {
  box-shadow: var(--shadow-xl) !important;
}

.rounded-sm {
  border-radius: var(--radius-sm) !important;
}

.rounded-md {
  border-radius: var(--radius-md) !important;
}

.rounded-lg {
  border-radius: var(--radius-lg) !important;
}

.rounded-xl {
  border-radius: var(--radius-xl) !important;
}
