/*
Theme Name: Blackstream PM Theme
Theme URI: https://blackstreampm.homepage.studio
Description: Custom theme for Blackstream Property Management
Author: HomePage Studios
Version: 3.0
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bs-black: #0B0E11;
  --bs-charcoal: #1A1D23;
  --bs-dark: #232830;
  --bs-slate: #2E333B;
  --bs-gray: #8A8F98;
  --bs-light: #C5C8CE;
  --bs-cream: #F5F3EF;
  --bs-white: #FFFFFF;
  --bs-gold: #C9A96E;
  --bs-gold-light: #D4BA85;
  --bs-green: #4A9B6E;
  --bs-font-heading: 'Playfair Display', Georgia, serif;
  --bs-font-body: 'Inter', -apple-system, sans-serif;
  --bs-radius: 4px;
  --bs-shadow: 0 4px 24px rgba(0,0,0,0.12);
  --bs-shadow-lg: 0 12px 48px rgba(0,0,0,0.2);
  --bs-transition: all 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 80px; }
body {
  font-family: var(--bs-font-body);
  color: var(--bs-charcoal);
  background: var(--bs-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--bs-transition); }
h1,h2,h3,h4,h5,h6 { font-family: var(--bs-font-heading); font-weight: 400; line-height: 1.2; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--bs-transition);
  background: transparent;
}
.site-header.scrolled {
  background: rgba(11,14,17,0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
.site-logo {
  font-family: var(--bs-font-heading);
  font-size: 22px;
  color: var(--bs-white);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.site-logo span { color: var(--bs-gold); }
.main-nav { display: flex; gap: 32px; align-items: center; }
.main-nav a {
  color: var(--bs-white);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--bs-gold);
  transition: var(--bs-transition);
}
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: var(--bs-gold); }
.header-cta {
  background: transparent;
  border: 1px solid var(--bs-gold);
  color: var(--bs-gold) !important;
  padding: 8px 20px;
  font-size: 12px !important;
  letter-spacing: 1.5px;
  cursor: pointer;
}
.header-cta:hover {
  background: var(--bs-gold);
  color: var(--bs-black) !important;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bs-white);
  margin: 5px 0;
  transition: var(--bs-transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,14,17,0.4) 0%, rgba(11,14,17,0.7) 60%, rgba(11,14,17,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--bs-gold);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--bs-white);
  margin-bottom: 20px;
  font-weight: 400;
}
.hero-sub {
  font-size: 18px;
  color: var(--bs-light);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ===== SEARCH BAR ===== */
.search-bar {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: -60px auto 0;
  background: var(--bs-white);
  border-radius: 8px;
  box-shadow: var(--bs-shadow-lg);
  padding: 24px 32px;
}
.search-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}
.search-field label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bs-gray);
  margin-bottom: 6px;
  font-weight: 600;
}
.search-field select,
.search-field input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #E2E2E2;
  border-radius: var(--bs-radius);
  font-family: var(--bs-font-body);
  font-size: 14px;
  color: var(--bs-charcoal);
  background: var(--bs-white);
  appearance: none;
  transition: var(--bs-transition);
}
.search-field select { background: var(--bs-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238A8F98'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.search-field select:focus,
.search-field input:focus { outline: none; border-color: var(--bs-gold); }
.search-btn {
  background: var(--bs-charcoal);
  color: var(--bs-white);
  border: none;
  padding: 12px 32px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--bs-radius);
  transition: var(--bs-transition);
  white-space: nowrap;
  font-family: var(--bs-font-body);
}
.search-btn:hover { background: var(--bs-gold); color: var(--bs-black); }



/* ===== SECTION STYLES ===== */
.section { padding: 100px 0; }
.section-dark { background: var(--bs-black); }
.section-cream { background: var(--bs-cream); }
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bs-gold);
  margin-bottom: 12px;
  font-weight: 600;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 20px;
}
.section-title-white { color: var(--bs-white); }
.section-subtitle {
  font-size: 16px;
  color: var(--bs-gray);
  max-width: 600px;
  line-height: 1.7;
}
.section-header { margin-bottom: 60px; }
.section-header-center { text-align: center; }
.section-header-center .section-subtitle { margin: 0 auto; }

