* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #f3f3f0;
  color: #222;
  font-family: sans-serif;
}

.page-wrapper {
  display: grid;
  grid-template-columns: 200px 1fr; /* Sidebar + Main content */
  grid-template-rows: auto 1fr auto; /* Header, Main, Footer */
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100vh;
  height: 100vh; /* make sure it fills viewport height */
}



header {
  grid-column: 1 / -1; /* full width across both columns */
  background-color: #ffffff;
}

footer {
  grid-column: 1 / -1;
  grid-row: 3 / 4;
  background-color: #fffdfa;
  color: #666;
  font-size: 0.8rem;
  border-top: 2px solid black;
  padding: 1rem;
  text-align: center;
}


.banner-img {
  width: 100%;
  height: 200px;
  display: block;
  border-bottom: 2px solid black;
  object-fit: cover;
}


.title-box {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 2px solid black;
}

.profile-pic {
  width: 168px;
  height: 168px;
  object-fit: fill;
  margin-right: 1rem;
  border: 2px solid black;
}

.title-text h1 {
  font-size: 1.5rem;
}

.title-text h2 {
  font-size: 1rem;
  font-weight: normal;
}

body {
  background-color: #2b2b2b;
  background-image: url("https://www.transparenttextures.com/patterns/wall-4-light.png");
  background-repeat: repeat;
  background-size: auto; /* or 'cover' if you want to scale it */
}

/* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */




main {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  width: 100%;
  height: 100%; /* fill the grid row height */
  display: flex; /* help with height and layout */
  flex-direction: column;
}

.sidebar {
  grid-column: 1 / 2;
  grid-row: 2 / 3; /* align to main content row */
  background-color: #e0e0dc;
  border-right: 2px solid black;
  padding: 1rem;
  height: 100%; /* fill the grid row height */
}

.sidebar-links {
  list-style: none;
  padding: 0;
}

.sidebar-links li {
  border: 2px solid black;
  padding: 0.5rem;
  margin-bottom: 1rem;
  background-color: white;
  transition: background-color 0.3s;
}

.sidebar-links li:hover {
  background-color: #eee;
}

.sidebar-links a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  display: block;
}

.sidebar-links a:hover {
  color: #d33;
}

.photogrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 1rem;
  width: 100%;
  flex-grow: 1; /* take all vertical space inside main */
  height: 100%; /* fill main’s height */
}

.photogrid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid #444;
  max-width: 100%;
}
