/* ==========================================================
   Direct Imported Japan - Header & Footer Styles
   Converted from Reference Design to plain CSS
   Breakpoints: sm = 640px, md = 768px, lg = 1024px, xl = 1280px
   ========================================================== */

:root {
  --navy-900: #020813;
  --navy-800: #0c213d;
  --theme-red: var(--primary-hover-color, #de2b43);
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --font-body: var(--body-font, 'Poppins', sans-serif);
  --font-heading: var(--title-font, 'Poppins', sans-serif);
}

/* Scoped container for header and footer to match reference design width without affecting Bootstrap */
.site-header .container,
.site-footer .container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {

  .site-header .container,
  .site-footer .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {

  .site-header .container,
  .site-footer .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.brand-heading-uppercase {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.brand-nav-titlecase {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  z-index: 1000;
}

.site-header a {
  text-decoration: none;
}

/* ---------- Top black bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 45px;
  background-color: #000;
  color: #fff;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  width: 100%;
}

@media (min-width: 640px) {
  .topbar__inner {
    font-size: 13px;
  }
}

@media (min-width: 768px) {
  .topbar__inner {
    font-size: 14px;
  }
}

.topbar__date {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.025em;
  color: #fff;
  font-family: var(--font-body);
}

/* hide the clock on small phones so the bar never overflows */
.topbar__time {
  display: none;
}

@media (min-width: 640px) {
  .topbar__time {
    display: inline;
  }
}

.topbar__right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 14px;
}

@media (min-width: 768px) {
  .topbar__right {
    gap: 24px;
  }
}

.topbar__login {
  font-size: 13px;
  color: #fff !important;
  transition: color 0.3s;
  cursor: pointer;
}

.topbar__login:hover {
  color: var(--theme-red) !important;
}

/* ---------- Social icons ---------- */
.site-header .social-icons,
.site-footer .social-icons {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons--top {
  display: none;
  gap: 8px;
}

@media (min-width: 768px) {
  .social-icons--top {
    display: flex;
  }
}

.social-icons--footer {
  gap: 12px;
  margin-top: 32px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--gray-400);
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.social-icon:hover {
  background-color: var(--theme-red);
  color: #fff !important;
}

.social-icon--sm {
  height: 28px;
  width: 28px;
}

.social-icon--sm i {
  font-size: 13px;
}

.social-icon--md {
  height: 32px;
  width: 32px;
  background-color: rgba(255, 255, 255, 0.05);
}

.social-icon--md i {
  font-size: 14px;
}

/* ---------- Hamburger ---------- */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: background-color 0.3s, transform 0.3s, opacity 0.3s;
}

.hamburger:hover span {
  background-color: var(--theme-red);
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- White navigation bar ---------- */
.navbar {
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 0;
  position: relative;
}

.navbar.sticky_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  animation: slideNavDown 0.3s ease;
}

@keyframes slideNavDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  width: 100%;
}

@media (min-width: 1024px) {
  .navbar__inner {
    height: 90px;
  }
}

.navbar__logo {
  flex-shrink: 0;
  width: auto;
}

.navbar__logo a {
  display: inline-block;
  text-decoration: none;
}

.navbar__logo img {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .navbar__logo img {
    height: 50px;
  }
}

@media (min-width: 1024px) {
  .navbar__logo {
    width: 180px;
  }
}

@media (min-width: 1280px) {
  .navbar__logo {
    width: 200px;
  }

  .navbar__logo img {
    height: 60px;
  }
}

.navbar__menu {
  display: none;
  flex: 1 1 0%;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .navbar__menu {
    display: flex;
  }
}

@media (min-width: 1280px) {
  .navbar__menu {
    gap: 32px;
  }
}

.navbar__link {
  position: relative;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-900) !important;
  white-space: nowrap;
  text-decoration: none !important;
  padding: 4px 0;
  transition: color 0.2s;
}

@media (min-width: 1280px) {
  .navbar__link {
    font-size: 16px;
  }
}

.navbar__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: var(--theme-red);
  transition: width 0.3s ease-in-out;
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--theme-red) !important;
}

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

.navbar__spacer {
  display: none;
  width: 150px;
}

@media (min-width: 1024px) {
  .navbar__spacer {
    display: block;
    width: 180px;
  }
}

@media (min-width: 1280px) {
  .navbar__spacer {
    width: 200px;
  }
}

