* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: #f7f7f7;
  color: #111;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.project-header {
  height: 90px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
}

.project-logo img {
  height: 68px;
}

.back-link {
  font-weight: 800;
  color: #111;
}

.back-link i {
  color: #c1121f;
  margin-right: 8px;
}

.project-hero {
  min-height: 360px;
  background:
    linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.68)),
    url("images/hero.jpeg") center center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 70px 6%;
  color: #fff;
}

.project-hero-content {
  max-width: 850px;
}

.project-hero span {
  display: inline-block;
  background: #c1121f;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.project-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 58px;
  line-height: 1;
  margin-bottom: 18px;
}

.project-hero p {
  font-size: 19px;
  line-height: 1.7;
  color: #eee;
}

.project-section {
  padding: 80px 0;
}

.project-layout {
  width: min(1200px, 92%);
  margin: auto;
  display: grid;
  gap: 40px;
}

.project-gallery {
  background: #fff;
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

#main-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 22px;
}

.thumbs {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.thumbs img {
  height: 95px;
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  opacity: .65;
  transition: .3s;
}

.thumbs img:hover,
.thumbs img.active {
  opacity: 1;
  transform: scale(1.04);
}

.project-info {
  background: #111;
  color: #fff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

.project-info h2 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin-bottom: 25px;
}

.info-box {
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
}

.info-box strong {
  display: block;
  color: #c1121f;
  margin-bottom: 6px;
}

.info-box span {
  color: #eee;
}

.btn-primary,
.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 40px;
  font-weight: 800;
  margin-top: 18px;
}

.btn-primary {
  background: #c1121f;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #111;
}

@media (min-width: 901px) {
  .project-layout {
    grid-template-columns: 1.4fr .8fr;
    align-items: start;
  }
}

@media (max-width: 900px) {
  .project-header {
    height: auto;
    padding: 18px 5%;
    gap: 15px;
  }

  .project-logo img {
    height: 54px;
  }

  .back-link {
    font-size: 14px;
  }

  .project-hero {
    min-height: 300px;
    padding: 55px 6%;
  }

  .project-hero h1 {
    font-size: 40px;
  }

  .project-hero p {
    font-size: 16px;
  }

  .project-section {
    padding: 55px 0;
  }

  #main-photo {
    height: 330px;
  }

  .thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .thumbs img {
    height: 75px;
  }

  .project-info {
    padding: 28px;
  }
}
.project-bottom {
  width: min(1200px, 92%);
  margin: 0 auto 80px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.back-bottom,
.quote-bottom {
  padding: 15px 26px;
  border-radius: 40px;
  font-weight: 800;
}

.back-bottom {
  background: #111;
  color: #fff;
}

.quote-bottom {
  background: #c1121f;
  color: #fff;
}

@media (max-width: 900px) {
  .project-bottom {
    flex-direction: column;
    margin-bottom: 55px;
  }

  .back-bottom,
  .quote-bottom {
    text-align: center;
    width: 100%;
  }
}