body {
  margin: 0;
  font-family: 'Geometr706MdBT', sans-serif;
  background: #cecccc;
  color: #111;}
body, h1, h2, h3, p {
  margin: 0;
  padding: 0;
}
@font-face {
  font-family: 'Geometr706MdBT';
  src: url('fonts/GEO706M.TTF') format('truetype');
}
@font-face {
  font-family: 'Geometr706MdBT';
  src: url('fonts/GEO706M.TTF') format('truetype');
}
header {
  position: fixed;
  top: 0; left: 0;
  width: 95%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;  /* right spacing */
  background: #cecccc;
  border-bottom: 1px solid #bbb;
  z-index: 900;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'Geometr706MdBT', sans-serif;
  margin-right: 1px;  
}
header img.logo {
  height: 60px;
}
nav a {
  font-family: 'Geometr706MdBT', sans-serif;
  font-size: 18px;       /* same on all pages */
  font-weight: normal;   /* or 400 */
  letter-spacing: 1px;   /* for consistency */
  text-decoration: none;
  color: #222;
}
nav a.active {
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
}
nav .social a {
  font-size: 22px;
  color: #222;
}
main {
  max-width: 1000px;
  margin: 120px auto 40px;
  padding: 0 20px;
  line-height: 1.6;
}
main p {
  font-size: 14px;   /* or 15px; adjust to your taste */
  line-height: 1.5;  /* keeps readability */
}
.project {
  display: flex;
  align-items: flex-start;
  gap: 20px;              /* space between image and text */
  margin: 80px auto;
  max-width: 1000px;
}
.carousel {
  flex: 1 1 65%;          /* image takes about 75% */
  position: relative;
}
.project .description {
  flex: 1 1 15%;          /* text takes about 25% */
  font-family: 'Geometr706MdBT', sans-serif;
  line-height: 1.6;
}
.description p {
  margin-bottom: 100px;  
  line-height: 1.6;
}
.project p {
  max-width: 900px;
  margin: 0px 0 0 0;
}
.carousel img {
  width: 100%;
  max-width: 900px;
  display: block;
}
.arrows {
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-50%);
  padding: 0 10px;
}
.arrows img {
  width: 40px;
  height: auto;
  cursor: pointer;
}
footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #333;
  border-top: 1px solid #bbb;
  margin-top: 40px;
}
/* Responsive: stack description under image on mobile */
@media (max-width: 768px) {
  .project {
    flex-direction: column;
  }
  .carousel, .description {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .description {
    margin-top: 20px;
  }
}
@media (max-width: 768px) {
  .arrows {
    position: relative;
    top: auto;
    transform: none;
    margin-top: 10px;
    justify-content: center;
    gap: 40px;
  }
}
/* ✅ Always apply these rules */
.about-photo {
  margin-top: 30px;
  text-align: center;
}
.about-photo img {
  max-width: 500px;   /* shrink image size */
  width: 100%;        /* responsive inside container */
  height: auto;
  border-radius: 6px; /* optional rounded corners */
}
main p {
  margin-bottom: 15px;   /* add vertical gap */
  font-size: 14px;
  line-height: 1.6;
}
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  margin-right: 40px;   /* ✅ adds gap from the right edge */
}
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: #cecccc;
    position: absolute;
    right: 40px;
    top: 60px;
    padding: 10px 20px;   /* ✅ adds gap inside the menu */
  }
  nav a {
    padding: 8px 0;       /* ✅ vertical spacing between links */
  }
  nav.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
    margin-right: 40px;   /* ✅ gap from right edge */
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  nav .social {
    margin-right: 20px;
  }
}
