/*
Theme Name: The Real Landmark
Author: The Real Landmark
Description: Custom luxury real estate theme
Version: 1.0
Text Domain: thereallandmark
*/

/* ==========================================================================
   1. LUXURY COLOR PALETTE & TYPOGRAPHY
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --matte-black: #121212;
  --dark-card: #1e1e1e;
  --cream: #f7f4ef;
  --cream-accent: #e5dec9;
  --white: #ffffff;
  --text-muted: #a0a0a0;
  
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--matte-black);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background-color: var(--matte-black);
  border-bottom: 1px solid rgba(247, 244, 239, 0.1);
  padding: 20px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 700;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-navigation a {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.8;
}

.main-navigation a:hover {
  opacity: 1;
  color: var(--cream-accent);
}

/* ==========================================================================
   3. LISTINGS ARCHIVE (GRID DISPLAY)
   ========================================================================== */
.site-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 5%;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: 1px;
  color: var(--cream);
  border-bottom: 1px solid rgba(247, 244, 239, 0.15);
  padding-bottom: 15px;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 35px;
}

.listing-card {
  background-color: var(--dark-card);
  border: 1px solid rgba(247, 244, 239, 0.08);
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.listing-card:hover {
  transform: translateY(-6px);
  border-color: var(--cream-accent);
}

.listing-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
  transition: filter 0.4s ease;
}

.listing-card:hover img {
  filter: brightness(1.05);
}

.listing-card h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  padding: 20px 20px 5px 20px;
  color: var(--white);
}

.listing-price {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cream-accent);
  padding: 0 20px 20px 20px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   4. SINGLE PROPERTY PAGE & GALLERY
   ========================================================================== */
.single-listing .property-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.price-tag {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--cream-accent);
  margin-bottom: 20px;
}

.featured-image img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border: 1px solid rgba(247, 244, 239, 0.1);
}

/* Custom Gallery Grid */
.listing-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.listing-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.3s;
}

.listing-gallery img:hover {
  opacity: 0.8;
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--matte-black);
  border-top: 1px solid rgba(247, 244, 239, 0.1);
  padding: 50px 5%;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 80px;
}
.footer-inner { max-width: 640px; margin: 0 auto; }
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 2px;
  color: var(--cream);
  margin-bottom: 12px;
}
.footer-inner p { margin-bottom: 10px; }
.footer-inner a:hover { color: var(--cream-accent); }
.footer-links { margin: 18px 0; }






/* --- BUTTONS & INTERACTIVE LINKS --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--cream);
  color: var(--matte-black);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-header-call {
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
}

.btn-header-wa {
  background-color: #25d366;
  color: white;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* --- TRUST STRIP --- */
.trust-strip {
  border-top: 1px solid rgba(247, 244, 239, 0.1);
  border-bottom: 1px solid rgba(247, 244, 239, 0.1);
  padding: 30px 0;
  text-align: center;
  margin: 50px 0;
}

.trust-title {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.builder-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 3px;
  color: var(--cream-accent);
  opacity: 0.8;
}

/* --- WHY CHOOSE US & HIGHLIGHT CARD --- */
.why-us-section { margin: 80px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}
.feature-card {
  background: var(--dark-card);
  padding: 30px;
  border: 1px solid rgba(247, 244, 239, 0.08);
  position: relative;
}
.feature-highlight {
  border: 1px solid var(--cream-accent);
}
.feature-highlight .badge {
  background: var(--cream-accent);
  color: var(--matte-black);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  position: absolute;
  top: -12px;
  left: 20px;
  letter-spacing: 1px;
}

/* --- FLOATING WHATSAPP --- */
.floating-wa {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  z-index: 9999;
}




/* --- LUXURY HEADER LAYOUT OVERRIDE --- */
.site-header {
  background: var(--matte-black);
  border-bottom: 1px solid rgba(247, 244, 239, 0.12);
  padding: 18px 5%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--cream);
}

