/* style.css - Dark black + yellow theme for Projects page */
/* Base reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; background: #111; color: #ddd; }

/* Top header / nav */
header {
  background: #fafafa; /* white top bar like screenshot */
  box-shadow: 0 2px 0 rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 40;
}
nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.logo {
  font-weight: 800;
  color: #d22; /* red-ish logo accent — keep as your logo */
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
nav ul { list-style: none; display:flex; gap:18px; align-items:center; }
nav a {
  color: rgba(0,0,0,0.35);
  text-decoration: none;
  font-weight:600;
  padding:8px 10px;
  border-radius:6px;
}
nav a.active, nav a:hover {
  color: #111;
  background: linear-gradient(90deg,#fff, #fff);
  box-shadow: inset 0 -4px 0 #ffd24d;
}

/* Page container */
.projects-section {
  min-height: 100vh;
  padding: 60px 24px 120px;
  background: linear-gradient(180deg,#121212 0%, #101010 100%);
  position: relative;
  overflow: hidden;
}

/* subtle yellow particle dots (decorative) */
.projects-section::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#f4c300 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.03;
  pointer-events: none;
}

/* Title */
.projects-section h1{
  text-align: center;
  font-size: 56px;
  color: #ffd24d; /* bold yellow */
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.8px;
}
.projects-section p.lead{
  color: #cfcfcf;
  text-align:center;
  margin-bottom: 34px;
  font-size: 16px;
  opacity: .9;
}

/* category pills (filter area) */
.filters {
  display:flex;
  gap:14px;
  justify-content:center;
  margin-bottom: 36px;
  flex-wrap:wrap;
}
.filter-btn {
  border: 2px solid #ffd24d;
  color: #ffd24d;
  background: transparent;
  padding:8px 18px;
  border-radius:999px;
  font-weight:600;
  cursor:pointer;
  transition: all .18s ease;
}
.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(90deg,#ffd24d,#ffcf4a);
  color: #111;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,210,77,0.12);
}

/* grid */
.projects-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  align-items: start;
}

/* card */
.project-card{
  background: linear-gradient(180deg,#22201a 0%, #1a1916 100%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 0 3px rgba(255,210,77,0.04);
  border: 1px solid rgba(255,210,77,0.06);
  display:flex;
  flex-direction: column;
  min-height: 420px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.project-card:hover{
  transform: translateY(-12px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.6), 0 0 60px rgba(255,210,77,0.05);
}

/* top image area */
.project-card .thumb {
  position: relative;
  padding: 26px;
  display:block;
  background: linear-gradient(180deg, rgba(255,210,77,0.03), transparent);
}





/* content */
.project-card .content{
  padding: 22px;
  display:flex;
  flex-direction: column;
  gap:12px;
  flex:1;
}
.project-card h3{
  color: #fff;
  font-size: 30px;
  font-weight: 800;
}
.project-card p1{
  color: #d6d6d6;
  font-size: 16px;
  line-height: 1.5;
  opacity: .95;
  position: relative;
  
}


.project-card a{
    text-decoration: none;
    margin-top: 10px;
    font-weight: bold;
  color: #d6d6d6;
  font-size: 16px;
  line-height: 1.5;
  opacity: .95;
  position: relative;
  
}

/* tags */
.tags { margin-top: auto; display:flex; gap:1px; flex-wrap:wrap; }
.tags span {
  background: rgba(255,210,77,0.08);
  border: 1px solid rgba(255,210,77,0.14);
  color: #ffd24d;
  padding:10px 20px;
  border-radius: 999px;
  font-weight:700;
  font-size: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  margin-top: 20px;
}

/* action buttons (optional) */
.card-actions {
  display:flex;
  
  margin-top: 12px;
}
.btn {
  padding:10px 16px;
  border-radius: 999px;
  font-weight:700;
  cursor:pointer;
  border: none;
  background: #ffd24d;
  color: #111;
  box-shadow: 0 8px 30px rgba(255,210,77,0.12);
}
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,210,77,0.16);
  color: #ffd24d;
}

/* Responsive */
@media (max-width:1100px) {
  .projects-grid{ grid-template-columns: repeat(2, 1fr); padding: 0 18px; }
  .projects-section h1{ font-size:48px; }
}
@media (max-width:700px) {
  nav { padding: 12px; }
  .projects-section { padding: 40px 16px 80px; }
  .projects-grid{ grid-template-columns: 1fr; gap: 18px; }
  .project-card { min-height: 360px; }
  .projects-section h1{ font-size:36px; }
  .project-card .thumb img{ height: 180px; }
}

/* Admin panel small helper (forms) */
.admin-form {
  max-width:700px; margin: 34px auto; padding: 20px; background: #171717; border-radius: 12px; border:1px solid rgba(255,210,77,0.03);
}
.admin-form input, .admin-form textarea {
  width:100%; padding:12px 14px; margin-bottom:12px; border-radius:8px;
  background:#0f0f0f; color:#ddd; border:1px solid rgba(255,255,255,0.03);
}
.admin-form label { color:#cfcfcf; font-weight:600; margin-bottom:6px; display:block; }

/* small footer spacing */
.footer-space { height:80px; }
