/* ============================================================
   STEPC 關於我們 — about.css
   Theme: Yellow accent, dark bg, light contact card
   ============================================================ */

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background-color: #050505;
  border-top: 1px solid #2a2a2a;
  padding: 60px 0 0;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid #2a2a2a;
  margin-bottom: 30px;
}

.footer-brand .footer-logo {
  font-family: var(--font-deco);
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.footer-brand .footer-tagline {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #666;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: flex-start;
  max-width: 400px;
}

.footer-links a {
  font-family: var(--font-tc);
  font-size: 0.88rem;
  color: #888;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--yellow); }

.footer-social {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #161616;
  border: 1px solid #2a2a2a;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  background-color: var(--yellow);
  color: #0a0a0a;
  border-color: var(--yellow);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid #2a2a2a;
  margin-bottom: 20px;
}

.footer-contact-item {
  font-family: var(--font-tc);
  font-size: 0.82rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-contact-item i { color: var(--yellow); }

.footer-copyright {
  text-align: center;
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: #444;
  padding: 20px 0;
  letter-spacing: 0.05em;
}

/* ─── ABOUT HERO (half height) ───────────────────────────────── */
.about-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 320px;
  max-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #0e0e0a 50%, #0a0a0a 100%);
}

.about-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 90% 50%, rgba(245, 197, 24, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 5% 30%, rgba(245, 197, 24, 0.04) 0%, transparent 50%);
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.2) 0%,
    rgba(10, 10, 10, 0.65) 100%
  );
  z-index: 1;
}

.about-hero .container { padding-top: calc(var(--nav-h) + 20px); }

.about-hero-content { text-align: center; }

.about-hero-label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.8;
}

.about-hero-title {
  font-family: var(--font-deco);
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  text-shadow: 0 0 40px rgba(245, 197, 24, 0.1);
}

.about-hero-subtitle {
  font-family: var(--font-tc);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 300;
  color: var(--gray-text);
  letter-spacing: 0.1em;
  margin: 0;
}

/* ─── SECTION COMMONS ────────────────────────────────────────── */
.about-section { padding: 100px 0; }

.about-section-eyebrow {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.75;
}

