/**
 * Community Landing Page Styles
 * 
 * Custom styles for the community landing page template
 * Extends Bootstrap 5 classes with minimal custom CSS
 */

/* ============================================
   Hero Section
   ============================================ */
.community-hero {
  min-height: 660px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.community-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.community-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}

.community-hero-content {
  position: absolute;
  z-index: 10;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
}

.community-hero-content h1 {

  font-size: 3rem;
  line-height: 1.2;
  text-align: center;

}

.community-hero-content h1 strong {
  font-weight: inherit !important;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
  background: #1c1917;
  color: white;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #a8a29e;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 300;
}

/* ============================================
   Image Gallery
   ============================================ */
.image-gallery-main {
  position: relative;
  border-radius: 0.375rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.image-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.image-accent {
  position: absolute;
  width: 128px;
  height: 128px;
  right: -24px;
  bottom: -24px;
  background: rgba(28, 25, 23, 0.05);
  z-index: -10;
  border-radius: 0.375rem;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.gallery-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 0.375rem;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
  border: none;
  padding: 0;
}

.gallery-thumb:first-child {
  opacity: 1;
  box-shadow: 0 0 0 2px #1c1917;
}

.gallery-thumb:hover {
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Floor Plans Section
   ============================================ */



/* ============================================
   About  Section
   ============================================ */

/* ============================================
   Amenities Section
   ============================================ */
.amenity-icon {
  width: 64px;
  height: 64px;
  background: #f5f5f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.amenity-icon i {
  font-size: 1.5rem;
}

.amenities-feature {
  background: #1c1917;
  border-radius: 0.375rem;
  overflow: hidden;
}

.amenities-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

/* ============================================
   Lot Cards
   ============================================ */
.lot-card {
  transition: box-shadow 0.3s ease;
}

.lot-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ============================================
   Financing Section
   ============================================ */
.financing-section {
  background: #1c1917;
  color: white;
}

.icon-badge {
  display: inline-flex;
  background: #292524;
  padding: 1rem;
  border-radius: 50%;
  margin-bottom: 2rem;
}

.icon-badge i {
  font-size: 2rem;
}

/* ============================================
   Visit/Contact Section
   ============================================ */
.visit-section {
  position: relative;
  overflow: hidden;
}

.visit-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 33.333%;
  height: 100%;
  background: rgb(250, 249, 246);
  z-index: -10;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: #f5f5f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 1.25rem;
  color: #57534e;
}

.form-card {
  background: white;
  border: 1px solid #f5f5f4;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ============================================
   Section Labels & Typography
   ============================================ */
.section-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  color: #78716c;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title-large {
  font-weight: 300;
  font-size: 2.25rem;
  line-height: 2.8125rem;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 1024px) {
  .community-hero h1 {
    font-size: 3.5rem;
    line-height: 4.375rem;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit-bg {
    width: 100%;
    height: 33.333%;
  }
}

@media (max-width: 768px) {
  .community-hero {
    min-height: 400px;
  }

  .community-hero h1 {
    font-size: 2.5rem;
    line-height: 3.125rem;
  }

  .community-hero-content {
    padding-top: 100px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amenities-feature img {
    min-height: 300px;
  }

  .section-title-large {
    font-size: 1.875rem;
    line-height: 2.34375rem;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.overlay {
  position: relative;
}

.overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.overlay>* {
  position: relative;
  z-index: 2;
}

.bgAccent {
  background-color: rgb(250, 249, 246);
}

.text-body-lg {
  font-size: 1.125rem;
  line-height: 1.8282rem;
}