/*
Theme Name: Mena Group
Theme URI: https://mena-eg.com
Author: Mena Group
Author URI: https://mena-eg.com
Description: Custom corporate theme for Mena Group Investors and Developers. Includes a branded header, a branded footer with contact and quick-access columns, and an intentionally empty content template ready for page-specific building.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mena-group
*/

/* -------------------------------------------------
   Variables
------------------------------------------------- */
:root {
  --mg-navy: #1b2942;
  --mg-navy-dark: #131e33;
  --mg-white: #ffffff;
  --mg-text-soft: #c7ced9;
  --mg-text-muted: #93a0b2;
  --mg-border: rgba(255, 255, 255, 0.12);
  --mg-whatsapp: #2fbf6e;
  --mg-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --mg-font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mg-max-width: 1200px;
}

/* -------------------------------------------------
   Reset / base
------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--mg-font-sans);
  color: #2b3240;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: var(--mg-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------------------
   Header
------------------------------------------------- */
.site-header {
  background: var(--mg-white);
  border-bottom: 1px solid #ececec;
  padding: 26px 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo__image {
  height: 54px;
  width: auto;
}

/* -------------------------------------------------
   Main content (no hardcoded design — driven by page/post content)
------------------------------------------------- */
.site-content {
  min-height: 40vh;
  padding: 64px 0;
}

.page-title {
  font-family: var(--mg-font-serif);
  font-weight: 700;
  font-size: 34px;
  color: var(--mg-navy);
  margin: 0 0 32px;
}

/* -------------------------------------------------
   Footer
------------------------------------------------- */
.site-footer {
  background: var(--mg-navy);
  color: var(--mg-text-soft);
  padding: 72px 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.footer-heading {
  font-family: var(--mg-font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0 0 24px;
}

/* Contacts column */
.footer-address-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-address-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
}

.footer-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--mg-text-muted);
}

.footer-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 14px;
}

.footer-contact-line a {
  text-decoration: none;
  color: var(--mg-text-soft);
}

.footer-contact-line--phone {
  margin-top: 14px;
  font-size: 28px;
  font-weight: 500;
  color: #ffffff;
}

.footer-contact-line--phone a { color: #ffffff; }

/* Brand column */
.footer-col--brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo-mark {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
}

.footer-logo-text {
  height: 30px;
  width: auto;
  margin-bottom: 22px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.9;
  color: var(--mg-text-soft);
  max-width: 520px;
  margin: 0;
}

/* Quick access column */
.footer-col--quick { text-align: right; }

.footer-quick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}

.footer-quick-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 15px;
  color: var(--mg-text-soft);
  transition: color 0.15s ease;
}

.footer-quick-list a .footer-icon { color: var(--mg-whatsapp); }

.footer-quick-list a:hover { color: #ffffff; }

/* Footer bottom bar */
.site-footer__bottom {
  border-top: 1px solid var(--mg-border);
  margin-top: 56px;
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: var(--mg-text-muted);
}

/* -------------------------------------------------
   Responsive
------------------------------------------------- */
@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .footer-address-list li { justify-content: center; text-align: left; }

  .footer-col--quick { text-align: center; }

  .footer-quick-list { align-items: center; }

  .footer-contact-line { justify-content: center; }
}

@media (max-width: 480px) {
  .site-logo__name { font-size: 24px; }
  .footer-contact-line--phone { font-size: 24px; }
}
