@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #009739;
  --secondary-color: #ffcc29;
  --accent-color: #0077b6;
  --background-color: #f9f9f9;
  --text-color: #333333;
}

html {
  scroll-behavior: smooth;
}

nav,
body {
  font-family: "Roboto", sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: "Open Sans", sans-serif;
}

header {
  width: 100%;
  height: 5vh;
  line-height: 5vh;
  background-color: var(--text-color);
  color: var(--background-color);
  text-align: center;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 1rem 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--accent-color);
  padding: 0.313rem 0.625rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

button,
a.cta {
  background-color: var(--secondary-color);
  color: #000;
}

a:hover {
  color: var(--primary-color);
}

.banner-image {
  width: 100%;
  height: 60vh;
  overflow: hidden;
  opacity: 100%;
  position: relative;
}

.banner-text {
  position: absolute;
  right: 1%;
  bottom: 5%;
  color: white;
  font-size: large;
  background-color: #333333;
  opacity: 90%;
  padding: 1rem;
  border-radius: 10px;
  font-family: "Oswald", sans-serif;
  letter-spacing: 1px;
}

.banner-text h1 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.banner-text p {
  font-size: 1.2rem;
  font-weight: 300;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-cta {
  margin-top: 20px;
  padding: 15px 40px;
  background-color: var(--secondary-color);
  color: green;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s;
}

.banner-cta:hover {
  transform: scale(1.05);
}

.featured-articles {
  padding: 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-articles h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-color);
  font-family: "Bebas Neue", cursive;
  letter-spacing: 2px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.article-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.article-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-content ul {
  padding: 1rem;
  line-height: 2;
  font-family: Arial, Helvetica, sans-serif;
}

.category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary-color);
  display: inline-block;
  margin-bottom: 1rem;
}

.article-card h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  min-height: 3.5rem;
  flex: 1;
}

.read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.313rem;
  border-radius: 5px;
}

.read-btn::before {
  content: "☰";
  font-size: 1rem;
}

.read-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

#rio {
  background-color: #2dbd6e;
  color: white;
  display: grid;
  justify-content: center;
  padding: 1rem 2rem;
  margin: 0 auto;
}

#rio h2 {
  text-align: center;
  padding: 1rem;
}

#amazon {
  background-color: var(--background-color);
  color: var(--text-color);
  display: grid;
  justify-content: center;
  padding: 1rem 2rem;
  margin: 0 auto;
}

#amazon h2 {
  text-align: center;
  padding: 1rem;
}

#culture {
  background-color: var(--secondary-color);
  color: var(--text-color);
  display: grid;
  justify-content: center;
  padding: 1rem 2rem;
  margin: 0 auto;
}

#culture h2 {
  text-align: center;
  padding: 1rem;
}

#travel-guides {
  margin-top: 1rem;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-around;
  padding: 1rem 2rem;
  margin: 0 auto;
}

#travel-guides-intro {
  display: grid;
  justify-items: center;
  align-items: center;
  margin-top: 1rem;
  max-width: 1200px;
  text-align: justify;
  padding: 1rem 2rem;
  margin: 0 auto;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

#travel-guides-intro p {
  margin-top: 1rem;
  text-align: center;
  padding: 1rem 2rem;
  font-family: "Bebas Neue", cursive;
}

.round-top {
  border-radius: 5px 5px 0 0;
}

.round-bottom {
  border-radius: 0 0 5px 5px;
  margin-bottom: 2rem;
}

.destination-card {
  display: flex;
  color: var(--text-color);
  align-items: center;
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 400px;
}

.destination-card p {
  margin: 0;
  width: 50%;
  padding: 2rem;
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.8;
  display: flex;
  align-items: center;
}

.destination-card img {
  width: 50%;
  height: 100%;
  object-fit: cover;
}

footer {
  display: flex;
  padding: 2rem;
  justify-content: space-around;
  background-color: #000000;
  color: var(--background-color);
}

footer img {
  width: 20%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}

footer ul {
  list-style: none;
}

footer ul li {
  padding: 0.313rem;
}
footer ul a {
  color: var(--background-color);
  text-decoration: none;
}

.copyright {
  display: flex;
  justify-content: center;
  align-items: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.585rem;
  margin-top: 1rem;
  max-width: 1200px;
  width: 70%;
}

label {
  font-weight: bold;
}

input,
textarea {
  padding: 0.585rem;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1rem;
  width: 100%;
}

textarea {
  resize: vertical;
  height: 120px;
}

button {
  background-color: #00796b;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 50%;
  margin: 1rem;
  align-self: center;
}

button:hover {
  background-color: #004d40;
}
/* Responsiveness: */

@media (max-width: 768px) {
  .banner-image {
    height: 50vh;
  }

  .banner-text {
    right: 5%;
    bottom: 5%;
    transform: translateY(-50%);
    text-align: center;
  }

  .banner-text h1 {
    font-size: 2rem;
  }

  .banner-text p {
    font-size: 0.9rem;
  }

  .banner-cta {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  nav ul {
    display: grid;
    justify-items: center;
    align-items: center;
    list-style: none;
    padding: 0;
  }

  header p {
    font-size: 0.9rem;
  }

  .banner-text h1 {
    font-size: 1.5rem;
  }

  .banner-text p {
    font-size: 0.8rem;
  }

  .article-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }

  footer {
    display: grid;
  }

  footer img {
    margin-top: 1rem;
  }

  footer ul {
    margin-top: 2rem;
  }

  .copyright {
    margin-top: 1rem;
  }

  .destination-card {
    display: grid;
    margin-top: 1rem;
  }
  .destination-card img {
    width: 100%;
  }
  .destination-card p {
    width: 100%;
  }

  #travel-guides {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }
}
