/* ========================================
   FindIt — Lost & Found System
   Main Stylesheet
   ======================================== */

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

:root {
  --bg:           #F7F4EE;
  --white:        #FFFFFF;
  --ink:          #1A1410;
  --ink-mid:      #4A4038;
  --ink-soft:     #8C7B6E;
  --accent:       #D45A2A;
  --accent-dark:  #9E3E18;
  --teal:         #2A7A6E;
  --amber:        #C4820A;
  --green:        #3A7A3A;
  --border:       rgba(26,20,16,0.12);
}

* { box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--ink); }

/* TYPOGRAPHY */
h1, h2, h3, .navbar-brand { font-family: 'Playfair Display', serif; }
em { font-style: normal; }
.text-accent { color: var(--accent) !important; }
.section-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--accent);
}

/* NAVBAR */
.navbar-custom {
  background: rgba(247,244,238,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.navbar-custom .nav-link { color: var(--ink-mid); font-weight: 500; font-size: 0.9rem; }
.navbar-custom .nav-link:hover { color: var(--accent); }
.logo-dot {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 50%; background: var(--accent); margin-right: 4px;
}

/* BUTTONS */
.btn-accent {
  background: var(--accent); color: #fff; border: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }

/* HERO */
.hero-section { background: var(--bg); padding: 5rem 0 3rem; }
.min-vh-85 { min-height: 82vh; }
.hero-badge-dot, .pulse-dot {
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent);
  animation: pulse 2s infinite; margin-right: 6px;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(1.5); }
}
.badge-custom {
  display: inline-flex; align-items: center;
  background: #F5E6DC; border: 1px solid rgba(212,90,42,0.2);
  padding: 5px 14px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; color: #9E3E18;
}
.stat-num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; }
.stat-label { font-size: 0.78rem; color: var(--ink-soft); }

/* HERO CARD */
.hero-card {
  background: #fff; border-radius: 20px;
  border: 1px solid var(--border); padding: 1.5rem;
  box-shadow: 0 8px 48px rgba(26,20,16,0.12);
  position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
}
.hero-item-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.hero-item-row:last-of-type { border-bottom: none; }
.hero-icon { font-size: 1.4rem; width: 40px; height: 40px; background: #F5E6DC; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mini-stat-card { background: var(--bg); border-radius: 12px; border: 1px solid var(--border); padding: 12px; text-align: center; }
.mini-stat-num { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; }
.mini-stat-label { font-size: 0.72rem; color: var(--ink-soft); }

/* BADGES */
.bg-teal { background: #D8EFEC; color: var(--teal); }
.bg-warning-soft { background: #FDF0D0; }
.bg-success-soft { background: #DCF0DC; }
.bg-danger-soft  { background: #FDECEA; }

/* STEPS */
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: #F5E6DC; border: 1.5px solid rgba(212,90,42,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.3rem;
  font-weight: 700; color: var(--accent);
}

/* ITEM CARDS */
.item-card-home {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 1.4rem; transition: box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.item-card-home:hover { box-shadow: 0 8px 32px rgba(26,20,16,0.12); transform: translateY(-2px); }
.item-emoji { font-size: 2rem; margin-bottom: 0.5rem; display: block; }

/* DETAIL PAGE */
.detail-info-box {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg); border-radius: 12px; padding: 1rem;
}

/* SEARCH HERO */
.search-hero { background: var(--ink); }

/* FOOTER */
.footer-dark { background: var(--ink); }
.footer-link { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.875rem; display: block; margin-bottom: 6px; }
.footer-link:hover { color: #fff; }

/* FORM */
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(212,90,42,0.15);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 0 2rem; }
  .stat-num { font-size: 1.4rem; }
}
