/* ==========================================================================
   VEGAS HOMES - PUBLIC PAGES STYLES (public.css)
   Homepage Hero, Directory Layout, Property Detail View, Guides & Maps
   ========================================================================== */

/* --- HOMEPAGE HERO --- */
.hero-section {
  position: relative;
  min-height: 85vh;
  background-color: var(--dark-slate);
  color: #ffffff;
  display: flex;
  align-items: center;
  padding: 5rem 0 7rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(1.2);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(200, 16, 46, 0.28) 0%, transparent 60%),
              linear-gradient(to bottom, rgba(11, 37, 69, 0.75) 0%, rgba(7, 13, 24, 0.96) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 860px;
  margin: 0 auto 3rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(200, 16, 46, 0.2);
  border: 1px solid rgba(200, 16, 46, 0.4);
  color: #fecdd3;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero-title span {
  color: #fca5a5;
  background: linear-gradient(135deg, #ffffff 40%, #fca5a5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #e2e8f0;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Trust Stats Strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-num span {
  color: #f59e0b; /* Strategic yellow accent */
}

.stat-label {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Why Vegas Homes Value Cards */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: #ffffff;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(200, 16, 46, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(200, 16, 46, 0.15);
}
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
}

/* Step-by-Step Customer Journey */
.journey-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

.journey-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.journey-step:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-light);
  transform: translateY(-4px);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.journey-step h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.journey-step p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Map Preview Section on Homepage */
.map-preview-wrapper {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 520px;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 500px;
  position: relative;
  z-index: 1;
}

.map-sidebar {
  padding: 2rem;
  background: #ffffff;
  border-left: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

/* --- PROPERTY DIRECTORY PAGE --- */
.directory-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  padding: 3rem 0 5rem;
}

.directory-sidebar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.filter-group {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.directory-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  background: #ffffff;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.view-toggles {
  display: flex;
  gap: 0.5rem;
}

.view-btn {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #ffffff;
  cursor: pointer;
  color: var(--text-muted);
}

.view-btn.active {
  background: var(--dark-slate);
  color: #ffffff;
  border-color: var(--dark-slate);
}

/* --- INDIVIDUAL PROPERTY DETAIL PAGE --- */
.property-hero-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 2rem 0;
}

.property-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.property-breadcrumbs a {
  color: var(--text-muted);
}

.property-breadcrumbs a:hover {
  color: var(--primary);
}

.prop-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.prop-main-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.prop-main-price {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-align: right;
}

/* Property Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 1rem;
  height: 480px;
  margin: 2rem 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.gallery-main {
  height: 100%;
  cursor: pointer;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-main:hover img {
  transform: scale(1.02);
}

.gallery-thumbs {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-gap: 1rem;
  height: 100%;
}

.gallery-thumb-item {
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-thumb-item:hover img {
  transform: scale(1.05);
}

.gallery-more-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 13, 24, 0.6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  backdrop-filter: blur(2px);
}

/* Property Detail 2-Column Content */
.property-content-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  padding-bottom: 5rem;
}

.detail-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.detail-heading {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Specs Grid Table */
.specs-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.spec-box {
  background: #f8fafc;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
}

.spec-box-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.spec-box-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Features Checklist */
.features-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature-check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #334155;
}

.feature-check-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Sticky Booking & Quick Action Card */
.sticky-inquiry-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

/* Sold Property Banner */
.sold-notice-banner {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.sold-notice-banner h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.sold-notice-banner p {
  font-size: 0.9rem;
  color: #fee2e2;
}

/* Responsive Public Styles */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
  .journey-steps {
    grid-template-columns: 1fr 1fr;
  }
  .map-preview-wrapper {
    grid-template-columns: 1fr;
  }
  .directory-layout {
    grid-template-columns: 1fr;
  }
  .directory-sidebar {
    position: static;
    max-height: none;
  }
  .property-content-layout {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    height: 320px;
  }
  .gallery-thumbs {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .prop-title-row {
    flex-direction: column;
    gap: 1rem;
  }
  .prop-main-price {
    text-align: left;
  }
  .specs-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
  .features-checklist {
    grid-template-columns: 1fr;
  }
  .journey-steps {
    grid-template-columns: 1fr;
  }
}

/* --- MEET MANAGEMENT TEAM (Verified Leadership) --- */
.management-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.management-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.management-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(200, 16, 46, 0.4);
}

.management-photo-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

.management-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.management-card:hover .management-photo {
  transform: scale(1.05);
}

.management-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.management-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b2545; /* Trust Blue */
  margin-bottom: 0.25rem;
}

.management-role {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary); /* Vegas Red */
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.management-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .management-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .management-grid {
    grid-template-columns: 1fr;
  }
}

/* --- BOOK SITE INSPECTION SECTION --- */
.inspection-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.inspection-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-full-col {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .inspection-form-grid {
    grid-template-columns: 1fr;
  }
  .inspection-box {
    padding: 1.75rem 1.25rem;
  }
}
