/* ==========================================================================
   TasteLokal — Premium Hero v1.5 (mobile-first)
   ========================================================================== */

/* RESET legacy hero in main.css */
.hero {
  background: transparent !important;
  padding: 0 !important;
  border-bottom: 0 !important;
  position: relative;
  overflow: hidden;
}

/* Decorative background blobs */
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  z-index: 0;
}
.hero-bg .bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}
.bg-blob.blob-1 { width: 380px; height: 380px; background: rgba(13, 148, 136, 0.18); top: -120px; right: -100px; }
.bg-blob.blob-2 { width: 320px; height: 320px; background: rgba(245, 126, 28, 0.10); bottom: -100px; left: -80px; }
.bg-blob.blob-3 { width: 260px; height: 260px; background: rgba(13, 33, 73, 0.06); top: 30%; left: 40%; }

/* Dot grid pattern overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(13,33,73,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 36px;
  padding: 40px 16px 50px;
  grid-template-columns: 1fr;
}

/* ---------- LEFT: Content ---------- */
.hero-content { text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-bg);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  border: 1px solid rgba(13, 148, 136, 0.2);
}
.hero-badge .badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(39, 174, 96, 0); }
  100% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}

.hero-title {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 16px;
  font-family: var(--font-body);
}
.hero-title .accent {
  color: var(--teal);
  position: relative;
  display: inline-block;
}
.hero-title .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 8px;
  background: rgba(13, 148, 136, 0.18);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 auto 24px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  flex-direction: column;
  align-items: stretch;
}
.btn-lg {
  padding: 13px 22px !important;
  font-size: 15px !important;
  font-weight: 700;
  border-radius: 10px !important;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
  transition: all .18s;
}
.btn-primary.btn-lg {
  background: var(--teal); color: #fff; border: 2px solid var(--teal);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.28);
}
.btn-primary.btn-lg:hover {
  background: var(--teal-dark); border-color: var(--teal-dark);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35);
  transform: translateY(-1px);
  color: #fff;
}
.btn-ghost.btn-lg {
  background: transparent; color: var(--navy); border: 2px solid var(--border);
}
.btn-ghost.btn-lg:hover { background: var(--bg-soft); border-color: var(--navy); color: var(--navy); }

.hero-trust {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}
.trust-rating, .trust-makers {
  display: inline-flex; align-items: center; gap: 6px;
}
.rating-stars { color: var(--orange); font-size: 14px; letter-spacing: 1px; }
.hero-trust strong { color: var(--navy); font-size: 14px; }
.trust-sep { display: none; color: var(--border); }

/* ---------- RIGHT: Visual showcase ---------- */
.hero-visual {
  display: none;          /* hidden on mobile */
  position: relative;
  min-height: 420px;
}

.hero-card {
  position: absolute;
  width: 230px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px -10px rgba(13, 33, 73, 0.15), 0 0 0 1px var(--border-light);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.hero-card:hover { transform: rotate(0) translateY(-8px) scale(1.03); z-index: 5; }
.hc-img {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-light);
}
.hc-meta {
  padding: 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.hc-origin {
  font-size: 10px;
  color: var(--teal-dark);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hc-title {
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
}
.hc-price {
  font-size: 16px;
  color: var(--navy);
  font-weight: 800;
  margin-top: 2px;
}

/* Card positions — angled stack */
.card-back  { top: 0;   right: 0;   transform: rotate(6deg);  z-index: 1; }
.card-mid   { top: 80px; left: 0;   transform: rotate(-5deg); z-index: 2; }
.card-front { top: 180px; right: 40px; transform: rotate(2deg);  z-index: 3; }

/* Decorative ring */
.visual-ring {
  position: absolute;
  width: 260px; height: 260px;
  border: 2px dashed rgba(13, 148, 136, 0.25);
  border-radius: 50%;
  top: 50px; right: -30px;
  z-index: 0;
  animation: rotate-ring 60s linear infinite;
}
@keyframes rotate-ring {
  to { transform: rotate(360deg); }
}

.visual-tag {
  position: absolute;
  bottom: 20px;
  left: 30px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(13, 33, 73, 0.25);
  z-index: 4;
}

/* ==========================================================================
   STATS STRIP (below hero)
   ========================================================================== */
.stats-strip {
  background: #fff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
  position: relative;
  z-index: 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0; margin: 0;
}
.stats-grid li {
  text-align: center;
  padding: 8px;
  border-right: 1px solid var(--border-light);
}
.stats-grid li:nth-child(2n) { border-right: 0; }
.stats-grid strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stats-grid span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ==========================================================================
   ≥ 640px (tablet)
   ========================================================================== */
@media (min-width: 640px) {
  .hero-grid { padding: 56px 24px 60px; }
  .hero-title { font-size: 40px; }
  .hero-cta { flex-direction: row; justify-content: center; }
  .btn-lg { flex: 0 0 auto; }
  .hero-trust { flex-direction: row; }
  .trust-sep { display: inline; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid li:nth-child(2n) { border-right: 1px solid var(--border-light); }
  .stats-grid li:last-child { border-right: 0; }
  .stats-grid strong { font-size: 32px; }
}

/* ==========================================================================
   ≥ 1024px (desktop) — two column
   ========================================================================== */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 32px 100px;
  }
  .hero-content { text-align: left; }
  .hero-badge { margin-bottom: 22px; }
  .hero-title { font-size: 56px; }
  .hero-subtitle { margin: 0 0 32px; max-width: 520px; font-size: 17px; }
  .hero-cta { justify-content: flex-start; margin-bottom: 32px; }
  .hero-trust { justify-content: flex-start; }

  .hero-visual { display: block; min-height: 500px; }

  .stats-grid { padding: 0 32px; }
  .stats-grid strong { font-size: 36px; }
}

/* ==========================================================================
   ≥ 1280px (large)
   ========================================================================== */
@media (min-width: 1280px) {
  .hero-grid { padding: 100px 40px 120px; }
  .hero-title { font-size: 64px; }
}
