* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #ffffff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* HEADER */

.header {
  height: 82px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #111;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  color: #111;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  position: relative;
}

.nav a.active::after {
  content: "";
  width: 100%;
  height: 3px;
  background: #f5a800;
  position: absolute;
  left: 0;
  bottom: -12px;
}

.admin-icon {
  width: 42px;
  height: 42px;
  border: 1.5px solid #111;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px !important;
}

.quote-btn {
  background: #f5a800;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800 !important;
}

/* HERO */

.hero {
  text-align: center;
  padding: 6px 0 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #777;
  font-size: 14px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(48px, 6vw, 86px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -3px;
  margin-bottom: 22px;
}

.subtitle {
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1.2;
  margin-bottom: 48px;
}

.subtitle span {
  color: #f5a800;
}

/* CAROUSEL */

.carousel-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow: hidden;
}

.carousel {
  width: min(1100px, 78vw);
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  overflow: hidden;
}

.project-card {
  position: relative;
  flex: 0 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #eee;
  transition: all 0.45s ease;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.68), rgba(0,0,0,.05), transparent);
}

.project-info {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: #fff;
  text-align: left;
}

.project-info h2 {
  font-size: 25px;
  margin-bottom: 8px;
}

.project-info p {
  font-size: 15px;
  opacity: .95;
}

.project-arrow {
  position: absolute;
  right: 20px;
  bottom: 24px;
  z-index: 3;
  width: 46px;
  height: 46px;
  background: #fff;
  color: #111;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  text-decoration: none;
}

/* Different card sizes like Nik */

.card-center {
  width: 360px;
  height: 500px;
  opacity: 1;
  transform: scale(1);
}

.card-near {
  width: 270px;
  height: 400px;
  opacity: 1;
}

.card-far {
  width: 125px;
  height: 300px;
  opacity: .75;
}

.card-hidden {
  display: none;
}

/* SIDE BUTTONS */

.slider-btn {
  display: none;
}

.slider-btn:hover {
  opacity: .8;
}

.bottom-controls {
  margin-top: 22px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.bottom-controls button {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  font-size: 35px;
  cursor: pointer;
}

/* FOOTER */

.footer {
  margin: 52px 7% 0;
  padding: 28px 0;
  border-top: 1px solid #d8d8d8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 14px;
}

.footer strong {
  color: #111;
  font-size: 18px;
}

.footer p {
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 34px;
}

.footer-links a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
}

/* MOBILE */

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .header {
    height: auto;
    padding: 22px 6%;
    flex-direction: column;
    gap: 18px;
  }

  .logo {
    font-size: 21px;
  }

  .nav {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .quote-btn {
    padding: 11px 18px;
  }

  .admin-icon {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 48px;
    letter-spacing: -2px;
  }

  .subtitle {
    font-size: 24px;
    padding: 0 20px;
    margin-bottom: 32px;
  }

  .carousel-wrapper {
    gap: 8px;
  }

  .carousel {
    width: 100vw;
    height: 390px;
    gap: 12px;
  }

  .card-center {
    width: 230px;
    height: 350px;
  }

  .card-near {
    width: 155px;
    height: 280px;
  }

  .card-far {
    width: 70px;
    height: 220px;
  }

  .project-info {
    left: 18px;
    right: 18px;
    bottom: 20px;
  }

  .project-info h2 {
    font-size: 20px;
  }

  .project-info p {
    font-size: 13px;
  }

  .project-arrow {
    width: 38px;
    height: 38px;
    font-size: 23px;
    right: 14px;
    bottom: 18px;
  }

  .slider-btn {
    display: none;
  }

  .bottom-controls {
    margin-top: 10px;
  }

  .footer {
    margin: 32px 6% 0;
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .footer-links {
    gap: 22px;
  }
}