/* ==========================================================================
   Asia Motion Academy - Clean & Minimalist White Theme
   Style: Clean, Modern, Elegant, Editorial White
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-subtle: #f9fafb;
  --text-main: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --primary: #111827;
  --whatsapp: #16a34a;
  --whatsapp-hover: #15803d;
  --radius: 12px;
  --max-w: 960px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= Header ================= */
.header {
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-group img {
  height: 44px;
  width: auto;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-main);
}

.header-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.header-links a:hover {
  color: var(--text-main);
}

.btn-wa-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 9999px;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.btn-wa-header:hover {
  background: var(--text-main);
  color: #fff;
  border-color: var(--text-main);
}

/* ================= Hero ================= */
.hero {
  padding: 60px 0 50px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
  background: var(--bg-subtle);
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
}

.btn-outline {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--bg-subtle);
}

/* Hero Image Grid */
.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-photo-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-photo-box img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.photo-caption {
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: #fff;
}

/* ================= Section Common ================= */
.section {
  padding: 50px 0;
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
}

/* ================= Principal ================= */
.principal-box {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.principal-avatar {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-subtle);
}

.principal-avatar img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}

.principal-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.principal-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.principal-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 3px solid var(--border);
}

.principal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.principal-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.principal-list li::before {
  content: "•";
  color: var(--text-muted);
}

/* ================= Course ================= */
.course-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  background: #ffffff;
}

.course-badge-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.pill-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.course-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.course-subname {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.course-grid-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.point-card {
  display: flex;
  gap: 10px;
}

.point-card .check {
  font-weight: 700;
  color: var(--whatsapp);
}

.point-card div strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-main);
}

.point-card div p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.course-meta-simple {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.course-meta-simple div strong {
  color: var(--text-main);
}

/* ================= Contact Section ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg-subtle);
}

.contact-item {
  margin-bottom: 20px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
}

.contact-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.copy-address-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-main);
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.copy-address-btn:hover {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

/* Simple Enquiry Box */
.enquiry-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.enquiry-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.enquiry-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Map */
.map-box {
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================= Footer ================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ================= Floating WhatsApp Button (Clean) ================= */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 10px 18px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.float-wa:hover {
  border-color: var(--whatsapp);
  color: var(--whatsapp);
  transform: translateY(-2px);
}

.float-wa svg {
  color: var(--whatsapp);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-photos,
  .principal-box,
  .course-grid-points,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .principal-avatar img {
    height: 320px;
  }
  .header-links a.hide-mobile {
    display: none;
  }
}
