/**
 * Timeline Navigation Styles for Metikos
 * Updated to use centralized CSS variables for perfect alignment.
 */
.timeline-nav {
  position: fixed;
  bottom: -1.3rem;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--background-light);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
  height: var(--timeline-nav-height);
  padding: 0 var(--hero-padding);
	
}

body.dark-mode .timeline-nav {
  background-color: var(--background-dark);
}

.timeline-menu-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.timeline-menu {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
	
}

.timeline-link {
  text-align: center;
  font-size: 1.25rem;
  color: inherit;
	font-family: 'Optima';

}

.timeline-indicator-container {
  position: absolute;
  top: -.3rem; /* Position it above the menu text */
  left: 0;
  width: 100%;
  height: 25px;
  pointer-events: none;
  z-index: 1;
}
body.dark-mode .timeline-indicator-container {
  background-color: var(--background-dark);
}

.timeline-indicator-line {
  position: absolute;
  height: 4px;
  background-color: var(--background-dark);
  width: 0;
  left: 0;
  bottom: 10px;
}

.timeline-nav__circle {
  position: absolute;
  bottom: 0;
  height: 25px;
  width: 25px;
}

/*
* ========================================================================
* Mobile Burger Navigation
* ========================================================================
*/

.burger-menu-container {
    display: none; /* Hidden on desktop by default */
    width: 30px;   /* Give it a fixed width to balance the layout */
    justify-content: flex-start; /* Align icon to the left */
}

.burger-menu-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}
.burger-svg-icon {
    width: 100%;
    height: 100%;
    transition: transform var(--transition-default);
}
body.dark-mode .burger-svg-icon {
  filter:invert(1);
}

/* --- The Mobile Menu Panel --- */
.mobile-nav-container {
    position: fixed;
    top: 46px; /* Position below the mobile header */
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--background-light);
    z-index: 10000;
    display: none;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2rem .7rem;
}
body.dark-mode .mobile-nav-container {
    background-color: var(--background-dark);
}

.mobile-nav-container.is-open {
     display: flex;
}
.mobile-menu {
    text-align: left;
    list-style: none;
}

.mobile-nav-link {
    font-size: 2.5rem;
    font-family: 'Optima', sans-serif;
    color: inherit;
}


.mobile-nav-link[data-target="travel-services"], 
.mobile-nav-link[data-target="relocation-services"] {
  line-height:1;
}
.mobile-nav-item:has(.mobile-nav-link[data-target="relocation-services"]) {
     /* Adjust this value */
     margin-top: 0.755rem;

}
.mobile-nav-item:has(.mobile-nav-link[data-target="travel-services"]) {
 margin-top: 1.4rem;
 margin-bottom: 0.7rem;
}

/* --- Responsive Visibility --- */
@media (max-width: 768px) {
    .timeline-nav {
        display: none;
    }
    .burger-menu-container {
        display: flex;
        margin-top: .5rem;
    }
}
