/*ALL MADE BY BENNY HUI*/

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Whitney SSm A','Whitney SSm B',Arial,sans-serif;
  color:#fff;
}

/* ===== Nav (50% transparent, with uniform Resume btn) ===== */
.nav{
  width:100%;
  background:rgba(40,40,40,0.5);
  position:fixed; top:0; left:0;
  z-index:1000;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(255,255,255,0.15);
}
.nav ul{ list-style:none; text-align:center; }
.nav li{ display:inline-block; }
.nav a{
  display:inline-block;
  padding:20px 30px;
  text-decoration:none;
  font-size:18px; line-height:1;
  transition:all .3s ease;
}
.nav a:hover{ background:rgba(0,0,0,0.4); opacity:.9; }

/* ===== Resume Button ===== */
.resume-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    padding: 12px 25px;
    margin-left: 15px;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.resume-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
}

/* ===== Background ===== */
body{
  background-image:url(image/daniel-sessler-Z5TV7ylXLrI-unsplash.jpg); /* same wallpaper */
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center center;
  background-attachment:fixed;
  min-height:100vh;
}

/* ===== Glass utility ===== */
.glass{
  background:rgba(255,255,255,0.10);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.25);
  border-radius:18px;
  box-shadow:0 10px 32px rgba(0,0,0,.40);
}

/* ===== Hero (Glass description) ===== */
.blog-hero{
  max-width:900px;
  margin:160px auto 30px; /* below nav */
  padding:28px 34px;
  text-align:center;
}
.blog-hero h1{
  font-size:64px;
  font-weight:800;
  margin-bottom:10px;
  text-shadow:2px 2px 10px rgba(0,0,0,.6);
}
.blog-hero p{
  font-size:20px; line-height:1.7;
}

/* ===== Blog sections ===== */
.blog{
  width:92%;
  max-width:1200px;
  margin:20px auto 80px;
  display:grid;
  gap:36px;
}
.album h2{
  font-size:32px;
  font-weight:800;
  text-shadow:1px 1px 8px rgba(0,0,0,.55);
}
.album h3{
  font-size:20px;
  font-weight:600;
  opacity:.95;
  margin:6px 0 14px;
  text-shadow:1px 1px 6px rgba(0,0,0,.5);
}

/* 3-image row */
.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.gallery a{
  width:100%;
  border-radius:16px;
  overflow:hidden;
  display:block;
  box-shadow:0 8px 24px rgba(0,0,0,.35);
  transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.gallery img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  filter:saturate(1.05) contrast(1.02);
}
.gallery a:hover{
  transform:translateY(-4px) scale(1.01);
  box-shadow:0 12px 28px rgba(0,0,0,.45);
  filter:brightness(1.05);
}

/* ===== Footer ===== */
.copy{
  text-align:center;
  font-size:14px;
  opacity:.85;
  margin: 36px 0 24px;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .blog-hero h1{ font-size:48px; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px){
  .nav a{ padding:16px 18px; font-size:16px; }
  .blog-hero{ margin-top:150px; }
  .blog-hero h1{ font-size:36px; }
  .album h2{ font-size:24px; }
  .album h3{ font-size:16px; }
  .gallery{ grid-template-columns: 1fr; }
}
