/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary: #0e63f4;
  --secondary: #d71920;
  --accent: #f7b500;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
}

body {
  background-color: #f5f7fa;
  color: var(--dark);
  line-height: 1.6;
}

/* Tablet */
@media (max-width: 992px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns */
  }
}

/* Mobile */
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
    /* single column stack */
  }

  .search-btn {
    width: 100%;
    padding: 12px;
    font-size: 20px;
  }
}


.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: #0d3a6b;
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: #b51016;
}

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: var(--primary);
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  color: #003366;
}

.logo img {
  height: 40px;
  margin-right: 8px;
}

/* Nav Menu */
nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #f26522;
}

/* Phone Section */
.phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #003366;
  font-size: 15px;
}

.phone i {
  color: #f26522;
  font-size: 20px;
}

.phone .number {
  font-size: 18px;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #003366;
}

@media (max-width: 900px) {
  nav {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  nav ul {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }

  nav.active {
    display: block;
  }

  .menu-toggle {
    display: block;
  }
}

.logo-menu {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.phone a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 12px;
  transition: color 0.3s ease;
}

@media screen and (max-width: 768px) {
  .logo-menu {
    width: 100%;
    gap: 15px;
  }
}


/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url('../images/bg2.jpg') no-repeat center center/cover;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  text-align: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Booking Form */
.booking-form {
  background-color: white;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.form-submit {
  text-align: center;
  margin-top: 20px;
}

/* form */

.form-container {
  background: #f2faff;
  border-radius: 15px;
  padding: 20px 25px;
  max-width: 1200px;
  margin: auto;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.trip-type {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 16px;
  color: #003366;
}

.trip-type label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* 5 equal columns */
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* desktop: 5 columns */
  gap: 12px;
}

.form-group {
  position: relative;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 6px;
  font-weight: 600;
  padding-left: 32px;
  /* space for icon */
  position: relative;
}

.form-group i {
  position: absolute;
  left: 8px;
  top: 15px;
  /* aligns with input/textarea */
  color: #003366;
  font-size: 18px;
  z-index: 2;
  pointer-events: none;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 12px 12px 36px;
  /* left padding for icon */
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 0;
  background: #fff;
  resize: none;
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

.search-btn {
  background: #003366;
  color: #fff;
  font-size: 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}

.search-btn:hover {
  background: #0055aa;
}

/* Responsive */
@media (max-width: 992px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}


/* Features Section */
.features {
  background-color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

/* Popular Routes */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.route-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.route-card:hover {
  transform: translateY(-5px);
}

.route-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.route-content {
  padding: 20px;
}

.route-content h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.route-details {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  color: var(--gray);
}

/* Testimonials */
.testimonials {
  background-color: var(--light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ddd;
  margin-right: 15px;
  overflow: hidden;
}



/* destination */


.destinations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 16 / 9;
  /* ✅ Keeps same height ratio for all */
  display: flex;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ✅ Makes sure all images fill evenly */
  display: block;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.1);
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.overlay i {
  color: #ff4d4d;
}

@media (max-width: 600px) {

  .overlay {
    font-size: 14px;
  }
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  color: white;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 15px;
  }

  nav ul {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 5px 10px;
  }

  .auth-buttons {
    margin-top: 15px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .section {
    padding: 40px 0;
  }
}

/* about us  */
.about-us {
  background-color: #fff;
}

.about-us p {
  text-align: center;
}

/* Contact Info List Styling */
.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.contact-info ul li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 17px;
  color: var(--dark);
}

.contact-info ul li i {
  margin-right: 10px;
  color: var(--primary);
  font-size: 20px;
}

.contact-info ul li a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info ul li a:hover {
  color: var(--secondary);
}