html {
  scroll-padding-top: 60px;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Alexandria', sans-serif;
  line-height: 1.6;
  margin: 0;
  scroll-behavior: smooth;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}


.about-intro {
    align-items: center;
    display: flex;
}

.about-logo-box {
  align-items: center;
  background: #000;
  display: flex;
  height: 125px;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.about-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.about-subheader {
  font-weight: 250;
  font-size: 2rem;
  text-align: center;
}

.about-text {
  flex: 1;
  font-weight: 200;
  text-align: justify;
}

.about-values-box {
  align-items: center;
  background: #000;
  display: flex;
  height: 250px;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.about-values-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-details {
    color: #fff;
    font-weight: 200;
    text-decoration: none;
}

.footer {
  background: #000;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

.highlight {
  color: #fff;
  font-weight: 400;
}

.logo-img {
  height: 100%;
  max-height: 40px;
  object-fit: contain;
}

.navbar {
  align-items: center;
  background: #000;
  border-bottom: 1px solid #fff;
  color: white;
  display: flex;
  flex-wrap: nowrap;
  height: 50px;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  position: sticky;
  top: 0;
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-links {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.nav-links a {
  color: white;
  font-weight: 300;
  padding: 0 1rem;
  position: relative;
  text-decoration: none;
}

.nav-links a + a {
  border-left: 1px solid #fff;
}

.owners {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.owner-card {
  flex: 1 1 45%;
  padding-top: 1rem;
  text-align: center;
}

.owner-card h3 {
    font-weight: 400;
    margin-bottom: 0px;
}

.owner-description {
    font-weight: 200;
    text-align: left;
}

.owner-link {
  display: inline-block;
  margin-top: 1rem;
  color: #007acc;
  text-decoration: none;
  font-weight: 500;
}

.owner-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid #999;
}

.owner-position {
    font-weight: 200;
    font-size: 1.2rem;
    font-style: italic;
    margin-top: 0px;
    text-align: center;
}

.project-list {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;  
  gap: 3rem;
}

.project-card {
  text-align: center;
}

.project-image-box {
  align-items: center;
  border: 3px solid #fff;
  border-radius: 3px;
  display: flex;
  height: 500px;
  justify-content: center;
  overflow: hidden;
  width: 500px;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: none;
}

.project-name {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0px;
}

.project-description {
    font-weight: 200;
    font-size: 1.2rem;
    margin-top: 0px;
    margin-bottom: 0px;
}

.project-director {
    font-weight: 200;
    font-size: 1.2rem;
    margin-top: 0px;
}

.project-link {
  display: inline-block;
  margin-top: 1rem;
  color: #007acc;
  text-decoration: none;
  font-weight: 500;
}

.section {
  border-top: 1px solid #fff;
  margin: auto;
  max-width: 800px;
  padding: 3rem 2rem;
}

.section:first-of-type {
  border-top: none;
}

.section h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 3rem;
  text-align: center;
}

.values-subsection {
  margin: 2rem 0 4rem 0;
}

.values-heading {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 2rem;
  text-align: center;
  color: #fff;
}

.values-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.values-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.row-1 .value-card {
  flex: 1 1 22%;
  max-width: 200px;
}

.row-2 .value-card {
  flex: 1 1 20%;
  max-width: 200px;
}

.value-card {
  text-align: center;
}

.value-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.value-card h4 {
  font-weight: 400;
  margin: 0;
}

.value-card p {
  font-weight: 200;
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 768px) {
  /* Navbar adjustments */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
  }

  .hamburger {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    color: white;
    padding-top: 0.5rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 1rem;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 0.5rem 0;
    border-top: 1px solid #fff;
  }

  .nav-links a + a {
    border-left: none;
  }

  /* About section layout */
  .about-intro {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

  /* Owners */
  .owners {
    flex-direction: column;
    align-items: center;
  }

  .owner-card {
    width: 100%;
    max-width: 100%;
  }

  .owner-description {
    text-align: center;
  }

  /* Projects */
  .project-image-box {
    width: auto;
    height: auto;
  }

  .project-list {
    gap: 2rem;
  }

  /* Values */

  .values-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .row-1 .value-card:nth-child(1) {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .row-1 .value-card:nth-child(2),
  .row-1 .value-card:nth-child(3),
  .row-2 .value-card {
    flex: 1 1 45%;
    max-width: 45%;
  }

  /* General layout padding */
  .section {
    padding: 2rem 1rem;
  }

  .section h2 {
    font-size: 2rem;
  }

  .project-name {
    font-size: 1.5rem;
  }

  .project-director,
  .owner-position {
    font-size: 1rem;
  }

  .owner-photo {
    width: 120px;
    height: 120px;
  }
}

