/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* Header */

header h1 {
  float: left;
}
/* Navigation Bar */
nav {
  background-color: #ffffff;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Nav List */
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}

/* Nav Items */
nav ul li {
  display: inline-block;
}

/* Nav Links */
nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 16px;
  transition: all 0.3s ease;
  border-radius: 5px;
  position: relative;
}

/* Hover Effect */
nav ul li a:hover {
  background-color: #0077cc;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 119, 204, 0.2);
}

/* Optional: Active link style */
nav ul li a.active {
  background-color: #005fa3;
  color: #fff;
}

header::after {
  content: "";
  display: block;
  clear: both;
}

/* Hero Section */
#hero {
  background: url('assets/images/hero.jpg') no-repeat center center/cover;
  color: white;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
}
.hero-content button {
  padding: 10px 20px;
  font-size: 18px;
  background: #FFC107;
  border: none;
  cursor: pointer;
}

/* Destinations */
#destinations {
  padding: 60px 0;
}
.destinations-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.card {
  flex: 1 1 30%;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card h3 {
  padding: 15px;
}

/* Contact */
#contact {
  padding: 60px 0;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.contact-form button {
  background: #007BFF;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
#form-message {
  margin-top: 10px;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  width: 150px;
  margin-right: 50px;
}

.logo span {
  font-size: 24px;
  font-weight: bold;
  color: white;
}
.card-1 {
  flex: 1 1 30%;
  border: 1px solid #ddd;
  border-radius: 3px;
  overflow: hidden;
  background: white;
}
.card-1 img {
  width: 100%;
  height: 335px;
  object-fit: cover;
}
.card-1 h3 {
  padding: 15px;
}
#hero {
  position: relative;
  height: 100vh; /* full viewport height */
  background-image: url('imgs/image.png'); /* Your image as background */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Optional: dark overlay for better contrast */
#hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Make hero-content appear above the overlay */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Style the button */
.hero-content button {
  padding: 15px 30px;
  font-size: 18px;
  background-color: #25D366;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  /* Move button lower */
  margin-top: 450px; /* increase value as needed */
}

.hero-content button:hover {
  background-color: #1ebe5d;
}
/* Section container */
#ab {
  padding: 60px 20px;
  background-color: #f9f9f9; /* Light background */
  text-align: center;
}

/* Grid layout */
.ab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Card styles */
#ab .card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#ab .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Card images */
#ab .card img {
  width: 40px;
  height: 45px;
  margin-bottom: 15px;
}

/* Card titles */
#ab .card h3 {
  font-size: 22px;
  color: #222;
  margin-bottom: 10px;
}

/* Card text */
#ab .card p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}
.title-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.title-button h3 {
  font-size: 18px;
  margin: 0;
  color: #333;
}

.go-button {
  padding: 6px 15px;
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  
}

.go-button:hover {
  background-color: #1ebe5d;
}
.card-2 {
  flex: 1 1 30%;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: white;

  /* Existing styles like padding, border, etc. */
  text-align: center; /* Center-aligns inline elements like <a> and <button> */
}
.card-2 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-2 h3 {
  padding: 15px;
}


/* Flight Search Section */
.flight-search {
  display: flex;
  justify-content: center;
  margin: 40px auto;
  width: 100%;
}

.search-bar {
  display: flex;              /* horizontal by default */
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  padding: 12px 20px;
  gap: 12px;
  max-width: 1200px;
  width: 100%;
  flex-wrap: nowrap;          /* never stack vertically */
  overflow-x: auto;           /* scroll on small screens */
}

/* Input groups */
.input-group {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 30px;
  padding: 8px 14px;
  flex: 0 0 auto;             /* do not stretch */
  min-width: 150px;
}

.input-group i {
  color: #007bff;
  margin-right: 8px;
  font-size: 15px;
}

.input-group input,
.input-group select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  width: 100%;
}

/* Button */
.search-bar button {
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;             /* don’t stretch */
}

.search-bar button:hover {
  background: #218838;
}