.about-section-title {
  font-family: var(--font-tc);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.about-section-bar {
  width: 50px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin-bottom: 30px;
}

/* ─── BRAND STORY ────────────────────────────────────────────── */
.about-story { background-color: var(--black); }

/* STEPC word display */
.about-brand-words {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 28px;
}

.about-bw {
  font-family: var(--font-deco);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.about-bw-full {
  font-size: 0.6em;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.about-bw-dot {
  color: #2a2a2a;
  font-size: 1.2rem;
}

.about-bw-s { color: var(--accent-sleep); }
.about-bw-t { color: var(--accent-train); }
.about-bw-e { color: var(--accent-eat); }
.about-bw-p { color: var(--accent-party); }
.about-bw-c { color: var(--accent-carnival); }

.about-body-text {
  font-family: var(--font-tc);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 2;
  margin-bottom: 16px;
}

/* Stats row */
.about-stats-row {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.about-stat-card {
  flex: 1;
  min-width: 100px;
  background-color: var(--black-card);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.about-stat-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(245, 197, 24, 0.15);
}

.about-stat-num {
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-plus {
  font-size: 0.7em;
  vertical-align: super;
}

.about-stat-label {
  font-family: var(--font-tc);
  font-size: 0.78rem;
  color: var(--gray-text);
  line-height: 1.4;
}

/* Story media */
.about-story-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-img-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ─── TEAM ───────────────────────────────────────────────────── */
.about-team {
  background-color: var(--black-mid);
}

.about-team-card {
  background-color: var(--black-card);
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  padding: 32px 20px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}

.about-team-card:hover {
  border-color: var(--yellow);
  transform: translateY(-6px);
  box-shadow: 0 10px 40px rgba(245, 197, 24, 0.12);
}

.about-team-photo {
  margin-bottom: 18px;
}

.about-team-img {
  width: 100px;
  height: 100px;
  border-radius: 50% !important;
  overflow: hidden;
  border: 3px solid var(--gray-border);
  font-size: 2.5rem;
  transition: border-color 0.3s;
}

.about-team-card:hover .about-team-img {
  border-color: var(--yellow);
}

.about-team-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.about-team-name {
  font-family: var(--font-tc);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.about-team-title {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-team-bio {
  font-family: var(--font-tc);
  font-size: 0.83rem;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 16px;
  flex: 1;
}

.about-team-socials {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.about-team-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #1a1a1a;
  border: 1px solid var(--gray-border);
  color: var(--gray-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.about-team-socials a:hover {
  background-color: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

/* ─── CONTACT SECTION ────────────────────────────────────────── */
.about-contact-section {
  background-color: var(--black);
}

/* Light card on dark background */
.about-contact-card {
  background-color: #f5f5f5;
  border-radius: 20px;
  padding: 48px 48px 40px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.about-contact-header {
  text-align: center;
  margin-bottom: 36px;
}

.about-contact-header .about-section-eyebrow {
  display: block;
  text-align: center;
}

.about-contact-title {
  font-family: var(--font-tc);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: #0a0a0a;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.about-contact-subtitle {
  font-family: var(--font-tc);
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

/* Form groups with underline style */
.about-form-group {
  padding: 0 8px 4px;
  margin-bottom: 4px;
}

.about-form-label {
  font-family: var(--font-tc);
  font-size: 0.82rem;
  font-weight: 600;
  color: #444;
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.about-form-label .required {
  color: #e74c3c;
  margin-left: 2px;
}

.about-form-input {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #d0d0d0;
  border-radius: 0;
  padding: 10px 0;
  font-family: var(--font-tc);
  font-size: 0.95rem;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.25s;
  display: block;
}

.about-form-input::placeholder { color: #aaa; }

.about-form-input:focus {
  border-bottom-color: #F5C518;
  box-shadow: none;
}

.about-form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3e%3cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 4px center;
}

.about-form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
  padding-top: 10px;
}

/* Submit button */
.about-form-submit {
  font-family: var(--font-tc);
  font-size: 0.95rem;
  font-weight: 700;
  background-color: #F5C518;
  color: #0a0a0a;
  border: 2px solid #F5C518;
  padding: 13px 36px;
  border-radius: 4px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.2s;
  letter-spacing: 0.03em;
}

.about-form-submit:hover {
  background-color: #d4a800;
  border-color: #d4a800;
  box-shadow: 0 6px 24px rgba(245, 197, 24, 0.4);
  transform: translateY(-2px);
}

.about-form-submit:active { transform: translateY(0); }

/* Social icons row */
.about-contact-socials {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.about-socials-label {
  font-family: var(--font-tc);
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.about-socials-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.about-social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 64px;
  text-decoration: none;
  transition: transform 0.2s;
}

.about-social-btn:hover { transform: translateY(-3px); }

.about-social-btn i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #1a1a1a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.about-social-btn:hover i {
  background-color: #F5C518;
  color: #0a0a0a;
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.4);
}

.about-social-btn span {
  font-family: var(--font-en);
  font-size: 0.65rem;
  color: #888;
  letter-spacing: 0.05em;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .about-section { padding: 70px 0; }
  .about-hero { height: 45vh; }
  .about-contact-card { padding: 36px 28px 32px; }
}

@media (max-width: 767.98px) {
  .about-hero { height: 40vh; min-height: 280px; }
  .about-hero-title { font-size: clamp(2rem, 10vw, 3.5rem); }
  .about-brand-words { gap: 4px 6px; }
  .about-img-sub { grid-template-columns: 1fr; }
  .about-stats-row { justify-content: center; }
  .about-stat-card { min-width: 80px; }
}

@media (max-width: 575.98px) {
  .about-section { padding: 60px 0; }
  .about-contact-card { padding: 28px 18px 28px; }
  .about-form-group { padding: 0 0 4px; }
  .about-socials-row { gap: 8px; }
  .about-social-btn { width: 52px; }
  .footer-top { flex-direction: column; gap: 28px; }
}
