/* ================================================
   WOK Homepage Enhancements v2
   Added: Why WOK, Meet CTA, News Layout, Animations
   ================================================ */

/* ---- Section Padding ---- */
.section-pad { padding: 80px 0; }
.bg-carbon { background: var(--carbon); }

/* ---- Featured Card Link fix ---- */
.featured-link { display: grid; grid-template-columns: 1.5fr 1fr; text-decoration: none; }

/* ---- Hero Scroll Hint ---- */
.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 60px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.scroll-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--muted);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { width: 40px; opacity: 0.4; }
  50% { width: 60px; opacity: 1; }
}

/* ---- Stats Bar Enhancement ---- */
.wok-stats { padding: 60px 0; }
.wok-stats .stat-number {
  font-size: clamp(48px, 6vw, 80px);
  background: linear-gradient(135deg, var(--white) 0%, var(--silver) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: color 0.3s ease;
}
.wok-stats .stat-item:hover .stat-number {
  background: linear-gradient(135deg, var(--red) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Why WOK Features ---- */
.why-wok {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.why-wok::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230,59,46,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 8px;
}
.feature-card {
  background: var(--gunmetal);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230,59,46,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(230,59,46,0.08);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  filter: saturate(0.8);
  transition: filter 0.3s, transform 0.3s;
}
.feature-card:hover .feature-icon {
  filter: saturate(1.2);
  transform: scale(1.1);
}
.feature-card h3 {
  font-size: 1.3rem;
  color: var(--ice);
  margin-bottom: 12px;
  font-family: var(--font-head);
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ---- Car Meet CTA Section ---- */
.meet-cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}
.meet-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/car-meet.jpg') center/cover no-repeat;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3) saturate(1.2);
  transition: transform 8s ease;
}
.meet-cta:hover .meet-cta-bg { transform: scale(1.03); }
.meet-cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.meet-cta-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1;
  color: var(--white);
  margin: 16px 0;
  text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}
.meet-cta-sub {
  font-size: 17px;
  color: var(--silver);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- News Layout ---- */
.news-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-item {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px solid var(--border);
}
.news-item:first-child { border-top: 1px solid var(--border); border-radius: var(--radius) var(--radius) 0 0; }
.news-item:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.news-thumb {
  width: 120px;
  flex-shrink: 0;
  height: 90px;
  overflow: hidden;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.news-item:hover .news-thumb img { transform: scale(1.08); }

/* ---- Fade-in Scroll Animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .news-layout { grid-template-columns: 1fr; }
  .featured-link { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2)::after { display: none; }
}

/* ===== YOUTUBE SHORTS SECTION ===== */
.yt-shorts-section { background: #0a0a0a; }
.yt-shorts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.yt-short-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 177.77%;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}
.yt-short-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
@media (max-width: 768px) {
  .yt-shorts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .yt-shorts-grid { grid-template-columns: 1fr; }
}