/* Two Column Layout - Custom Upholstery */
/* Base Styles */
.two-column-container {
  display: flex;
  gap: 60px;
  max-width: 1410px;
  margin: 50px auto 0;
}
/* Gallery Column */
.gallery-column {
  flex: 1;
  max-width: 50%;
}
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.gallery-row {
  display: flex;
  gap: 15px;
}
.gallery-row-1 {
  gap: 15px;
}
.gallery-row-2 {
  gap: 15px;
  align-items: stretch;
}
.gallery-item {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
}
.gallery-item-1,
.gallery-item-2 {
  flex: 1;
  height: 200px;
}
.gallery-item-3 {
  flex: 1; /* 50% of the width */
  height: 400px;
}
.gallery-item-stack {
  flex: 1; /* 50% of the width */
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 400px; /* Match the height of gallery-item-3 */
}
.gallery-item-4,
.gallery-item-5 {
  flex: 1;
  height: calc(50% - 7.5px); /* Half of the stack height minus half the gap */
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Content Column */
.content-column {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
}
.content-subtitle {
  font-size: 21px;
  color: #00a7b5;
  font-weight: 600;
  margin: 0 0 30px 0;
}
.content-body {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.content-paragraph {
  font-size: 18px;
  color: #333f48;
  margin: 0;
}

.sustainability-container {
  max-width: 1410px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
  position: relative;
  z-index: 2;
  top: 200px;
}
.sustainability-content {
  flex: 1;
  max-width: 60%;
}
.sustainability-text {
  font-size: 18px;
  color: #ffffff;
  margin: 0;
  max-width: 390px;
  line-height: 1.5;
  padding-bottom: 30px;
}
.sustainability-logo {
  flex: 1;
  max-width: 40%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.fsc-logo {
  max-width: 120px;
  height: auto;
}
div#customupholstery {
  scroll-margin-top: 150px;
}

/* Upholstery product rows (Abilis / Portone) */
.upholstery-section {
  background: #fff;
  padding: 50px 0 60px;
}
.upholstery-rows {
  max-width: 1410px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.upholstery-row {
  display: flex;
  align-items: center;
  gap: 0px;
  min-height: 0;
}
.upholstery-half {
  flex: 1;
  min-width: 0;
  max-width: 50%;
}
.upholstery-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 45% !important;
}
.upholstery-title {
  font-size: 74px;
  font-weight: 600;
  color: #333f48;
  margin: 0 0 10px 0;
  line-height: 1.1;
  letter-spacing: normal;
  scroll-margin-top: 220px;
}
.upholstery-title-dot {
  color: #94193b;
}
span.upholstery-title-dot-2 {
  font-size: 36px;
  color: #94193b;
}
.upholstery-title-inline {
  font-size: 36px;
  font-weight: 500;
  color: #333f48;
  vertical-align: baseline;
}
.upholstery-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: #00a7b5;
  margin: 0 0 20px 0;
}
.upholstery-desc {
  font-size: 18px;
  color: #333f48;
  margin: 0 0 40px 0;
  line-height: 1.7;
  max-width: 500px;
}
.upholstery-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-bottom: 24px;
  background: linear-gradient(to bottom, #00a7b5 0%, #00a7b5 50%, #333f48 50%, #333f48 100%);
  background-size: 100% 200%;
}
.upholstery-btn:hover {
  background-position: 0 100%;
  transition: background 0.2s ease;
}
.upholstery-cert-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.upholstery-cert-logo {
  width: auto;
  height: 140px;
  max-width: 150px;
  object-fit: contain;
}
.upholstery-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 55% !important;
}
.upholstery-model-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}


