/* ── HOUSE AVAILABILITY ── */

.house-availability {
  background: var(--sand-light);
}

.availability-info {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.availability-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 12px;
  margin-bottom: 20px;
}house-ava

.availability-status.available {
  background: rgba(92, 107, 79, 0.1);
  color: var(--olive);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--olive);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.availability-periods-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.availability-period-item {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.period-dates {
  font-weight: 500;
  color: var(--charcoal);
}

.period-note {
  color: var(--text-light);
  font-style: italic;
  margin-left: 8px;
}

.availability-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--olive);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.availability-link:hover {
  color: var(--olive-light);
}

/* ── HOUSE DETAIL PAGE STYLES ── */

.back-link {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--terracotta);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--gold);
}

.hero-location {
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--sand-dark);
  margin-top: 8px;
}

/* Carousel */
.house-gallery-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.carousel {
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--charcoal);
  aspect-ratio: 16 / 10;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
}

.carousel-track:active {
  cursor: grabbing;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Carousel Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
  color: var(--charcoal);
}

.carousel-btn--prev {
  left: 16px;
}

.carousel-btn--next {
  right: 16px;
}

/* Carousel Counter */
.carousel-counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Thumbnails */
.carousel-thumbnails {
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--sand-dark) transparent;
}

.carousel-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.carousel-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}

.carousel-thumbnails::-webkit-scrollbar-thumb {
  background: var(--sand-dark);
  border-radius: 2px;
}

.carousel-thumbnails-track {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 0 4px;
}

.carousel-thumb {
  flex: 0 0 80px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  background: none;
  opacity: 0.6;
}

.carousel-thumb:hover {
  opacity: 0.9;
  border-color: var(--sand-dark);
}

.carousel-thumb.active {
  opacity: 1;
  border-color: var(--olive);
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CSS-only Tabs */
.css-tabs {
  max-width: 800px;
  margin: 0 auto;
}

.css-tabs-radio {
  display: none;
}

.css-tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--sand);
  margin-bottom: 32px;
}

.css-tab-label {
  padding: 12px 24px;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.3s, border-color 0.3s;
}

.css-tab-label:hover {
  color: var(--charcoal);
}

.css-tabs-radio:nth-of-type(1):checked ~ .css-tabs-nav .css-tab-label:nth-child(1),
.css-tabs-radio:nth-of-type(2):checked ~ .css-tabs-nav .css-tab-label:nth-child(2),
.css-tabs-radio:nth-of-type(3):checked ~ .css-tabs-nav .css-tab-label:nth-child(3) {
  color: var(--charcoal);
  border-bottom-color: var(--terracotta);
}

.css-tabs-content {
  position: relative;
}

.css-tab-panel {
  display: none;
}

.css-tabs-radio:nth-of-type(1):checked ~ .css-tabs-content #panel-first,
.css-tabs-radio:nth-of-type(2):checked ~ .css-tabs-content #panel-second,
.css-tabs-radio:nth-of-type(3):checked ~ .css-tabs-content #panel-info {
  display: block;
}

.floorplan-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* House Icons */
.house-icons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.house-icon-tag {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  background: var(--sand-light);
  border: 1px solid var(--sand-dark);
  padding: 6px 14px;
  border-radius: 20px;
}

/* House CTA */
.house-cta {
  background: var(--warm-white);
}

.house-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  gap: 32px;
}

/* House Info Grid */
.house-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.house-info-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--sand-light);
  border-radius: 12px;
}

.house-info-label {
  display: block;
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.house-info-value {
  display: block;
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--charcoal);
}


@media (max-width: 768px) {
  .carousel-main {
    border-radius: 12px;
    aspect-ratio: 4 / 3;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }

  .carousel-btn--prev {
    left: 10px;
  }

  .carousel-btn--next {
    right: 10px;
  }

  .carousel-thumb {
    flex: 0 0 64px;
    height: 44px;
  }

  .house-cta-content {
    flex-direction: column;
    text-align: center;
  }

  .css-tabs-nav {
    justify-content: center;
  }

  .house-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
