/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== MATERIAL SYMBOLS ===== */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  user-select: none;
}
.logo-icon-sym {
  font-size: 28px;
  color: var(--orange);
}
.badge-icon {
  font-size: 16px;
  color: var(--orange);
  vertical-align: middle;
}
.hero-moto-icon {
  font-size: 160px;
  color: var(--orange);
  filter: drop-shadow(0 0 40px rgba(255,107,0,0.5));
  position: relative;
  z-index: 2;
  line-height: 1;
}
.service-icon .material-symbols-outlined {
  font-size: 44px;
  color: var(--orange);
}
.part-icon .material-symbols-outlined {
  font-size: 32px;
  color: var(--orange);
}
.why-icon .material-symbols-outlined {
  font-size: 44px;
  color: var(--orange);
}
.info-icon {
  font-size: 18px;
  color: var(--gray-light);
  flex-shrink: 0;
}
.btn-map .material-symbols-outlined {
  font-size: 18px;
}

:root {
  --orange: #ff6b00;
  --orange-light: #ff8c38;
  --orange-dark: #cc5500;
  --yellow: #ffd23f;
  --dark: #0d0d0f;
  --dark-2: #141418;
  --dark-3: #1c1c22;
  --dark-4: #242430;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --white: #ffffff;
  --white-dim: rgba(255,255,255,0.08);
  --white-border: rgba(255,255,255,0.1);
  --line-green: #06c755;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-orange: 0 8px 32px rgba(255,107,0,0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sarabun', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(13,13,15,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--white-border);
  padding: 12px 0;
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { display: flex; align-items: center; }

.logo-text { display: flex; flex-direction: column; }
.logo-main {
  font-family: 'Kanit', sans-serif;
  font-size: 18px; font-weight: 700;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub { font-size: 11px; color: var(--gray-light); letter-spacing: 0.5px; }
.nav-links {
  display: flex; align-items: center; gap: 8px; list-style: none;
}
.nav-links a {
  color: var(--white); text-decoration: none;
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { background: var(--white-dim); color: var(--orange-light); }
.nav-cta {
  background: var(--line-green) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
}
.nav-cta:hover { background: #05b34a !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(6,199,85,0.4) !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(255,107,0,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 20% 80%, rgba(255,210,63,0.1) 0%, transparent 60%),
              linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,107,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 560px; flex-shrink: 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  color: var(--orange-light);
  padding: 8px 18px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Kanit', sans-serif;
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px; color: var(--gray-light);
  margin-bottom: 40px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px;
  font-size: 16px; font-weight: 700;
  text-decoration: none; transition: var(--transition);
  cursor: pointer; border: none;
  font-family: 'Sarabun', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,107,0,0.45);
}
.btn-outline {
  background: var(--white-dim);
  border: 1px solid var(--white-border);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}
.hero-stats { display: flex; align-items: center; gap: 0; }
.stat { text-align: center; padding: 0 28px; }
.stat:first-child { padding-left: 0; }
.stat-num {
  display: block;
  font-family: 'Kanit', sans-serif;
  font-size: 32px; font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 13px; color: var(--gray-light); }
.stat-divider { width: 1px; height: 40px; background: var(--white-border); }

/* Hero Visual */
.hero-visual {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  flex: 1;
}
.moto-card {
  width: 340px; height: 340px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.moto-icon { font-size: 180px; position: relative; z-index: 2; filter: drop-shadow(0 0 40px rgba(255,107,0,0.5)); }
.ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,107,0,0.2);
  animation: pulse-ring 3s ease-in-out infinite;
}
.ring-1 { width: 280px; height: 280px; animation-delay: 0s; }
.ring-2 { width: 340px; height: 340px; animation-delay: 0.8s; }
@keyframes pulse-ring {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.04); }
}
.spark {
  position: absolute; border-radius: 50%;
  background: var(--orange); filter: blur(4px);
}
.spark-1 { width: 8px; height: 8px; top: 30px; right: 60px; animation: spark-float 2.5s ease-in-out infinite; }
.spark-2 { width: 5px; height: 5px; bottom: 60px; left: 40px; background: var(--yellow); animation: spark-float 3s ease-in-out infinite 0.5s; }
.spark-3 { width: 6px; height: 6px; top: 80px; left: 30px; animation: spark-float 2s ease-in-out infinite 1s; }
@keyframes spark-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-16px) scale(1.4); opacity: 0.6; }
}
@keyframes animate-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}
.animate-float { animation: animate-float 4s ease-in-out infinite; }

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.scroll-dot {
  width: 6px; height: 6px; background: var(--orange);
  border-radius: 50%; animation: scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

/* ===== SECTION BASE ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  color: var(--orange-light);
  padding: 6px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Kanit', sans-serif;
  font-size: clamp(32px, 5vw, 48px); font-weight: 800;
  margin-bottom: 16px;
}
.section-desc { color: var(--gray-light); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* ===== AD STRIP ===== */
.ad-strip {
  background: var(--dark-2);
  border-top: 1px solid var(--white-border);
  border-bottom: 1px solid var(--white-border);
  padding: 16px 0;
}
.ad-strip .container { display: flex; flex-direction: column; align-items: center; }
.ad-label {
  font-size: 10px; color: var(--gray); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 8px;
}
.ad-placeholder {
  width: 100%; max-width: 728px; height: 90px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  border: 1.5px dashed rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--gray); font-size: 14px;
  background: rgba(255,255,255,0.02);
}
.ad-placeholder--square {
  max-width: 300px; height: 250px; flex-direction: column; gap: 8px;
}
.ad-ph-icon { font-size: 24px; color: var(--gray); }

