@font-face {
  font-family: 'IntelOneMono';
  src: url('/font/IntelOneMono-Light.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: 'IntelOneMono', sans-serif;
  background: #f5f6fa;
  color: #15171c;
  margin: 0;
  padding: 0;
}

.site-header {
  width: 100%;
  background: #f5f6fa;
  position: relative;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px 0 rgba(26,30,41,0.22);
}

.header-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 2rem;
  min-height: 64px;
}

.header-logo img {
  height: 48px;
  border-radius: 0px;
  background: none;
  transition: box-shadow .2s;
  padding: 2px;
  object-fit: contain;
  display: block;
}

/* Unified hover effect for logo, nav, and social icons */
.header-nav a:hover,
.header-nav a:focus {
  box-shadow: 0 0 14px rgba(26,115,232,0.16);
  color: #f5f6fa;
  background: #15171c;
  transition: box-shadow .2s, background .15s, color .15s;
}

.header-social a:hover,
.header-social a:focus {
  transform: scale(1.25);
  transition: transform 0.19s;
}

.header-logo img:hover {
  box-shadow: 0 0 14px rgba(26,115,232,0.16);
}

.header-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  gap: 1.3rem; /* Reduced space between nav elements */
}

.header-nav a {
  color: #15171c;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.13em;
  border-radius: 6px;
  padding: 0.45em 1em;
  transition: background .15s, color .15s, box-shadow .2s;
}

.header-social {
  display: flex;
  gap: 1.2rem;
  justify-content: flex-end;
  align-items: center;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #0000;
}

main {
  max-width: 1300px;
  margin: 2.5rem auto 2rem auto;
  padding: 0rem 1.5rem;
  background: #f5f6fa;
  border-radius: 18px;
}

.image-gallery {
  max-width: 1300px;
  margin: 2.5em auto 2em auto;
  padding: 0.1em 1em 2em 1em;
  background: #f5f6fa;
  border-radius: 18px;
  text-align: center;
}
.gallery-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 0.3em;
  font-family: 'BebasNeue', sans-serif;
  letter-spacing: 0.01em;
  text-align: center;
  font-weight: 700;
}
.gallery-description {
  color: #15171c;
  font-size: 1.07em;
  margin-bottom: 2em;
}

.gallery-row {
  display: flex;
  align-items: center;
  gap: 7rem; 
  justify-content: center;
}

.gallery-row .main {
  text-align: left;
  max-width: 500px; 
}

.gallery-row figcaption {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: center;
  max-width: 280px;
}

.gallery-row img {
  max-width: 250px;
  max-height: 250px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 0.7em;
  box-shadow: 0 1px 4px rgba(26,115,232,0.08);
  transition: transform 0.19s;
}

.gallery-row img:hover {
  transform: scale(1.045);
  box-shadow: 0 4px 18px rgba(26,115,232,0.18);
  transition: transform 0.19s, box-shadow .2s;;
}

.gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}
.gallery-images figure {
  margin: 0;
  background: none;
  border-radius: 12px;
  padding: 1em 1em 0.7em 1em;
  max-width: 210px;
  transition: box-shadow .18s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-images figure:hover {
  box-shadow: 0 4px 18px rgba(26,115,232,0.18);
}
.gallery-images img {
  max-width: 250px;
  max-height: 250px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 0.7em;
  box-shadow: 0 1px 4px rgba(26,115,232,0.08);
  transition: transform 0.19s;
}
.gallery-images a:hover img {
  transform: scale(1.045);
}
.gallery-images figcaption {
  color: #15171c;
  font-size: 1.2em;
  margin-bottom: 0.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gallery-images figcaption strong {
  color: #15171c;
  font-weight: 700;
  font-size: 1.07em;
  margin-bottom: 0.13em;
  letter-spacing: 0.01em;
}
.gallery-images figcaption span {
  font-size: 0.95em;
  color: #15171c;
}

footer {
  text-align: center;
  padding: 1em 1em 1em 1em;
  font-size: 1em;
  background: none;
  color: #9094a6;
}

.footer-social {
  margin-bottom: 1em;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}
.footer-social a {
  color: #9094a6;
  text-decoration: none;
  font-size: 1em;
  border-radius: 4px;
  padding: 0.2em 0.7em;
  transition: background .15s, color .15s;
}
.footer-social a:hover {
  color: #fff;
  background: #1a73e8;
}

.footer-newsletter .newsletter-form {
  background: none;
  padding: 2em 1.5em 1.5em 1.5em;
  max-width: 360px;
  margin: 2em auto 0 auto;
  text-align: center;
  display: block;
  font-family: 'Intel One Mono', sans-serif
}
.footer-newsletter .newsletter-label {
  display: block;
  font-size: 1.08em;
  margin-bottom: 1em;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #15171c;
  font-family: 'Intel One Mono', sans-serif;
}
.footer-newsletter .newsletter-fields {
  display: flex;
  gap: 0.5em;
  margin-bottom: 0.75em;
}
.footer-newsletter .newsletter-input {
  flex: 1;
  padding: 0.75em 1em;
  border: none;
  font-size: 1em;
  background: #f5f6fa;
  color: #15171c;
  outline: none;
  font-family: 'Intel One Mono', sans-serif;
  transition: box-shadow 0.2s, border 0.2s;
  box-shadow: 0 1px 4px rgba(26,115,232,0.08);
}
.footer-newsletter .newsletter-input:focus {
  box-shadow: 0 2px 8px rgba(26,115,232,0.18);
  border: 1.5px solid #1a73e8;
}
.footer-newsletter .newsletter-btn {
  padding: 0.75em 1.3em;
  border: none;
  background: linear-gradient(90deg,#15171c 0%,#15171c 100%);
  color: #f5f6fa;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(26,115,232,0.10);
}
.footer-newsletter .newsletter-btn:hover,
.footer-newsletter .newsletter-btn:focus {
  box-shadow: 0 2px 8px rgba(26,115,232,0.16);
  transform: scale(1.1);
  transition: box-shadow .2s, transform 0.19s;
}
.footer-newsletter .newsletter-caption {
  margin-top: 0.5em;
  font-size: 0.93em;
  color: #a6adc8;
  font-family: 'Intel One Mono', sans-serif;
}
.footer-copyright {
font-family: 'BebasNeue', sans-serif;
}

@media (max-width: 1200px) {
  main,
  .image-gallery {
    max-width: 98vw;
  }
}

@media (max-width: 700px) {
  .header-container {
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.5rem 1rem;
    min-height: 0;
  }
  .header-nav {
    position: static;
    left: unset;
    top: unset;
    transform: none;
    gap: 1.2rem;
    font-size: 1.05em;
  }
  .header-social {
    position: static;
    right: unset;
    top: unset;
    transform: none;
    justify-content: center;
    margin-top: 0.5rem;
  }
  main {
    padding: 1.2rem 0.5rem;
    margin: 1.4rem 0;
  }
}

/* Responsive for gallery and newsletter form */
@media (max-width: 800px) {
  .gallery-images {
    gap: 1.1em;
  }
}
@media (max-width: 600px) {
  .image-gallery {
    padding: 0em 0.1em 1em 0.1em;
  }
  .gallery-images {
    flex-direction: column;
    gap: 1.5em;
    align-items: center;
  }
  .gallery-images figure {
    max-width: 96vw;
    width: 100%;
    padding: 0.7em 0.4em 0.6em 0.4em;
  }
  .gallery-images img {
    max-width: 94vw;
    max-height: 200px;
  }
  .header-social {
    right: unset;
  }
}

@media (max-width: 480px) {
  .footer-newsletter .newsletter-form {
    padding: 0em 0.5em 1em 0.5em;
    max-width: 100%;
  }
  .footer-newsletter .newsletter-fields {
    flex-direction: column;
    gap: 0.3em;
  }
  .footer-newsletter .newsletter-input,
  .footer-newsletter .newsletter-btn {
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  .gallery-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
  }

  .gallery-row img {
    max-width: 94vw;
    max-height: 200px;
  }
