/* ---------- Base ---------- */
:root{
  --ink:#222;
  --muted:#667085;
  --bg:#fff;
  --brand:#df2176;
  --brand-dark:#c01e6a;
  --surface:#ffffff;
  --alt:#f6f7f8;
  --shadow: 0 2px 6px rgba(0,0,0,.06);
  --radius: 10px;
  --container: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:'Work Sans',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
}

/* Utilities */
.container{max-width:var(--container);margin-inline:auto;padding-inline:1.25rem}
.muted{color:var(--muted)}
.list-unstyled{list-style:none;padding:0;margin:0}

/* ---------- Header ---------- */
.site-header{
  background:#2c3e50;
  color:#fff;
}
.site-header .nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-block:1rem;
}
.brand{
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:1.5rem;
}
.brand .byline{font-size:.7rem;font-weight:400;margin-left:.25rem}
.nav-links a{
  color:#fff;
  text-decoration:none;
  margin-left:1.25rem;
}
.nav-links a:hover{opacity:.9;text-decoration:underline}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:60vh;
  display:flex;
  align-items:center;
  background: url('img/laptop.jpg') center/cover no-repeat;
  color:#fff;
  text-align:center;
}
.hero::before{
  content:"";
  position:absolute;inset:0;background:rgba(0,0,0,.45);
}
.hero-inner{
  position:relative;
  z-index:1;
  padding-block:3rem;
}
.hero h1{font-size:clamp(2rem,5vw,3.25rem);margin:0 0 .75rem}
.hero p{font-size:clamp(1rem,2.4vw,1.25rem);margin:0 0 1.25rem}

/* Buttons */
.btn{display:inline-block;font-weight:700;text-decoration:none;border-radius:8px;padding:.75rem 1.25rem;transition:.2s}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-dark)}
.btn-outline{border:2px solid var(--brand);color:var(--brand)}
.btn-outline:hover{background:var(--brand);color:#fff}

/* ---------- Sections ---------- */
.section{padding-block:3.5rem;background:var(--bg)}
.section-alt{background:var(--alt)}

/* ---------- Feature grid ---------- */
.feature-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.5rem;
}
.card{
  background:var(--surface);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:1.25rem 1.25rem 1.5rem;
  display:flex;
  flex-direction:column;
  gap:.75rem;
  height:100%;
}
.card h2,.card h3{margin:.25rem 0}
.card.media{padding:0}
.card.media img{
  display:block;width:100%;height:auto;border-radius:var(--radius) var(--radius) 0 0
}
.card.media figcaption{padding:1rem;color:var(--muted)}

/* Row cards (logo + text) */
.cards-rows{display:grid;gap:1rem;margin-top:1.5rem}
.card.row{flex-direction:row;align-items:flex-start;gap:1rem}
.card.row .logo{width:64px;height:64px;object-fit:contain;flex:0 0 64px}

/* Skills grid */
.grid.three{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1.5rem}

/* ---------- Footer ---------- */
.site-footer{background:#f4f4f4;border-top:1px solid #e6e6e6;padding-block:2.5rem;font-size:.95rem}
.footer-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.icon{width:36px;height:36px;border-radius:50%}
.socials{display:flex;gap:.75rem;margin-top:.25rem}

/* ---------- Small tweaks ---------- */
@media (min-width: 900px){
  .hero{min-height:70vh}
}
/* Footer quick links */
.site-footer .footer-grid a {
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  padding: 2px 0;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.site-footer .footer-grid a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.site-footer .footer-grid ul li + li {
  margin-top: 0.35rem;
}
