:root {
  --primary-color: #284B63;
  --secondary-color: #D9D9D9;
  --accent1-color: #353535;
  --accent2-color: #D81E5B;
  --heading-font: 'Carlito', sans-serif;
  --body-font: 'Roboto', sans-serif;
}

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

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

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

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

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

/* Header */
header {
  background-color: var(--primary-color);
  padding: 12px 0;
  color: var(--secondary-color);
}

.logo-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-nav .logo {
  width: 100px;
  height: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: var(--accent2-color);
}

/* Team Section */
.team {
  margin: 32px auto;
  text-align: center;
}

.team h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.team-members {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
}

.team figure {
  flex: 1 1 200px;
  max-width: 200px;
  text-align: center;
}

.team img {
  width: 100%;
  border-radius: 8px;
  border: 2px solid var(--secondary-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.team figcaption {
  margin-top: 8px;
  font-weight: bold;
}

/* Contact Grid */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 16px;
}

/* Contact Form */
.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 12px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid var(--secondary-color);
  border-radius: 4px;
  margin-top: 6px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  margin-top: 20px;
  padding: 10px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: var(--accent2-color);
}

.radio-group {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  margin-left: 8px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Newsletter & Map */
.newsletter-map {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 16px;
}

.newsletter,
.map {
  flex: 1 1 300px;
}

.newsletter input[type="email"] {
  padding: 10px;
  border: 1px solid var(--secondary-color);
  border-radius: 4px;
  margin-bottom: 12px;
}

.newsletter button {
  padding: 10px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

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

.map iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 6px;
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background-color: var(--accent2-color);
  color: var(--secondary-color);
  margin-top: 40px;
}

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

footer .socialmedia a img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
  transition: transform 0.2s ease;
}

footer .socialmedia a img:hover {
  transform: scale(1.1);
}

footer a {
  color: white;
  text-decoration: underline;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .logo-nav {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .team-members {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-map {
    flex-direction: column;
  }

  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }


}/* === INDEX PAGE FIXES === */

/* Hero section layout */
.hero {
  position: relative;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.herotext {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: 8px;
}

.herotext h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-button {
  background-color: #ff6600;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #cc5200;
}

/* Mission section */
.mission {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 800px;
  margin: auto;
}

/* Featured Trips */
.featured-trips {
  padding: 3rem 1rem;
  text-align: center;
}

.trip-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.trip-cards figure {
  width: 300px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
}

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

.trip-cards figcaption {
  padding: 0.75rem;
  font-weight: bold;
  background-color: #f4f4f4;
}

.trips-link {
  margin-top: 2rem;
}

.trips-link a {
  font-weight: bold;
  color: #0077cc;
  text-decoration: none;
}

.trips-link a:hover {
  text-decoration: underline;
}

/* Newsletter */
.newsletter {
  background-color: #f9f9f9;
  padding: 3rem 1rem;
  text-align: center;
}

.newsletter form {
  margin-top: 1rem;
}

.newsletter input[type="email"] {
  padding: 0.75rem;
  width: 250px;
  max-width: 80%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.newsletter button {
  padding: 0.75rem 1.5rem;
  margin-left: 0.5rem;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.newsletter button:hover {
  background-color: #005fa3;
}

/* Responsive */
@media (max-width: 768px) {
  .trip-cards {
    flex-direction: column;
    align-items: center;
  }

  .herotext h1 {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 0.5rem 1rem;
  }
}

/* === NAVIGATION BAR FIX === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

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

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0077cc;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }
}

header {
  background-color: #3b82f6; /* the blue background */
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: bold;
}

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

.logo {
  height: 50px;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}
.newsletter-form input,
.newsletter-form button {
  flex: 1 1 200px;
  max-width: 250px;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 2rem;
  background-color: #f0f8ff;
}
.cta-section h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Trip Grid */
.trip-descriptions .trip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem 1rem;
}
.trip-grid figure {
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  background: white;
}
.trip-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.trip-grid figcaption {
  padding: 1rem;
  background-color: #f9f9f9;
}

/* Table Styles */
.table-container {
  padding: 2rem 1rem;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 1rem;
  text-align: left;
  border: 1px solid #ddd;
}
th {
  background-color: var(--primary-color);
  color: white;
}

header, footer {
  width: 100%;
  background-color: var(--primary-color); 
  color: white; 
  padding: 1rem 0;
}

header .logo-nav,
footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.team img {
  width: 250px;     
  height: 180px;     
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.team img:hover {
  transform: scale(1.05);
}

.team {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  text-align: center;
}



