#maps a {
  color: var(--red-one);
}

.content {
  background-color: var(--purple-one);
}

.maps {
  position: relative;
  height: 100%;
  background-color: rgb(240, 240, 240);
  background-color: var(--purple-one);
}

.maps-top {
  position: relative;
  height: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0px 14px 10px rgba(0, 0, 0, 0.65));
}

.maps-top-shape {
  position: absolute;
  height: 700px;
  width: 100%;
  background-color: var(--white-one);
  clip-path: polygon(0 0, 100% 0, 100% 55%, 85% 35%, 15% 35%, 0 55%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.maps-title {
  position: absolute;
  top: 20%;
  font-family: "Perfect Dark";
  font-size: var(--super-size);
  text-align: center;
  padding-inline: var(--largest-size);
  filter: drop-shadow(3px 4px 5px var(--red-two));
}

.maps-bottom {
  height: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0px -14px 10px rgba(0, 0, 0, 0.65));
}

.maps-bottom-shape {
  bottom: 0;
  position: absolute;
  height: 700px;
  width: 100%;
  background-color: var(--white-one);
  clip-path: polygon(15% 65%, 85% 65%, 100% 45%, 100% 100%, 0 100%, 0 45%);
}

.maps-container {
  max-width: 1300px;
  padding: 20px var(--super-size);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--largest-size);
  margin: 0 auto;
}

.map-card {
  background: var(--white-one);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  clip-path: polygon(
    20px 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    20px 100%,
    0 calc(100% - 20px),
    0 20px
  );
}

.map-image-container {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.9);
}

.map-content {
  padding: 20px;
}

.map-name {
  font-family: "Bruce Forever";
  font-size: var(--normal-size);
  text-transform: uppercase;
  color: var(--purple-one);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.map-description {
  font-family: "Inter SemiBold";
  color: #555;
  line-height: 1.5;
}

.map-card:hover {
  transform: translateY(-10px);
}

.map-card:hover .map-image {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.map-card:hover .map-name {
  color: var(--red-one);
}

.footer-section {
  margin-top: -100px;
  position: relative;
  z-index: 100;
}

@media (max-width: 1024px) {
  .maps-title {
    font-size: calc(var(--super-size) * 0.8);
  }
}

@media (max-width: 768px) {
  .maps-top {
    height: 300px;
  }

  .maps-top-shape {
    height: 600px;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 85% 35%, 15% 35%, 0 50%);
  }

  .maps-bottom {
    height: 300px;
  }

  .maps-bottom-shape {
    height: 600px;
    clip-path: polygon(15% 65%, 85% 65%, 100% 50%, 100% 100%, 0 100%, 0 50%);
  }

  .maps-title {
    font-size: calc(var(--super-size) * 0.6);
  }

  .maps-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .map-name {
    font-size: calc(var(--normal-size) * 0.8);
  }

  .map-description {
    font-size: calc(var(--normal-size) * 0.7);
  }
}

@media (max-width: 430px) {
  .maps-container {
    padding-inline: 40px;
    row-gap: 50px;
  }

  .maps-top {
    height: 250px;
  }
  .maps-top-shape {
    height: 500px;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 85% 35%, 15% 35%, 0 45%);
  }

  .maps-bottom {
    height: 250px;
  }

  .maps-bottom-shape {
    height: 500px;
    clip-path: polygon(15% 65%, 85% 65%, 100% 55%, 100% 100%, 0 100%, 0 55%);
  }

  .maps-title {
    font-size: calc(var(--super-size) * 0.5);
  }
}

@media (max-width: 320px) {
  .maps-title {
    font-size: calc(var(--super-size) * 0.5);
  }

  .maps-container {
    padding-inline: 20px;
  }
}
