/* ===========================================================
   project.css — the BMIS 235 HTML-4 project home (index.html)
   Same colors and font as the rest of the site (styles.css),
   but calmer: this page is for grown-ups.
   =========================================================== */
body.project { background: linear-gradient(180deg, #faf7ff, var(--purple-soft)); }

.proj-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
  padding: 12px 24px; background: var(--white); border-bottom: 5px solid var(--purple);
  position: sticky; top: 0; z-index: 10;
}
.proj-id { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.proj-id span { display: block; font-weight: 600; color: var(--purple); font-size: .9rem; }

.villa-btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 1.15rem; color: var(--white);
  background: linear-gradient(120deg, var(--pink), #c77dff 60%, var(--blue));
  box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--pink-soft), var(--shadow);
  transition: transform .15s;
}
.villa-btn:hover { transform: scale(1.05) rotate(-1deg); }

.proj-box {
  background: var(--white); border-radius: var(--radius); padding: 22px 26px; margin: 22px 0;
  box-shadow: var(--shadow); border-left: 12px solid var(--purple);
}
.proj-box.problem { border-left-color: var(--pink); margin-top: 8px; }
#did-it-work { border-left-color: var(--blue); }
.proj-box h1 { margin: 0 0 10px; font-size: 2.2rem; }
.proj-box h2 { margin: 0 0 12px; color: var(--purple); font-size: 1.8rem; }

.three-lines { margin: 0; }
.three-lines dt { font-weight: 700; color: var(--purple); margin-top: 12px; }
.three-lines dd { margin: 2px 0 0; font-size: 1.1rem; }

/* placeholders for MY words: impossible to miss, delete the class when filled in */
.todo { background: var(--yellow-soft); border: 2px dashed #e0a800; border-radius: 10px; padding: 4px 10px; color: #7a5a00; font-style: italic; }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tool-card {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink);
  padding: 18px; border-radius: 18px; background: var(--purple-soft); border: 3px solid transparent;
  transition: transform .15s, border-color .15s;
}
.tool-card:hover { transform: translateY(-3px); border-color: var(--purple); }
.tool-icon { font-size: 2.2rem; }
.tool-name { font-weight: 700; font-size: 1.25rem; color: var(--purple); }

.bonus-title { margin: 26px 0 8px; color: var(--pink); }
.villa-card {
  display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink);
  padding: 14px 18px; border-radius: 18px; background: var(--pink-soft); border: 3px dashed var(--pink);
}
.villa-card:hover { border-style: solid; }
.villa-emoji { font-size: 2.4rem; white-space: nowrap; }

body.project footer a { color: var(--purple); }
