/* ===================================================
   LEASETIME – Header & Footer Styles
   Font: Varela Round
   =================================================== */

@import url('https://fonts.googleapis.com/css?family=Varela+Round');

/* ===================================================
   VARIABLES
   (colours used in THIS file only)
   For site-wide colour changes → edit global.css

/* ===================================================
   VARIABLES
   =================================================== */
:root {
  --trans: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
/* ===================================================
   BASE
   =================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body  { font-family: 'Varela Round', sans-serif; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

.lt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===================================================
   TOP BAR
   =================================================== */
.lt-topbar {
  background: var(--black);
  border-bottom: 1px solid var(--border);
}
.lt-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}
.lt-topbar__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--white);
  letter-spacing: 0.03em;
}
.lt-topbar__brand i { color: var(--brand); font-size: 14px; }

.lt-topbar__socials { display: flex; align-items: center; gap: 4px; }
.lt-topbar__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--white);
  font-size: 12px;
  transition: var(--trans);
}
.lt-topbar__socials a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===================================================
   MAIN NAV
   =================================================== */
.lt-nav {
  background: var(--white);
  border-bottom: 3px solid var(--brand);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}
.lt-nav__inner {
  display: flex;
  align-items: center;
  height: 76px;
  gap: 32px;
}
.lt-nav__logo { flex-shrink: 0; }
.lt-nav__logo img { height: 52px; width: auto; display: block;max-width: 100%;
  object-fit: contain; }

/* — Menu — */
.lt-nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.lt-nav__menu > li > a {
  display: block;
  padding: 8px 16px;
  font-size: 13.5px;
  font-family: 'Varela Round', sans-serif;
  color: var(--black);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--trans);
  position: relative;
}
/* underline accent */
.lt-nav__menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.22s ease;
  border-radius: 2px;
}
.lt-nav__menu > li:hover > a::after,
.lt-nav__menu > li.active > a::after { transform: scaleX(1); }
.lt-nav__menu > li:hover > a,
.lt-nav__menu > li.active > a        { color: var(--brand-dark); }

/* — Dropdown — */
.lt-nav__menu .lt-dropdown { position: relative; }
.lt-nav__menu .lt-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-dark);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
   transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s; 
  z-index: 999;
}
.lt-nav__menu .lt-dropdown:hover .lt-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;  /* ← add this */
}
.lt-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--black);
  border-radius: var(--radius-sm);
  transition: var(--trans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lt-dropdown-menu a:hover {
  background: var(--brand-glow);
  color: var(--brand-dark);
  padding-left: 18px;
}

/* — CTA button — */
.lt-nav__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: var(--black);
  font-family: 'Varela Round', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 2px solid var(--brand);
  transition: var(--trans);
  cursor: pointer;
  box-shadow: var(--shadow-gold);
}
.lt-nav__cta:hover {
  background: transparent;
  color: var(--brand-dark);
  box-shadow: none;
  transform: translateY(-2px);
}

/* — Hamburger (mobile) — */
.lt-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  background: none;
  border: none;
}
.lt-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--trans);
}

/* ===================================================
   INFO BAND
   =================================================== */
.lt-infoband {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  position: relative;
  overflow: hidden;
}
.lt-infoband::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(255,255,255,0.10) 0%, transparent 70%),
    repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(255,255,255,0.04) 1px, rgba(255,255,255,0.04) 2px);
  background-size: auto, 40px 100%;
}
.lt-infoband__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.lt-infoband__cell {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  transition: var(--trans);
}
.lt-infoband__cell:last-child { border-right: none; }
.lt-infoband__cell:hover      { background: rgba(255, 255, 255, 0.10); }

.lt-infoband__icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--black);
  backdrop-filter: blur(4px);
}
.lt-infoband__text  { display: flex; flex-direction: column; gap: 2px; }
.lt-infoband__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--black);
  font-weight: 600;
}
.lt-infoband__value {
  font-size: 14px;
  color: var(--black);
  font-weight: 600;
  line-height: 1.3;
}
.lt-infoband__value a       { color: var(--black); }
.lt-infoband__value a:hover { text-decoration: underline; }

/* ===================================================
   FOOTER
   =================================================== */
