@charset "utf-8";
/* CSS Document */

/* === RESET + BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 1rem;
  background: #000;
  color: #fff;
  z-index: 9999;
}

/* === TOP BAR === */
.top-bar {
  background: #111;
  color: #fff;
  font-size: 1rem;
  padding: 0.4rem 1rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.top-bar-inner div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.top-bar-inner a {
  color: #ff6b00; /* Brand orange for the phone */
  text-decoration: none;
  font-weight: 600;
}

.top-bar-inner a:hover {
  text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }
}

/* === HEADER === */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  height: 120px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  max-width: 1500px;
  margin: 0 auto;
}

/* === LOGO === */
.logo img {
  height: 75px;
  display: block;
}

/* === NAV TOGGLE (MOBILE BURGER) === */
.nav-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
}

/* === NAV === */
.nav {
  flex-grow: 1;
}
.nav-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.1rem;
}
.nav-list > li {
  position: relative;
}
.nav-list a {
  font-weight: 700; /* <- Bold */
  color: #111;
  padding: 0.5rem 0.25rem;
  transition: color 0.2s ease;
}
.nav-list a:hover {
  color: #ff6b00;
}

/* === DROPDOWNS === */
.dropdown {
  position: relative;
  z-index: 100;
}

.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  min-width: 220px;
  padding: 0.5rem 0;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0.15s; /* 👈 this is the delay */
}
.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.dropdown-menu li a:hover {
  background: #f5f5f5;
}

.dropdown-icon {
  font-size: 0.75rem;
  margin-left: 0.35rem;
  transition: transform 0.2s ease;
}
/* === CTA BUTTON === */
.btn-primary {
  background: #ff6b00;
  color: #000;
  padding: 0.6rem 1.25rem;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: #e25900;
}

/* === RESPONSIVE === */
@media (max-width: 1156px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    display: none;
    flex-direction: column;
    padding: 1rem 1.5rem;
    z-index: 999;
  }

  .nav.open {
    display: flex;
  }

 .nav-list {
   flex-direction: column;
   align-items: center;
   gap: 1.75rem; /* ⬅️ clean spacing between ALL nav items */
   font-size: 1.25rem;
   text-align: center;
}

  .nav-toggle {
    display: block;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown > a {
    width: auto;
    display: block;
    text-align: center;
    font-weight: 700;
}

  .dropdown-menu {
    display: none;
    flex-direction: column;
    background: #f8f8f8;
    width: 100%;
    margin: 0.5rem 0 1rem 0;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px #ddd;
    position: relative;
    align-items: center; /* ⬅️ center the submenu items */
  } 
  .dropdown.open .dropdown-menu {
    display: flex;
  }
  .dropdown:hover .dropdown-menu {
    transition-delay: 0s !important;
   }
  .dropdown-menu li a {
    padding: 0.5rem 0;
    font-size: 1.1rem;  /* ⬆️ slightly larger */
    font-weight: 600;
    color: #333;
    width: 100%;
    text-align: center;  /* ⬅️ force centering text */
  }

  .dropdown-menu li + li {
    margin-top: 4px;
  }
  .dropdown.open .dropdown-icon {
  transform: rotate(180deg);
 }
}