/* ===== LISTINGS GRID ===== */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.listing-card {
  background: var(--bs-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: var(--bs-transition);
  cursor: pointer;
}
.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bs-shadow-lg);
}
.listing-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.listing-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.listing-card:hover .listing-card-image img { transform: scale(1.08); }
.listing-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--bs-green);
  color: var(--bs-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
}
.listing-badge.pending { background: var(--bs-gold); color: var(--bs-black); }
.listing-price {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(11,14,17,0.85);
  color: var(--bs-white);
  font-family: var(--bs-font-heading);
  font-size: 20px;
  padding: 6px 16px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.listing-card-body { padding: 20px 24px; }
.listing-address {
  font-family: var(--bs-font-heading);
  font-size: 18px;
  color: var(--bs-charcoal);
  margin-bottom: 4px;
}
.listing-location {
  font-size: 14px;
  color: var(--bs-gray);
  margin-bottom: 16px;
}
.listing-meta {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid #ECECEC;
}
.listing-meta-item {
  font-size: 13px;
  color: var(--bs-slate);
}
.listing-meta-item strong {
  font-weight: 700;
  margin-right: 4px;
}

/* ===== ABOUT/INTRO SECTION ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 500px;
}
.intro-image img { width: 100%; height: 100%; object-fit: cover; }
.intro-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--bs-gold);
  border-radius: 8px;
  z-index: -1;
}
.intro-content .section-subtitle { margin-bottom: 30px; max-width: none; }

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--bs-white);
  padding: 40px 32px;
  border-radius: 8px;
  border: 1px solid #ECECEC;
  transition: var(--bs-transition);
  text-align: center;
}
.service-card:hover {
  border-color: var(--bs-gold);
  box-shadow: var(--bs-shadow);
  transform: translateY(-4px);
}
.service-number {
  font-family: var(--bs-font-heading);
  font-size: 48px;
  color: var(--bs-gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--bs-charcoal);
}
.service-card p {
  font-size: 15px;
  color: var(--bs-gray);
  line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,14,17,0.88), rgba(26,29,35,0.92));
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--bs-white);
  margin-bottom: 20px;
}
.cta-content p {
  font-size: 17px;
  color: var(--bs-light);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--bs-radius);
  cursor: pointer;
  transition: var(--bs-transition);
  font-family: var(--bs-font-body);
  border: none;
}
.btn-gold {
  background: var(--bs-gold);
  color: var(--bs-black);
}
.btn-gold:hover { background: var(--bs-gold-light); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--bs-gold);
  color: var(--bs-gold);
}
.btn-outline:hover { background: var(--bs-gold); color: var(--bs-black); }
.btn-white {
  background: var(--bs-white);
  color: var(--bs-charcoal);
}
.btn-white:hover { background: var(--bs-cream); }
.btn-dark {
  background: var(--bs-charcoal);
  color: var(--bs-white);
}
.btn-dark:hover { background: var(--bs-gold); color: var(--bs-black); }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--bs-charcoal);
  padding: 48px;
  border-radius: 8px;
  border-left: 3px solid var(--bs-gold);
}
.testimonial-quote {
  font-family: var(--bs-font-heading);
  font-size: 20px;
  font-style: italic;
  color: var(--bs-light);
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-author {
  font-size: 14px;
  color: var(--bs-gold);
  font-weight: 600;
  letter-spacing: 1px;
}
.testimonial-role {
  font-size: 13px;
  color: var(--bs-gray);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bs-black);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .site-logo { margin-bottom: 16px; display: block; }
.footer-brand p {
  font-size: 14px;
  color: var(--bs-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--bs-slate);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-gray);
  font-size: 14px;
  transition: var(--bs-transition);
}
.footer-social a:hover { border-color: var(--bs-gold); color: var(--bs-gold); }
.footer-col h4 {
  font-family: var(--bs-font-body);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bs-white);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--bs-gray); }
.footer-col a:hover { color: var(--bs-gold); }
.footer-bottom {
  border-top: 1px solid var(--bs-slate);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 13px; color: var(--bs-gray); }
.footer-bottom a { color: var(--bs-gold); }

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info-item {
  margin-bottom: 32px;
}
.contact-info-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bs-gold);
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-info-value {
  font-size: 16px;
  color: var(--bs-charcoal);
  line-height: 1.6;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #E2E2E2;
  border-radius: var(--bs-radius);
  font-family: var(--bs-font-body);
  font-size: 14px;
  margin-bottom: 16px;
  transition: var(--bs-transition);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { outline: none; border-color: var(--bs-gold); }
.contact-form textarea { height: 140px; resize: vertical; }

/* ===== PORTAL CARDS ===== */
.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.portal-card {
  background: var(--bs-charcoal);
  padding: 48px;
  border-radius: 8px;
  text-align: center;
  transition: var(--bs-transition);
}
.portal-card:hover { background: var(--bs-slate); }
.portal-card h3 {
  font-size: 24px;
  color: var(--bs-white);
  margin-bottom: 12px;
}
.portal-card p {
  color: var(--bs-gray);
  font-size: 15px;
  margin-bottom: 24px;
}

/* ===== AWARDS BAR ===== */
.awards-bar {
  padding: 48px 0;
  border-bottom: 1px solid #ECECEC;
}
.awards-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.award-item {
  text-align: center;
}
.award-item .award-year {
  font-family: var(--bs-font-heading);
  font-size: 32px;
  color: var(--bs-gold);
  line-height: 1;
}
.award-item .award-text {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bs-gray);
  margin-top: 4px;
}

