:root {
  --color-navy: #1a2e5a;
  --color-navy-dark: #0f1d3d;
  --color-cream: #fdf6ed;
  --color-cyan: #7dd3e8;
  --color-white: #ffffff;
  --color-black: #000000;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background-color: var(--color-black);
  font-family: var(--font-body);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 40px;
  z-index: 1000;
}

.navbar__logo {
  position: absolute;
  top: 50%;
  right: 100px;
  transform: translateY(-50%);
  height: 22px;
  opacity: 0.95;
}

.navbar__logo img {
  height: 100%;
  width: auto;
}

.burger {
  width: 36px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1010;
  position: relative;
  background: none;
  border: none;
}

.burger__line {
  width: 100%;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.4s var(--transition-smooth), opacity 0.4s var(--transition-smooth);
  transform-origin: center;
}

.burger.active .burger__line:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.burger.active .burger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.active .burger__line:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* ---------- Slide-in Menu ---------- */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 500px;
  height: 100vh;
  height: 100dvh;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 60px;
  z-index: 999;
  transition: right 0.5s var(--transition-smooth);
}

.nav-menu.open {
  right: 0;
}

.nav-menu__link {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 30px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
  letter-spacing: 2px;
  text-decoration: none;
}

.nav-menu.open .nav-menu__link {
  opacity: 1;
  transform: translateX(0);
}

.nav-menu.open .nav-menu__link:nth-child(1) { transition-delay: 0.15s; }
.nav-menu.open .nav-menu__link:nth-child(2) { transition-delay: 0.25s; }
.nav-menu.open .nav-menu__link:nth-child(3) { transition-delay: 0.35s; }

.nav-menu__link:hover {
  color: var(--color-cyan);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* ---------- Main Container ---------- */
.sales-op__main {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  overflow-y: auto;
}

/* ---------- Fulfillment Detail ---------- */
.fulfillment-detail {
  width: 100%;
  max-width: 1400px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInDetail 0.6s ease forwards;
}

.fulfillment-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

@keyframes fadeInDetail {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Bottom Navigation: BACK Button ---------- */
.sales-op__back-btn {
  position: absolute;
  bottom: 40px;
  left: 60px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 24px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.sales-op__back-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateX(-3px);
}

/* ---------- Image Modal (Lightbox) ---------- */
.image-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.3s ease;
}

.image-modal.show {
  display: flex;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.image-modal__close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  z-index: 2010;
}

.image-modal__close:hover,
.image-modal__close:focus {
  color: var(--color-cyan);
  text-decoration: none;
  cursor: pointer;
}

.image-modal__content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  animation: zoomInModal 0.4s ease;
}

@keyframes zoomInModal {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 24px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
  }

  .navbar__logo {
    right: 75px;
  }

  .sales-op__main {
    padding: 85px 20px 70px;
    justify-content: center;
  }

  .sales-op__back-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    font-size: 0.85rem;
    padding: 8px 20px;
    z-index: 20;
  }
}
