/*
Theme Name: Real Estate Theme
Theme URI: https://www.linkedin.com/in/omniabdm/
Author: Omnia Ahmed
Author URI: https://www.linkedin.com/in/omniabdm/
Description: Custom theme for the real estate platform.
Version: 0.1.9
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: real-estate-theme
*/

:root {
  --navy: #0c2240;
  --gold: #c9a14a;
  --bg-page: #f3f5f8;
  --bg-surface: #ffffff;
  --text-main: #1a2433;
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
}

/* Footer improvements */
.site-footer {
  background: var(--navy-dark, #07162b);
  color: #e2e8f0;
  padding: 28px 0 12px;
}
.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: start;
}
.site-footer a {
  color: #e2e8f0;
  text-decoration: none;
}
.site-footer a:hover {
  color: #e6c678;
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
}
.footer-legal {
  text-align: center;
  margin-top: 12px;
  font-size: 0.85rem;
}

/* About page polish */
.about-page .wp-block-heading { color: var(--text-heading, #0c2240); }
.about-page .wp-block-image img { border-radius: 12px; }
.about-page .wp-block-columns { gap: 24px; }

/* About page distinctive design */
.about-hero {
  background: linear-gradient(135deg, #0c2240 0%, #1a528a 100%);
  color: #fff;
  padding: 72px 18px;
  text-align: center;
}
.about-hero .about-tag {
  display: inline-block;
  background: rgba(201,161,74,0.2);
  color: #e6c678;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.about-hero h1 { font-size: 2.6rem; margin: 0 0 10px; }
.about-hero h1 span { color: #e6c678; }
.about-hero p { color: #cbd5e1; max-width: 720px; margin: 0 auto; }
.about-content { padding: 40px 0; }
.about-container { max-width: 980px; margin: 0 auto; padding: 0 18px; }
.about-values { background: #f3f5f8; padding: 48px 0; }
.about-values h2 { text-align: center; color: #0c2240; margin-bottom: 24px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.value-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(12,34,64,0.08);
  transition: transform .25s ease;
}
.value-card:hover { transform: translateY(-4px); }
.value-card h3 { color: #0c2240; margin-bottom: 8px; }
.about-cta { text-align: center; padding: 48px 0; }
.about-cta h2 { color: #0c2240; margin-bottom: 14px; }
.about-page .wp-block-image img { border-radius: 14px; box-shadow: 0 8px 24px rgba(12,34,64,0.12); }
.about-page .wp-block-columns { gap: 24px; }

/* Team members polish */
.about-page .wp-block-columns .wp-block-column {
  text-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(12,34,64,0.08);
}
.about-page .wp-block-columns .wp-block-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 10px;
}
.about-page .wp-block-columns .wp-block-paragraph {
  margin: 0;
}

/* CEO section */
.about-page .wp-block-columns.ceo-section .wp-block-column:first-child {
  flex-basis: 35%;
}
.about-page .wp-block-columns.ceo-section .wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.about-page .wp-block-columns.ceo-section .wp-block-paragraph {
  font-size: 1.05rem;
  line-height: 1.8;
}