.main-navigation ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.75;
}

.main-navigation a:hover {
  opacity: 1;
  color: var(--cream-accent);
}

/* --- ABOUT & CONTACT LAYOUTS --- */
.about-hero { margin-bottom: 50px; border-bottom: 1px solid rgba(247, 244, 239, 0.1); padding-bottom: 30px; }
.hero-lead { font-size: 1.2rem; color: var(--cream-accent); margin-top: 10px; }

.about-content-grid {
  display: grid;
  gap: 40px;
  max-width: 900px;
}

.about-block h2 { font-family: var(--font-heading); font-size: 2rem; color: var(--cream); margin-bottom: 15px; }
.about-block p, .about-block li { color: rgba(247, 244, 239, 0.85); font-size: 1rem; line-height: 1.8; }

.highlight-box, .promise-box {
  background: var(--dark-card);
  padding: 30px;
  border-left: 3px solid var(--cream-accent);
}

.custom-list { list-style: none; padding: 0; }
.custom-list li { margin-bottom: 12px; position: relative; padding-left: 20px; }
.custom-list li::before { content: "—"; position: absolute; left: 0; color: var(--cream-accent); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.info-card {
  background: var(--dark-card);
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid rgba(247, 244, 239, 0.08);
}

.info-card strong { display: block; color: var(--cream-accent); margin-bottom: 5px; }

/* Custom Contact Form */
.custom-contact-form { display: grid; gap: 15px; }
.custom-contact-form input, 
.custom-contact-form select, 
.custom-contact-form textarea {
  width: 100%;
  padding: 14px;
  background: #181818;
  border: 1px solid rgba(247, 244, 239, 0.15);
  color: var(--cream);
  font-family: var(--font-body);
}

.btn-submit {
  background: var(--cream);
  color: var(--matte-black);
  padding: 14px;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.btn-submit:hover { opacity: 0.9; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-notice { padding: 14px 18px; margin-bottom: 20px; font-size: 0.9rem; }
.form-success { background: rgba(37, 211, 102, 0.15); border-left: 3px solid #25d366; color: var(--cream); }
.form-error { background: rgba(220, 80, 80, 0.15); border-left: 3px solid #dc5050; color: var(--cream); }
.map-section { margin-top: 60px; }
.map-section h2 { font-family: var(--font-heading); margin-bottom: 20px; }
.map-wrapper { border: 1px solid rgba(247, 244, 239, 0.12); line-height: 0; }

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(18,18,18,0.55) 0%, rgba(18,18,18,0.85) 65%, var(--matte-black) 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  padding: 0 5%;
  margin: -1px -5% 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 5%;
  text-align: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--cream-accent);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  font-weight: 500;
}

.hero-description {
  font-size: 1rem;
  color: rgba(247, 244, 239, 0.85);
  max-width: 580px;
  margin: 0 auto 34px;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   7. SECTION HEADERS
   ========================================================================== */
.site-main.home-page > section {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 5%;
}
.site-main.home-page .hero-section { padding: 0; }

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--cream);
  text-align: center;
  margin-bottom: 45px;
  letter-spacing: 0.5px;
}

.featured-projects-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 35px;
}
.featured-projects-section .section-header .section-title { margin-bottom: 0; text-align: left; }

.link-view-all {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream-accent);
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.link-view-all:hover { border-bottom-color: var(--cream-accent); }

.featured-projects-section p { color: var(--text-muted); text-align: center; padding: 40px 0; }

/* ==========================================================================
   8. HOW IT WORKS
   ========================================================================== */
.how-it-works-section { margin: 90px 0; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.step-item {
  padding: 25px 5px;
  border-top: 1px solid rgba(247, 244, 239, 0.15);
}

.step-item span {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--cream-accent);
  margin-bottom: 10px;
}

.step-item h4 {
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.step-item p { color: rgba(247, 244, 239, 0.75); font-size: 0.92rem; }

/* ==========================================================================
   9. LEAD CTA SECTION
   ========================================================================== */
.lead-cta-section {
  background: var(--dark-card);
  text-align: center;
  padding: 70px 5%;
  margin: 90px -5% 0;
  border-top: 1px solid rgba(247, 244, 239, 0.1);
}

.lead-cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--white);
  margin-bottom: 14px;
}

