/* Hero Section Component Styles */

.hero {
  height: auto; /* override inline height:100vh */
  min-height: 100svh;
  min-height: 100vh; /* fallback for older browsers */
  display: flex;
  align-items: center;
  /* 88px = navbar (40px logo + 2×24px padding) */
  padding: 88px 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.hero-left {
  flex: 1;
  max-width: 600px;
}

.hero-left h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-left p {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.8s;
}

.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 660px;
}

/* Hero Achievements Image - 成就展示圖片 */
.hero-achievements-image {
  width: 100%;
  max-width: 650px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 1.1s;
}

.hero-achievements-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.3s ease;
}

.hero-achievements-image img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 10px 30px rgba(0, 245, 255, 0.3));
}

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

/* Tablet Responsive */
@media (max-width: 1024px) {
  .hero-achievements-image {
    max-width: 450px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero {
    /* 72px = navbar mobile (40px logo + 2×16px padding) */
    padding: 72px 1rem 2rem;
    min-height: 100svh;
    min-height: 100vh;
  }

  .hero-content {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-left {
    max-width: 100%;
    text-align: center;
  }

  .hero-right {
    width: 100%;
    max-width: 100%;
  }

  .hero-left h1 {
    font-size: clamp(1.75rem, 7vw, 2.75rem);
  }

  .hero-left p {
    font-size: clamp(0.95rem, 3.5vw, 1.2rem);
  }

  .hero-achievements-image {
    max-width: 90%;
    padding: 0.3rem;
    margin: 0 auto;
  }

  .hero-achievements-image img {
    border-radius: 10px;
  }
}

/* Small Mobile (≤480px, e.g. iPhone SE) */
@media (max-width: 480px) {
  .hero {
    padding: 72px 0.875rem 1.5rem;
  }

  .hero-left h1 {
    font-size: clamp(1.5rem, 6.5vw, 2.25rem);
  }

  .hero-left p {
    font-size: clamp(0.875rem, 3.5vw, 1.1rem);
  }

  .hero-achievements-image {
    padding: 0;
  }

  .hero-achievements-image img {
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 245, 255, 0.12);
  }
}

/* Extra small (≤360px, e.g. Galaxy A series) */
@media (max-width: 360px) {
  .hero-left h1 {
    font-size: clamp(1.375rem, 6vw, 2rem);
  }

  .hero-left p {
    font-size: 0.875rem;
  }
}