/* =============================================
   HEADER & FOOTER CSS — FaresXplorer
   ============================================= */

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e8eaf0;
  box-shadow: 0 2px 16px rgba(30, 40, 90, 0.07);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #2d3748;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.01em;
}

.header-nav a:hover {
  background: #f0f4ff;
  color: #2357e8;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #5a6278;
  background: none;
  border: 1.5px solid #e0e4ef;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
  letter-spacing: 0.04em;
}

.lang-btn:hover {
  border-color: #2357e8;
  color: #2357e8;
}

.currency-btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #5a6278;
  background: none;
  border: 1.5px solid #e0e4ef;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
  letter-spacing: 0.04em;
}

.currency-btn:hover {
  border-color: #2357e8;
  color: #2357e8;
}

.header-cta {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2357e8 0%, #1a44c8 100%);
  border: none;
  border-radius: 10px;
  padding: 9px 22px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 3px 12px rgba(35, 87, 232, 0.25);
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.01em;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(35, 87, 232, 0.35);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: #2d3748;
  border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 16px 24px 20px;
  border-top: 1px solid #e8eaf0;
  gap: 4px;
}

.mobile-nav a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #2d3748;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}

.mobile-nav a:hover {
  background: #f0f4ff;
  color: #2357e8;
}

.mobile-nav.open {
  display: flex;
}

@media (max-width: 860px) {
  .header-nav,
  .header-actions {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}


/* ---- FOOTER ---- */
.site-footer {
  background: #f7f7f7;
    color: #94a3b8;
    padding: 20px 0px;
    margin-top: 10px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px 32px;
}

.footer-brand {}

.footer-brand .footer-logo img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 16px;
}

.footer-brand p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #64748b;
  max-width: 280px;
  margin: 0 0 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.footer-socials a:hover {
  background: #2357e8;
  color: #fff;
}

.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin: 0 0 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: #93c5fd;
}

.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid #1e293b;
  padding: 20px 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-bar {
  border-top: 1px solid #1e293b;
}

.footer-bottom p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  color: #475569;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom-links a:hover {
  color: #93c5fd;
}

@media (max-width: 860px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
