/* Custom CSS for HoangHo theme */

/* Improve dual-photo layout in "HOÀNG HÔN BÌNH YÊN" section */
.section-fillmore .fillmore-slider { position: relative; height: 62vh; max-height: 62vh; }
.section-fillmore .fillmore-slider .swiper-slide { display: flex; align-items: center; justify-content: center; height: 100%; }
.section-fillmore .fillmore-slider .shape {
  width: 100% !important;
  height: 100% !important; /* unify slide height */
  padding: 0 !important;
  border-radius: 16px;
  object-fit: cover; /* ensure full cover */
  object-position: center 70%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.section-fillmore .fillmore-slider .swiper-button-prev,
.section-fillmore .fillmore-slider .swiper-button-next { color: #DDC19A; }
.section-fillmore .fillmore-slider .swiper-pagination-bullet { background: rgba(255,255,255,0.7); opacity: 1; }
.section-fillmore .fillmore-slider .swiper-pagination-bullet-active { background: #DDC19A; }

/* Tweak spacing for text vs images */
@media (min-width: 992px) {
  .section-fillmore .main-title { margin-bottom: 16px; }
  .section-fillmore .description { margin-top: 8px; font-size: 18px; }
}

/* Mobile: stack and keep images large */
@media (max-width: 991.98px) {
  .section-fillmore .fillmore-slider { height: 58vh; max-height: 58vh; }
}

/* Ensure section content can center within viewport height context */
.section-fillmore { min-height: 100vh; margin-bottom: 64px; }
.section-fillmore .container .row.align-items-center { min-height: calc(100vh - 120px); }

@media (max-width: 767.98px) {
  .section-fillmore { margin-bottom: 24px; }
}

/* Sync overlay balcony image position across VI/EN */
.section-aboutus .overlay-balcony {
  mix-blend-mode: multiply;
  opacity: 0.9;
  border: none;
  box-shadow: none;
  /* Unified position for VI/EN */
  transform: translate(180px, 12px);
}
@media (max-width: 991.98px) {
  /* Scaled-down offset for smaller screens while keeping the same direction */
  .section-aboutus .overlay-balcony { transform: translate(180px, 12px); opacity: 0.95; }
}

/* Header brand identity: inline Hoang Vu Bro + Meypearl logos */
#header .nav-header .logo-container.brand-identity {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0px;
  text-decoration: none;
  color: inherit;
  width: auto;
}
#header .nav-header .logo-container.brand-identity .brand-logo-company {
  width: 86px;
  height: auto;
  display: block;
}
#header .nav-header .logo-container.brand-identity .brand-collab {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  left: -7px;
  width: 24px;
  height: 32px;
}
#header .nav-header .logo-container.brand-identity .brand-collab-icon {
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  transition: opacity .25s ease;
  position: absolute;
  bottom: 0;
}
#header .nav-header .logo-container.brand-identity .brand-collab-main {
  color: rgba(21, 40, 76, 0.8);
  opacity: 1;
}
.nav-header[data-nav="white"] .logo-container.brand-identity .brand-collab-main,
.nav-header .logo-container.brand-identity[data-auto-theme="white"] .brand-collab-main {
  opacity: 0;
}
#header .nav-header .logo-container.brand-identity .brand-collab-white {
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
}
.nav-header[data-nav="white"] .logo-container.brand-identity .brand-collab-white,
.nav-header .logo-container.brand-identity[data-auto-theme="white"] .brand-collab-white {
  opacity: 1;
}
#header .nav-header .logo-container.brand-identity .brand-project {
  position: relative;
  width: 160px;
  display: inline-block;
}
#header .nav-header .logo-container.brand-identity .brand-project .brand-logo-project {
  width: 100%;
  height: auto;
  display: block;
}
#header .nav-header[data-nav="white"] .logo-container.brand-identity,
#header .nav-header .logo-container.brand-identity[data-auto-theme="white"] {
  color: #fff;
}
#header .nav-header[data-nav="black"] .logo-container.brand-identity {
  color: #15284c;
}

/* Footer disclaimer styling for compliance message */
.section-footer .brand-disclaimer {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(221, 193, 154, 0.35);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  line-height: 1.7;
  color: #e0e0e0;
}
.section-footer .brand-disclaimer strong {
  color: #fce8c3;
  font-weight: 600;
}
.section-footer .brand-disclaimer .brand-note {
  font-size: 11px;
  color: #c8c8c8;
  margin-top: 6px;
}
.section-footer .brand-statement {
  margin-top: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #f1f1f1;
  letter-spacing: .01em;
}

