* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  overflow-x: hidden;
}

.hero {
  position: relative;
  height: 100vh;
  background-image: url("/assets/images/bg1-main.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 1.25rem;
}

h1 {
  font-size: clamp(1.25rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.5);
  margin-bottom: 1.25rem;
}

.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 300;
  text-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.5);
  margin-bottom: 3.75rem;
  opacity: 0.95;
}

.cards-container {
  display: flex;
  gap: 1.875rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 1.25rem;
  max-width: 75rem;
}

.card {
  position: relative;
  width: 17.5rem;
  height: 25rem;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.3);
  background-size: cover;
  background-position: center;
}
.wamphula {
  background-image: url("/assets/images/Ilha4.jpeg");
}
.e_guia {
  background-image: url("/assets/images/vilacapriho.jpeg");
}
.fikani {
  background-image: url("/assets/images/montanha-min.png");
}
.card:hover {
  transform: translateY(-0.625rem);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.4);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  position: absolute;
  bottom: 1.875rem;
  left: 1.875rem;
  z-index: 2;
  color: white;
}

.card-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 48rem) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 3.75rem 0;
  }

  .cards-container {
    gap: 1.25rem;
  }

  .card {
    width: calc(100% - 2.5rem);
    max-width: 25rem;
    height: 18.75rem;
  }

  .subtitle {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 30rem) {
  .card {
    height: 15.625rem;
  }

  .card-content {
    bottom: 1.25rem;
    left: 1.25rem;
  }

  .card-title {
    font-size: 1.5rem;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #017f82;
  backdrop-filter: blur(0.625rem);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 0.125rem 1.25rem rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 87.5rem;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.0625rem;
}

.nav-back {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  border: 0.125rem solid rgba(255, 255, 255, 0.3);
  border-radius: 2rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.nav-back:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}
