:root {
  --primary-color: #0077b6;
  --secondary-color: #0077b6;
  --accent1-color: #023e8a;
  --accent2-color: #caf0f8;
  --heading-font: "Merriweather", "Georgia", serif;
  --body-font: "Open Sans", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  color: var(--accent1-color);
  background-color: var(--accent2-color);
}

header, main, footer {
  width: 840px;
  margin: 0 auto;
}

h1, h2 {
  font-family: var(--heading-font);
  color: var(--accent1-color);
}

nav, p, section, article {
  margin: 16px;
  padding: 8px;
}

nav a {
  color: var(--accent1-color);
  text-decoration: none;
  font-weight: bold;
  margin-right: 10px;
}

nav a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.socialmedia a {
  text-decoration: none;
}

.hero {
  position: relative;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
}

h1 {
  position: absolute;
  top: 20px;
  width: 100%;
  padding: 16px;
  text-align: center;
  opacity: 0.8;
  background-color: #fff;
  color: var(--accent1-color);
}

.hero article {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background-color: white;
  padding: 16px;
  border: 2px solid var(--accent1-color);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.hero article img {
  float: right;
  width: 125px;
  margin-left: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  margin-top: 20px;
}

footer .socialmedia {
  display: flex;
  gap: 15px;
}

footer .socialmedia img {
  width: 30px;
}

header {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  background-color: var(--secondary-color);
  padding: 20px;
  border-bottom: 3px solid var(--accent1-color);
}

header img {
  width: 120px;
  height: auto;
}

header nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

header nav a {
  background: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: bold;
  border: 1px solid var(--accent1-color);
}

.history {
  background: white;
  padding: 30px;
  border: 2px solid var(--accent1-color);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: left;
}

.history h2 {
  text-align: center;
  font-family: var(--heading-font);
}

.history-layout {
  display: grid;
  grid-template-columns: 1fr 200px 1fr;
  gap: 10px;
  align-items: center;
}

.history-layout img {
  width: 100%;
  border-radius: 10px;
}

.adventures {
  background: white;
  padding: 30px;
  border: 2px solid var(--accent1-color);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.adventures h2 {
  text-align: center;
  font-family: var(--heading-font);
}

.adventure-gallery {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 15px;
}

.adventure-gallery figure {
  text-align: center;
  width: 18%;
}

.adventure-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.adventure-gallery figcaption {
  margin-top: 8px;
  font-weight: bold;
  font-size: 0.9rem;
}

.company-info {
  text-align: center;
  margin: 2rem auto;
  clear: both;
}

.company-info h1 {
  position: static;
  float: none;
  margin: 0 0 0.5rem;
  text-align: center;
  display: block;
}

.company-info p a {
  text-decoration: none;
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 0 1rem;
}

.map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 70%;
  overflow: hidden;
  border-radius: 0.5rem;
}

.map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.contact-form .form-field {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 0.35rem;
  border: 1px solid #ccc;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1rem;
}

.contact-form legend {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-form fieldset label {
  display: block;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.checkbox-field label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--primary-color);  
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-color);
}

.team-section {
  text-align: center;
  padding: 2rem 1rem 3rem;
  background-color: #f7f7fb;
}

.team-section h2 {
  margin-bottom: 1.5rem;
}


.employee-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.employee-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  flex: 1 1 220px;
  max-width: 260px;
}

.employee-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.5rem;
  display: block;
  margin: 0 auto 0.75rem;
}

.employee-card figcaption {
  font-size: 0.95rem;
}

nav a.active {
  font-weight: 700;
  text-decoration: underline;
}

.radio-option {
  margin-bottom: 0.25rem;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: var(--body-font);
line-height: 1.6;
color: #333;
}

img {
width: 100%;
display: block;
}

header {
background: var(--accent1-color);
color: white;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}

header .logo {
font-size: 1.5rem;
font-weight: bold;
}

nav ul {
list-style: none;
display: flex;
gap: 1rem;
}

nav a {
text-decoration: none;
color: #000;
font-weight: bold;
}