/* Mobile header hardening: prevent horizontal overflow and fit 100% width */
@media (max-width: 767.98px) {
  #header, #header * { box-sizing: border-box; }
  #header, #header .nav-header { width: 100%; max-width: 100vw; overflow-x: hidden; }
  #header .nav-header .content { padding: 10px 12px; }
  #header .nav-header .logo-container.brand-identity { gap: 6px; position: relative; left: -20px; }
  #header .nav-header .logo-container.brand-identity .brand-logo-company { width: 64px; top: -3px; }
  #header .nav-header .logo-container.brand-identity .brand-logo-company,
  #header .nav-header .logo-container.brand-identity .brand-project {
    position: relative;
    left: -20px;
  }
  #header .nav-header .logo-container.brand-identity .brand-project {
    left: -4px;
  }
  #header .nav-header .logo-container.brand-identity .brand-collab {
    position: relative;
    left: -15px;
    width: 18px;
    height: 26px;
    font-size: 14px;
  }
  #header .nav-header .logo-container.brand-identity .brand-project { width: 120px; position: relative; left: -8px; }
  #header .languages { margin: 0; }
  #header .languages > li { padding: 0 6px; }
  #header .languages > li.divider { width: 1px; height: 14px; display: inline-block; padding: 0; background: currentColor; }

  /* Footer: add breathing room between company info and contact blocks */
}

/* Ensure video blocks are full-bleed: stretch to viewport width */
.section-we-are .video-fancybox {
  display: block;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* Remove side paddings for slider and video sections on mobile */
@media (max-width: 767.98px) {
  /* Full-bleed only for the slider, keep text sections padded */
  .section-fillmore .container { padding-left: 0; padding-right: 0; }
  /* Neutralize Bootstrap row negative margins to avoid overflow */
  .section-fillmore .row { margin-left: 0; margin-right: 0; }
  .section-fillmore .row > [class^="col-"],
  .section-fillmore .row > [class*=" col-"] { padding-left: 0; padding-right: 0; }
  .section-fillmore .fillmore-slider { margin-left: 0; margin-right: 0; }
  .section-fillmore .fillmore-slider .shape { border-radius: 0 !important; }
  /* Add side padding back for text under slider */
  .section-fillmore .main-title,
  .section-fillmore .description { padding-left: 16px; padding-right: 16px; }
  /* Video block full-bleed but don't touch other .section-we-are columns */
  .section-we-are .video-fancybox { margin-left: 0; margin-right: 0; }
  .section-we-are .video-fancybox { padding-left: 0 !important; padding-right: 0 !important; width: 100% !important; }
  .section-we-are .video-fancybox .cover { border-radius: 0 !important; }
  .section-we-are a.video-fancybox { display: block; padding-left: 0 !important; padding-right: 0 !important; width: 100% !important; }
  /* Pull arrows slightly inwards on full-bleed slider */
  .section-fillmore .fillmore-slider .swiper-button-prev { left: 20px; z-index: 3; }
  .section-fillmore .fillmore-slider .swiper-button-next { right: 20px; z-index: 3; }
}

/* Safety: prevent long headings from overflowing on very small screens */
@media (max-width: 575.98px) {
  section.section-we-are .main-title .top { word-break: break-word; overflow-wrap: anywhere; }
}

/* Reduce top spacing for the first "Hoàng hôn bình yên" section on mobile */
@media (max-width: 767.98px) {
  section.section-we-are[data-hash="slide-5"] .section-content { margin-top: 24px !important; }
}

/* Use flex + gap for spacing inside right-content */
.section-aboutus .right-content { display: flex; flex-direction: column; gap: 28px; }
.section-aboutus .right-content .img-group { margin-bottom: 0; }
@media (max-width: 767.98px) {
  .section-aboutus .right-content { gap: 32px; }
}
/* Prevent global horizontal scroll */
html, body { overflow-x: hidden; max-width: 100%; }

/* Breadcrumbs bar - small, elegant, below fixed header */
.breadcrumbs-bar {
  position: absolute;
  top: 88px; /* below fixed header */
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 0 15px;
  z-index: 3;
}
@media (max-width: 991.98px) {
  .breadcrumbs-bar { top: 68px; }
}
.breadcrumbs { font-size: 12px; color: #9aa7b2; letter-spacing: .2px; }
.breadcrumbs a { color: #C4A882; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Breadcrumbs overlay inside hero sections */
/* Overlay option (not used now) */
.breadcrumbs-overlay { display: none; }
.breadcrumbs { font-weight: 500; }

/* Under-hero placement */
.breadcrumbs-under-hero { padding: 14px 0 8px; }

/* Unique Values title (both VI/EN) */
.section-we-are .unique-values-title { text-align: center; margin-bottom: 0; position: relative; }
.section-we-are .unique-values-title .top {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #2C3E50;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  letter-spacing: 2px;
  font-size: 48px;
  display: inline-block;
  position: relative;
}
.section-we-are .unique-values-title .bot {
  display: inline-block;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #DDC19A, rgba(221, 193, 154, 0.5), #DDC19A);
  margin-top: 15px;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(221,193,154,0.3);
}
/* Responsive scaling for Unique Values section */
@media (max-width: 991.98px) {
  .section-we-are .unique-values-title .top { font-size: 36px; letter-spacing: 1px; }
}
@media (max-width: 767.98px) {
  .section-we-are .unique-values-title .top { font-size: 26px; letter-spacing: 0.5px; line-height: 1.2; }
  .section-we-are .description { gap: 24px; padding-left: 16px; padding-right: 16px; }
}