/* Responsive Breakpoints */
/* Large Desktop (2561px+) */
@media screen and (min-width: 2561px) {
}
/* Desktop (1441px - 2560px) */
@media screen and (min-width: 1441px) and (max-width: 2560px) {
}
/* Large Tablet (1025px - 1440px) */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .sustainability-container {
    padding: 0 15px;
  }
}
/* Tablet (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .two-column-container {
    align-items: center;
    gap: 30px;
  }
  p.content-subtitle {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 15px 0;
  }
  .content-body {
    gap: 20px;
  }
  p.content-paragraph {
    font-size: 14px;
  }

  .sustainability-container {
    flex-direction: column;
    padding: 0 15px;
    gap: 15px;
    top: 0px !important;
  }
  .sustainability-text {
    font-size: 16px;
  }
  .fsc-logo {
    max-width: 80px;
  }
  /* Upholstery product rows – tablet */
  .upholstery-row {
    flex-direction: column;
    gap: 0px;
  }
  .upholstery-half {
    max-width: 100%;
  }
  .upholstery-row-2 .upholstery-half:first-child {
    order: 1;
  }
  .upholstery-row-2 .upholstery-half:last-child {
    order: 0;
  }
  .upholstery-title {
    font-size: 36px;
  }
  .upholstery-subtitle {
    font-size: 18px;
    margin-bottom: 16px;
  }
  .upholstery-desc {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .upholstery-content,
  .upholstery-image-wrap {
    max-width: 100% !important;
    width: 1200px !important;
    padding-top: 30px;
  }
  .upholstery-title-inline,
  span.upholstery-title-dot-2 {
    font-size: 24px;
  }
}
@media screen and (min-width: 1px) and (max-width: 767px) {
  .two-column-container {
    gap: 15px;
    flex-direction: column;
    margin: 30px auto 0;
  }
  .gallery-column,
  .content-column {
    max-width: 100%;
  }
  /* Mobile Gallery Layout - Single Column */
  .gallery-grid {
    gap: 10px;
  }
  .gallery-row {
    flex-direction: column;
    gap: 10px;
  }
  .gallery-item-1,
  .gallery-item-2 {
    height: 150px;
  }
  .gallery-item-3 {
    height: 200px;
  }
  .gallery-item-stack {
    height: 200px;
    gap: 10px;
  }
  .gallery-item-4,
  .gallery-item-5 {
    height: calc(50% - 5px);
  }
  p.content-subtitle {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 15px 0;
  }
  .content-body {
    gap: 20px;
  }
  p.content-paragraph {
    font-size: 14px;
  }

  .sustainability-container {
    flex-direction: column;
    padding: 0 15px;
    gap: 15px;
    top: 0px !important;
  }
  .sustainability-content,
  .sustainability-logo {
    max-width: 100%;
  }
  .sustainability-text {
    font-size: 14px;
  }
  .fsc-logo {
    max-width: 60px;
  }
  /* Upholstery product rows – mobile */
  .upholstery-section {
    padding: 30px 0 40px;
  }
  .upholstery-rows {
    padding: 0;
    gap: 0px;
  }
  .upholstery-row {
    flex-direction: column;
    gap: 0px;
  }
  .upholstery-half {
    max-width: 100%;
  }
  .upholstery-row-2 .upholstery-half:first-child {
    order: 1;
  }
  .upholstery-row-2 .upholstery-half:last-child {
    order: 0;
  }
  .upholstery-title {
    font-size: 28px;
  }
  .upholstery-subtitle {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .upholstery-desc {
    font-size: 14px;
    margin-bottom: 18px;
  }
  .upholstery-btn {
    padding: 10px 22px;
    font-size: 14px;
    margin-bottom: 18px;
  }
  .upholstery-content,
  .upholstery-image-wrap {
    max-width: 100% !important;
    width: 800px !important;
    padding-top: 20px;
  }
  .upholstery-cert-logo {
    height: 100px;
    max-width: 120px;
  }
  .upholstery-title-inline,
  span.upholstery-title-dot-2 {
    font-size: 20px;
  }
  .sustainability-text {
    padding-bottom: 15px;
  }
}

.sustainability-background {
  margin-top: -210px;
}
/* Sustainability Section */
.sustainability-section {
  background-image: url('https://olgoffice.com/wp-content/uploads/2026/02/okamura-partnership-2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  position: relative;
  height: 80vh;
  margin: 0px;
}
h2.content-title.h2-title {
  font-weight: 700;
  margin: 0px 0 30px;
  padding-top: 100px;
}

@media screen and (min-width: 1px) and (max-width: 1023px) {
  .sustainability-background {
    margin-top: 0px;
  }
  .sustainability-section {
    background: linear-gradient(90deg, #9b9b9b 0%, #9b9b9b8a 100%, #9b9b9b 0%);
    height: auto;
    margin: 0;
    padding: 50px 0;
    
  }
  h2.content-title.h2-title {
    padding-top: 0;
    margin: 0px 0 20px;
  }
}


@media screen and (min-width: 1024px) and (max-width: 1440px) {
  .sustainability-background {
    margin-top: -170px;
  }
  .sustainability-section {
    height: 85vh;
    
  }
  h2.content-title.h2-title {
    padding-top: 50px;
    margin: 0px 0 20px;
  }
}