/*FLOOR PLAN GRID */
.fp-card-grid {
  color: #384A60;
  display: grid;
  font-family: "gotham", sans-serif;
  font-weight: 500;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 0 auto;
  width: 100%;
}

.fp-card {
  background-color: #fff;
  border-radius: 38px;
  cursor: pointer;
  overflow: hidden;
  font-size: 1rem;
  padding: 0 0 32px;
  transition: transform 0.3s ease;
}

.fp-card-link {
	display: block;
  color: inherit;
  text-decoration: none;
}

.fp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.fp-card-img {
  overflow: hidden; 
  padding: 5% 8% 0;
}

.fp-card-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/*.fp-card:hover .fp-card-img img {
  transform: scale(1.04);
}*/

.fp-card-info {
  display: flex;
  flex-direction: column;
  padding: 8px 14% 0;
}

.fp-card-title {
  font-family: "athelas", serif;
  font-weight: 400;
  font-size: 1.7rem;
  text-align: center;
  text-transform: uppercase;
}

.fp-card-row-1 {
  display: flex;
  margin: 12px 0 6px 0;
  font-weight: 600;
}

.fp-card-beds, .fp-card-baths {
	width: 28%;
}
.fp-card-size {
	width: 44%;
}

.fp-card-avail, .fp-card-price {
	width: 35%;
}

.fp-card-row-2 {
  display: flex;
  margin-bottom: 32px;
  font-weight: 600;
}

.fp-card span {
  font-size: .8rem;
  font-weight: 400;
  display: block;
}

.fp-card-apply-btn {
  text-align: center;
  background-color: #347674;
  border-radius: 30px;
  color: #fff;
  display: inline-block;
  font-size: .9rem;
  font-weight: bold;
  padding: 8px 32px;
  margin: 0 auto;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
}

.fp-unavailable-banner {
    position: absolute;
    top: 40%;
  left: 0;
    background-color: #5C2E45;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 10px;
    z-index: 2;
  text-align: center;
    text-transform: uppercase;
  width: 100%;
}

.fp-card.fp-unavailable .fp-card-img img,
.fp-card.fp-unavailable .fp-card-info {
    opacity: 0.6; /* slightly dim the content */
}

.fp-card-img {
    position: relative;
}

#fp-pagination-wrapper {
display: flex;
justify-content: center;
}
.fp-pagination a {
color: #347674;
background: #fff;
}

#fp-filters-form{
margin-bottom: 1.4rem;
text-align: center;
}

#fp-filters-form label {
font-weight: bold;
margin-left: 8px;
}
#fp-filters-form select {
border-radius: 5px;
margin-right: 8px;
}


.fp-pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1.5rem;
}

.fp-page-link {
    padding: 0.25rem 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
}

a.fp-page-current {
    font-weight: bold;
    background: #eee;
}

.fp-page-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.fp-page-ellipsis {
    padding: 0 0.4rem;
}
/* END FLOOR PLAN GRID */

