/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100vh; /* Ensure full viewport height */
}

body {
  font-family: -apple-system, BlinkMacMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: hsl(220, 15%, 25%);
  background-color: var(--foreground); /* Match footer BG to remove white gap */
  margin: 0; /* Ensure no margin below footer */
}

/* Design System Colors */
:root {
  /* Colors */
  --primary: hsl(205, 100%, 36%);
  --primary-foreground: hsl(0, 0%, 100%);
  --primary-light: hsl(205, 100%, 85%);

  --secondary: hsl(25, 95%, 53%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --secondary-light: hsl(25, 95%, 90%);

  --accent: hsl(160, 84%, 39%);
  --accent-foreground: hsl(0, 0%, 100%);
  --accent-light: hsl(160, 84%, 95%);

  --background: hsl(0, 0%, 100%);
  --foreground: hsl(220, 15%, 25%);

  --muted: hsl(220, 13%, 96%);
  --muted-foreground: hsl(220, 9%, 46%);

  --border: hsl(220, 13%, 91%);

  /* Gradients */
  --gradient-ocean: linear-gradient(
    135deg,
    hsl(205, 100%, 36%),
    hsl(195, 100%, 50%)
  );
  --gradient-sunset: linear-gradient(
    135deg,
    hsl(25, 95%, 53%),
    hsl(15, 100%, 62%)
  );
  --gradient-hero: linear-gradient(
    135deg,
    hsl(205, 100%, 36%, 0.9),
    hsl(25, 95%, 53%, 0.8)
  );
  --gradient-card: linear-gradient(
    145deg,
    hsl(0, 0%, 100%),
    hsl(220, 13%, 98%)
  );

  /* Shadows */
  --shadow-card: 0 10px 40px hsla(220, 15%, 25%, 0.08);
  --shadow-hover: 0 20px 60px hsla(220, 15%, 25%, 0.12);

  /* Border Radius */
  --radius: 0.75rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient-ocean {
  background: var(--gradient-ocean);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-sunset {
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Adjusted Headings */
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-title-gradient {
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-travel {
  background: var(--gradient-ocean);
  color: var(--primary-foreground);
  box-shadow: 0 4px 15px hsla(205, 100%, 36%, 0.3);
}

.btn-travel:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px hsla(205, 100%, 36%, 0.4);
}

.btn-hero {
  background: white;
  color: var(--primary);
  font-weight: 600;
}

.btn-hero:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-outline-hero {
  border: 2px solid white;
  color: white;
  background: transparent;
  font-weight: 600;
}

.btn-outline-hero:hover {
  background: white;
  color: var(--primary);
}

.btn-outline {
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-foreground);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-foreground);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.btn-ghost:hover,
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1); /* Transparent with glass effect */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: box-shadow 0.3s ease, background 0.3s ease; /* Transition both shadow and background */
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.1); /* Keep transparent on scroll */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Add shadow only */
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  max-height: 5rem;
  width: auto;
}

.nav-menu {
  display: none;
  gap: 1.5rem;
}

.nav-link {
  color: var(--primary-foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-light);
  transform: translateY(-2px);
}

