/* RESET */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  height: 100%;
  width: 100%;
}
* {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* HERO SECTION */
.hero {
  height: 100vh;
  background: url("nitpcampus.jpg.webp") center/cover no-repeat;
  position: relative;
}

.overlay {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.overlay h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 14px 28px;
  text-decoration: none;
  color: white;
  font-size: 1rem;
  border-radius: 6px;
  transition: 0.3s ease;
}

.btn.lost {
  background-color: #e74c3c;
}

.btn.found {
  background-color: #2ecc71;
}

.btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* ITEMS SECTION */
.items {
  padding: 50px 8%;
  background-color: #f5f5f5;
}

.items h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

/* GRID */
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* CARD (Placeholder for now) */
.item-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.item-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.item-card .content {
  padding: 15px;
}

.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.status.lost {
  background: #e74c3c;
  color: white;
}

.status.found {
  background: #2ecc71;
  color: white;
}

/* REPORT FORM */
.report-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.report-form input,
.report-form textarea {
  padding: 12px;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.report-form textarea {
  resize: none;
  height: 100px;
}

.report-form button {
  cursor: pointer;
}

.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.filters input,
.filters select {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.resolve-btn {
  margin-top: 10px;
  padding: 6px 10px;
  background: #198754;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.resolved-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 8px;
  background: gray;
  color: white;
  font-size: 12px;
  border-radius: 5px;
}

.resolve-btn.undo {
  background: #dc3545; /* red */
}

.resolved-card {
  opacity: 0.6;
}

.resolved-tag {
  display: inline-block;
  background: #28a745;
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 5px;
  margin-bottom: 8px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #fff;
  margin: 15% auto;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  text-align: center;
}

.close {
  float: right;
  font-size: 22px;
  cursor: pointer;
}

/* NAVBAR */
.navbar {
  background-color: #7a0019; /* NIT Patna Maroon */
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 45px;
}

.nav-title {
  font-size: 20px;
  font-weight: 600;
}

.nav-right a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}

.nav-right a:hover {
  text-decoration: underline;
}

body {
  margin: 0;
  padding-top: 70px;
  font-family: Arial, sans-serif;
}

.nav-right a.active {
  border-bottom: 2px solid #fff;
}

.ai-summary {
  font-size: 13px;
  color: #444;
  font-style: italic;
  margin-top: 6px;
}

.ai-box {
  margin-top: 8px;
  padding: 6px 8px;
  background: #f5f7ff;
  border-left: 4px solid #5b6cff;
  border-radius: 4px;
}

.ai-box strong {
  font-size: 12px;
  color: #5b6cff;
}

.ai-summary {
  font-size: 13px;
  font-style: italic;
  margin: 4px 0 0;
  color: #333;
}