/* FLOOR PLAN INNER PAGE MAIN SECTION */
h1.fp-name {
        font-size: 2.6rem !important;
        line-height: normal;
        padding-right: 5%;
        margin: 0;
        text-align: left;
    }
    .fp-page {
        display: flex;
	font-weight: normal;
        flex-wrap: wrap;
        margin-bottom: 32px;
    }
    .fp-img-container {
	background-color: #fff;
        border: none;
	border-radius: 18px 0 0 18px;
        padding: 5%;
    }
    .fp-info-container {
        background-color: #f0f0f0;
	border-radius: 0 18px 18px 0;
        text-align: center;
        padding: 5%;
    }
    .fp-info-top {
        display: flex;
        align-items: center;
        justify-content: space-between; 
        margin-top: 24px;
    }
    @media (max-width: 767px) {
      .fp-info-top {
         flex-direction: column;
      }
      h1.fp-name, .fp-info-top span {
        padding-right: 0;
        text-align: center;
      }
      
    }
    .rent {
		color: #111;
        font-size: 1.8rem;
        font-weight: normal;
        text-align: right;
        white-space: nowrap; 
    }
    .rent span {
        font-weight: normal;
        font-size: 1rem;
        display: block;
        color: #666;
    }
    hr.fp-hr {
        margin: 18px 0 32px;
    }
    .fp-data-container {
        display: flex;
	font-size: 1.2rem;
        justify-content: space-around;
    }
  .fp-data-container .fp-icon {
	width: 1.5rem; height: auto;
  }

    .fp-applyBtn-container {
        padding: 12px 32px;
        margin: 48px 0 18px;
        background-color: #5c2e45;
        color: #fff;
        width: 100%;
        text-align: center;
        transition: .2s ease;
    }
    .fp-applyBtn-container:hover {
      color: #d44f00;
    }
    a.fp-applyBtn {
        color: #fff;
        display: block;
		font-size: 1.1rem;
		font-weight: bold;
		text-transform: uppercase;
        width: 100%;
    }
    a.fp-applyBtn:hover {
        color: #fff;
    }
    a.avail-apts {
        color: #222;
        font-size: 1.2rem;
        margin: 0 auto;
        text-align: center;
        text-decoration: underline;
    }
    .fp-disclaimer {
        color: #333;
        font-size: 1rem;
        font-style: italic;
        margin: 48px 0 0;
        text-align: center;
        width: 100%;
    }
    .fp-disclaimer p {
        margin: 0;
    }
    .fp-units {
        text-align: center;
        padding: 24px 0;
		margin-bottom: 18px;
    }
    
    .page_content_wrap {
        padding: 80px 0;
    }
    
    
/* UNITS */
    #units {
     scroll-margin-top: 120px;
    }
    .w-40 { width: 40%; }
    .w-50 { width: 50%; }
    .w-60 { width: 60%; }
    
    .fp-units {
		background-color: #f0f0f0;
		border-radius: 18px;
        color: #000;
        font-size: 1.1rem;
        display: flex;
        padding: 0;
        text-align: left;
        width: 100%;
    }
    .fp-units span {
        color: #666;
        font-size: .8rem;
		font-weight: normal;
        display: block;
        margin-bottom: 8px;
    }
    .unit-name {
        width: 10%;
    }
    h2.fp-h2 {
        font-size: 2.5rem !important;
		margin-bottom: 1rem;
		text-align: center;
    }
    .price-date {
        display: flex;
        justify-content: space-around;
        width: 35%;
    }
    .unit-info {
        display: flex;
        justify-content: space-around;
        width: 35%;
    }
    .unit-apply {
        margin: auto 0;
        text-align: center;
        width: 20%;
    }
    .unit-apply a {
        padding: 8px 48px 12px;
        background-color: #5c2e45;
        color: #fff !important; 
        line-height: 0;
    }
    .unit-border-right {
        border-right: solid 1px #e8e8e8;
    }
    .unit-section-padding {
       padding: 24px 2.5%;
    }
    
    @media (max-width: 1023px) {
        .md-w-100 {
            width: 100%;
        }
        .fp-units {
            flex-wrap: wrap;
            font-size: 1.8rem;
        }
        .fp-units span {
            font-size: 1.4rem;
        }
        .unit-name {
            width: 30%;
        }
        .price-date {
            width: 70%;
        }
        .unit-info {
            width: 100%;
        }
        .unit-apply {
            width: 100%;
        }
        .unit-border-right {
        border-bottom: solid 1px #d4d4d4;
        }
        .fp-img-container {
             border-radius: 18px 18px 0 0;
             border-right: solid 2px #f0f0f0;
         }
        .fp-info-container {
            border-radius: 0 0 18px 18px;
        }
    }
    @media (max-width: 479px) {
    .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: 90% !important;
    }
    .content_wrap, .content_container {
    width: 100% !important;
    }
    .fp-units {
        font-size: 1.4rem;
    }
    .fp-units span {
        font-size: 1rem;
    }
    h1.fp-name {
        font-size: 2rem;
    }
    h2.fp-h2 {
        font-size: 1.5rem;
    }
    }