.lt-footer {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.lt-footer::before {
  content: '';
  position: absolute;
  top: -120px; left: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175,37,27,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.lt-footer::after {
  content: '';
  position: absolute;
  bottom: 60px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175,37,27,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.lt-footer__top {
  position: relative;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}
.lt-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1.2fr;
  gap: 48px;
}

/* col 1 – brand */
.lt-footer__logo        { display: block; margin-bottom: 20px; }
.lt-footer__logo img    { height: 52px; width: auto; background-color: white; }
.lt-footer__about {
  font-size: 13.5px;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 24px;
}
.lt-footer__socials { display: flex; gap: 10px; }
.lt-footer__socials a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 14px;
  transition: var(--trans);
  color: var(--white);
}
.lt-footer__socials a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* col 2 – nav links */
.lt-footer__heading {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lt-footer__heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.lt-footer__nav-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.lt-footer__nav-cols > div { display: flex; flex-direction: column; }
.lt-footer__nav-cols a {
  font-size: 13px;
  color: var(--white);
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--trans);
}
.lt-footer__nav-cols a::before {
  content: '→';
  font-size: 11px;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--trans);
}
.lt-footer__nav-cols a:hover                { color: var(--brand); padding-left: 4px; }
.lt-footer__nav-cols a:hover::before        { opacity: 1; transform: translateX(0); }

/* col 3 – map */
.lt-footer__map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: var(--trans);
}
.lt-footer__map-wrap:hover          { border-color: var(--brand); box-shadow: var(--shadow-gold); }
.lt-footer__map-wrap iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: none;
  filter: grayscale(30%) brightness(0.9);
  transition: var(--trans);
}
.lt-footer__map-wrap:hover iframe   { filter: grayscale(0%) brightness(1); }

/* bottom bar */
.lt-footer__bottom          { position: relative; padding: 20px 0; }
.lt-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.lt-footer__bottom p        { font-size: 12.5px; color: var(--white); letter-spacing: 0.03em; }
.lt-footer__bottom b        { color: var(--brand); }
.lt-footer__bottom a        { color: var(--brand); transition: var(--trans); }
.lt-footer__bottom a:hover  { color: var(--brand-light); }

/* scroll-to-top button */
.lt-go-up {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-gold);
  transition: var(--trans);
  z-index: 999;
}
.lt-go-up:hover { background: var(--brand-dark); transform: translateY(-4px); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 992px) {

  /* nav */
  .lt-nav__hamburger { display: flex; }
  .lt-nav__cta       { display: none; }
  .lt-nav__inner     { position: relative; flex-wrap: wrap; height: auto; padding: 14px 0; }

  .lt-nav__menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .lt-nav__menu.open {
    display: flex;
    position: fixed;
    top: 70px; left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    padding: 20px;
    overflow-y: auto;
    z-index: 9999;
  }
  .lt-nav__menu > li > a { font-size: 14px; padding: 14px 0; width: 100%; }

  /* dropdown accordion (mobile) */
  .lt-nav__menu .lt-dropdown-menu {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 10px;
    margin: 8px 0;
    background: #f5f5f5;
    border-radius: var(--radius-sm);
    box-shadow: none;
  }
  .lt-dropdown.active .lt-dropdown-menu { display: block; }

  /* footer */
  .lt-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px){

  /* top black bar */
  .lt-topbar__inner{
    height: 46px;
    padding: 0 10px;
  }

  .lt-topbar__brand{
    display:flex;
    align-items:center;
    gap:6px;
    max-width: 170px;
  }

  .lt-topbar__brand span{
    display:block;
    color:#fff;
    font-size:10px;
    line-height:1.2;
  }

  /* NAVBAR FIX */
  .lt-nav{
    position:relative;
  }

  .lt-nav__inner{
    height:64px !important;
    min-height:64px;
    padding:0 !important;

    display:flex;
    align-items:center;
    justify-content:space-between;

    flex-wrap:nowrap !important;
  }

  /* logo */
  .lt-nav__logo{
    display:flex;
    align-items:center;
  }

  .lt-nav__logo img{
    height:42px;
    width:auto;
    object-fit:contain;
    display:block;
  }

  /* hamburger */
  .lt-nav__hamburger{
    margin-left:auto;
    display:flex;
    justify-content:center;
    align-items:center;
  }

  /* mobile menu */
  .lt-nav__menu.open{
    top:110px;
    left:0;
    width:100%;
    height:calc(100vh - 110px);

    padding:18px 22px;
    background:#fff;

    overflow-y:auto;
  }

  .lt-nav__menu > li > a{
    padding:12px 0;
    font-size:14px;
  }

}

@media (max-width: 768px){
  .lt-infoband{
    display:none !important;
  }
}