* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Container provides a fixed width and centres content */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation bar */
.navbar {
  background-color: #000;
  color: #fff;
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo a {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
}

/* Make the logo container flex so the icon and text align nicely */
.navbar .logo {
  display: flex;
  align-items: center;
}

/* Style for the airplane icon next to the brand text */
.navbar .logo img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.navbar .nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar .nav-links a:hover {
  color: #0f8cd6;
}

.navbar .phone a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  background-color: #0f8cd6;
  padding: 8px 12px;
  border-radius: 4px;
}

/* Hero section */
.hero {
  position: relative;
  height: 60vh;
  /* Use the scenic beach illustration from the vacation planning section as the hero background
   * to maintain consistency and avoid oversized airplane art. This provides a calm yet
   * aspirational backdrop similar to AirfareHouse’s “Vacation planning” banner. */
  background-image: url('images/vacation.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

/* About page hero */
.about-hero {
  /* Reduce height slightly compared to the home page hero */
  height: 40vh;
  /* Use a custom background image for the about page hero */
  background-image: url('images/about-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Contact page hero */
.contact-hero {
  height: 40vh;
  /* Scenic mountain landscape with airplane for the contact page */
  background-image: url('images/contact-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 15px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 24px;
  margin-bottom: 20px;
}

/*
 * Responsive image grid
 *
 * Several pages include a simple image grid showcasing a few of our
 * favourite travel scenes.  The grid automatically adapts to the
 * available width using CSS grid.  Each image fills its cell while
 * maintaining its aspect ratio and has a slight rounded corner to
 * soften the look.  Adjust the gap value to increase or decrease
 * spacing between images.
 */
.image-grid {
  display: grid;
  /* Reduce the minimum width so images display smaller on the page */
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

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

/* Buttons */
.btn-primary {
  background-color: #007bff;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #0056b3;
}

section {
  padding: 60px 0;
}

.what-we-do,
.book-reservation {
  background-color: #f9f9f9;
}

.why-choose-us {
  background-color: #fff;
}

.what-we-do h2,
.why-choose-us h2,
.book-reservation h2,
.about-content h2,
.vacation-planning h2,
.contact-section h2,
.privacy-policy h1,
.terms h1 {
  color: #0f4c81;
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
}

.what-we-do p,
.book-reservation p,
.about-content p,
.vacation-planning p {
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 18px;
}

/* Bullet lists */
.bullet-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.bullet-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 18px;
}

.bullet-list li::before {
  content: '\2022';
  color: #0f8cd6;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 24px;
  line-height: 1;
}

/* Feature grid */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.feature {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 200px;
  max-width: 250px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Add a smooth transition for hover effects on the entire card */
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature .icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: #0f8cd6;
  /* Make the emoji icons appear bolder and set transition for hover */
  font-weight: bold;
  transition: transform 0.3s;
}

.feature h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0f4c81;
}

.feature p {
  font-size: 16px;
  color: #555;
}

/* On hover, gently lift the feature card and enlarge the icon */
.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.feature:hover .icon {
  transform: scale(1.15);
}

.book-reservation .btn-primary {
  margin-top: 20px;
}

/* About page */
.about-content h3 {
  margin-top: 30px;
  color: #0f4c81;
  text-align: center;
}

/*
 * Vacation planning section styles
 * Apply a scenic beach illustration as a background to mirror the inspiration
 * from AirfareHouse while maintaining a clean layout. Colours are adjusted
 * for legibility on top of the image.
 */
/*
 * Vacation planning section
 *
 * Style this block to mirror the look of the “Vacation planning” call‑to‑action
 * from the inspiration site. The entire section has a scenic beach
 * background and a coloured card overlay on the left containing the
 * heading, supporting text and call‑to‑action button. The background image
 * covers the available space, while the card remains legible.
 */
.vacation-planning {
  position: relative;
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
  /* apply the vacation beach illustration as the background */
  background-image: url('images/vacation.jpg');
  background-size: cover;
  background-position: center;
  min-height: 250px;
  display: flex;
  align-items: center;
}

/* The coloured call‑to‑action card overlay */
.vacation-card {
  /* Use a translucent light background so the copy stands out against
     the scenic image like in the inspiration site */
  background-color: rgba(255, 255, 255, 0.8);
  color: #0f4c81;
  padding: 30px;
  border-radius: 8px;
  max-width: 380px;
  margin-left: 40px;
}

.vacation-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 600;
}

.vacation-card p {
  margin: 0;
  line-height: 1.4;
}

.vacation-card .btn-primary {
  margin-top: 20px;
  /* Override primary button colour within the vacation card to match
     the inspiration site’s warm call‑to‑action hue */
  background-color: #f58220;
  color: #fff;
}

/* Contact page */
.contact-section {
  background-color: #f9f9f9;
}

/* Contact page image collage */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

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

/* About page side images */
.about-images {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.about-images img {
  flex: 1;
  width: 50%;
  height: auto;
  border-radius: 8px;
}

/* Book reservation section with image */
.book-reservation .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.book-reservation .content {
  flex: 1;
}

.book-reservation .image-wrapper {
  flex: 1;
}

.book-reservation .image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.contact-section .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.contact-card {
  flex: 1 1 200px;
  max-width: 250px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-card h4 {
  margin-bottom: 10px;
  color: #0f4c81;
}

.contact-card p {
  margin: 0;
  color: #555;
  font-size: 16px;
}

.contact-card a {
  color: #555;
  text-decoration: none;
}

/*
 * Responsive image grid used across pages to showcase travel-themed artwork.
 * Utilises CSS Grid to automatically fit images into columns based on
 * available width. Each image has a subtle border radius and shadow to
 * distinguish it from the background.
 */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.image-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-card a:hover {
  color: #0f8cd6;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.contact-form button {
  background-color: #007bff;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #0056b3;
}

/* Footer */
.footer {
  background-color: #000;
  color: #fff;
  padding: 40px 0 20px;
}

.footer .footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 200px;
  max-width: 250px;
}

.footer-column h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0f8cd6;
}

.footer-column p,
.footer-column a,
.footer-column li {
  font-size: 16px;
  color: #ccc;
  text-decoration: none;
  list-style: none;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #333;
  padding-top: 10px;
  font-size: 14px;
  color: #ccc;
}

/* Footer bottom links */
/*
 * The policy links in the copyright line share the same
 * styling as the surrounding text. To draw more attention to
 * the Privacy Policy link without distracting from the rest of
 * the text, bold the first link and adjust its colour.
 */
.footer-bottom a {
  color: #ccc;
  text-decoration: none;
}

.footer-bottom a:first-of-type {
  font-weight: 600;
  color: #fff;
}

.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}