/* ===== LISTING DETAIL MODAL ===== */
.listing-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.listing-modal-overlay.active { display: flex; }
.listing-modal {
  background: var(--bs-white);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  position: relative;
}
.listing-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--bs-charcoal);
  color: var(--bs-white);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing-modal-gallery {
  height: 400px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.listing-modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-modal-body {
  padding: 32px 40px 40px;
}
.listing-modal-body h2 {
  font-size: 28px;
  margin-bottom: 4px;
}
.listing-modal-body .listing-location {
  font-size: 15px;
  margin-bottom: 20px;
}
.listing-modal-price {
  font-family: var(--bs-font-heading);
  font-size: 32px;
  color: var(--bs-gold);
  margin-bottom: 24px;
}
.listing-modal-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bs-cream);
  border-radius: 8px;
}
.listing-modal-meta-item { text-align: center; }
.listing-modal-meta-item .value {
  font-family: var(--bs-font-heading);
  font-size: 22px;
  color: var(--bs-charcoal);
}
.listing-modal-meta-item .label {
  font-size: 12px;
  color: var(--bs-gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.listing-modal-desc {
  font-size: 15px;
  color: var(--bs-slate);
  line-height: 1.8;
  margin-bottom: 24px;
}
.listing-modal-amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin-bottom: 28px;
}
.listing-modal-amenities li {
  list-style: none;
  font-size: 14px;
  color: var(--bs-slate);
  padding: 6px 0;
  border-bottom: 1px solid #F0F0F0;
}
.listing-modal-amenities li::before {
  content: '✓';
  color: var(--bs-green);
  margin-right: 8px;
  font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .intro-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .main-nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--bs-black);
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
  }
  .main-nav.active a { font-size: 18px; }
  .hero { min-height: 600px; }
  .hero h1 { font-size: 32px; }
  .search-bar { margin: -40px 16px 0; padding: 20px; }
  .search-bar-inner {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .search-btn { grid-column: 1 / -1; }
  .listings-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-image { height: 300px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 64px 0; }
  .listing-modal-meta { grid-template-columns: repeat(2, 1fr); }
  .listing-modal-gallery { height: 250px; }
  .listing-modal-body { padding: 24px; }
}

@media (max-width: 480px) {
  .search-bar-inner { grid-template-columns: 1fr; }
  .stat-item .stat-number { font-size: 36px; }
}

