/* =======================================================
   Google Fonts - Warm Beauty for Nokaso
======================================================= */

@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Libre+Caslon+Display&family=Noto+Sans+JP:wght@500&family=Noto+Serif+JP:wght@400;500;600;700&family=Poppins:wght@500&display=swap");

/* =======================================================
   1. Design Tokens / CSS Variables
======================================================= */

:root {
  /* ----- Fonts ----- */
  --wb-font-jp: "Noto Serif JP", serif;
  --wb-font-jp-sans: "Noto Sans JP", sans-serif;
  --wb-font-title: "Libre Caslon Display", serif;
  --wb-font-latin: "Libre Baskerville", serif;
  --wb-font-poppins: "Poppins", serif;

  /* ----- Brand colors ----- */
  --wb-color-text: #6A5F55;
  --wb-color-black: #000000;
  --wb-color-white: #FFFFFF;
  --wb-color-title: #A88B62;
  --wb-color-accent: #B09064;
  --wb-color-soft-gold: #A38559;
  --wb-color-green: #B5BDA7;
  --wb-color-bg-light: #EDE9E5;
  --wb-color-bg-soft: #F1E9DC;
  --wb-color-bg-warm: #D9C8B2;
  --wb-color-line: #C9B79B;

  /* ----- Spacing ----- */
  --wb-section-pad-y-mobile: 48px;
  --wb-section-pad-y-tablet: 64px;
  --wb-section-pad-y-desktop: 80px;
  --wb-container-pad-x: 16px;
}

.mb-30 {
  margin-bottom: 30px;
}

/* =======================================================
   Layout
======================================================= */

.wb-info-main {
  color: var(--wb-color-text);
  font-family: var(--wb-font-jp);
  line-height: 1.8;
  background: var(--wb-color-bg-light);
  overflow-x: clip;
  overflow-y: clip;
}

.wb-info-inner {
  max-width: 822px;
  margin: 0 auto;
}

.margin-bottom {
  margin-bottom: 80px;
}

.wb-infomation-cta-wrap {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.wb-infomation-btn-primary, .wb-infomation-btn-primary:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 410px;
  min-height: 60px;
  padding: 10px 24px;
  background: var(--wb-color-title) !important;
  color: #FFF !important;
  font-family: var(--wb-font-jp-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.wb-infomation-btn-primary::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 23px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='23' viewBox='0 0 20 23' fill='none'><path d='M18.8326 9.87201L7.76562 20.9141L8.93189 22.0777L19.9989 11.0357L18.8326 9.87201Z' fill='white'/><path d='M8.93189 0.000423778L7.76562 1.16406L18.8326 12.2061L19.9989 11.0425L8.93189 0.000423778Z' fill='white'/><path d='M18.7193 10.2188H0V11.8656H18.7193V10.2188Z' fill='white'/></svg>") center / contain no-repeat;
  transition: transform 0.25s ease;
}

.wb-infomation-btn-primary:hover,
.wb-infomation-btn-primary:focus,
.wb-infomation-btn-primary:active {
  background: var(--wb-color-title) !important;
  color: #FFF !important;
  opacity: 0.85;
  transform: translateY(-2px);
  text-decoration: none;
}

.wb-infomation-btn-primary p {
    margin: 0;
}

/* No hover effect for Warm Beauty Home button */
.wb-infomation-btn-primary.wb-no-hover:hover,
.wb-infomation-btn-primary.wb-no-hover:focus,
.wb-infomation-btn-primary.wb-no-hover:active {
  opacity: 1 !important;
  transform: none !important;
  color: #FFF !important;
  background: var(--wb-color-title) !important;
  text-decoration: none !important;
}
.wb-infomation-btn-primary.wb-no-hover:hover::after,
.wb-infomation-btn-primary.wb-no-hover:focus::after,
.wb-infomation-btn-primary.wb-no-hover:active::after {
  transform: none !important;
}

/* =======================================================
   Hero
======================================================= */

.wb-info-hero {
  position: relative;
  width: 100%;
  height: clamp(300px, 46.875vw, 675px);
  overflow: hidden;
  background: var(--wb-color-bg-light);
}

.wb-info-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =======================================================
   background image
======================================================= */
.wb-info-topbg {
  position: relative;
  overflow: hidden; 
}

.wb-info-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: clamp(900px, 50vw, 1200px);
    pointer-events: none;
}

.wb-info-bg .wb-info-floor-bgimg {
  position: absolute;
  inset: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  display: block;
}

.wb-info-topbg > .wb-info-section {
  position: relative;
  z-index: 1;
  background: transparent;
}
/* =======================================================
   Section / Title
======================================================= */

.wb-info-section {
  padding: 120px 20px 68px;
}