.nav-actions {
  display: none;
  gap: 1rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle-line {
  width: 1.5rem;
  height: 0.125rem;
  background: var(--primary-foreground);
  transition: all 0.3s ease;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(0.25rem, 0.25rem);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(0.25rem, -0.25rem);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: var(--primary-foreground);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url("src/home_hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 2rem 0;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.9rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.search-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 0; /* Removed margin to adjust button position */
}

.search-field {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Updated dropdown and input field styling */
.search-input {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  color: white;
  font-size: 1rem;
}

/* Dropdown specific styles */
select.search-input {
  /* Hide default arrow and add a custom one */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  /* Adjust position to move the arrow from the right edge */
  background-position: right 0.75rem center;
  /* Add padding to prevent text overlap */
  padding-right: 2.5rem;
}

/* Change dropdown option text color to a dark value */
select.search-input option {
  color: var(--foreground);
  background-color: var(--background);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-btn {
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
}

.scroll-arrow {
  width: 0.25rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 0.125rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Sections */
.destinations,
.services,
.testimonials {
  padding: 5rem 0;
}

.destinations {
  background: var(--gradient-card);
}

.services {
  background: var(--background);
}

.testimonials {
  background: var(--gradient-card);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* Destinations */
.destinations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.destination-card {
  background: var(--background);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.5s ease;
}

.destination-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-hover);
}

.destination-image {
  position: relative;
  overflow: hidden;
}

.destination-image img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destination-card:hover .destination-image img {
  transform: scale(1.1);
}

.destination-rating {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.star-icon {
  width: 1rem;
  height: 1rem;
  color: #fbbf24;
}

.destination-content {
  padding: 1.5rem;
}

.destination-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.destination-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.destination-price {
  font-weight: 600;
  color: var(--primary);
}

.destination-details {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.destination-detail {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.detail-icon {
  width: 1rem;
  height: 1rem;
}

.destination-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background: var(--gradient-card);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--muted);
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon svg {
  width: 2rem;
  height: 2rem;
}

.service-icon-primary svg {
  color: var(--primary);
}

.service-icon-secondary svg {
  color: var(--secondary);
}

.service-icon-accent svg {
  color: var(--accent);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background: var(--background);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-hover);
}

.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2rem;
  height: 2rem;
  color: hsla(205, 100%, 36%, 0.2);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-rating .star-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #fbbf24;
}

.testimonial-text {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-location {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  background: var(--foreground);
  color: var(--background);
  padding: 4rem 0 0;
  margin-top: 0; /* Ensure no gap above footer */
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.contact-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.newsletter-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.newsletter-input {
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--background);
  font-size: 1rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
  align-self: flex-start;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.social-link svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor; /* Ensure all SVGs render with parent color */
  display: inline-block; /* Prevent SVG rendering quirks */
}

.social-link:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem 0;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.legal-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: var(--primary);
}

/* Responsive Design */
@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }

  .nav-actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .section-title {
    font-size: 3.5rem;
  }

  .search-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .search-btn {
    width: auto;
    margin-top: 0;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .newsletter {
    flex-direction: row;
  }

  .newsletter-input {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .destinations-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 5rem;
  }

  .section-title {
    font-size: 4rem;
  }
}

/* Contact Page */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-weight: 500;
  color: rgb(218, 216, 216);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--muted);
  font-size: 1rem;
}

.form-field textarea {
  resize: vertical;
}

.contact-grid .btn {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-field:nth-child(4) {
    grid-column: span 2;
  }
  .contact-grid .btn {
    grid-column: span 2;
  }
}

/* About Page Styles */
.story-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-text p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.team-card {
  background: var(--background);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-hover);
}

.team-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-role {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.team-description {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-social .social-link {
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.team-social .social-link:hover {
  color: var(--primary);
}

.team-social svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 768px) {
  .story-content {
    grid-template-columns: 1fr 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Destinations Page Styles */
.filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-field label {
  font-weight: 500;
  color: var(--foreground);
}

.filter-input {
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--background);
  font-size: 1rem;
  color: var(--foreground);
}

/* Dropdown specific styles */
select.filter-input {
  /* Hide default arrow and add a custom one */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23374151" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  /* Adjust position to move the arrow from the right edge */
  background-position: right 0.75rem center;
  /* Add padding to prevent text overlap */
  padding-right: 2.5rem;
}

/* Change dropdown option text color to a dark value */
select.filter-input option {
  color: var(--foreground);
  background-color: var(--background);
}

.filter-btn {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .filter-grid {
    grid-template-columns: repeat(3, 1fr) auto;
    align-items: end;
  }
  .filter-btn {
    margin-top: 0;
  }
}

/* Tours Page Styles */
.tours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.tour-card {
  background: var(--background);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.tour-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-hover);
}

.tour-image {
  position: relative;
  overflow: hidden;
}

.tour-image img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .tour-image img {
  transform: scale(1.1);
}

.tour-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gradient-ocean);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.tour-content {
  padding: 1.5rem;
}

.tour-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.tour-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0;
}

.tour-price {
  font-weight: 600;
  color: var(--primary);
}

