﻿/* ===========================
   HERO.CSS - Banner chinh
   =========================== */

#hero {
  position: relative;
  background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 40%, #3A1A1A 100%);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Phan chu ben trai */
.hero-content {
  max-width: 520px;
  padding: 48px 0;
}

.hero-tag {
  display: inline-block;
  background: var(--red-primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-title .highlight {
  color: var(--red-light);
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-discount {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hero-discount .amount {
  font-size: 52px;
  font-weight: 900;
  color: #FFD700;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(255,215,0,0.4);
}

.hero-discount .unit {
  font-size: 20px;
  font-weight: 700;
  color: #FFD700;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red-primary);
  color: var(--white);
  padding: 14px 36px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(208,2,27,0.5);
  cursor: pointer;
  border: none;
}

.hero-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(208,2,27,0.6);
}

.hero-cta-arrow {
  font-size: 18px;
  transition: var(--transition);
}

.hero-cta:hover .hero-cta-arrow {
  transform: translateX(4px);
}

/* Hinh xe ben phai */
.hero-image {
  position: relative;
  flex-shrink: 0;
}

.hero-image img {
  width: 580px;
  max-width: 50vw;
  filter: drop-shadow(0 8px 32px rgba(208,2,27,0.35));
  animation: heroFloat 3.5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* Hieu ung nen */
.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208,2,27,0.15), transparent 70%);
}

.hero-bg-circle.c1 {
  width: 600px; height: 600px;
  right: -100px; top: -200px;
}

.hero-bg-circle.c2 {
  width: 300px; height: 300px;
  left: 200px; bottom: -100px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-title      { font-size: 34px; }
  .hero-image img  { width: 360px; }
  .hero-discount .amount { font-size: 38px; }
}

@media (max-width: 640px) {
  #hero            { min-height: auto; }
  .hero-inner      { flex-direction: column; text-align: center; }
  .hero-image      { display: none; }
  .hero-content    { padding: 36px 0; }
  .hero-title      { font-size: 28px; }
  .hero-discount   { justify-content: center; }
}
