/* -------------------------------------------------
   Charm City Build Club — Simpler / Warmer Civic Theme
-------------------------------------------------- */

:root{
  --bg: #fcfcf9;
  --surface: #f5f7f4;
  --surface-2: #eef3ef;

  --ink: #17212b;
  --muted: rgba(23,33,43,.72);

  /* Main accent: teal */
  --accent: #0f766e;
  --accent-dark: #0b5f59;
  --accent-hi: #14b8a6;

  /* Secondary: muted blue to support the logo */
  --brand-soft: #315c9a;
  --brand-soft-light: rgba(49,92,154,.08);

  --border: rgba(23,33,43,.10);
  --border-strong: rgba(23,33,43,.16);
  --ring: rgba(15,118,110,.18);

  --radius: 14px;
}

/* Base */
html, body { height: 100%; }

body{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Headings: less branded, less “startup” */
h1, h2, h3, h4, h5, h6, .display-5, .navbar-brand{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: -.02em;
  font-weight: 700;
}

.lead{
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 58ch;
}

/* Focus */
a:focus, .btn:focus, .form-control:focus{
  box-shadow: 0 0 0 .25rem var(--ring) !important;
  outline: none;
}

/* -------------------------------------------------
   Navbar
-------------------------------------------------- */
.navbar{
  background: rgba(252,252,249,.94) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border) !important;
  z-index: 9999;
}

.navbar-brand{
  font-weight: 700;
  color: var(--ink);
}

.nav-link{
  color: rgba(23,33,43,.78) !important;
  font-weight: 500;
  transition: color .18s ease;
}

.nav-link:hover{
  color: var(--accent) !important;
}

.navbar-toggler{
  border-color: var(--border-strong);
}

/* -------------------------------------------------
   Buttons
-------------------------------------------------- */
.btn{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  border-radius: 10px;
  font-weight: 600;
  transition: all .18s ease;
}

.btn-primary{
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover{
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-primary:active{
  transform: translateY(0);
}

.btn-outline-primary{
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline-primary:hover{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-outline-secondary{
  border: 1px solid var(--border-strong);
  color: rgba(23,33,43,.82);
  background: transparent;
}

.btn-outline-secondary:hover{
  background: rgba(23,33,43,.04);
  border-color: rgba(23,33,43,.22);
  color: var(--ink);
}

.btn-sm{ padding: .45rem .9rem; }
.btn-lg{ padding: .8rem 1.6rem; font-size: 1rem; }

/* -------------------------------------------------
   Badges / chips
-------------------------------------------------- */
.badge-soft{
  background: rgba(15,118,110,.08);
  color: var(--accent);
  border: 1px solid rgba(15,118,110,.14);
  font-weight: 600;
  padding: .48rem .9rem;
  font-size: .84rem;
}

/* -------------------------------------------------
   Images
-------------------------------------------------- */
.project-img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

/* -------------------------------------------------
   Hero
-------------------------------------------------- */
.hero{
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero .badge-soft{
  background: rgba(255,255,255,.72);
  border-color: var(--border);
  color: rgba(23,33,43,.82);
}

/* -------------------------------------------------
   Cards / panels
-------------------------------------------------- */
.hero-card,
.card-pro{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(23,33,43,.05);
}

.hero-card{
  overflow: hidden;
}

.hero-card::before{
  content: '';
  display: block;
  height: 3px;
  background: var(--accent);
}

.card-pro{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card-pro:hover,
.border.rounded-3:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(23,33,43,.06);
  border-color: rgba(15,118,110,.18) !important;
}

/* Tone down generic bordered blocks */
.border.rounded-3{
  border-color: var(--border) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* -------------------------------------------------
   Section surfaces
-------------------------------------------------- */
.bg-light{
  background: var(--surface) !important;
}

.surface{
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* -------------------------------------------------
   Footer
-------------------------------------------------- */
.site-footer{
  background: #1b2a2a;
  color: rgba(255,255,255,.92);
}

.site-footer .text-muted{
  color: rgba(255,255,255,.68) !important;
}

.footer-title{
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .78rem;
  color: rgba(255,255,255,.72);
  margin-bottom: .75rem;
}

.footer-links a,
.footer-contact,
.footer-legal{
  color: rgba(255,255,255,.82);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact:hover,
.footer-legal:hover{
  color: #fff;
}

.footer-hr{
  border-color: rgba(255,255,255,.12);
}

.footer-mark{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.footer-btn{
  border-radius: 10px;
  border-color: rgba(255,255,255,.18) !important;
}

.footer-btn:hover{
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.28) !important;
}

/* -------------------------------------------------
   Content rhythm
-------------------------------------------------- */
hr{ opacity: .1; }

.content{
  font-size: 18px;
  line-height: 1.68;
}

.content p,
.content ul,
.content ol{
  margin-bottom: .95rem;
}

.content h2{
  margin-top: 2rem;
  margin-bottom: .75rem;
}

.content h3{
  margin-top: 1.4rem;
  margin-bottom: .55rem;
}

.content ul,
.content ol{
  padding-left: 1.2rem;
}

@media (max-width: 600px){
  .content{ font-size: 17px; }
}
