:root{
  --hunter-green:#3E5641;
  --graphite:#282B28;
  --crimson:#700548;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Inter',sans-serif;
}

body{
  background:var(--graphite);
  color:#e6e6e6;
  overflow-x:hidden;
}


/* ===============================
   HEADER / NAV BAR (NEW SYSTEM)
================================ */

header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:70px;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:0 2rem;

  background:rgba(40,43,40,.75);
  backdrop-filter:blur(12px);
  border-bottom:1px solid #3a3d3a;

  z-index:1000;
}

.Header_image{
  display:flex;
  align-items:center;
  gap:1rem;
}

.logo{
  width:42px;
  height: auto;
  display: block;
}

.Header_name{
  font-size:1.2rem;
  text-decoration:none;
  color:white;
  font-weight:600;
}

/* navigation links */

header nav{
  display:flex;
  align-items:center;
}

header nav a{
  color:#bbb;
  text-decoration:none;
  margin-left:1.5rem;
  transition:.3s;
}

header nav a:hover{
  color:var(--hunter-green);
}


/* ===============================
   HERO
================================ */

.hero{
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
  overflow:hidden;

  /* prevents header overlap */
  padding-top:70px;
}

.hero-bg{
  position:absolute;
  inset:0;
  height:100%;
  width:100%;
  background:url('/Images/hero.png') center/cover no-repeat;
  transform:scale(1.15);
  filter:brightness(.6);
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at center,transparent 30%,var(--graphite) 90%);
}

.hero-content{
  position:relative;
  z-index:2;
}

.hero h1{
  font-size:4rem;
  font-weight:700;
}

.hero span{
  color:var(--crimson);
}

.hero p{
  margin-top:1rem;
  color:#cfcfcf;
  max-width:650px;
}


/* ===============================
   SECTIONS
================================ */

section{
  padding:6rem 2rem;
  width:100%;
  max-width:1200px;
  margin:0 auto;
}

.section-title{
  font-size:2rem;
  margin-bottom:1rem;
}

.section-desc{
  color:#aaa;
  margin-bottom:3rem;
}


/* ===============================
   GRID + CARDS
================================ */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:2rem;
}

.card{
  display:block;
  text-decoration:none;
  background:#1f221f;
  color:#e6e6e6;
  border-radius:12px;
  border:1px solid #333;
  overflow:hidden;
  transition:.3s;
  height:100%;
}

.card:hover{
  transform:translateY(-8px);
  box-shadow:0 0 20px rgba(112,5,72,.35);
}

.card img{
  width:100%;
  height:350px;
  object-fit:cover;
  display:block;
}

.card-content{
  padding:1.5rem;
}

.card small{
  color:var(--crimson);
  letter-spacing:.1em;
}


/* ===============================
   ABOUT
================================ */

.about{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:3rem;
}

.panel{
  background:#1f221f;
  padding:1.5rem;
  border-radius:10px;
  border:1px solid #333;
  margin-bottom:1rem;
}

.skills span{
  display:inline-block;
  margin:.4rem;
  padding:.4rem .8rem;
  border:1px solid #444;
  border-radius:6px;
  color:#ccc;
}

/* ===============================
    CONTACT
================================= */

.social-bar {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
}

.social-bar a {
  font-size: 1.8rem;
  color: var(--crimson);
  transition: all 0.25s ease;
  text-decoration: none;
}

.social-bar a:hover {
  transform: translateY(-4px);
  color: var(--hunter-green);
}

.icon-img {
  width: 28px;
  height: 28px;
  filter: invert(1);
  transition: all 0.25s ease;
}

.social-bar a:hover .icon-img {
  transform: translateY(-4px);
  filter: invert(66%) sepia(41%) saturate(618%) hue-rotate(104deg);
}

/* ===============================
   FOOTER
================================ */

footer{
  text-align:center;
  padding:2rem;
  border-top:1px solid #333;
  color:#888;
}


/* ===============================
   RESPONSIVE
================================ */

@media(max-width:900px){
  .about{
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:2.5rem;
  }
}
@media (min-width: 768px) {
  .social-bar a {
    font-size: 2.2rem;
  }
}