.wb-info-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;

  margin: 0 0 40px;

  font-weight: normal;
  text-align: center;
}

.wb-info-title.wb-info-title-access {
  flex-direction: row;
  justify-content: flex-start;
  align-items: baseline;
  gap: 18px;

  text-align: left;
}

.wb-info-title-en {
  color: var(--wb-color-title);
  font-family: var(--wb-font-title);
  font-size: 38px;
  letter-spacing: 0.04em;
}

.wb-info-title-jp {
  color: var(--wb-color-black);
  font-family: var(--wb-font-jp);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.wb-info-lead {
  margin: 0 0 40px;

  color: var(--wb-color-black);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-align: center;
}


/* =======================================================
   Floor Subheading
======================================================= */

.wb-info-subheading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;

  margin: 98px 0 44px;
}

.wb-info-subheading {
  margin: 0;

  color: var(--wb-color-black);
  font-family: var(--wb-font-jp);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-align: center;
}


/* =======================================================
   Floor Section
======================================================= */
.wb-info-photo img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
  background: var(--wb-color-bg-light);
}

/* ============================================
   MOBILE-FIRST: base = mobile (mac dinh)
   ============================================ */
.wb-info-photo-wrap {
    position: relative;
    width: 100%;
}

.wb-info-photo-wrap > img:not(.wb-info-corner-logo) {
    display: block;
    width: 100%;
    height: auto;
}

/* Logo "Warm Beauty Home" - neo goc tren phai, nho tren mobile */
.wb-info-corner-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38%;
    max-width: 150px;
    height: auto;
}

/* TABLET tro len (>= 768px): logo to dan */
@media (min-width: 768px) {
    .wb-info-corner-logo {
        top: 16px;
        right: 16px;
        width: 30%;
        max-width: 220px;
    }
}

/* DESKTOP (>= 992px): kich thuoc goc */
@media (min-width: 992px) {
    .wb-info-corner-logo {
        top: 20px;
        right: 20px;
        width: 300px;
        max-width: none;
    }
}

/* =======================================================
   Info List
   Div-based replacement for table
======================================================= */

.wb-info-list {
  width: 100%;
  max-width: 822px;
  margin-top: 70px;
  box-sizing: border-box;

  border-top: 1px solid #000;
}

/* ---------- Mobile: vertical ---------- */

.wb-info-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 24px 0;
  box-sizing: border-box;

  border-bottom: 1px solid #000;
  color: var(--wb-color-black);
}

.wb-info-label,
.wb-info-value {
  width: 100%;
  box-sizing: border-box;
}

.wb-info-label {
  margin-bottom: 12px;

  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.wb-info-value {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;

  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.wb-info-label p,
.wb-info-value p {
  margin: 0;
}


/* =======================================================
   Access
======================================================= */

.wb-info-access {
  background: var(--wb-color-bg-soft);
}

.wb-info-map {
  width: 100%;
  margin-bottom: 24px;
  background: #DDD;
}

.wb-info-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.wb-info-access-text {
  margin-bottom: 30px;

  color: var(--wb-color-black);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
}

.wb-info-access-text p {
  margin: 4px 0;
}

.wb-info-access-route {
  margin-top: 24px;
}

.wb-info-badge {
  display: inline-block;

  margin: 18px 0 10px;
  padding: 8px 22px;

  background: var(--wb-color-title);
  color: #FFF;

  font-family: var(--wb-font-jp);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.wb-info-route-desc {
  margin: 0 0 8px;

  color: var(--wb-color-black);
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
}


/* =======================================================
   Gallery
======================================================= */

.wb-info-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 60px;
  padding: 0;
}

.wb-info-gallery-item {
  width: 100%;
  aspect-ratio: 360 / 378;
  overflow: hidden;
  background: var(--wb-color-bg-light);
}

.wb-info-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =======================================================
   Tablet
======================================================= */

@media (min-width: 769px) {

  .wb-info-title-en {
    font-size: 52px;
  }

  /* ---------- table layout desktop ---------- */

  .wb-info-row {
    flex-direction: row;
    align-items: center;

    min-height: 160px;
    padding: 0;
  }

  .wb-info-label {
    width: 214px;
    margin-bottom: 0;
  }

  .wb-info-value {
    width: 608px;
  }

  .wb-info-map iframe {
    height: 500px;
  }

  .wb-info-gallery {
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    gap: 0;
  }

  .wb-info-gallery-item {
    width: 100%;
    aspect-ratio: 360 / 378;
  }
}


/* =======================================================
   Desktop
======================================================= */

@media (min-width: 1024px) {

  .wb-info-label {
    width: 214px;
  }

  .wb-info-value {
    width: 608px;
  }
}


