:root {
  --primary-color: #4059ad;
  --secondary-color: #6b9ac4;
  --accent1-color: #97d8c9;
  --accent2-color: #eff2f1;
  --heading-font: 'Roboto', serif;
}

body {
  font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
}

header {
  display: grid;
  grid-template-columns: 1fr auto; /* Logo on left, nav on right */
  align-items: center;
  background-color: var(--primary-color);
  padding: 1rem;
}

header img {
  padding: 0 90px;
}

nav {
  display: flex;
  gap: 1rem;
  padding: 0 90px;
}

nav a {
  text-decoration: none;
  color: white;
  background-color: var(--secondary-color);
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

nav a:hover {
  background-color: var(--accent1-color);
  color: white; /* Ensuring contrast */
}

.hero {
  position: relative;
}

.hero > img {
  width: 100%;
}

.hero h1 {
  position: absolute;
  top: 1em;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff95;
  padding: 0.5rem;
  border-radius: 5px;
}

.hero article {
  background-color: #ffffff61;
  position: absolute;
  top: 15rem;
  left: 2rem;
  right: 2rem;
}

.hero article img {
  float: right;
  margin: 2rem;
  width: 13rem;
}

.hero article p {
  font-family: 'Raleway', sans-serif; /* Fixed missing comma */
  color: var(--accent2-color);
  font-size: x-large;
  text-align: left;
  padding: 1rem;
  font-weight: 700; /* Removed "px" */
}

.history {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px; /* Space between elements */
  max-width: 900px; /* Adjust width as needed */
  margin: 0 auto; /* Center the section */
  padding: 20px;
  text-align: center;
}

.history h2 {
  position: absolute;
  white-space: nowrap; /* Prevents wrapping */
  font-size: 2rem;
  text-align: center;
  color: black;
}

.history p {
  flex: 1; /* Allows paragraphs to take equal space */
  max-width: 500px; /* Adjust width for readability */
  text-align: justify;
}

.history img {
  width: 100px; /* Fixed invalid width value */
  height: auto;
}

.adventure-images {
  display: flex;
  justify-content: space-around;
  gap: 2rem; /* Adjusted for smaller screens */
  padding: 20px 0;
}

.adventure-images img {
  width: 200px;
  height: auto;
  border-radius: 5px;
}

figure:nth-of-type(odd) {
  background-color: var(--accent1-color);
  color: black;
}

figure:nth-child(even) {
  background-color: var(--secondary-color);
  color: black;
}

figcaption {
  text-align: center;
  padding: 1em 0;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: var(--primary-color); /* Added missing semicolon */
  border-top: 1px solid #ccc;
}

footer p {
  margin: 10px 0;
}

footer a {
  color: var(--primary-color); /* Added missing semicolon */
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end; /* Align to the right */
  width: 100%;
}

.social-icons img {
  width: 3rem;
}

/*******************************************
*
*         CSS for Contact Us   
*
********************************************/

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  margin: 0;
  padding: 0;
}

.top-section {
  display: flex;
  justify-content: space-between;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.form-section {
  flex: 1;
  margin-right: 40px;
}

.map-contact-section {
  flex: 1;
}

h1, h2 {
  color: #808080;
  font-size: 2em;
  margin-bottom: 30px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  background-color: transparent;
  border: 1px solid #444;
  color: #333;
}

.radio-group {
  margin: 20px 0;
}

textarea {
  width: 100%;
  height: 150px;
  background-color: transparent;
  border: 1px solid #444;
  color: #333;
  margin-bottom: 20px;
}

.send-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.gmap {
  width: 100%;
  height: 300px;
  border: none;
  margin-top: 20px;
}

.employee-section {
  text-align: center;
  margin-top: 40px;
}

.employees {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.employee {
  width: 150px;
  text-align: center;
}

.employee img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.employee figcaption {
  margin-top: 10px;
  font-size: 0.9em;
  color: #555;
}

/*******************************************
*
*            Trips CSS    
*
********************************************/

.trip-details {
  padding: 2rem;
  text-align: center;
}

.trip-details table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.trip-details th, .trip-details td {
  border: 1px solid var(--primary-color);
  padding: 0.5rem;
}

.trip-images {
  display: flex;
  justify-content: space-around;
  padding: 2rem;
}

.trip {
  text-align: center;
}

.trip img {
  width: 200px;
  height: auto;
  border-radius: 5px;
}

/*******************************************
*
*           Home Page CSS    
*
********************************************/

.newsletter {
  text-align: center;
  padding: 2rem;
  background: var(--secondary-color)
}

.newsletter form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter input {
  width: 300px;
  padding: 0.5rem;
  border: 1px solid black;
  border-radius: 8px;
}

.newsletter button {
  background-color: var(--accent2-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.cta-button {
  background: var(--accent1-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
}

.grid-item {
  text-align: center;
}

.grid-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}