.tour-details {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.tour-detail {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.tour-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tour-highlights {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}

.tour-highlights li {
  padding: 0.25rem 0;
  color: var(--muted-foreground);
  position: relative;
  padding-left: 1.5rem;
}

.tour-highlights li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

@media (min-width: 768px) {
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tours-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Hotels Page Styles */
.hotels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.hotel-card {
  background: var(--background);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.hotel-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-hover);
}

.hotel-image {
  position: relative;
  overflow: hidden;
}

.hotel-image img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hotel-card:hover .hotel-image img {
  transform: scale(1.1);
}

.hotel-rating {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-ocean);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hotel-content {
  padding: 1.5rem;
}

.hotel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.hotel-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0;
}

.hotel-price {
  font-weight: 600;
  color: var(--primary);
}

.hotel-details {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hotel-detail {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hotel-amenities {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}

.hotel-amenities li {
  padding: 0.25rem 0;
  color: var(--muted-foreground);
  position: relative;
  padding-left: 1.5rem;
}

.hotel-amenities li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

@media (min-width: 768px) {
  .hotels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hotels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Flights Page Styles */
.flight-search .search-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.flight-search .search-btn {
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .flight-search .search-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .flight-search .search-btn {
    margin-top: 0;
    grid-column: span 4;
  }
}

.flights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.flight-card {
  background: var(--background);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.flight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.flight-header {
  margin-bottom: 1rem;
}

.flight-route {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.flight-from,
.flight-to {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.flight-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.flight-airline {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.flight-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.flight-time {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.time-depart,
.time-arrive {
  font-weight: 500;
}

.duration {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.flight-stops {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.flight-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flight-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.flight-footer .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .flights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .flights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Responsive fixes for mobile screens (max-width: 768px) --- */
@media (max-width: 768px) {
  /* Fix Hero Section Spacing */
  .hero-content {
    padding-top: 220px; /* Increased padding to create more space */
    padding-bottom: 50px;
  }

  /* Adjust Hero search box layout */
  .search-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Make the Mobile Menu slide from the left */
  .mobile-menu {
    top: 0;
    left: 0;
    width: 80%; /* Adjust width of the menu as needed */
    height: 100vh;
    transform: translateX(-100%); /* Start off-screen to the left */
    background-color: white; /* Solid white background for visibility */
    backdrop-filter: blur(10px);
    border-bottom: none;
    transition: all 0.3s ease;
  }

  .mobile-menu.active {
    transform: translateX(0); /* Slide in from the left */
  }

  /* Decrease gap between mobile menu items and set text color */
  .mobile-menu-content {
    padding: 2rem 1.5rem;
    gap: 0.5rem; /* Reduced gap */
  }

  .mobile-nav-link {
    color: var(--primary); /* Theme blue color for text */
    font-size: 1.2rem;
    padding: 0.75rem 0; /* Reduced padding */
    border-bottom: 1px solid var(--border);
  }

  /* Fix: Make Sign In button visible in mobile menu */
  .mobile-actions .btn-ghost {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: 1px solid var(--primary);
  }

  .mobile-actions .btn-ghost:hover {
    background-color: var(--primary-dark);
  }

  .mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
  }

  /* Fix Footer Layout and alignment */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-section {
    text-align: center;
    align-items: center; /* Center content within each section */
  }

  .footer-brand,
  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    align-items: center;
  }

  .newsletter {
    flex-direction: column;
    align-items: center; /* Center the newsletter form */
  }

  .newsletter-input {
    width: 100%;
    margin-bottom: 1rem;
  }

  /* Fix: Center the subscribe button */
  .newsletter-btn {
    align-self: center; /* Override the desktop setting */
  }

  /* Center the social icons */
  .social-links {
    justify-content: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}

.hero-content {
  padding-top: 8rem; /* Default for smaller screens */
}

@media (min-width: 768px) {
  .hero-content {
    padding-top: 10rem; /* Increased padding for larger screens */
  }
}

/* Styles for the full-page loader container */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white; /* Change this line */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

/* From Uiverse.io by Li-Deheng */
.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  --color: hsl(0, 0%, 87%);
  --animation: 2s ease-in-out infinite;
}

.loader .circle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 20px;
  height: 20px;
  border: solid 2px #00abf9;
  border-radius: 50%;
  margin: 0 10px;
  background-color: transparent;
  animation: circle-keys var(--animation);
}

.loader .circle .dot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #00abf9;
  animation: dot-keys var(--animation);
}

.loader .circle .outline {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  animation: outline-keys var(--animation);
}

.circle:nth-child(2) {
  animation-delay: 0.3s;
}

.circle:nth-child(3) {
  animation-delay: 0.6s;
}

.circle:nth-child(4) {
  animation-delay: 0.9s;
}

.circle:nth-child(5) {
  animation-delay: 1.2s;
}

.circle:nth-child(2) .dot {
  animation-delay: 0.3s;
}

.circle:nth-child(3) .dot {
  animation-delay: 0.6s;
}

.circle:nth-child(4) .dot {
  animation-delay: 0.9s;
}

.circle:nth-child(5) .dot {
  animation-delay: 1.2s;
}

.circle:nth-child(1) .outline {
  animation-delay: 0.9s;
}

.circle:nth-child(2) .outline {
  animation-delay: 1.2s;
}

.circle:nth-child(3) .outline {
  animation-delay: 1.5s;
}

.circle:nth-child(4) .outline {
  animation-delay: 1.8s;
}

.circle:nth-child(5) .outline {
  animation-delay: 2.1s;
}

@keyframes circle-keys {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes dot-keys {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes outline-keys {
  0% {
    transform: scale(0);
    outline: solid 20px #00abf9;
    outline-offset: 0;
    opacity: 1;
  }

  100% {
    transform: scale(1);
    outline: solid 0 transparent;
    outline-offset: 20px;
    opacity: 0;
  }
}