/* ===== SERVICES ===== */
.services { background: var(--dark-2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--dark-3);
  border: 1px solid var(--white-border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative; overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,107,0,0.05), transparent);
  opacity: 0; transition: var(--transition);
}
.service-card:hover {
  border-color: rgba(255,107,0,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,107,0,0.1);
}
.service-card:hover::before { opacity: 1; }
.service-card.featured {
  background: linear-gradient(135deg, rgba(255,107,0,0.12), rgba(255,107,0,0.04));
  border-color: rgba(255,107,0,0.4);
}
.featured-badge {
  position: absolute; top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: var(--dark); font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 50px;
}
.service-icon { font-size: 40px; margin-bottom: 16px; }
.service-card h3 {
  font-family: 'Kanit', sans-serif;
  font-size: 20px; font-weight: 700;
  margin-bottom: 10px; color: var(--white);
}
.service-card p { color: var(--gray-light); font-size: 14px; margin-bottom: 16px; line-height: 1.7; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-list li {
  font-size: 13px; color: var(--gray-light);
  display: flex; align-items: center; gap: 8px;
}
.service-list li::before {
  content: ''; width: 6px; height: 6px;
  background: var(--orange); border-radius: 50%; flex-shrink: 0;
}

/* ===== PARTS ===== */
.parts-section { background: var(--dark); }
.brands-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-bottom: 48px;
}
.brand-chip {
  background: var(--dark-3);
  border: 1px solid var(--white-border);
  padding: 8px 24px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  transition: var(--transition);
}
.brand-chip:hover {
  border-color: var(--orange);
  color: var(--orange-light);
  background: rgba(255,107,0,0.08);
}
.parts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.part-card {
  background: var(--dark-3);
  border: 1px solid var(--white-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; align-items: center; gap: 16px;
  transition: var(--transition);
}
.part-card:hover {
  border-color: rgba(255,107,0,0.35);
  transform: translateX(4px);
  background: var(--dark-4);
}
.part-icon { font-size: 32px; flex-shrink: 0; }
.part-info { flex: 1; }
.part-info h4 {
  font-family: 'Kanit', sans-serif;
  font-size: 16px; font-weight: 700; margin-bottom: 4px;
}
.part-info p { font-size: 13px; color: var(--gray-light); }
.part-badge {
  flex-shrink: 0;
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  color: var(--orange-light);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 50px;
  white-space: nowrap;
}

/* ===== WHY US ===== */
.why-us { background: var(--dark-2); }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.why-card {
  background: var(--dark-3);
  border: 1px solid var(--white-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.why-card:hover {
  border-color: rgba(255,107,0,0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.why-num {
  position: absolute; top: 16px; right: 20px;
  font-family: 'Kanit', sans-serif;
  font-size: 48px; font-weight: 900;
  color: rgba(255,107,0,0.08);
  line-height: 1;
}
.why-icon { font-size: 40px; margin-bottom: 16px; }
.why-card h3 {
  font-family: 'Kanit', sans-serif;
  font-size: 18px; font-weight: 700; margin-bottom: 12px;
}
.why-card p { font-size: 14px; color: var(--gray-light); line-height: 1.75; }

/* ===== CTA / CONTACT ===== */
.cta-section {
  position: relative; overflow: hidden;
  padding: 100px 24px;
  text-align: center;
  background: var(--dark);
}
.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(255,107,0,0.15) 0%, transparent 70%);
}
.cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-icon { font-size: 64px; margin-bottom: 24px; animation: animate-float 3s ease-in-out infinite; }
.cta-title {
  font-family: 'Kanit', sans-serif;
  font-size: clamp(32px, 5vw, 52px); font-weight: 900;
  margin-bottom: 16px;
}
.cta-desc { color: var(--gray-light); font-size: 17px; line-height: 1.8; margin-bottom: 40px; }
.btn-line {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--line-green);
  color: var(--white);
  padding: 16px 40px; border-radius: 50px;
  font-size: 18px; font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(6,199,85,0.35);
  transition: var(--transition);
  font-family: 'Sarabun', sans-serif;
}
.btn-line:hover {
  background: #05b34a;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(6,199,85,0.5);
}
.cta-info {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
}
.info-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--gray-light); font-size: 15px;
}
.info-item span { color: var(--white); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--white-border);
  padding: 40px 24px;
  text-align: center;
}
.footer-logo {
  font-family: 'Kanit', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.footer-tagline { color: var(--gray-light); font-size: 14px; margin-bottom: 12px; }
.footer-copy { color: var(--gray); font-size: 13px; }

/* ===== ANIMATIONS ===== */
.animate-fade-up {
  opacity: 0; transform: translateY(32px);
  animation: fade-up 0.6s ease forwards;
  animation-fill-mode: forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }
@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== MAP ===== */
.map-link {
  color: var(--orange-light);
  text-decoration: underline;
  transition: var(--transition);
}
.map-link:hover { color: var(--yellow); }

.btn-map {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 24px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 10px 24px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-family: 'Sarabun', sans-serif;
}
.btn-map:hover {
  border-color: var(--orange);
  color: var(--orange-light);
  background: rgba(255,107,0,0.08);
  transform: translateY(-2px);
}
.map-embed {
  margin-top: 28px;
  width: 100%; max-width: 700px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--white-border);
  box-shadow: var(--shadow);
}
.map-embed iframe { display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ad-placeholder { max-width: 100%; height: 60px; font-size: 12px; }
  .ad-placeholder--square { max-width: 100%; height: 60px; flex-direction: row; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(13,13,15,0.98);
    backdrop-filter: blur(20px); padding: 16px 24px 24px;
    border-bottom: 1px solid var(--white-border); gap: 4px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { padding: 100px 24px 60px; }
  .hero-stats { gap: 0; }
  .stat { padding: 0 16px; }
  .stat-num { font-size: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .parts-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-info { flex-direction: column; align-items: center; gap: 12px; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
}
