/* =====================================================
   AJIN HOME v1.2
   Home page only
   - Product card image classes standardized
   - Fixed broken CSS brace after haegakpo image
   ===================================================== */

/* ================= HERO ================= */

.hero {
  color: #ffffff;
}

.hero.hero-with-image {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 12, 28, 0.92) 0%,
      rgba(15, 23, 42, 0.72) 46%,
      rgba(15, 23, 42, 0.25) 100%
    ),
    url("https://storage.googleapis.com/ajin-media-storage/site/banners/home/main-hero1.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.28), transparent 36%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.5));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 40px;
}

.hero-text {
  max-width: 760px;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 8px 16px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(6px);
  color: #dbeafe;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.hero-logo {
  width: 38px;
  height: auto;
  display: block;
}

.hero h1 {
  margin: 0 0 28px;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.hero p {
  max-width: 700px;
  margin: 0;
  font-size: 20px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: #ffffff;
  color: #0f172a;
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.hero-points {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points div {
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 800;
}

/* ================= CORE SOLUTIONS ================= */

.card-image {
  height: 240px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #e2e8f0;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.04),
    rgba(15, 23, 42, 0.32)
  );
}

.card-image.freezer {
  background-image: url("https://storage.googleapis.com/ajin-media-storage/site/products/freezer/images/freezer-main.png");
}

.card-image.ice-maker {
  background-image: url("https://storage.googleapis.com/ajin-media-storage/site/products/ice-maker/images/ice-maker1.png");
}

.card-image.ice-storage {
  background-image: url("https://storage.googleapis.com/ajin-media-storage/site/products/ice-storage/images/ice-storage-main.png");
}

.card-image.dryer {
  background-image: url("https://storage.googleapis.com/ajin-media-storage/site/products/dryer/images/dryer-main.png");
}

.card-image.haegakpo {
  background-image: url("https://storage.googleapis.com/ajin-media-storage/site/products/haegakpo/images/package.png");
}

.card-image.platform {
  background-image: linear-gradient(135deg, #0f172a, #1e40af);
}

.card-body {
  padding: 26px;
}

.card-body h3 {
  font-size: 22px;
}

.card-body p {
  line-height: 1.8;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .hero.hero-with-image {
    min-height: 660px;
  }

  .hero-inner {
    padding: 100px 32px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hero.hero-with-image {
    min-height: 620px;
    background-position: center center;
  }

  .hero-inner {
    padding: 86px 22px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-brand {
    font-size: 11px;
    gap: 10px;
    padding: 7px 13px 7px 8px;
    margin-bottom: 20px;
  }

  .hero-logo {
    width: 28px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.22;
    letter-spacing: -0.8px;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 34px;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-points {
    margin-top: 34px;
    gap: 8px;
  }

  .hero-points div {
    font-size: 13px;
    padding: 9px 14px;
  }

  .card-image {
    height: 210px;
    display: block;
  }

  .card-body {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-brand span {
    letter-spacing: 0.6px;
  }

  .card-image {
    height: 190px;
  }
}
