/* ====================================================
   bkrealtor.ca — Global Stylesheet
   Brand: Dark Charcoal #26292c | Gold #D4AF37
   Fonts: Playfair Display (headings), Raleway (body)
   ==================================================== */

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

html { scroll-behavior: smooth; }

body {
  background: #26292c;
  color: #e8e0d4;
  font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

a { color: #D4AF37; text-decoration: none; transition: color 0.2s; }
a:hover { color: #f0cc60; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Times New Roman', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

/* ---------- Utility ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.gold { color: #D4AF37; }
.section { padding: 80px 0; }
.section-alt { background: #1e2124; }
.text-center { text-align: center; }
.divider { width: 60px; height: 3px; background: #D4AF37; margin: 1.2rem auto; }
.divider-left { margin-left: 0; }

.section-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #a89880;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-gold {
  background: #D4AF37;
  color: #26292c;
}
.btn-gold:hover { background: #f0cc60; color: #1a1c1f; }

.btn-outline {
  background: transparent;
  color: #D4AF37;
  border: 2px solid #D4AF37;
}
.btn-outline:hover { background: #D4AF37; color: #26292c; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(38, 41, 44, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  height: 70px;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo img { height: 44px; width: auto; }

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

.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ccc;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #D4AF37; }

.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-right img { height: 36px; width: auto; }

.nav-cta { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #D4AF37;
  transition: all 0.3s;
}

@media (max-width: 900px) {
  .nav-links, .nav-right img { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: inline-block; font-size: 0.7rem; padding: 10px 20px; }
  .nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: #1e2124;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 2px solid #D4AF37;
  }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 1.5rem 80px;
  position: relative;
  background: #26292c;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,175,55,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212,175,55,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto 1.5rem;
}

.hero h1 span { color: #D4AF37; }

.hero-sub {
  color: #a89880;
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-gold-line {
  width: 80px; height: 1px;
  background: #D4AF37;
  margin: 2.5rem auto 0;
  opacity: 0.4;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: linear-gradient(135deg, #1a1c1f 0%, #222428 100%);
  border-top: 1px solid rgba(212,175,55,0.3);
  border-bottom: 1px solid rgba(212,175,55,0.3);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item { padding: 1rem; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #D4AF37;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Services Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: #1e2124;
  border: 1px solid rgba(212,175,55,0.15);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: #D4AF37;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover { border-color: rgba(212,175,55,0.4); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  display: block;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  color: #D4AF37;
}

.service-card p { color: #a89880; font-size: 0.95rem; margin-bottom: 1.5rem; }

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

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo-inner {
  background: #1e2124;
  border: 2px solid rgba(212,175,55,0.3);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.about-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-photo::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 60%;
  height: 60%;
  border-bottom: 3px solid #D4AF37;
  border-right: 3px solid #D4AF37;
  pointer-events: none;
}

.about-content .section-label { margin-bottom: 0.5rem; }

.about-content h2 { margin-bottom: 0.5rem; }

.about-content p { color: #a89880; margin-bottom: 1.2rem; }

.about-credentials {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}

.about-cred {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #ccc;
}

.about-cred::before {
  content: '✓';
  color: #D4AF37;
  font-weight: bold;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { max-width: 320px; margin: 0 auto; }
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: #1e2124;
  border: 1px solid rgba(212,175,55,0.2);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: #D4AF37;
  opacity: 0.3;
  position: absolute;
  top: -0.5rem; left: 1.2rem;
  line-height: 1;
}

.testimonial-text {
  color: #c8bfb3;
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.testimonial-author { font-weight: 700; color: #D4AF37; font-size: 0.9rem; }
.testimonial-location { font-size: 0.8rem; color: #888; margin-top: 0.2rem; }

.stars { color: #D4AF37; font-size: 1rem; margin-bottom: 1rem; }

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 3rem auto 0; }
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, #1a1c1f 0%, #26292c 100%);
  border-top: 1px solid rgba(212,175,55,0.2);
  border-bottom: 1px solid rgba(212,175,55,0.2);
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-section p { color: #a89880; max-width: 500px; margin: 0 auto 2.5rem; }

/* ---------- Footer ---------- */
.footer {
  background: #1a1c1f;
  border-top: 2px solid rgba(212,175,55,0.3);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo-wrap img { height: 48px; margin-bottom: 1rem; }

.footer-desc { color: #777; font-size: 0.9rem; line-height: 1.7; max-width: 300px; margin-bottom: 1.2rem; }

.footer-contact a { display: block; color: #a89880; font-size: 0.9rem; margin-bottom: 0.4rem; }
.footer-contact a:hover { color: #D4AF37; }

.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 1.2rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: #888; font-size: 0.9rem; }
.footer-links a:hover { color: #D4AF37; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { color: #555; font-size: 0.8rem; }
.footer-remax img { height: 28px; opacity: 0.7; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 140px 1.5rem 80px;
  text-align: center;
  background: linear-gradient(180deg, #1e2124 0%, #26292c 100%);
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.page-hero p { color: #a89880; font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ---------- Feature List ---------- */
.feature-list { list-style: none; margin: 1.5rem 0; }
.feature-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: #c8bfb3;
}
.feature-list li::before {
  content: '▸';
  color: #D4AF37;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ---------- Two Column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- City Page ---------- */
.city-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.city-stat {
  background: #1e2124;
  border: 1px solid rgba(212,175,55,0.2);
  padding: 1.5rem;
  text-align: center;
}
.city-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #D4AF37;
  display: block;
  font-weight: 700;
}
.city-stat-label { font-size: 0.75rem; color: #888; letter-spacing: 1px; text-transform: uppercase; }

@media (max-width: 600px) { .city-stats { grid-template-columns: 1fr; } }

/* ---------- Contact Form / Calendly Embed ---------- */
.embed-wrap {
  background: #1e2124;
  border: 1px solid rgba(212,175,55,0.2);
  padding: 2rem;
  margin-top: 2rem;
}
.embed-wrap iframe { width: 100%; border: none; min-height: 580px; }

/* ---------- Arabic (RTL) ---------- */
[dir="rtl"] body { font-family: 'Raleway', 'Tajawal', 'Noto Sans Arabic', Arial, sans-serif; }
[dir="rtl"] .divider-left { margin-right: 0; margin-left: auto; }
[dir="rtl"] .feature-list li { flex-direction: row-reverse; text-align: right; }
