﻿/* =====================================================
   SALES PAGE
   Dark / gold aesthetic matching main site
===================================================== */

/* --- HERO --- */
.sales-hero {
  position: relative;
  height:   500px;
  overflow: hidden;
}

.sales-hero img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
  filter:     grayscale(20%);
}

.sales-hero::before {
  content:    "";
  position:   absolute;
  inset:      0;
  background: linear-gradient(135deg, rgba(0,0,0,0.78) 0%, rgba(5,5,5,0.62) 100%);
  z-index:    1;
}

.sales-hero-content {
  position:        absolute;
  inset:           0;
  display:         flex;
  flex-direction:  column;
  justify-content: center;
  align-items:     center;
  text-align:      center;
  z-index:         2;
  padding:         0 20px;
  color:           #fff;
  animation:       salesHeroIn 0.9s ease 0.3s both;
}

@keyframes salesHeroIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sales-hero-content .eyebrow {
  color:         var(--color-gold);
  margin-bottom: 18px;
}

.sales-hero-content .eyebrow::before { background: var(--color-gold); }

.sales-hero-content h1 {
  font-size:      56px;
  font-weight:    700;
  letter-spacing: -1px;
  color:          #fff;
  margin:         0 0 18px;
  line-height:    1.1;
  max-width:      900px;
}

.sales-hero-content h1 strong {
  color:       var(--color-gold);
  font-weight: 700;
}

.sales-hero-content p {
  font-size:   18px;
  max-width:   640px;
  margin:      0;
  opacity:     0.82;
  line-height: 1.65;
  font-weight: 300;
}

/* --- PROPERTIES SECTION --- */
.sales-properties {
  background: #fff;
  padding:    90px 40px;
}

.sales-properties-inner {
  max-width: 1300px;
  margin:    0 auto;
}

.sales-properties-inner .eyebrow { margin-bottom: 14px; }

.sales-properties-inner > h2 {
  font-size:      42px;
  font-weight:    700;
  color:          var(--color-primary);
  margin-bottom:  10px;
  letter-spacing: -0.5px;
  line-height:    1.15;
}

.sales-properties-inner > h2 strong { color: var(--color-gold); }

.sales-properties-inner > p {
  font-size:     16px;
  color:         var(--color-mid);
  margin-bottom: 50px;
  max-width:     560px;
}

/* --- PROPERTY GRID --- */
.sales-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   28px;
}

/* --- PROPERTY CARD --- */
.property-card {
  position:   relative;
  background: #fff;
  border:     1px solid var(--color-border);
  overflow:   hidden;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
  cursor:     pointer;
  display:    block;
  text-decoration: none;
}

.property-card:hover {
  box-shadow:   0 16px 48px rgba(0,0,0,0.12);
  border-color: var(--color-gold);
  text-decoration: none;
}

.property-img {
  width:    100%;
  height:   220px;
  overflow: hidden;
  position: relative;
}

.property-img img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
  filter:     grayscale(15%);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.property-card:hover .property-img img {
  transform: scale(1.07);
  filter:    grayscale(0%);
}

/* Dark overlay on hover */
.property-img::before {
  content:    "";
  position:   absolute;
  inset:      0;
  background: rgba(0,0,0,0);
  z-index:    2;
  transition: background 0.4s ease;
}

.property-card:hover .property-img::before {
  background: rgba(0,0,0,0.18);
}

/* Gold bottom accent */
.property-card::after {
  content:    "";
  position:   absolute;
  bottom:     0;
  left:       0;
  width:      0;
  height:     3px;
  background: var(--color-gold);
  transition: width 0.4s ease;
  z-index:    3;
}

.property-card:hover::after { width: 100%; }

.property-info {
  padding: 20px 22px 24px;
}

.property-info h3 {
  font-size:      13px;
  font-weight:    700;
  color:          var(--color-primary);
  line-height:    1.5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin:         0 0 10px;
  transition:     color 0.2s ease;
}

.property-card:hover .property-info h3 { color: var(--color-gold); }

.property-info .property-tag {
  display:        inline-block;
  font-size:      10px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color:          var(--color-gold);
  border:         1px solid var(--color-gold);
  padding:        3px 10px;
}

/* --- CTA --- */
.sales-cta {
  background:
    linear-gradient(135deg, rgba(15,15,15,0.97) 0%, rgba(5,5,5,0.97) 100%),
    url('../img/topbar2.jpg');
  background-size:     cover;
  background-position: center;
  padding:             90px 40px;
  position:            relative;
  overflow:            hidden;
}

.sales-cta::before {
  content:    '';
  position:   absolute;
  top:        0; left: 0; right: 0;
  height:     2px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.sales-cta-inner {
  max-width:       1300px;
  margin:          0 auto;
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             40px;
}

.sales-cta .eyebrow {
  color:         var(--color-gold) !important;
  margin-bottom: 14px;
}

.sales-cta .eyebrow::before { background: var(--color-gold) !important; }

.sales-cta h2 {
  font-size:      38px;
  font-weight:    700;
  color:          #fff !important;
  margin:         0;
  letter-spacing: -0.5px;
}

.sales-cta h2::after  { display: none !important; }
.sales-cta h2 strong  { color: var(--color-gold); }

.sales-cta .btn-action {
  background:  var(--color-gold);
  color:       #fff !important;
  border:      2px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
}

.sales-cta .btn-action:hover {
  background: transparent;
  color:      var(--color-gold) !important;
  border:     2px solid var(--color-gold);
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .sales-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .sales-hero             { height: 360px; }
  .sales-hero-content h1  { font-size: 36px; }
  .sales-hero-content p   { font-size: 15px; }

  /* Suppress CSS-only hero animation on mobile */
  .sales-hero-content     { animation: none; }

  .sales-properties       { padding: 60px 20px; }
  .sales-properties-inner > h2 { font-size: 28px; }
  .sales-grid             { grid-template-columns: repeat(2, 1fr); }
  .sales-cta              { padding: 60px 20px; }
  .sales-cta-inner        { flex-direction: column; align-items: center; text-align: center; gap: 28px; }
  .sales-cta .btn-action { align-self: center; }
  .sales-cta h2           { font-size: 28px; }
}

@media (max-width: 640px) {
  .sales-hero             { height: 280px; }
  .sales-hero-content h1  { font-size: 26px; }
  .sales-hero-content p   { font-size: 14px; }
  .sales-grid             { grid-template-columns: 1fr; }
  .property-img           { height: 200px; }
  .sales-properties-inner > h2 { font-size: 24px; }
  .sales-properties       { padding: 50px 15px; }
}