.lead-cta-section p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 30px;
}

.cta-action-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   10. BLOG (home.php / single.php)
   ========================================================================== */
.blog-feed .posts-list {
  display: grid;
  gap: 40px;
  max-width: 800px;
  margin-top: 20px;
}

.post-summary {
  border-bottom: 1px solid rgba(247, 244, 239, 0.1);
  padding-bottom: 35px;
}

.post-summary h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.post-summary img { width: 100%; max-height: 380px; object-fit: cover; margin-bottom: 15px; }
.post-summary p { color: rgba(247, 244, 239, 0.8); margin-bottom: 12px; }
.post-summary a { color: var(--cream-accent); font-size: 0.85rem; letter-spacing: 0.5px; text-transform: uppercase; }

.single-post .post-title,
.standard-page .page-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  margin-bottom: 25px;
}

.single-post img { width: 100%; max-height: 500px; object-fit: cover; margin-bottom: 30px; }
.post-content, .standard-page .entry-content {
  max-width: 800px;
  color: rgba(247, 244, 239, 0.85);
  font-size: 1.02rem;
  line-height: 1.85;
}
.post-content p, .standard-page p { margin-bottom: 20px; }

/* ==========================================================================
   11. LISTINGS ARCHIVE PAGE HEADER + FILTER BAR
   ========================================================================== */
.archive-intro { color: var(--text-muted); max-width: 640px; margin: -20px 0 40px; }

.filter-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(247, 244, 239, 0.1);
}
.filter-bar a {
  padding: 8px 18px;
  border: 1px solid rgba(247, 244, 239, 0.2);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--cream);
}
.filter-bar a.active, .filter-bar a:hover { background: var(--cream); color: var(--matte-black); border-color: var(--cream); }

.listing-meta { padding: 0 20px 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.listing-meta span {
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid rgba(247, 244, 239, 0.15);
  padding: 3px 10px;
}
.no-results { color: var(--text-muted); padding: 40px 0; }

/* ==========================================================================
   12. SINGLE LISTING PAGE
   ========================================================================== */
.single-listing .property-header { margin-bottom: 30px; }
.single-listing .property-header h1 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 8px;
}
.single-listing .property-location { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 15px; }
.single-listing .property-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.single-listing .property-tags span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--matte-black);
  background: var(--cream-accent);
  padding: 4px 12px;
}
.single-listing .property-description {
  max-width: 800px;
  color: rgba(247, 244, 239, 0.85);
  line-height: 1.85;
  margin: 30px 0;
}
.single-listing .property-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }

/* ==========================================================================
   13. HEADER MOBILE NAV (checkbox-driven, no JS required)
   ========================================================================== */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }

/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; }
  .main-navigation { order: 3; width: 100%; margin-top: 15px; display: none; }
  .main-navigation.nav-open { display: block; }
  .main-navigation ul { flex-direction: column; gap: 16px; padding: 15px 0; }
  .nav-toggle-label { display: block; font-size: 1.5rem; color: var(--cream); }
  .header-actions .btn-header-call { display: none; }

  .about-content-grid { gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-content h1 { font-size: 2.4rem; }
  .lead-cta-section { margin-left: -5%; margin-right: -5%; }
  .page-title { font-size: 2.1rem; }
  .featured-projects-section .section-header { flex-direction: column; gap: 10px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-cta-group, .cta-action-buttons { flex-direction: column; width: 100%; }
  .hero-cta-group .btn, .cta-action-buttons .btn { width: 100%; text-align: center; }
  .floating-wa span.wa-text { display: none; }
}