/* =========================================================
   PROPERTY SHOWCASE
========================================================= */

.property_showcase {
  --gold: #b79a5a;
  --dark: #252525;
  --text: #555;
  --muted: #777;
  width: 100%;
  overflow: hidden;
  /* background: #fff; */
  padding: 55px 70px;
}

/* =========================================================
   ITEM
========================================================= */

.property_showcase .property_showcase_item {
  position: relative;

  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
  gap: 20px;

  min-height: 600px;

  overflow: hidden;
  isolation: isolate;

  /* background: #fff; */

  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Alternate */

.property_showcase .property_showcase_item.image_text {
  grid-template-columns: 56% 44%;
}

/* =========================================================
   CONTENT / IMAGE ORDER
========================================================= */

.property_showcase .property_showcase_item.image_text .property_content {
  order: 2;
}

.property_showcase .property_showcase_item.image_text .property_image_wrapper {
  order: 1;
}

/* =========================================================
   CONTENT
========================================================= */

.property_showcase .property_content {
  position: relative;
  z-index: 5;

  height: 100%;

  display: flex;
  align-items: center;
}

.property_showcase .property_content_inner {
  width: 100%;
  max-width: 700px;

  /* padding: 70px; */
}

/* =========================================================
   NUMBER
========================================================= */

.property_showcase .property_number {
  display: block;

  margin-bottom: 20px;

  color: var(--gold);

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 4px;

  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 0.7s ease 0.1s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

/* =========================================================
   TITLE
========================================================= */

.property_showcase .property_content h2 {
  position: relative;

  margin: 0;

  color: var(--dark);

  font-size: clamp(34px, 4vw, 58px);
  font-weight: 300;

  line-height: 1.05;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  opacity: 0;
  transform: translateY(35px);

  transition:
    opacity 0.8s ease 0.18s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}

/* Gold line */

.property_showcase .property_content h2::after {
  content: "";

  display: block;

  width: 0;
  height: 1px;

  margin-top: 20px;

  background: var(--gold);

  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}

/* =========================================================
   LOCATION
========================================================= */

.property_showcase .property_location {
  display: block;

  margin: 20px 0;

  color: #666;

  font-size: 10px;
  font-weight: 500;

  letter-spacing: 3px;

  text-transform: uppercase;

  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 0.7s ease 0.28s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.28s;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.property_showcase .property_description {
  max-width: 580px;

  margin: 0 0 8px;

  color: var(--text);

  font-size: 15px;
  line-height: 1.7;

  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 0.7s ease 0.36s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.36s;
}

.property_showcase .property_sub_description {
  max-width: 590px;

  margin: 0;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.85;

  letter-spacing: 0.2px;

  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 0.7s ease 0.44s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.44s;
}

/* =========================================================
   BUTTON
========================================================= */

.property_showcase .property_learn_more {
  display: inline-flex;
  align-items: center;

  gap: 12px;

  margin-top: 28px;

  padding: 0;

  border: 0;

  background: transparent;

  color: #444;

  cursor: pointer;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 2px;

  text-transform: uppercase;

  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 0.7s ease 0.52s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.52s,
    color 0.3s ease,
    gap 0.3s ease;
}

/* Arrow */

.property_showcase .property_arrow {
  position: relative;

  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border: 1px solid rgba(183, 154, 90, 0.5);
  border-radius: 50%;

  color: var(--gold);

  transition:
    transform 0.4s ease,
    color 0.3s ease,
    background 0.3s ease;
}

.property_showcase .property_arrow::before {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: inherit;

  background: var(--gold);

  transform: scale(0);

  transition: transform 0.4s ease;
}

.property_showcase .property_arrow svg {
  position: relative;
  z-index: 2;

  width: 10px;

  transition: transform 0.3s ease;
}

/* Hover */

.property_showcase .property_learn_more:hover {
  gap: 17px;

  color: var(--gold);
}

.property_showcase .property_learn_more:hover .property_arrow {
  transform: translateX(4px);

  color: #fff;
}

.property_showcase .property_learn_more:hover .property_arrow::before {
  transform: scale(1);
}

.property_showcase .property_learn_more:hover .property_arrow svg {
  transform: translateX(2px);
}

/* =========================================================
   IMAGE
========================================================= */

.property_showcase .property_image_wrapper {
  position: relative;
  z-index: 3;

  width: 100%;
  height: 520px;

  overflow: hidden;
}

.property_image {
  position: relative;

  width: 100%;
  height: 100%;

  overflow: hidden;

  background: #eee;
}

/* Image reveal */

.property_image::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 4;

  background: #f7f6f2;

  transform: scaleX(1);

  transform-origin: left;

  transition: transform 1.2s cubic-bezier(0.77, 0, 0.18, 1);
}

.property_showcase .property_showcase_item.image_text .property_image::before {
  transform-origin: right;
}

/* Image */

.property_image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transform: scale(1.12);

  filter: saturate(0.9);

  transition:
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s ease;
}

/* Overlay */

.property_image::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 2;

  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.1), transparent 45%),
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.2));

  pointer-events: none;
}

