/* ═══════════════════════════════════════════════════
   components.css
   Styles for navbar + footer components
   Import this on every page AFTER your main CSS
═══════════════════════════════════════════════════ */

/* ── Navbar ────────────────────────────────────── */
.ll-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.ll-navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.ll-navbar__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.ll-navbar__logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* Desktop nav links */
.ll-navbar__links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.ll-navbar__link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: #274372;
  text-decoration: none;
  position: relative;
  transition: color 0.25s;
}

.ll-navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #eeb139;
  transition: width 0.25s ease;
}

.ll-navbar__link:hover,
.ll-navbar__link.active {
  color: #eeb139;
}

.ll-navbar__link:hover::after,
.ll-navbar__link.active::after {
  width: 100%;
}

/* CTA Button */
.ll-navbar__cta {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  background: #355995;
  color: #fff !important;
  padding: 0.5rem 1.4rem;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s;
}

.ll-navbar__cta:hover {
  background: #274372;
  transform: translateY(-2px);
}

/* Hamburger */
.ll-navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.ll-navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #274372;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Burger → X animation */
.ll-navbar__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ll-navbar__burger.is-open span:nth-child(2) { opacity: 0; }
.ll-navbar__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.ll-navbar__mobile {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.ll-navbar__mobile.is-open {
  max-height: 400px;
  padding: 1rem 0 1.5rem;
}

.ll-navbar__mobile ul {
  list-style: none;
  padding: 0 2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Responsive: show burger, hide desktop links */
@media (max-width: 768px) {
  .ll-navbar__links,
  .ll-navbar__cta { display: none; }
  .ll-navbar__burger { display: flex; }
  .ll-navbar__mobile { display: block; }
}

/* Push page content below fixed navbar */
body { padding-top: 70px; }

/* ── Footer ────────────────────────────────────── */
.ll-footer {
  background: #274372;
  color: #fff;
  padding: 3.5rem 0 0;
}

.ll-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
}

/* Brand column */
.ll-footer__logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.ll-footer__logo img {
  height: 40px;
  width: auto;
  display: block;
}
.ll-footer__brand p {
  font-size: 0.9rem;
  opacity: 0.75;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.ll-footer__socials {
  display: flex;
  gap: 0.75rem;
}

.ll-footer__social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
}

.ll-footer__social-icon:hover {
  background: #eeb139;
  transform: translateY(-3px);
}

/* Columns */
.ll-footer__heading {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.ll-footer__heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 32px;
  height: 3px;
  background: #eeb139;
  border-radius: 2px;
}

.ll-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ll-footer__link {
  color: #fff;
  opacity: 0.75;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.2s, color 0.2s, padding-left 0.2s;
}

.ll-footer__link:hover {
  opacity: 1;
  color: #eeb139;
  padding-left: 4px;
}

/* Bottom bar */
.ll-footer__bottom {
  text-align: center;
  margin-top: 3rem;
  padding: 1.25rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  opacity: 0.65;
}
.ll-footer__legal {
  margin-top: 0.5rem;
}
.ll-footer__legal a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.ll-footer__legal a:hover {
  color: #eeb139;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .ll-footer__grid { grid-template-columns: 1fr; }
}
