/*
Theme Name: Cairo Plaza 6 October
Description: ثيم خاص بمول كايرو بلازا 6 أكتوبر – أخضر بترولي داكن وذهبي شمبانيا، صورة المول بعرض الشاشة ولافتات الشوارع العشرة.
Version: 1.0.0
Author: biz-sky
Text Domain: cairo-plaza
*/

:root {
	--teal: #0f3a3c;
	--teal-2: #164b4e;
	--teal-3: #1f5f62;
	--gold: #c9a96a;
	--gold-d: #a8884a;
	--ivory: #f8f5ef;
	--stone: #ece6da;
	--sign: #1d4f8f;
	--ink: #1b2526;
	--muted: #5f6b6b;
	--line: #e2dccf;
	--shadow: 0 16px 40px rgba(15, 58, 60, .14);
}

*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	font-family: "Alexandria", Tahoma, sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.9;
	color: var(--ink);
	background: var(--ivory);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-3); text-decoration: none; }
a:hover { color: var(--gold-d); }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { font-family: "El Messiri", "Alexandria", sans-serif; font-weight: 700; line-height: 1.4; margin: 0 0 .5em; color: var(--teal); }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.screen-reader-text:focus { width: auto; height: auto; margin: 0; clip: auto; clip-path: none; inset-inline-start: 10px; top: 10px; z-index: 999; background: #fff; padding: 8px 14px; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.6em; border-radius: 4px; font-weight: 500; font-size: 15px; line-height: 1.4; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-sm { padding: .55em 1.1em; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--teal); }
.btn-gold:hover { background: #d9bd84; color: var(--teal); }
.btn-glass { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-glass:hover { background: #fff; color: var(--teal); }

/* Header */
.site-header { background: var(--teal); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(201, 169, 106, .35); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand img { max-height: 50px; width: auto; }
.mono { width: 46px; height: 46px; border: 1.5px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: "El Messiri", serif; font-weight: 700; font-size: 18px; letter-spacing: .04em; position: relative; }
.mono::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(201, 169, 106, .4); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: "El Messiri", sans-serif; font-size: 21px; }
.brand-text small { font-size: 10px; letter-spacing: .22em; color: var(--gold); }
.main-nav { flex: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; justify-content: center; }
.main-nav a { color: #e3ece9; font-size: 15px; font-weight: 400; padding: 6px 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--gold); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid rgba(201, 169, 106, .5); border-radius: 4px; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--gold); }

/* Hero */
.hero { position: relative; min-height: 640px; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(10, 40, 42, .92) 0%, rgba(10, 40, 42, .7) 38%, rgba(10, 40, 42, .15) 75%), linear-gradient(0deg, rgba(10, 40, 42, .6), transparent 40%); }
.hero-inner { position: relative; z-index: 1; padding-block: 90px 50px; max-width: 1200px; }
.eyebrow { font-size: 12px; letter-spacing: .3em; color: var(--gold); margin: 0 0 14px; font-weight: 500; }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 72px); line-height: 1.15; max-width: 640px; margin-bottom: 18px; }
.hero h1 span { color: var(--gold); display: block; }
.hero-sub { font-size: 19px; max-width: 560px; color: #dfe9e6; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { position: relative; z-index: 1; background: rgba(15, 58, 60, .82); backdrop-filter: blur(6px); border-top: 1px solid rgba(201, 169, 106, .35); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-row > div { display: flex; align-items: center; gap: 12px; padding: 20px 16px; border-inline-start: 1px solid rgba(201, 169, 106, .2); color: #cfdcd8; font-size: 14px; }
.facts-row > div:first-child { border-inline-start: 0; }
.facts-row svg { width: 30px; height: 30px; color: var(--gold); }
.facts-row strong { display: block; color: #fff; font-family: "El Messiri", sans-serif; font-size: 17px; }

/* Sections */
.section { padding: 90px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 40px); }
.sec-head p { color: var(--muted); margin: 0; }
.sec-tag { display: inline-block; font-size: 13px; font-weight: 500; color: var(--gold-d); letter-spacing: .06em; margin-bottom: 8px; padding-inline: 34px; position: relative; }
.sec-tag::before, .sec-tag::after { content: ""; position: absolute; top: 50%; width: 24px; height: 1px; background: var(--gold); }
.sec-tag::before { inset-inline-start: 0; }
.sec-tag::after { inset-inline-end: 0; }

/* Units */
.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.unit { background: #fff; padding: 36px 30px; border: 1px solid var(--line); position: relative; transition: transform .25s, box-shadow .25s; }
.unit::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 60px; height: 3px; background: var(--gold); }
.unit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.unit-ico { width: 60px; height: 60px; display: grid; place-items: center; background: var(--teal); color: var(--gold); margin-bottom: 20px; }
.unit-ico svg { width: 30px; height: 30px; }
.unit h3 { font-size: 23px; }
.unit p { margin: 0; color: var(--muted); }

/* Streets */
.streets { background: var(--teal); color: #dfe9e6; }
.streets h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); }
.streets .sec-tag { padding-inline-start: 34px; padding-inline-end: 0; }
.streets .sec-tag::after { display: none; }
.streets-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.signs { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.sign { display: inline-flex; align-items: center; gap: 10px; background: var(--sign); color: #fff; border: 2px solid #fff; outline: 2px solid var(--sign); border-radius: 6px; padding-block: 4px; padding-inline: 6px 14px; font-weight: 500; font-size: 15px; line-height: 1.6; box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }
.sign-no { background: #fff; color: var(--sign); font-weight: 700; font-size: 12px; min-width: 24px; height: 24px; border-radius: 4px; display: inline-grid; place-items: center; padding-inline: 4px; }
.signs-sm { gap: 8px; margin: 0; }
.signs-sm .sign { font-size: 13px; padding-block: 2px; padding-inline: 4px 10px; box-shadow: none; }
.sign-lg { font-size: 20px; padding-block: 8px; padding-inline: 10px 20px; margin-bottom: 22px; }
.sign-lg .sign-no { font-size: 16px; height: 34px; padding-inline: 8px; }
.streets-media { margin: 0; border: 1px solid rgba(201, 169, 106, .4); padding: 12px; }
.streets-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.link-more { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-more:hover { color: #fff; }

/* Why */
.why { background: var(--stone); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); }
.why-item { padding: 34px 26px; border-inline-start: 1px solid var(--line); }
.why-item:first-child { border-inline-start: 0; }
.why-item svg { width: 34px; height: 34px; color: var(--gold-d); margin-bottom: 14px; }
.why-item h3 { font-size: 20px; }
.why-item p { margin: 0; color: var(--muted); font-size: 15px; }
.services { margin-top: 40px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; }
.services h3 { margin: 0; font-size: 20px; }
.services ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.services li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: 14px; }
.services li svg { color: var(--teal-3); }

/* Developer */
.dev-grid { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: center; max-width: 1000px; }
.dev-mark { aspect-ratio: 1; background: var(--teal); color: var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.dev-mark::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201, 169, 106, .5); }
.dev-mark span { font-family: "El Messiri", sans-serif; font-size: 56px; font-weight: 700; line-height: 1.2; }
.dev-mark small { letter-spacing: .5em; font-size: 14px; }
.developer h2 { font-size: clamp(24px, 3vw, 34px); }
.developer p { color: var(--muted); font-size: 17px; }
.developer .sec-tag { padding-inline-end: 0; }
.developer .sec-tag::after { display: none; }
.developer .link-more { color: var(--teal-3); }
.developer .link-more:hover { color: var(--gold-d); }

/* Cards */
.news { background: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards-tight { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--teal); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.04); }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { font-size: 19px; }
.card-body h3 a { color: var(--teal); }
.card-body h3 a:hover { color: var(--gold-d); }
.card-body p { margin: 0; color: var(--muted); font-size: 14px; }
.cards-tight .card-body h3 { font-size: 15px; margin: 0; }
.meta { font-size: 12px; color: var(--gold-d); }

/* Page head */
.page-head { background: var(--teal); color: #dfe9e6; padding: 56px 0 48px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 260px; height: 260px; border: 1px solid rgba(201, 169, 106, .25); transform: rotate(45deg); }
.page-head h1 { color: #fff; font-size: clamp(24px, 3.6vw, 40px); margin: 0; position: relative; z-index: 1; overflow-wrap: anywhere; }
.page-head .search-form { margin-top: 20px; position: relative; z-index: 1; }
.crumbs { font-size: 13px; color: var(--gold); margin-bottom: 8px; }
.crumbs a { color: var(--gold); }
.page-404 { text-align: center; padding: 90px 0; }
.page-404 p { position: relative; z-index: 1; }
.search-form { display: flex; gap: 8px; max-width: 460px; }
.page-404 .search-form { margin-inline: auto; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font: inherit; }
.search-form .search-submit { padding: 11px 18px; background: var(--gold); color: var(--teal); border: 0; border-radius: 4px; font: inherit; font-weight: 500; cursor: pointer; }

/* Single */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-block: 56px 90px; }
.entry { background: #fff; border: 1px solid var(--line); padding: 36px; }
.entry-featured { margin-bottom: 24px; }
.entry-content { font-size: 17px; overflow-wrap: break-word; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { font-size: 20px; line-height: 1.8; margin-top: .8em; }
.entry-content h1 { font-size: 26px; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content figure, .entry-content .wp-caption { max-width: 100%; margin-inline: 0; }
.entry-content .wp-caption.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 10px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.gallery-columns-1 { grid-template-columns: 1fr; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery br { display: none; }

/* Sidebar */
.side .sticky { position: sticky; top: 100px; display: grid; gap: 20px; }
.box { background: #fff; border: 1px solid var(--line); padding: 24px; }
.box h3 { font-size: 19px; }
.box-cta { background: var(--teal); color: #cfdcd8; border: 0; display: grid; gap: 12px; }
.box-cta h3 { color: #fff; margin: 0; }
.box-cta p { margin: 0; font-size: 14px; }
.box-cta .btn { justify-content: center; }
.phone-big { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: "El Messiri", sans-serif; font-size: 26px; font-weight: 700; color: var(--gold); border: 1px solid var(--gold); padding: 6px 20px; }
.phone-big:hover { background: var(--gold); color: var(--teal); }

.pagination { margin-top: 40px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { padding: 7px 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.pagination .current { background: var(--teal); color: #fff; border-color: var(--teal); }
.empty { text-align: center; color: var(--muted); }

/* Footer */
.site-footer { background: #0a2a2c; color: #a9bcb7; font-size: 14px; }
.contact-band { background: linear-gradient(90deg, var(--teal-2), var(--teal)); border-top: 3px solid var(--gold); }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 44px; flex-wrap: wrap; }
.contact-band h2 { color: #fff; margin: 0; font-size: clamp(22px, 3vw, 32px); }
.contact-band p { margin: 4px 0 0; color: #cfdcd8; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px; flex-wrap: wrap; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 20px; flex-wrap: wrap; }
.footer-nav a { color: #a9bcb7; }
.footer-nav a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 1080px) {
	.nav-toggle { display: flex; }
	.main-nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--teal); border-bottom: 1px solid rgba(201, 169, 106, .35); }
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
	.main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.header-actions { margin-inline-start: auto; }
}
@media (max-width: 960px) {
	.facts-row { grid-template-columns: repeat(2, 1fr); }
	.facts-row > div:nth-child(3) { border-inline-start: 0; }
	.unit-grid, .cards { grid-template-columns: 1fr 1fr; }
	.streets-grid { grid-template-columns: 1fr; }
	.why-grid { grid-template-columns: 1fr 1fr; }
	.why-item:nth-child(3) { border-inline-start: 0; }
	.why-item:nth-child(n+3) { border-top: 1px solid var(--line); }
	.dev-grid { grid-template-columns: 180px 1fr; gap: 30px; }
	.layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.wrap { padding-inline: 16px; }
	.header-row { min-height: 64px; gap: 10px; }
	.mono { width: 40px; height: 40px; font-size: 15px; }
	.brand-text strong { font-size: 17px; }
	.brand-text small { font-size: 8px; letter-spacing: .14em; }
	.header-actions .btn span { display: none; }
	.hero { min-height: 560px; }
	.hero::before { background: linear-gradient(0deg, rgba(10, 40, 42, .95) 30%, rgba(10, 40, 42, .45) 100%); }
	.hero-inner { padding-block: 60px 30px; }
	.hero-sub { font-size: 16px; }
	.facts-row > div { padding: 14px 8px; font-size: 12px; gap: 8px; }
	.facts-row svg { width: 22px; height: 22px; }
	.facts-row strong { font-size: 14px; }
	.section { padding: 60px 0; }
	.unit-grid, .cards, .cards-tight, .why-grid { grid-template-columns: 1fr; }
	.why-item { border-inline-start: 0; border-top: 1px solid var(--line); }
	.why-item:first-child { border-top: 0; }
	.dev-grid { grid-template-columns: 1fr; }
	.dev-mark { max-width: 180px; }
	.entry { padding: 22px 18px; }
	.sign { font-size: 14px; }
	.phone-big { font-size: 22px; }
	.contact-actions { width: 100%; }
}