/* =========================================================
   IMAGE LABEL
========================================================= */

.property_image_label {
  position: absolute;

  z-index: 5;

  top: 24px;
  left: 24px;

  padding: 8px 12px;

  border: 1px solid rgba(255, 255, 255, 0.4);

  background: rgba(0, 0, 0, 0.18);

  backdrop-filter: blur(8px);

  color: #fff;

  font-size: 8px;
  font-weight: 500;

  letter-spacing: 2px;

  text-transform: uppercase;

  opacity: 0;

  transition: opacity 0.7s ease 0.7s;
}

/* =========================================================
   DECORATIVE CIRCLE
========================================================= */

.property_circle {
  position: absolute;

  z-index: 1;

  width: 500px;
  height: 500px;

  border: 1px solid rgba(183, 154, 90, 0.2);

  border-radius: 50%;

  pointer-events: none;

  opacity: 0;

  transform: scale(0.75);

  transition:
    opacity 1s ease,
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.property_circle::before {
  content: "";

  position: absolute;

  inset: 13%;

  border: 1px solid rgba(183, 154, 90, 0.1);

  border-radius: 50%;
}

.property_circle::after {
  content: "";

  position: absolute;

  top: 12%;
  right: 9%;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--gold);

  box-shadow: 0 0 0 6px rgba(183, 154, 90, 0.08);
}

/* Left text */

.property_showcase .property_showcase_item.text_image .property_circle {
  left: 35%;
  top: 50%;

  transform: translate(-50%, -50%) scale(0.75);
}

/* Right text */

.property_showcase .property_showcase_item.image_text .property_circle {
  right: 35%;
  top: 50%;

  transform: translate(50%, -50%) scale(0.75);
}

/* =========================================================
   ACTIVE / REVEALED STATE
========================================================= */

.property_showcase .property_showcase_item.show .property_number,
.property_showcase .property_showcase_item.show .property_content h2,
.property_showcase .property_showcase_item.show .property_location,
.property_showcase .property_showcase_item.show .property_description,
.property_showcase .property_showcase_item.show .property_sub_description,
.property_showcase .property_showcase_item.show .property_learn_more {
  opacity: 1;

  transform: translateY(0);
}

.property_showcase
  .property_showcase_item.show
  .property_showcase
  .property_content
  h2::after {
  width: 65px;
}

.property_showcase .property_showcase_item.show .property_image::before {
  transform: scaleX(0);
}

.property_showcase .property_showcase_item.show .property_image img {
  transform: scale(1);

  filter: saturate(1);
}

.property_showcase .property_showcase_item.show .property_image_label {
  opacity: 1;
}

.property_showcase .property_showcase_item.show .property_circle {
  opacity: 1;
}

.property_showcase .property_showcase_item.text_image.show .property_circle {
  transform: translate(-50%, -50%) scale(1);
}

