:root{
  --bg:#ffffff;
  --text:#0f1724;
  --muted:#566173;
  --accent:#0066ff;
  --accent-2:#0ea5a4;
  --card:#f8fafc;
  --radius:12px;
  --max-width:1100px;
  --gap:1.25rem;
  font-size:16px;
}
/* ===========================
   HERO HEADER WITH BG IMAGE
   =========================== */
.hero-header {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: url("../images/test.jpeg") center top/cover no-repeat;
  background-attachment: fixed; /* optional: subtle parallax effect */
}

/* fade overlay (for readability) */
.hero-overlay {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0, 0, 0, 0.5); /* slightly darker fade for better text visibility */
  z-index: 1; /* ensure it sits above background but below content */
}

/* NAV sits above overlay */
.nav-top {
  position: relative;
  z-index: 5;
}

/* HERO CONTENT */

.hero-content {
  position: relative;
  z-index: 2; /* sits above overlay */
  display: flex;
  align-items: center;  /* vertical centering */
  justify-content: space-between;
  gap: 2rem;
}
.hero-content {
  align-items: center;        /* vertical centering */
  justify-content: space-between; /* keep spacing */
}


/* TEXT */
.hero-text h1 {
  color: #fff;
  margin-top: 0.5rem;
  align-items: center;
}
 .lead-text {
  color: white
}

/* PROFILE PHOTO */
.hero-img-circle {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.8);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* RESPONSIVE */
@media (max-width: 780px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
}


/* Basic reset + type */
*{box-sizing:border-box}
html,body{height:100%}
body{
  padding-top: 43px; /* adjust based on header height */
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background-color: #E6F7FF;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Container */
.container{
  width:90%;
  max-width:var(--max-width);
  margin-left:auto;
  margin-right:auto;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    border-bottom: 1px solid #e6eef6;
    background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.9));
    backdrop-filter: blur(4px);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0.85rem 0;
}
.brand{
  font-weight:700;
  letter-spacing:0.2px;
  text-decoration:none;
  color:var(--text);
}
.nav-list{list-style:none;margin:0;padding:0;display:flex;gap:1rem}
.nav-link{color:var(--muted);text-decoration:none;padding:0.35rem 0.5rem;border-radius:8px}
.nav-link:hover{color:var(--text);background:rgba(0,0,0,0.02)}
.nav-link[aria-current="page"]{color:var(--accent);font-weight:600}

/* Hero */
.hero{padding:3.25rem 0}
.hero-grid{display:grid;grid-template-columns:1fr 260px;gap:var(--gap);align-items:center}
.hero-text h1{font-size:2rem;margin:0 0 0.5rem}
.lead{color:var(--muted);margin:0 0 1rem}
.avatar-placeholder{
  width:220px;height:220px;border-radius:14px;background:linear-gradient(180deg,#f2f8ff,#eef9ff);
  display:flex;align-items:center;justify-content:center;color:var(--muted);font-weight:600;border:1px solid #e6f0ff;
}

/* Buttons */
.btn{
  display:inline-block;
  background:var(--accent);
  color:white;
  padding:0.6rem 0.9rem;
  text-decoration:none;
  border-radius:10px;
  border:none;
  cursor:pointer;
  font-weight:600;
}
.btn:hover{opacity:0.95;transform:translateY(-1px)}
.btn-outline {
  background: rgba(255,255,255,0.05);
  color: var(--accent); /* full solid accent color */
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(3px);
  font-weight: 600; /* helps visibility */
}
.btn-outline {
  color: #1a73e8; /* strong blue */
}

.btn-sm{padding:0.35rem 0.6rem;font-size:0.9rem}
.btn-link{background:transparent;color:var(--accent);padding:0}

/* About and chips */
.about{padding:2rem 0}
.chips{display:flex;flex-wrap:wrap;gap:0.5rem;margin-top:0.5rem}
.chip{background:var(--card);padding:0.35rem 0.6rem;border-radius:999px;font-size:0.9rem;color:var(--muted)}

/* Cards grid */
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;padding:1rem 0}
.card{background:var(--card);border-radius:var(--radius);overflow:hidden;border:1px solid #eef5fb;display:flex;flex-direction:column}
.card-body{padding:1rem;flex:1}

/* Projects page */
.page-intro{padding:2rem 0}
.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.25rem;padding:1rem 0}
.project-card{display:flex;gap:1rem;background:var(--card);border-radius:12px;padding:1rem;border:1px solid #eef5fb;}
.proj-img{width:140px;height:90px;background:#f3f7fb;border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--muted)}
.muted{color:var(--muted)}
.tech{font-size:0.9rem;color:var(--muted)}

/* Contact page */
.contact-page{padding:2rem 0}
.contact-form form{display:grid;gap:0.65rem;max-width:640px}
.contact-form label{font-weight:600}
.contact-form input, .contact-form textarea{
  padding:0.6rem;border-radius:8px;border:1px solid #e6eef6;background:white;font-size:1rem
}
.form-actions{display:flex;gap:0.5rem;align-items:center;margin-top:0.5rem}

/* Footer */
.site-footer{border-top:1px solid #e6eef6;margin-top:2rem;padding:1.25rem 0;color:var(--muted)}
.footer-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}
.footer-nav{list-style:none;display:flex;gap:0.75rem;margin:0;padding:0}

/* Responsive */
@media (max-width:880px){
  .hero-grid{grid-template-columns:1fr; text-align:left}
  .hero-photo{justify-self:center}
  .avatar-placeholder{width:160px;height:160px}
  .header-inner{padding:0.6rem 0}
}
@media (max-width:480px){
  :root{font-size:15px}
  .nav-list{gap:0.4rem}
  .hero{padding:2rem 0}
  .card-img{height:320px}
}