/* ============================================
   ABOUT.CSS — Halaman Tentang Kami
   Kita Utama Supermarket Bahan Bangunan
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f8f9fa;
  color: #1a1a2e;
}

/* ===== NAVBAR ===== */
.about-navbar {
  background: #1a3a6b;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.about-navbar .nav-logo img { height: 32px; }

.about-navbar .nav-back {
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  padding: 7px 14px;
  border-radius: 20px;
  transition: background 0.2s;
}

.about-navbar .nav-back:hover { background: rgba(255,255,255,0.25); }

/* ===== HERO ABOUT ===== */
.about-hero {
  background: linear-gradient(135deg, #1a3a6b 0%, #0f2345 100%);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: rgba(241,163,35,0.08);
  border-radius: 50%;
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 280px; height: 280px;
  background: rgba(193,39,45,0.07);
  border-radius: 50%;
}

.about-hero .container { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.about-hero h1 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.about-hero h1 span { color: #f5a623; }
.about-hero p { font-size: 1rem; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ===== CONTAINER ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ===== SECTION TENTANG ===== */
.about-tentang { padding: 60px 0; background: white; }

.about-tentang .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tentang-text h2 { font-size: 1.6rem; font-weight: 800; color: #1a3a6b; margin-bottom: 16px; }
.tentang-text h2 span { color: #c1272d; }
.tentang-text p { font-size: 0.95rem; color: #555; line-height: 1.8; margin-bottom: 16px; }

.tentang-moto {
  background: linear-gradient(135deg, #1a3a6b, #2b5797);
  color: white;
  padding: 16px 20px;
  border-radius: 12px;
  font-style: italic;
  font-size: 1rem;
  font-weight: 500;
}

.tentang-moto span { color: #f5a623; font-weight: 700; }

.feature-grid-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card-about {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid #eee;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card-about:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.feature-icon-about {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #1a3a6b, #2b5797);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.3rem;
  color: white;
}

.feature-card-about h3 { font-size: 0.9rem; font-weight: 700; color: #1a3a6b; margin-bottom: 6px; }
.feature-card-about p { font-size: 0.78rem; color: #777; }

/* ===== LAYANAN ===== */
.about-layanan { padding: 60px 0; background: #f8f9fa; }

.section-title-about {
  text-align: center;
  margin-bottom: 40px;
}

.section-title-about h2 { font-size: 1.6rem; font-weight: 800; color: #1a3a6b; margin-bottom: 8px; }
.section-title-about h2 span { color: #c1272d; }
.section-title-about p { color: #888; font-size: 0.9rem; }
.section-divider-about {
  width: 50px; height: 3px;
  background: linear-gradient(90deg, #c1272d, #f5a623);
  border-radius: 2px;
  margin: 12px auto 0;
}

.layanan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.layanan-card {
  background: white;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #eee;
}

.layanan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.layanan-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #1a3a6b, #2b5797);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 12px rgba(26,58,107,0.25);
}

.layanan-card h3 { font-size: 1rem; font-weight: 700; color: #1a3a6b; margin-bottom: 8px; }
.layanan-card p { font-size: 0.82rem; color: #777; line-height: 1.6; }

/* ===== BRAND ===== */
.about-brand { padding: 60px 0; background: white; }

.brand-carousel-container { overflow: hidden; position: relative; }

.brand-track-about {
  display: flex;
  gap: 20px;
  animation: scrollBrand 25s linear infinite;
  width: max-content;
}

.brand-track-about:hover { animation-play-state: paused; }

.brand-track-about img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: all 0.3s;
  flex-shrink: 0;
}

.brand-track-about img:hover { filter: grayscale(0%); opacity: 1; }

@keyframes scrollBrand {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== KONTAK ===== */
.about-kontak { padding: 60px 0; background: #f8f9fa; }

.kontak-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.kontak-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #eee;
}

.kontak-icon-box {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a3a6b, #2b5797);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.kontak-card h4 { font-size: 0.9rem; font-weight: 700; color: #1a3a6b; margin-bottom: 6px; }
.kontak-card p { font-size: 0.8rem; color: #666; line-height: 1.6; }
.kontak-card p .wa-link {
  color: #25d366;
  text-decoration: none;
  font-weight: 600;
}
.kontak-card p .wa-link:hover { text-decoration: underline; }

/* ===== MAPS ===== */
.about-map { padding: 0 0 60px; background: #f8f9fa; }

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-frame iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* ===== SOSMED ===== */
.about-sosmed { padding: 40px 0; background: white; text-align: center; }
.about-sosmed h3 { font-size: 1.1rem; font-weight: 700; color: #1a3a6b; margin-bottom: 20px; }

.sosmed-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.sosmed-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: white;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sosmed-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.sosmed-btn.fb { background: #1877f2; }
.sosmed-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.sosmed-btn.tt { background: #000; }
.sosmed-btn.wa { background: #25d366; }

/* ===== FOOTER ===== */
.about-footer {
  background: #0f2345;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 24px;
  font-size: 0.82rem;
}

.about-footer img { height: 28px; margin-bottom: 12px; opacity: 0.85; }
.about-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.about-footer a:hover { color: #f5a623; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .about-tentang .inner { grid-template-columns: 1fr; gap: 28px; }
  .feature-grid-about { grid-template-columns: 1fr 1fr; }
  .layanan-grid { grid-template-columns: 1fr; }
  .kontak-grid { grid-template-columns: 1fr; }
  .about-hero h1 { font-size: 1.5rem; }
  .map-frame iframe { height: 260px; }
}

@media (max-width: 480px) {
  .about-hero { padding: 40px 16px; }
  .about-tentang, .about-layanan, .about-brand, .about-kontak { padding: 40px 0; }
}