.property_showcase .property_showcase_item.image_text.show .property_circle {
  transform: translate(50%, -50%) scale(1);
}

/* =========================================================
   IMAGE HOVER
========================================================= */

.property_showcase .property_showcase_item:hover .property_image img {
  transform: scale(1.055);

  filter: saturate(1.05);
}

.property_showcase .property_showcase_item:hover .property_circle {
  border-color: rgba(183, 154, 90, 0.35);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {
  .property_showcase .property_showcase_item {
    min-height: 530px;
  }

  .property_showcase .property_content_inner {
    padding: 50px 40px;
  }

  .property_showcase .property_content h2 {
    font-size: 42px;
  }

  .property_showcase .property_image_wrapper {
    height: 460px;
  }

  .property_circle {
    width: 420px;
    height: 420px;
  }
}

/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 991px) {
  .property_showcase .property_showcase_item {
    grid-template-columns: 48% 52%;
    min-height: 470px;
  }

  .property_showcase .property_showcase_item.image_text {
    grid-template-columns: 52% 48%;
  }

  .property_showcase .property_content_inner {
    padding: 40px 25px;
  }

  .property_showcase .property_content h2 {
    font-size: 32px;
  }

  .property_showcase .property_location {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .property_showcase .property_description {
    font-size: 14px;
  }

  .property_showcase .property_sub_description {
    font-size: 12px;
  }

  .property_showcase .property_image_wrapper {
    height: 400px;
  }

  .property_circle {
    width: 330px;
    height: 330px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .property_showcase .property_showcase_item,
  .property_showcase .property_showcase_item.image_text {
    display: flex;

    flex-direction: column;

    min-height: auto;
  }

  /* Image first */

  .property_showcase .property_showcase_item .property_image_wrapper,
  .property_showcase
    .property_showcase_item.image_text
    .property_image_wrapper {
    order: 1;

    width: 100%;
    height: 330px;
  }

  /* Content */

  .property_showcase .property_showcase_item .property_content,
  .property_showcase .property_showcase_item.image_text .property_content {
    order: 2;

    width: 100%;

    height: auto;
  }

  .property_showcase .property_content_inner {
    max-width: 100%;

    padding: 45px 22px 55px;
  }

  .property_showcase .property_content h2 {
    font-size: 29px;
  }

  .property_showcase .property_location {
    margin: 16px 0;

    font-size: 9px;

    letter-spacing: 2px;
  }

  .property_showcase .property_description {
    font-size: 14px;
  }

  .property_showcase .property_sub_description {
    font-size: 13px;
  }

  .property_image_label {
    top: 18px;
    left: 18px;
  }

  /* Circle */

  .property_circle {
    width: 270px;
    height: 270px;

    top: 330px !important;

    left: auto !important;
    right: -120px !important;

    transform: translateY(-50%) scale(0.75) !important;
  }

  .property_showcase .property_showcase_item.show .property_circle {
    transform: translateY(-50%) scale(1) !important;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (min-width: 0px) and (max-width: 575.98px) {
  .property_showcase {
    padding: 55px 0px;
  }
  
  .property_showcase .property_showcase_item .property_image_wrapper,
  .property_showcase
    .property_showcase_item.image_text
    .property_image_wrapper {
    height: 270px;
  }

  .property_showcase .property_content_inner {
    padding: 38px 18px 48px;
  }

  .property_showcase .property_content h2 {
    font-size: 25px;
  }

  .property_showcase .property_description {
    font-size: 13px;
  }

  .property_showcase .property_sub_description {
    font-size: 12px;
  }

  .property_circle {
    width: 220px;
    height: 220px;

    top: 270px !important;
  }

  .property_image_label {
    font-size: 7px;

    padding: 7px 9px;

    letter-spacing: 1.5px;
  }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .property_showcase .property_showcase_item *,
  .property_showcase .property_showcase_item *::before,
  .property_showcase .property_showcase_item *::after {
    transition: none !important;
    animation: none !important;
  }
}