/* ===== LUXURY ADDITIONS — WOW EFFECTS ===== */

/* ===== HERO FLOATING STATS BAR ===== */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(11, 14, 17, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    padding: 28px 48px;
}
.hero-stat {
    text-align: center;
    padding: 0 36px;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(201, 169, 110, 0.25);
}
.hero-stat-number {
    font-family: var(--bs-font-heading);
    font-size: 36px;
    color: var(--bs-gold);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}
.hero-stat-label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bs-light);
    white-space: nowrap;
}
@media (max-width: 768px) {
    .hero-stat-label {
        white-space: normal;
        font-size: 9px;
        letter-spacing: 1px;
        line-height: 1.3;
    }
}

/* ===== GIANT WATERMARK TYPOGRAPHY ===== */
.watermark-text {
    position: absolute;
    top: 50%;
    left: -3%;
    transform: translateY(-50%);
    font-family: var(--bs-font-heading);
    font-size: clamp(120px, 15vw, 220px);
    font-weight: 400;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -4px;
}
.watermark-right {
    left: auto;
    right: -3%;
    text-align: right;
}
.watermark-light {
    color: rgba(255, 255, 255, 0.03);
}
.section-cream .watermark-text {
    color: rgba(0, 0, 0, 0.04);
}

/* ===== CINEMATIC PARALLAX BREAK ===== */
.parallax-break {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.parallax-bg {
    position: absolute;
    inset: -20% 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,14,17,0.82), rgba(26,29,35,0.88));
}
.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}
.parallax-content h2 {
    font-family: var(--bs-font-heading);
    font-size: clamp(32px, 4vw, 56px);
    color: var(--bs-white);
    font-weight: 400;
    line-height: 1.2;
}

/* ===== AWARDS MARQUEE ===== */
.awards-marquee {
    background: var(--bs-charcoal);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}
.awards-marquee::before,
.awards-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.awards-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bs-charcoal), transparent);
}
.awards-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bs-charcoal), transparent);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}
.marquee-item {
    font-family: var(--bs-font-heading);
    font-size: 16px;
    color: var(--bs-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.marquee-divider {
    color: rgba(201, 169, 110, 0.3);
    font-size: 20px;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    transform: translateX(-60px) translateY(0);
}
.reveal-left.active {
    transform: translateX(0) translateY(0);
}
.reveal-right {
    transform: translateX(60px) translateY(0);
}
.reveal-right.active {
    transform: translateX(0) translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== TESTIMONIAL UPGRADE ===== */
.testimonial-card {
    position: relative;
    background: var(--bs-charcoal);
    padding: 60px 48px 48px;
    border-radius: 12px;
    border-left: 3px solid var(--bs-gold);
    overflow: visible;
}
.testimonial-quote-mark {
    font-family: var(--bs-font-heading);
    font-size: 140px;
    color: var(--bs-gold);
    opacity: 0.15;
    position: absolute;
    top: -20px;
    left: 28px;
    line-height: 1;
    pointer-events: none;
}

/* ===== PORTAL GLASS MORPHISM ===== */
.portal-card {
    background: rgba(35, 40, 48, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(201, 169, 110, 0.1);
    padding: 56px 48px;
    border-radius: 12px;
    text-align: center;
    transition: var(--bs-transition);
}
.portal-card:hover {
    background: rgba(46, 51, 59, 0.8);
    border-color: rgba(201, 169, 110, 0.25);
    transform: translateY(-4px);
}

/* ===== SECTION GRADIENT TRANSITIONS ===== */
.section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 80px;
    pointer-events: none;
    z-index: 1;
}
/* Only apply gradient transitions on specific sections */
#featured-listings {
    position: relative;
}
.section-cream {
    position: relative;
}

/* ===== ENHANCED SERVICE CARDS ===== */
.service-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #ECECEC;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bs-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card:hover .service-number {
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

/* ===== LISTING CARD ENHANCEMENTS ===== */
.listing-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.listing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ===== HERO REFINEMENTS ===== */
.hero-content {
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-stats-bar {
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

/* ===== BUTTON REFINEMENTS ===== */
.btn {
    position: relative;
    overflow: hidden;
}
.btn-gold {
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.25);
}
.btn-gold:hover {
    box-shadow: 0 6px 30px rgba(201, 169, 110, 0.35);
    transform: translateY(-1px);
}

/* ===== INTRO IMAGE OVERLAY EFFECT ===== */
.intro-image {
    border-radius: 12px;
}
.intro-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(11,14,17,0.2) 100%);
    border-radius: 12px;
    pointer-events: none;
}

/* ===== RESPONSIVE FIXES FOR LUXURY ADDITIONS ===== */
@media (max-width: 768px) {
    .hero-stats-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        flex-wrap: wrap;
        padding: 16px 12px;
        gap: 8px 0;
        border-radius: 0;
        justify-content: center;
    }
    .hero-stat {
        padding: 4px 8px;
        flex: 0 0 50%;
        text-align: center;
    }
    .hero-stat-divider {
        display: none;
    }
    .hero-stat-number {
        font-size: 28px;
    }
    .watermark-text {
        font-size: 80px;
    }
    .parallax-break {
        height: 35vh;
        min-height: 280px;
    }
    .parallax-bg {
        background-attachment: scroll;
    }
    .testimonial-card {
        padding: 48px 28px 36px;
    }
    .testimonial-quote-mark {
        font-size: 100px;
        top: -10px;
        left: 16px;
    }
    .portal-card {
        padding: 40px 28px;
    }
}

