/* ===================================================
   FindIt — Shared Styles
   Colors: Aqua Blue, Dark Blue, Green, Yellow
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --blue-dark:   #0B2F6B;
  --blue-mid:    #1A56B0;
  --aqua:        #00C2CB;
  --aqua-light:  #7EEAED;
  --aqua-pale:   #E0FAFB;
  --green:       #22C55E;
  --green-light: #BBF7D0;
  --green-dark:  #15803D;
  --yellow:      #FACC15;
  --yellow-light:#FEF9C3;
  --yellow-dark: #CA8A04;
  --white:       #FFFFFF;
  --off-white:   #F4FBFC;
  --light-gray:  #EAF4F5;
  --text-dark:   #0B2F6B;
  --text-body:   #334155;
  --text-muted:  #64748B;
  --text-light:  #94A3B8;
  --border:      #CBE8EA;
  --shadow-sm:   0 2px 8px rgba(11,47,107,0.08);
  --shadow-md:   0 8px 24px rgba(11,47,107,0.12);
  --shadow-lg:   0 20px 60px rgba(11,47,107,0.18);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--off-white);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--aqua-pale); }
::-webkit-scrollbar-thumb { background: var(--aqua); border-radius: 99px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 99px;
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; border: none;
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--aqua), var(--blue-mid));
  color: white;
  box-shadow: 0 6px 20px rgba(0,194,203,0.35);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(0,194,203,0.5); }

.btn-secondary {
  background: white;
  color: var(--blue-dark);
  border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--aqua); color: var(--aqua); }

.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  box-shadow: 0 6px 20px rgba(34,197,94,0.3);
}
.btn-green:hover { box-shadow: 0 12px 32px rgba(34,197,94,0.45); }

.btn-yellow {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: var(--blue-dark);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(250,204,21,0.4);
}
.btn-yellow:hover { box-shadow: 0 12px 32px rgba(250,204,21,0.55); }

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: white;
  box-shadow: var(--shadow-sm);
  padding: 0 60px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 1.7rem; color: var(--blue-dark);
  display: flex; align-items: center; gap: 8px;
}
.nav-logo span { color: var(--aqua); }
.nav-logo .logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--yellow); display: inline-block;
  margin-left: 2px;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-weight: 600; font-size: 0.9rem; color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-dark); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ── CARDS ── */
.card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 99px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-lost { background: #FEE2E2; color: #DC2626; }
.badge-found { background: var(--green-light); color: var(--green-dark); }
.badge-resolved { background: var(--yellow-light); color: var(--yellow-dark); }
.badge-pending { background: var(--aqua-pale); color: var(--blue-mid); }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-weight: 700; font-size: 0.88rem;
  color: var(--text-dark); margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: var(--off-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.95rem; font-family: 'Nunito', sans-serif;
  color: var(--text-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(0,194,203,0.12);
  background: white;
}
.form-control::placeholder { color: var(--text-light); }

/* ── SECTION STYLES ── */
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--aqua-pale); color: var(--blue-mid);
  padding: 6px 16px; border-radius: 99px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; color: var(--text-dark);
  line-height: 1.15; margin-bottom: 14px;
}
.section-title span { color: var(--aqua); }
.section-subtitle {
  font-size: 1rem; color: var(--text-muted);
  max-width: 520px; line-height: 1.7;
}

/* ── GRADIENT BACKGROUNDS ── */
.bg-gradient-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0f4c9e 50%, #0e7a9e 100%);
}
.bg-gradient-aqua {
  background: linear-gradient(135deg, var(--aqua), var(--blue-mid));
}
.bg-wave {
  background: var(--aqua-pale);
  position: relative;
}

/* ── TOAST ── */
.toast-container {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: white;
  border-left: 4px solid var(--green);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  min-width: 260px; max-width: 360px;
  animation: slideIn 0.4s ease both;
  font-weight: 600; font-size: 0.9rem;
}
.toast.error { border-color: #DC2626; }
.toast.info { border-color: var(--aqua); }
@keyframes slideIn { from{transform:translateX(120%);opacity:0} to{transform:translateX(0);opacity:1} }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
}



/* ===== ITEM DETAIL PAGE ===== */

.detail-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.detail-left {
  background: white;
  padding: 16px;
  border-radius: 16px;
  border: 2px solid var(--border);
}

.detail-image {
  width: 100%;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbs {
  display: flex;
  gap: 10px;
}

.detail-thumbs img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s;
}

.detail-thumbs img:hover {
  border-color: var(--aqua);
}

.detail-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.detail-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.detail-desc {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 600;
}

.contact-card-modern {
  background: white;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.contact-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.contact-actions button {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* CALL BUTTON */
.contact-actions button:first-child {
  background: #22c55e;
  color: white;
}

.contact-actions button:first-child:hover {
  background: #16a34a;
  transform: scale(1.05);
}

/* CHAT BUTTON */
.contact-actions button:last-child {
  background: #2563eb;
  color: white;
}

.contact-actions button:last-child:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

/* CLICK EFFECT */
.contact-actions button:active {
  transform: scale(0.95);
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #2563eb, hsl(216, 71%, 45%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}




.detail-left,
.detail-card,
.contact-card-modern {
  transition: all 0.3s ease;
  cursor: default;
}

.detail-left:hover,
.detail-card:hover,
.contact-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.detail-wrapper {
  animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}