nav a.active,
nav a:hover {
text-decoration: underline;
}

.hero {
position: relative;
width: 840px;
margin: 16px auto;
background: white;
border: 2px solid var(--accent1-color);
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.hero-img {
width: 100%;
height: auto;
object-fit: cover;
border-bottom: 2px solid var(--accent1-color);
}

.hero-text {
position: absolute;
top: 35%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
text-align: center;
color: var(--accent1-color);
font-size: 2rem;
font-family: var(--heading-font);
background: rgba(255,255,255,0.9);
padding: 15px;
border-radius: 8px;
}

.cta {
text-align: center;
padding: 3rem 1rem;
}

.cta h2 {
font-size: 2rem;
margin-bottom: 1rem;
}

.cta-btn {
display: inline-block;
margin-top: 1rem;
padding: 0.75rem 1.5rem;
background: var(--primary-color);
color: white;
text-decoration: none;
border-radius: 5px;
font-size: 1.1rem;
}

.cta-btn:hover {
background: var(--accent1-color);
}

.grid-info {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
padding: 2rem;
max-width: 900px;
margin: auto;
}

.grid-item {
background: #f7f7f7;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.grid-item h3 {
padding: 1rem;
font-size: 1.5rem;
}

.grid-item p {
padding: 0 1rem 1.5rem;
color: #555;
}

.newsletter {
background: var(--accent2-color);
padding: 3rem 1rem;
text-align: center;
}

.newsletter h2 {
margin-bottom: 1rem;
}

.newsletter form {
max-width: 400px;
margin: auto;
display: flex;
flex-direction: column;
gap: 1rem;
}

.newsletter input {
padding: 0.75rem;
border-radius: 4px;
border: 1px solid #aaa;
font-size: 1rem;
}

.newsletter button {
padding: 0.75rem;
background: var(--accent1-color);
color: white;
border: none;
font-size: 1rem;
cursor: pointer;
border-radius: 4px;
}

.newsletter button:hover {
background: var(--primary-color);
}

footer {
background: var(--accent1-color);
color: white;
text-align: center;
padding: 1rem;
margin-top: 2rem;
}

/* =======================
TRIPS PAGE STYLES
======================= */

/* Call to Action Section */
.trips-cta {
  text-align: center;
  padding: 3rem 1rem;
  background-color: var(--accent2-color);
  border-bottom: 2px solid var(--accent1-color);
  margin-bottom: 2rem;
}

.trips-cta h1 {
position: absolute;
top: 20%;
left: 0%;
width: 100%;
text-align: center;
color: var(--accent1-color);
font-size: 2.75rem;
font-family: var(--heading-font);
padding: 10px;
border-radius: 8px;
background-color: #caf0f8;
}

.trips-cta p {
  font-size: 1.25em;
  margin-bottom: 1rem;
}

.trips-cta .cta-btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  border: 2px solid var(--accent1-color);
}

.trips-cta .cta-btn:hover {
  background-color: var(--accent1-color);
}

/* Trip Card Grid Layout */
.trip-grid {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.trip-card {
  background: white;
  border: 2px solid var(--accent1-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding-bottom: 1rem;
}

.trip-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.trip-card h2 {
  font-family: var(--heading-font);
  color: var(--accent1-color);
  font-size: 1.4rem;
  margin: 1rem;
}

.trip-card p {
  margin: 0 1rem 1.2rem;
  color: #444;
}

/* Trips Table */
.trip-table-section {
  max-width: 1000px;
  margin: 2rem auto 4rem;
  padding: 2rem;
  background: white;
  border: 2px solid var(--accent1-color);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.trip-table-section h2 {
  text-align: center;
  font-family: var(--heading-font);
  margin-bottom: 1.5rem;
}

.trip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.trip-table th,
.trip-table td {
  border: 1px solid var(--accent1-color);
  padding: 0.75rem;
  text-align: center;
}

.trip-table th {
  background: var(--secondary-color);
  color: white;
  font-weight: bold;
}
