/*
Theme Name: GHN Real Estate Custom Theme
Theme URI: https://ghnrealestate.ca
Author: GHN Real Estate & Advisory
Author URI: https://ghnrealestate.ca
Description: Bespoke, high-performance, pixel-perfect WordPress theme for GHN Real Estate (Commercial, Residential, Leasing) built with custom Meta Boxes and modular template parts.
Version: 1.0.0
Text Domain: ghn-theme
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Reset & Fonts */
*, ::before, ::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #FAF8F5;
  color: #5A5450;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-serif-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Layout Container */
.ghn-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
.ghn-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.ghn-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ghn-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.ghn-logo-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #6A0F0F;
  line-height: 1;
}

.ghn-logo-sub {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #B89052;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.ghn-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ghn-menu-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.ghn-menu-list a {
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1A1615;
  transition: color 0.2s ease;
}

.ghn-menu-list a:hover {
  color: #6A0F0F;
}

.ghn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.ghn-btn-burgundy {
  background-color: #6A0F0F;
  color: #ffffff;
  border: 1px solid #6A0F0F;
}

.ghn-btn-burgundy:hover {
  background-color: #530A0A;
  border-color: #530A0A;
  color: #ffffff;
}

.ghn-btn-outline {
  background-color: transparent;
  color: #1A1615;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.ghn-btn-outline:hover {
  border-color: #B89052;
  color: #B89052;
}

/* Hero Section */
.ghn-hero {
  position: relative;
  padding: 5rem 0 0 0;
  background-color: #FAF8F5;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.ghn-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(250, 248, 245, 0.85);
  pointer-events: none;
}

.ghn-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.ghn-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ghn-hero-badge span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #B89052;
  text-transform: uppercase;
}

.ghn-hero-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #1A1615;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .ghn-hero-heading {
    font-size: 5rem;
  }
}

.ghn-highlight-word {
  font-style: italic;
  color: #6A0F0F;
  font-weight: 400;
}

.ghn-hero-description {
  font-size: 1rem;
  color: #5A5450;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

.ghn-hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

/* Glass Search Panel */
.ghn-search-panel {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(184, 144, 82, 0.3);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  margin-top: 2rem;
  margin-bottom: -4rem;
}

.ghn-search-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #B89052;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-align: left;
}

.ghn-search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ghn-search-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ghn-search-grid select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A1615;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.ghn-search-grid select:focus {
  border-color: #B89052;
}

/* Philosophy Section */
.ghn-philosophy {
  padding: 10rem 0 6rem 0;
  background-color: #FAF8F5;
}

.ghn-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ghn-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.ghn-sublabel {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #B89052;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.ghn-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: #1A1615;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.ghn-gold-italic {
  font-style: italic;
  color: #B89052;
  font-weight: 400;
}

.ghn-philosophy-content p {
  font-size: 0.95rem;
  color: #5A5450;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.ghn-philosophy-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Services Grid */
.ghn-services {
  padding: 6rem 0;
  background-color: #F4F0E8;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ghn-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .ghn-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ghn-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ghn-service-box {
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 2.5rem 1.75rem;
  transition: all 0.3s ease;
}

.ghn-service-box:hover {
  background-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ghn-service-box h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1A1615;
  margin-bottom: 0.75rem;
}

.ghn-service-box p {
  font-size: 0.85rem;
  color: #5A5450;
  line-height: 1.6;
}

/* Testimonial Section */
.ghn-testimonial {
  padding: 7rem 0;
  background-color: #FAF8F5;
  text-align: center;
}

.ghn-testimonial blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.25rem;
  font-style: italic;
  color: #1A1615;
  max-width: 850px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.35;
}

.ghn-testimonial cite {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #B89052;
  text-transform: uppercase;
}

/* Work Cards Section */
.ghn-work {
  padding: 6rem 0;
  background-color: #FAF8F5;
}

.ghn-card {
  position: relative;
  height: 520px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.5s ease;
}

.ghn-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  z-index: 1;
}

.ghn-card > * {
  position: relative;
  z-index: 2;
}

.ghn-card:hover {
  transform: translateY(-6px);
}

.ghn-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.ghn-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 90%;
}

/* Work Process Section */
.ghn-process {
  padding: 7rem 0;
  background-color: #F4F0E8;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ghn-step {
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 2rem;
}

.ghn-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: #B89052;
  margin-bottom: 1rem;
  display: inline-block;
}

.ghn-step h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A1615;
  margin-bottom: 0.5rem;
}

.ghn-step p {
  font-size: 0.85rem;
  color: #5A5450;
  line-height: 1.6;
}

/* Footer Section */
.ghn-footer {
  background-color: #FAF8F5;
  padding: 6rem 0 3rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ghn-footer-watermark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.04);
  text-transform: uppercase;
  text-align: center;
  margin: 3rem 0;
  user-select: none;
}

.ghn-footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 2rem;
  font-size: 0.8rem;
  color: #5A5450;
  text-align: center;
}
