body {
  font-family: "Poppins", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
}

header {
  background: linear-gradient(rgba(0, 150, 136, 0.8), rgba(0, 150, 136, 0.8)),
              url('Aurora-borealis-peninsula-Snaefellsnes-Iceland-March-2013.webp') center/cover no-repeat;
  color: white;
  padding: 4rem 1rem;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.1rem;
}

nav {
  background-color: #00796b;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
  color: #ffeb3b;
  transform: scale(1.1);
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background-color: #fff;
  gap: 2rem;
}

section {
  max-width: 800px;
  text-align: center;
  background: #e0f2f1;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
}

button {
  background-color: #00796b;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #004d40;
}

footer {
  background-color: #263238;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  header {
    padding: 2.5rem 1rem;
  }

  header h1 {
    font-size: 1.8rem;
  }

  nav {
    flex-direction: column;
    padding: 1rem 0.5rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  section {
    padding: 1.2rem;
  }

  button {
    width: 100%;
    font-size: 1rem;
  }

  footer {
    font-size: 0.85rem;
  }
}
@media (max-width: 900px) {
  header h1 {
    font-size: 2rem;
  }

  nav ul {
    gap: 1.5rem;
  }

  section {
    padding: 1.5rem;
  }

  section img {
    max-width: 95%;
  }
}

@media (min-width: 901px) {
  main {
    padding: 4rem 2rem;
  }

  section {
    max-width: 900px;
  }

  header h1 {
    font-size: 2.8rem;
  }
}
nav a.active {
  color: #ffeb3b;
  border-bottom: 2px solid #ffeb3b;
}
/* Improve section visuals */
section {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Buttons animation */
button {
  background-color: #00796b;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #004d40;
  transform: scale(1.05);
}

/* Star rating animation (Reviews page) */
.star {
  font-size: 2rem;
  cursor: pointer;
  color: #ccc;
  transition: color 0.3s, transform 0.2s;
}

.star:hover,
.star.active {
  color: #ffeb3b;
  transform: scale(1.2);
}

/* Navigation hover polish */
nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #ffeb3b;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}
