/* Two Column Page Layout for Interior Design */

.two-column-section {
  position: relative;
  background: #f8f8f8;
  scroll-padding-top: 4vh;
  padding-top: clamp(4vh, 5vw, 8vh);
  padding-bottom: clamp(3.64vh, 4.55vw, 7.28vh);
  padding-inline: 0;
}

/* Services Overview Header - Centered at Top */
.services-overview-header {
  text-align: center;
  margin-bottom: clamp(2vh, 3vh, 4vh);
  padding: 0 clamp(3vw, 6vw, 10vw);
}
.services-ourwork-header {
  text-align: center;
  padding: 0 clamp(3vw, 6vw, 10vw);
}

.services-overview-header .services-ourwork-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.2vw;
  color: #000;
}

.two-column-section .container {
  margin: 0 auto !important;
  padding-left: clamp(4vw, 8vw, 12vw);
  padding-right: clamp(4vw, 8vw, 12vw);
  max-width: 1600px;
  box-sizing: border-box;
}

/* Two Column Layout - Centered with adjusted proportions */

.two-column-layout {
  display: grid;
  /* Left column for image, Right column for icons + text below */
  grid-template-columns: minmax(0, 55vw) minmax(0, 20vw);
  grid-template-rows: auto auto;
  column-gap: clamp(4vw, 6vw, 8vw);
  row-gap: clamp(1.5vh, 2vh, 2.5vh); /* Smaller vertical gap between icons and text */
  align-items: start;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
  background-color: #f2f2f2;
}

/* Left Column: Horizontal Image Only */
.left-column {
  display: flex;
  flex-direction: column;
  gap: clamp(3vh, 4vh, 5vh);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  /* Span both rows on the left */
  grid-row: 1 / 3;
}

/* Image and Text Block - Now just for image */
.image-text-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Interior Text - Now positioned below right column icons */
.interior-text {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  background-color: transparent;
  min-height: auto;
  box-sizing: border-box;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  /* Place in second row, second column (below icons) */
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  padding-right: clamp(1vw, 2vw, 3vw);
}

.interior-text p {
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  line-height: 1.7;
  color: #444;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

/* Horizontal Main Image - Fixed overflow */
.horizontal-main-image {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  margin: 0;
  border: none;
  outline: none;
  box-shadow: none;
}

.horizontal-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: none;
}

/* Right Column: Horizontal Icon Items */
.right-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: clamp(3vh, 4vh, 5vh);
  padding-top: clamp(1vh, 2vh, 3vh);
  padding-right: clamp(1vw, 2vw, 3vw);
  padding-left: 0;
  min-width: 0;
  max-width: 100%;
  /* Place in first row, second column */
  grid-column: 2;
  grid-row: 1;
}

.vertical-icon-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(1vw, 1.5vw, 2vw);
  text-align: left;
}

.vertical-icon-circle {
  width: clamp(6vh, 7.2vh, 8.4vh);
  height: clamp(6vh, 7.2vh, 8.4vh);
  min-width: clamp(6vh, 7.2vh, 8.4vh);
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: transparent;
}

.vertical-icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 300ms ease;
}

.vertical-icon-item > span {
  display: block;
  font-size: clamp(0.9rem, 1.2vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.05vw;
  text-align: left;
  line-height: 1.3;
  color: #333;
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 1280px) {
  .two-column-section .container {
    padding-left: clamp(3vw, 6vw, 10vw);
    padding-right: clamp(3vw, 6vw, 10vw);
  }

  .two-column-layout {
    grid-template-columns: minmax(0, 50vw) minmax(0, 18vw);
    gap: clamp(3vw, 5vw, 7vw);
  }

  .right-column {
    gap: clamp(3.5vh, 4.5vh, 5.5vh);
  }

  .vertical-icon-circle {
    width: clamp(5.4vh, 6.6vh, 7.8vh);
    height: clamp(5.4vh, 6.6vh, 7.8vh);
    min-width: clamp(5.4vh, 6.6vh, 7.8vh);
  }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  .two-column-section .container {
    padding-left: clamp(2vw, 4vw, 6vw);
    padding-right: clamp(2vw, 4vw, 6vw);
  }

  .two-column-layout {
    grid-template-columns: minmax(0, 55vw) minmax(0, 22vw);
    gap: clamp(3vw, 4vw, 6vw);
  }

  .vertical-icon-circle {
    width: clamp(6vh, 7.2vh, 8.4vh);
    height: clamp(6vh, 7.2vh, 8.4vh);
    min-width: clamp(6vh, 7.2vh, 8.4vh);
  }

  .right-column {
    gap: clamp(3vh, 4vh, 5vh);
  }

  .vertical-icon-item > span {
    font-size: clamp(0.84rem, 1.14vw, 1.02rem);
  }
}

/* Stack vertically on mobile */
@media (max-width: 820px) {
  .two-column-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 4vh;
  }

  /* Reset grid positions for mobile stacking */
  .left-column {
    grid-column: 1;
    grid-row: 1;
  }

  .right-column {
    grid-column: 1;
    grid-row: 2;
  }

  .interior-text {
    grid-column: 1;
    grid-row: 3;
    max-width: 100%;
  }

  .horizontal-main-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    margin: 0;
  }

  .horizontal-main-image img {
    height: 100%;
  }

  .right-column {
    padding-left: 0;
    gap: 3vh;
    align-items: flex-start;
  }

  .vertical-icon-circle {
    width: 14.4vw;
    height: 14.4vw;
    min-width: 14.4vw;
  }

  .vertical-icon-item > span {
    font-size: 1.02rem;
  }
}

/* Mobile-only styles (below 700px) */
@media (max-width: 700px) {
  .two-column-section .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }

  .two-column-section {
    padding: clamp(3vh, 4vh, 6vh) 0;
  }

  .services-overview-header {
    margin-bottom: 3vh;
  }

  .services-overview-header h1 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
  }

  .horizontal-main-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4/2.8;
    margin: 0;
  }

  .horizontal-main-image img {
    height: 100%;
  }

  .right-column {
    gap: 2.5vh;
  }

  .vertical-icon-circle {
    width: 17.3vw;
    height: 17.3vw;
    min-width: 17.3vw;
  }

  .vertical-icon-item > span {
    font-size: 0.9rem;
  }

  .image-text-block {
    gap: 0;
  }
}