/* ================================================================
   HBAS — Business Sub-Page Styles
   ================================================================ */

/* ================================
   1. Navbar Override — Always Solid
   ================================ */
.page-business .navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.page-business .nav-logo-text .logo-img-white {
  display: none;
}

.page-business .nav-logo-text .logo-img-black {
  display: block;
}

.page-business .nav-link {
  color: var(--text-light);
}

.page-business .nav-link:hover,
.page-business .nav-link.active {
  color: var(--dark);
}

.page-business .hamburger-line {
  background: var(--dark);
}

.page-business .nav-logo-img {
  background: transparent;
  padding: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.back-link:hover {
  color: var(--accent);
  gap: 12px;
}

.back-link svg {
  width: 16px;
  height: 16px;
}


/* ================================
   2. Business Banner
   ================================ */
.business-banner {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 48px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.banner-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.banner-logo {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.banner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.banner-info {
  flex: 1;
}

.banner-year {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.banner-tagline {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 16px;
}

.banner-social {
  display: flex;
  gap: 12px;
}

.banner-social .social-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.banner-social .social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.banner-social .social-link svg {
  width: 14px;
  height: 14px;
}


/* ================================
   3. Two-Column Layout
   ================================ */
.business-content {
  padding: 56px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}


/* ================================
   4. Gallery Grid
   ================================ */
.gallery-section {
  order: 2;
  min-width: 0;
  overflow: hidden;
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 24px;
}

.bento-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--off-white);
  border: 1px solid var(--border);
  width: 100%;
  aspect-ratio: 4 / 5;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.gallery-item--featured {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(12, 24, 41, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Placeholder when no image */
.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #f0f1f4 0%, #e4e6eb 100%);
}

.gallery-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--text-light);
  opacity: 0.35;
}

.gallery-placeholder span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  opacity: 0.5;
}


/* ================================
   5. Vision / Content Column
   ================================ */
.vision-section {
  order: 1;
  position: sticky;
  top: calc(var(--nav-height) + 32px);
  min-width: 0;
}

.vision-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 24px;
}

.vision-block {
  margin-bottom: 32px;
}

.vision-block:last-child {
  margin-bottom: 0;
}

.vision-block h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.vision-block p {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.8;
}

.vision-divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 28px 0;
  opacity: 0.6;
}


/* ================================
   6. Lightbox
   ================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
}

.lightbox-close:hover {
  color: var(--white);
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
}


/* ================================
   7. Footer Adjustments (sub-page)
   ================================ */
.page-business .footer {
  margin-top: 0;
}


/* ================================
   8. Responsive — Sub-Pages
   ================================ */

/* Tablet */
@media (max-width: 1024px) {
  .banner-inner {
    gap: 28px;
  }

  .banner-logo {
    width: 72px;
    height: 72px;
    padding: 12px;
  }

  .content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .business-banner {
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: 36px;
  }

  .banner-inner {
    gap: 20px;
  }

  .banner-logo {
    width: 64px;
    height: 64px;
    padding: 10px;
    border-radius: 8px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gallery-section {
    order: 1;
  }

  .vision-section {
    order: 2;
    position: static;
  }

  .bento-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .page-business .nav-hamburger.open .hamburger-line {
    background: var(--white);
  }

  .page-business .nav-links {
    position: fixed;
    inset: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }

  .page-business .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .page-business .nav-links .nav-link {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .page-business .nav-links .nav-link:hover,
  .page-business .nav-links .nav-link.active {
    color: var(--white);
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .banner-logo {
    width: 56px;
    height: 56px;
  }

  .banner-tagline {
    font-size: 0.9rem;
  }

  .gallery-title,
  .vision-title {
    font-size: 1.2rem;
  }
}