.logo-img { height: 40px; width: auto; transition: var(--bs-transition); }
.site-header.scrolled .logo-img { height: 34px; }

/* ===== LOGO IMAGE ===== */
.logo-img {
    height: 40px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}
.site-header.scrolled .logo-img {
    height: 34px;
}
.footer-logo-img {
    height: 50px;
    margin-bottom: 16px;
}
@media (max-width: 768px) {
    .logo-img { height: 32px; }
    .footer-logo-img { height: 40px; }
}

/* 3-column portal grid for about/contact pages */
.portal-grid[style*='repeat(3'] { }
@media (max-width: 768px) {
    .portal-grid { grid-template-columns: 1fr !important; }
}

/* Contact form mobile fix */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr !important; }
    .contact-form { padding: 24px !important; }
}

@media (max-width: 768px) {
    .hero { padding-bottom: 160px; }
    .hero-content { padding: 0 20px; }
}


/* ===== TESTIMONIAL CAROUSEL ===== */
.testimonial-slides { position: relative; min-height: 280px; }
.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}
.testimonial-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--bs-gold);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: var(--bs-transition);
}
.testimonial-dot.active,
.testimonial-dot:hover {
    background: var(--bs-gold);
}
.testimonial-quote-mark {
    font-family: var(--bs-font-heading);
    font-size: 64px;
    color: var(--bs-gold);
    line-height: 0.8;
    margin-bottom: 16px;
    opacity: 0.6;
}

/* ===== IMPROVED PORTAL CARDS ===== */
.portal-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 110, 0.15);
}
.portal-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bs-gold), var(--bs-gold-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.portal-card:hover::before {
    transform: scaleX(1);
}

/* ===== MOBILE STATS BAR FIX ===== */
@media (max-width: 768px) {
    .hero-stats-bar {
        padding: 20px 16px;
        gap: 0;
        width: calc(100% - 32px);
    }
    .hero-stat {
        padding: 0 12px;
        flex: 1;
    }
    .hero-stat-number {
        font-size: 24px;
    }
    .hero-stat-label {
        font-size: 8px;
        letter-spacing: 0.5px;
    }
    .hero-stat-divider {
        height: 28px;
    }
    
    /* Testimonial mobile */
    .testimonial-slides { min-height: 340px; }
    .testimonial-card { padding: 32px 24px; }
    .testimonial-quote { font-size: 17px; }
}

/* ===== LEASED BADGE ===== */
.listing-badge.leased { background: var(--bs-gray); color: var(--bs-white); }
