/* ===== Variables ===== */
:root {
  --color-primary: #1a2744;
  --color-primary-dark: #0f1829;
  --color-accent: #8b2332;
  --color-accent-hover: #6d1b28;
  --color-gold: #c9a84c;
  --color-text: #333;
  --color-text-light: #666;
  --color-bg: #fff;
  --color-bg-alt: #f5f5f5;
  --color-border: #ddd;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --max-width: 1140px;
  --header-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-hover); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

ul { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--color-accent);
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 0.95rem;
}

.top-bar a {
  color: #fff;
  font-weight: 700;
}

.top-bar a:hover { text-decoration: underline; color: #fff; }

/* ===== Header ===== */
.site-header {
  background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.logo:hover { color: #fff; }

.logo-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--color-gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

.main-nav > ul > li {
  position: relative;
  margin: 0;
}

.main-nav > ul > li > a {
  display: block;
  padding: 28px 14px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  background: rgba(255,255,255,0.1);
  color: var(--color-gold);
}

.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-primary-dark);
  min-width: 220px;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.main-nav li:hover .dropdown-menu { display: block; }

.main-nav .dropdown-menu a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.main-nav .dropdown-menu a:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(15,24,41,0.72), rgba(15,24,41,0.72)),
              url('../images/hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.hero-realestate {
  background: linear-gradient(rgba(15,24,41,0.70), rgba(15,24,41,0.70)),
              url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1600&q=80') center/cover no-repeat;
}

.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero p {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-inner { max-width: 800px; margin: 0 auto; }

/* Page hero (subpages) */
.page-hero {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.page-hero h1 {
  color: #fff;
  font-size: 2.2rem;
  margin: 0;
}

/* ===== Sections ===== */
.section {
  padding: 60px 20px;
}

.section-alt { background: var(--color-bg-alt); }

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-accent);
}

/* ===== Facts (Myth Busters) ===== */
.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.fact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.fact-card.reverse { direction: rtl; }
.fact-card.reverse > * { direction: ltr; }

.fact-image {
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}

.fact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fact-content h4 {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.fact-content .false-label {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* ===== About ===== */
.about-content {
  max-width: 860px;
  margin: 0 auto;
}

.about-content em {
  display: block;
  margin-top: 1.5rem;
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-gold);
  font-style: italic;
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-item {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 24px 16px;
  transition: background 0.2s, transform 0.2s;
}

.service-item:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.service-item h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.3px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.cta-banner h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.btn:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--color-primary);
}

/* ===== Content Page ===== */
.content-page {
  padding: 50px 20px 70px;
}

.content-page .container {
  max-width: 860px;
}

.content-page h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-page h2:first-child { margin-top: 0; }

.profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin: 2rem 0;
  align-items: start;
}

.profile-photo {
  aspect-ratio: 3/4;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.info-list li:last-child { border-bottom: none; }

.info-list strong {
  display: inline-block;
  min-width: 200px;
  color: var(--color-primary);
}

.trust-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 2rem 0;
}

.trust-card {
  background: var(--color-bg-alt);
  padding: 28px;
  border-top: 4px solid var(--color-accent);
}

.trust-card h4 {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* ===== Contact Form ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 1.5rem; }

.contact-detail {
  margin-bottom: 1.2rem;
}

.contact-detail strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-form .form-group {
  margin-bottom: 1.2rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.form-message {
  padding: 12px;
  margin-top: 1rem;
  display: none;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===== Placeholder pages ===== */
.placeholder-page {
  text-align: center;
  padding: 80px 20px;
  color: var(--color-text-light);
}

.placeholder-page .placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 50px 20px 30px;
}

.footer-contact {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 30px;
}

.footer-contact h3 {
  color: #fff;
  margin-bottom: 1.2rem;
}

.footer-contact p { margin-bottom: 0.5rem; }

.footer-contact a {
  color: var(--color-gold);
}

.footer-contact a:hover { color: #fff; }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== Video Grid ===== */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  background: #eee;
  margin-bottom: 1rem;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card h4 {
  margin-bottom: 0.5rem;
}

.video-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* ===== Blog ===== */
.blog-list article {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.blog-list article:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.blog-meta {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.blog-tag {
  display: inline-block;
  background: var(--color-bg-alt);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  margin-right: 8px;
}

.blog-post-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.blog-post-body h2 {
  margin-top: 2rem;
}

.blog-post-body ul,
.blog-post-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.blog-back {
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: 600;
}

.blog-cta {
  margin-top: 3rem;
  padding: 28px;
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-accent);
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: 1fr; }
  .fact-card { grid-template-columns: 1fr; }
  .fact-card.reverse { direction: ltr; }
  .profile-grid { grid-template-columns: 1fr; }
  .trust-cards { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  .hero h1 { font-size: 2rem; }
  .hero { min-height: 320px; padding: 60px 20px; }

  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-primary-dark);
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav > ul > li > a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .main-nav .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    background: rgba(0,0,0,0.2);
  }

  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 20px; }
}