/* */

/* PHOTO GALLERY */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}
@media (max-width: 908px) {
.photo-gallery {
  grid-template-columns: repeat(2, 1fr);
}
}
.photo-gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: #eee;
  cursor: pointer;
}
.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.photo-gallery-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90%; border-radius: 4px; }
.lightbox:after {
  content: "✕";
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 10px;
}
.lightbox-arrow.left { left: 30px; }
.lightbox-arrow.right { right: 30px; }

/* Pagination */
.photo-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.photo-pagination button {
  padding: 6px 12px;
  background: #eee;
  color: #333;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.photo-pagination button.active {
  background: #333;
  color: #fff;
}
.photo-pagination button:disabled {
  opacity: 0.5;
  cursor: default;
}

/* PET POLICY */
.pet-policy {

}

.pet-policy div, .pet-policy p {
  font-size: 1rem;
  font-weight: 300;
}

.pet-policy span {
  color: #384a60;
  font-weight: 500;
}

.pet-policy > div {
  margin-bottom: 12px;
}

.pet-policy h3 {
    color: #384a60;
    font-size: 1.6rem;
    padding-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
}

/* AMENITY LIST */
ul.amenities {
  padding: 0;
  columns: 2;
  column-gap: 2rem; 
}

@media (max-width: 767px) {
	ul.amenities {
		columns: 1;
	}
}

.amenities li {
	list-style: none;
	font-size: 1rem;
	font-weight: 300;
    padding-left: 1.4rem;  /* space for the icon */
	position: relative;
}

.amenities li::before {
  content: "";
  display: inline-block;
  background-image: url('https://ha1-hamptonfarms.tempurl.host/wp-content/uploads/2025/10/bullet-diamond.png');
  width: 16px;       /* adjust size here */
  height: 16px;
  background-size: contain;  /* scales image properly */
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  position: absolute;
  left: 0;
  top: 4px;
}

.apartment-amenities li::before {
	background-image: url('https://ha1-hamptonfarms.tempurl.host/wp-content/uploads/2025/10/bullet-diamond-orange.png');
}


/* FEATURED FLOOR PLAN */
.featured-fp {
    background-color: #fff;
  border-radius: 30px;
  color: #384a60;
  display: flex;
  font-size: 1rem;
  margin: 0 auto;
  width: 100%;
}
.featured-img {
  padding: 2%;
  width: 40%;
}
.featured-img img {
  width: 100%; height: auto;
}
.featured-content {
  border-radius: 0 30px 30px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 4%;
  width: 60%;
}

.featured-content h3 {
  color: #384a60;
  font-family: "gotham", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}

.featured-content h3 span {
  display: block;
  font-weight: 600;
  margin-top: 6px;
}

.featured-info {
  display: flex;
  margin: 3rem 0;
}
  
  .featured-info .featured-data:nth-child(2) {
    margin: 0 16px;
  }

.featured-data {
  align-items: center;
  justify-content: center;
  background-color: #e6e3e1;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  flex: 1 1 33%;
  padding: 24px 0;
}
  
  .fp-icon {
    width: 40px;
    height: auto;
    margin-bottom: 8px;
  }
  
  .featured-bottom-row {
    display: flex;
    align-items: center;
    justify-content : stretch;
  }
  
  .featured-price {
    flex: 1 1 50%;
    font-size: 1.1rem;
    font-weight: bold;
  }
  .featured-price span {
    font-size: 1.6rem;
  }
  .featured-cta {
    flex: 1 1 50%;
  }
  .featured-fp a {
  background-color: #8a9577;
  border-radius: 20px;
  color: #fff;
  padding: 8px 16px;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
    display: block;
  }

@media (max-width: 1023px) {
  .featured-fp {
    flex-direction: column-reverse;
  }
  .featured-img, .featured-content {
    width: 100%;
  }
  .featured-img {
    padding: 0 5% 5%;
  }
  .featured-content {
    padding: 2rem 5% 0;
}
}