/**
 * Co.Lab 創思共享 - Main Styles
 * Modern Consultative Design v2.0.0
 */

/* ===== CSS Architecture ===== */
/* Variables, Base, and Components are now loaded via HTML links for performance */

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-charcoal) 100%);
  position: relative;
  overflow: hidden;
}

/* Animated background orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--brick-orange), transparent 70%);
  filter: blur(100px);
  opacity: 0.4;
  animation: float 12s ease-in-out infinite;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--champagne-gold), transparent 70%);
  filter: blur(100px);
  opacity: 0.3;
  animation: float 15s ease-in-out infinite reverse;
  z-index: 0;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero-badge,
  .gradient-text,
  .hero-title,
  .hero-subtitle,
  .hero-cta {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
  }
  
  .hero::before,
  .hero::after {
    display: none; /* Hide background orbs to reduce visual noise */
  }
}

.hero-container {
  max-width: var(--container-xxl);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--brick-orange), var(--deep-orange));
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  margin-bottom: 32px;
  box-shadow: var(--glow-orange);
  animation: glow 3s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-heading-en);
  font-size: var(--font-h1);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 32px;
  letter-spacing: var(--letter-spacing-tight);
  animation: fadeInUp 1s ease forwards;
}

.gradient-text {
  background: linear-gradient(135deg,
    var(--brick-orange),
    var(--champagne-gold),
    var(--brick-orange)
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

.hero-subtitle {
  font-size: 20px;
  line-height: var(--line-height-relaxed);
  color: var(--light-gray);
  max-width: 700px;
  margin: 0 auto 48px;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

@media (max-width: 767px) {
  .hero {
    padding: 100px 20px 60px;
  }

  .hero-badge {
    font-size: 10px;
    padding: 8px 16px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== SECTION BACKGROUNDS ===== */
.section {
  background: var(--dark);
}

.section-dark {
  background: var(--dark-charcoal);
}

.section-alt {
  background: var(--charcoal);
}

/* ===== SERVICES SECTION ===== */
.services {
  background: var(--dark-charcoal);
}

@media (max-width: 767px) {
  .services-grid {
    gap: 24px;
  }

  .service-card {
    padding: 32px 24px;
  }
}

/* ===== GALLERY SECTION ===== */
.gallery {
  background: var(--dark);
}

@media (max-width: 767px) {
  .gallery-grid {
    gap: 16px;
  }
}

/* ===== PRICING SECTION ===== */
.pricing {
  background: var(--dark-charcoal);
}

@media (max-width: 767px) {
  .pricing-grid {
    gap: 24px;
  }

  .pricing-card {
    margin-bottom: 0;
  }
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--dark);
}

@media (max-width: 767px) {
  .contact-info {
    padding: 32px 24px;
  }

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

/* ===== RESPONSIVE HERO ADJUSTMENTS ===== */
@media (min-width: 768px) {
  .hero {
    padding: 140px 32px 100px;
  }

  .hero-badge {
    padding: 12px 28px;
    font-size: 12px;
  }

  .hero-subtitle {
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 160px 32px 120px;
  }

  .hero-badge {
    padding: 12px 32px;
  }
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 767px) {
  section {
    padding: 64px 20px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-description {
    font-size: 16px;
  }
}