header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 1000;
}

:root {
  --header-height: 40px;
  --footer-space: 40px;
}

.logo-svg {
  width: 100px;
  height: auto;
  display: block;
  margin-top: 20px; /* lower the logo a bit */
  }

@font-face {
  font-family: 'General Sans';
  src: url('fonts/GeneralSans-Regular.woff2') format('woff2'),
}


body {
  font-family: 'General Sans', sans-serif;
  height: 100vh;
}


body, html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden; /* prevent sideways scroll */
  overflow-y: auto;   /* allow vertical scroll */
}

h1 {
  font-family: 'General Sans', sans-serif;
  font-size: 6rem;
}


.project-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 40px); /* 40px = header height */
  padding-top: 40px;
  position: relative;
  width: 100vw;
  overflow: hidden;
}

.project {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  box-sizing: border-box;
}

.project.active {
  display: flex;
}

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 10px;
  background: white;
  z-index: 100;
}

/* On smaller screens, let the page scroll naturally */
@media (max-width: 768px) {
  .site-footer {
    position: relative;
    margin-top: 40px;
  }
}

.project-image {
  max-width: 85vw;
  max-height: 80vh;
  margin: 20px auto;
}

.social-links a {
  font-size: 3.5rem; /* change to 16px or whatever fits */
}


.back-arrow {
  width: 30px;
  height: auto;
  vertical-align: middle;
  display: inline-block;
}

.back-arrow path {
  stroke: black !important;
  fill: black !important;
}


.caption {
  background: none;
  color: black;
  font-size: 1rem; /* or adjust smaller if you like */
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.nav.prev {
  left: 10px;
}

.nav.next {
  right: 10px;
}

.nav img {
 width: 40px;
height: auto;
}

.contact-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255,255,255,0.8);
  padding: 0.5rem 1rem;
  color: black;
  text-decoration: none;
  font-weight: bold;
  z-index: 3; /* make sure it's above arrows */
}

.contact-page {
  padding: 3rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin: auto;
  line-height: 1.5;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.site-footer {
  height: var(--footer-space);
  line-height: var(--footer-space);  /* centers text vertically */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;  /* or transparent if you prefer */
  padding: 0 20px;
  display: flex;
  justify-content: flex-start; /* or center / space-between */
  align-items: center;
  font-size: 0.9rem;
  z-index: 1000;
}