/* ---------- Mobile / tablet menu (below 1024px) ---------- */
.mobile-menu {
  display: none;
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.mobile-menu.is-open {
  display: block;
}

@media (min-width: 1024px) {

  .mobile-menu,
  .mobile-menu.is-open {
    display: none !important;
  }
}

.mobile-menu__list {
  padding: 8px 0;
  list-style: none;
  margin: 0;
}

.mobile-menu__link {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.3s, padding-left 0.3s;
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
  color: var(--theme-red) !important;
  padding-left: 6px;
}

.mobile-menu__list li:last-child .mobile-menu__link {
  border-bottom: 0;
}

.mobile-menu__socials {
  display: flex;
  gap: 8px;
  padding: 4px 0 18px;
}

@media (min-width: 768px) {
  .mobile-menu__socials {
    display: none;
  }
}

.mobile-menu__socials .social-icon {
  background-color: var(--gray-100);
  color: var(--gray-500);
}

.mobile-menu__socials .social-icon:hover {
  background-color: var(--theme-red);
  color: #fff !important;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  margin-top: auto;
  padding-top: 48px;
  background: var(--navy-900);
  color: var(--gray-300);
  font-family: var(--font-body);
  border-top: 4px solid var(--theme-red);
}

.site-footer a {
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .footer-col--brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr));
    gap: 32px;
  }

  .footer-col--brand,
  .footer-col--company,
  .footer-col--services,
  .footer-col--policies,
  .footer-col--contact {
    grid-column: auto;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding-top: 64px;
  }
}

/* ---------- Column 1: Brand ---------- */
.footer-col--brand {
  display: flex;
  flex-direction: column;
}

.footer-col--brand>*+* {
  margin-top: 24px;
}

.footer-logo {
  margin-bottom: 8px;
}

.footer-logo a {
  display: inline-block;
}

.footer-logo img {
  max-height: 75px;
  max-width: 60%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-bio {
  color: var(--gray-400);
}

.footer-bio p,
.footer-bio-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray-400);
  margin-bottom: 0;
}

.footer-bio p+p,
.footer-bio-text+.footer-bio-text {
  margin-top: 14px;
}

/* ---------- Link columns ---------- */
.footer-heading {
  margin-bottom: 20px;
  font-size: 13px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li+li {
  margin-top: 14px;
}

.footer-links a,
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-300);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-link-icon,
.footer-link i,
.footer-links a i {
  font-size: 10px;
  color: var(--theme-red);
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.footer-links a:hover,
.footer-link:hover {
  color: var(--theme-red) !important;
  transform: translateX(5px);
}

.footer-links a:hover .footer-link-icon,
.footer-links a:hover i,
.footer-link:hover .footer-link-icon,
.footer-link:hover i {
  color: var(--theme-red);
  transform: translateX(3px);
}

.footer-col--policies nav {
  margin-bottom: 28px;
}

/* ---------- Contact column ---------- */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li+li {
  margin-top: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
}

.contact-item i {
  width: 14px;
  margin-top: 3px;
  text-align: center;
  color: var(--theme-red);
  transition: color 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}

.contact-item a,
.contact-link {
  display: inline-block;
  font-size: 12px;
  color: var(--gray-300);
  transition: all 0.25s ease;
  text-decoration: none;
}

.contact-item span,
.contact-text {
  font-size: 12px;
  color: var(--gray-300);
}

.contact-item a:hover,
.contact-link:hover {
  color: var(--theme-red) !important;
  transform: translateX(4px);
}

.contact-item:hover i {
  color: var(--theme-red);
  transform: scale(1.15);
}

.contact-item .break-all {
  word-break: break-all;
}

/* ---------- Footer bottom ---------- */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: none;
}

@media (min-width: 1024px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom__logo {
  flex-shrink: 0;
}

.footer-bottom__logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-copy {
  flex-grow: 1;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* ---------- Business hours pill ---------- */
.hours {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: center;
  padding: 8px 16px;
  font-size: 11.5px;
  color: var(--gray-400);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

@media (min-width: 480px) {
  .hours {
    flex-wrap: nowrap;
    border-radius: 9999px;
  }
}

.hours__label {
  font-size: 10px;
  color: #fff;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hours__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hours__divider {
  display: none;
  width: 1px;
  height: 12px;
  background-color: rgba(75, 85, 99, 0.5);
}

@media (min-width: 480px) {
  .hours__divider {
    display: block;
  }
}

.badge {
  padding: 2px 6px;
  font-size: 9px;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.badge--open {
  font-weight: 600;
  color: var(--gray-300);
  background-color: rgba(255, 255, 255, 0.1);
}

.badge--closed {
  font-weight: 700;
  color: #fff;
  background-color: var(--theme-red);
}