/*
Theme Name: Emaan Enterprises
Theme URI: https://emaanenterprises.pk/
Author: Emaan Enterprises
Author URI: https://emaanenterprises.pk/
Description: A premium architecture-led real estate theme for Emaan Enterprises. Built to work with WordPress and Elementor, with editable brand, hero, project and contact content.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: emaan-enterprises
*/

:root {
  --marine: #112838;
  --deep-marine: #0d202e;
  --ink: #172a38;
  --paper: #f2eee5;
  --sage: #e0e6e3;
  --silver: #d9e1dc;
  --muted: #52666d;
  --teal: #278795;
  --brass: #dba665;
  --brass-light: #f0c88e;
  --content: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--marine);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body, button, input, select, textarea { font-family: "DM Sans", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.site-shell { overflow-x: hidden; }
.section-wrap { width: var(--content); margin-inline: auto; }
.display, h1, h2, h3, h4 { font-family: "Manrope", Arial, sans-serif; }
.display { letter-spacing: -.055em; }
.eyebrow {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--brass);
  padding: 15px 24px;
  color: var(--marine);
  background: var(--brass);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: .25s ease;
}
.button:hover, .button:focus { background: var(--brass-light); color: var(--marine); transform: translateY(-2px); }
.button--outline { color: var(--paper); background: transparent; border-color: rgba(217,225,220,.45); }
.button--outline:hover, .button--outline:focus { color: var(--brass-light); border-color: var(--brass); background: transparent; }
.button--dark { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.button--dark:hover, .button--dark:focus { color: var(--paper); background: var(--teal); border-color: var(--teal); }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--paper); background: linear-gradient(180deg, rgba(13,32,46,.9), transparent); }
.site-header--inner { background: var(--marine); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 178px; }
.brand-mark { position: relative; display: block; width: 58px; height: 45px; overflow: hidden; border-radius: 2px; background: var(--deep-marine); }
.brand-mark img { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); object-fit: cover; object-position: center; }
.brand-name { line-height: 1; }
.brand-name strong { display: block; font-family: "Manrope", Arial, sans-serif; font-size: 14px; letter-spacing: .12em; }
.brand-name small { display: block; margin-top: 4px; color: #98aeb9; font-size: 8px; font-weight: 700; letter-spacing: .2em; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a, .nav-parent > a { padding-block: 20px; color: rgba(231,227,215,.87); font-size: 13px; font-weight: 700; transition: color .2s ease; }
.main-nav > a:hover, .main-nav > a:focus, .nav-parent:hover > a, .nav-parent > a[aria-current="page"] { color: var(--brass-light); }
.nav-parent { position: relative; }
.nav-parent > a { display: flex; align-items: center; gap: 7px; }
.nav-parent > a::after { content: "⌄"; font-size: 16px; line-height: 1; }
.project-menu { position: absolute; top: 62px; left: 50%; width: 360px; padding: 22px; border: 1px solid rgba(216,224,221,.15); background: var(--marine); box-shadow: 0 20px 50px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: .2s ease; }
.nav-parent:hover .project-menu, .nav-parent:focus-within .project-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.project-menu-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.project-menu .eyebrow { color: var(--brass); margin-bottom: 12px; }
.project-menu a { display: block; margin-bottom: 8px; color: var(--paper); font-size: 14px; }
.project-menu a:hover { color: var(--brass-light); }
.project-menu-all { display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(216,224,221,.15); color: #9db3bd !important; font-size: 10px !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.menu-toggle { display: none; border: 0; padding: 8px; color: var(--paper); background: transparent; font-size: 25px; cursor: pointer; }
.mobile-panel { display: none; }

/* Hero and sections */
.hero { position: relative; display: flex; min-height: 780px; align-items: flex-end; overflow: hidden; padding-block: 120px 110px; color: var(--paper); background: var(--marine); }
.hero-media, .detail-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,29,42,.92) 0%, rgba(12,29,42,.67) 42%, rgba(12,29,42,.16) 100%); }
.hero::before { content: ""; position: absolute; z-index: 1; inset: auto 0 0; height: 180px; background: linear-gradient(0deg, var(--marine), transparent); }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; width: var(--content); margin-inline: auto; }
.hero-copy { max-width: 660px; }
.hero .eyebrow { margin-bottom: 27px; color: #e4b06e; }
.hero h1 { margin: 0; font-size: clamp(58px, 9vw, 125px); font-weight: 800; line-height: .91; }
.hero h1 em { color: var(--brass); font-style: normal; }
.hero-text { max-width: 465px; margin: 31px 0 0; color: rgba(217,225,220,.8); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-side { display: flex; align-items: flex-end; justify-content: flex-end; }
.hero-note { max-width: 210px; margin-bottom: 2px; padding-left: 20px; border-left: 1px solid var(--brass); }
.hero-note strong { display: block; font-size: 25px; line-height: 1.1; }
.hero-note span { display: block; margin-top: 12px; color: rgba(217,225,220,.65); font-size: 14px; }
.dark-section { padding-block: 100px; color: var(--paper); background: var(--marine); }
.paper-section { padding-block: 100px; background: var(--paper); }
.sage-section { padding-block: 100px; background: var(--sage); }
.two-col { display: grid; grid-template-columns: .75fr 1.25fr; gap: 110px; }
.section-label { color: var(--brass); }
.section-label--teal { color: var(--teal); }
.rule { width: 96px; height: 1px; margin-top: 28px; background: var(--brass); }
.section-kicker { max-width: 230px; margin-top: 28px; color: #aebec2; font-size: 14px; }
.headline { margin: 18px 0 0; font-size: clamp(42px, 5vw, 70px); font-weight: 700; line-height: 1.02; }
.headline span { color: var(--brass); }
.body-copy { max-width: 650px; margin-top: 30px; color: #bfcbd0; font-size: 18px; line-height: 1.8; }
.inline-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 30px; padding-bottom: 7px; border-bottom: 1px solid var(--brass); color: var(--brass-light); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.inline-link:hover { color: #fff; }
.section-heading { margin: 18px 0 0; font-size: clamp(46px, 5.5vw, 76px); font-weight: 700; line-height: .98; }
.section-heading span { color: var(--teal); }
.section-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 25px; }
.section-top .inline-link { color: var(--ink); border-color: var(--teal); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 55px; }
.project-grid > .project-card:first-child { grid-column: span 2; min-height: 500px; }
.project-card { position: relative; display: block; min-height: 385px; overflow: hidden; color: var(--paper); background: #183246; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .76; transition: transform .6s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,32,47,.98), rgba(14,32,47,.2) 65%, transparent); }
.project-card-top, .project-card-bottom { position: absolute; z-index: 1; left: 24px; right: 24px; }
.project-card-top { top: 24px; display: flex; align-items: center; gap: 12px; }
.project-card-top .number { color: var(--brass); font-family: "Space Mono", monospace; font-size: 12px; }
.project-card-top .line { width: 32px; height: 1px; background: rgba(219,166,101,.7); }
.project-card-top .eyebrow { color: rgba(231,227,215,.8); font-size: 9px; }
.project-card-bottom { bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.project-location { margin: 0 0 9px; color: rgba(217,225,220,.68); font-size: 12px; }
.project-location::before { content: "⌖"; margin-right: 5px; color: var(--brass); }
.project-card h3 { margin: 0; font-size: 36px; line-height: 1; }
.project-card-description { max-width: 360px; margin: 12px 0 0; color: rgba(217,225,220,.7); font-size: 14px; line-height: 1.5; }
.project-arrow { display: flex; width: 45px; height: 45px; flex-shrink: 0; align-items: center; justify-content: center; border: 1px solid rgba(217,225,220,.4); border-radius: 50%; font-size: 20px; transition: .25s ease; }
.project-card:hover .project-arrow { color: var(--marine); border-color: var(--brass); background: var(--brass); }
.discipline-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.discipline-list { border-block: 1px solid rgba(23,42,56,.15); }
.discipline-item { display: grid; grid-template-columns: 55px 1fr auto; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(23,42,56,.15); }
.discipline-item:last-child { border-bottom: 0; }
.discipline-icon { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(39,135,149,.5); border-radius: 50%; color: var(--teal); font-size: 18px; }
.discipline-item h3 { margin: 0; font-size: 24px; }
.discipline-item p { max-width: 410px; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.discipline-number { color: var(--teal); font-family: "Space Mono", monospace; font-size: 12px; }
.trust { padding-block: 80px; background: var(--brass); color: var(--ink); }
.trust-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: end; }
.trust h2 { margin: 18px 0 0; font-size: clamp(48px, 5.5vw, 76px); line-height: .98; }
.trust h2 span { color: var(--paper); }
.trust-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.trust-item { padding-top: 15px; border-top: 1px solid rgba(23,42,56,.25); }
.trust-item .number { color: rgba(23,42,56,.55); font-family: "Space Mono", monospace; font-size: 12px; }
.trust-item h3 { margin: 18px 0 0; font-size: 21px; }
.trust-item p { margin: 7px 0 0; color: rgba(23,42,56,.7); font-size: 14px; }
.cta { position: relative; overflow: hidden; padding-block: 105px; color: var(--paper); background: var(--marine); }
.cta::after, .cta::before { content: ""; position: absolute; width: 500px; height: 500px; border: 1px solid rgba(219,166,101,.25); border-radius: 50%; right: -180px; top: -220px; }
.cta::before { width: 350px; height: 350px; right: -90px; top: -140px; border-color: rgba(219,166,101,.15); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: end; }
.cta h2 { max-width: 700px; margin: 18px 0 0; font-size: clamp(50px, 7vw, 100px); line-height: .9; }
.cta h2 span { color: var(--brass); }
.cta p { max-width: 500px; margin: 28px 0 0; color: #b9c9cd; font-size: 16px; }

/* Inner pages, contact and footer */
.page-intro { padding-block: 185px 90px; color: var(--paper); background: var(--marine); }
.page-intro h1 { max-width: 850px; margin: 24px 0 0; font-size: clamp(55px, 8vw, 112px); line-height: .9; }
.page-intro h1 span { color: var(--brass); }
.page-intro p { max-width: 570px; margin: 30px 0 0; color: #b9c9cd; font-size: 16px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(23,42,56,.15); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 10px 15px; border: 1px solid rgba(23,42,56,.2); color: var(--muted); background: transparent; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.filter.is-active, .filter:hover { color: var(--paper); border-color: var(--teal); background: var(--teal); }
.about-copy { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.about-copy h2, .contact-copy h2 { margin: 0; font-size: clamp(40px, 5vw, 65px); line-height: 1.05; }
.about-copy h2 span, .contact-copy h2 span { color: var(--teal); }
.about-columns { display: grid; grid-template-columns: repeat(2,1fr); gap: 25px; margin-top: 28px; color: var(--muted); font-size: 16px; }
.quote-box { padding: 50px; color: var(--paper); background: var(--ink); }
.quote-box blockquote { margin: 25px 0 0; font-family: "Manrope", Arial, sans-serif; font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.owner { display: flex; align-items: center; gap: 15px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(231,227,215,.2); }
.owner-initials { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; color: var(--ink); background: var(--brass); font-family: "Manrope", Arial, sans-serif; font-weight: 800; }
.owner p { margin: 0; font-size: 13px; }
.owner small { color: #b9c9cd; font-size: 11px; }
.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.contact-info { display: grid; gap: 25px; margin-top: 46px; }
.contact-line { display: flex; align-items: center; gap: 15px; }
.contact-icon { display: flex; width: 45px; height: 45px; align-items: center; justify-content: center; border: 1px solid var(--teal); color: var(--teal); }
.contact-line:first-child .contact-icon { color: var(--ink); border-color: var(--brass); background: var(--brass); }
.contact-line label { display: block; color: #7b8d90; font-family: "Space Mono", monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.contact-line strong { display: block; margin-top: 3px; font-family: "Manrope", Arial, sans-serif; font-size: 19px; }
.form-panel { padding: 42px; background: var(--sage); }
.inquiry-form { display: grid; gap: 24px; }
.form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 25px; }
.form-field label { display: block; color: #7b8d90; font-family: "Space Mono", monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; margin-top: 8px; padding: 11px 0; border: 0; border-bottom: 1px solid rgba(23,42,56,.25); outline: 0; color: var(--ink); background: transparent; font-size: 15px; }
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-bottom-color: var(--teal); }
.form-note { color: #7b8d90; font-size: 12px; }
.success-message { min-height: 430px; display: flex; flex-direction: column; justify-content: center; }
.success-message h2 { margin: 15px 0 0; font-size: 42px; line-height: 1; }
.success-message p { max-width: 380px; color: var(--muted); }
.detail-hero { position: relative; display: flex; min-height: 610px; align-items: end; overflow: hidden; padding-block: 150px 90px; color: var(--paper); background: var(--marine); }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,40,56,1), rgba(17,40,56,.45) 55%, rgba(17,40,56,.12)); }
.detail-inner { position: relative; z-index: 1; width: var(--content); margin-inline: auto; }
.detail-hero h1 { max-width: 850px; margin: 24px 0 0; font-size: clamp(48px, 8vw, 112px); line-height: .9; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; color: rgba(217,225,220,.72); font-size: 14px; }
.detail-content { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; }
.detail-content h2 { margin: 18px 0 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.05; }
.detail-content p { max-width: 620px; margin-top: 25px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.feature-list { padding-top: 18px; border-top: 1px solid rgba(23,42,56,.15); }
.feature-list li { padding: 15px 0; border-bottom: 1px solid rgba(23,42,56,.15); color: var(--muted); font-size: 14px; list-style: none; }
.feature-list li::before { content: "✓"; margin-right: 12px; color: var(--teal); font-weight: 800; }
.detail-specs { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 38px; }
.detail-spec { padding-top: 15px; border-top: 1px solid rgba(23,42,56,.15); }
.detail-spec label { color: #7b8d90; font-family: "Space Mono", monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.detail-spec strong { display: block; margin-top: 6px; font-size: 20px; }

/* Footer */
.site-footer { padding-block: 56px 20px; color: var(--silver); background: var(--deep-marine); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 48px; }
.footer-tagline { max-width: 270px; margin-top: 23px; color: #9db3bd; font-size: 14px; }
.footer-phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--brass); font-size: 14px; font-weight: 700; }
.footer-heading { color: var(--brass); }
.footer-links { display: grid; gap: 10px; margin-top: 19px; color: rgba(216,224,221,.7); font-size: 14px; }
.footer-links a:hover { color: var(--brass-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(216,224,221,.15); color: #718b95; font-family: "Space Mono", monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.floating-call { display: none; }

@media (max-width: 900px) {
  :root { --content: min(100% - 36px, 680px); }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-panel { padding: 13px 18px 28px; border-top: 1px solid rgba(216,224,221,.15); background: var(--marine); }
  .mobile-panel.is-open { display: block; }
  .mobile-links { display: grid; }
  .mobile-links > a { padding: 14px 0; border-bottom: 1px solid rgba(216,224,221,.1); color: var(--paper); font-weight: 700; }
  .mobile-panel .eyebrow { margin: 24px 0 10px; color: #9db3bd; }
  .mobile-categories { display: grid; grid-template-columns: repeat(2,1fr); }
  .mobile-categories a { padding: 10px 0; border-bottom: 1px solid rgba(216,224,221,.1); color: var(--brass); font-size: 14px; }
  .hero { min-height: 700px; }
  .hero-content, .two-col, .discipline-grid, .trust-grid, .cta-inner, .about-copy, .contact-grid, .detail-content { grid-template-columns: 1fr; gap: 45px; }
  .hero-side { display: none; }
  .dark-section, .paper-section, .sage-section { padding-block: 75px; }
  .project-grid { margin-top: 40px; }
  .project-grid > .project-card:first-child { min-height: 390px; }
  .trust-list { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
  .floating-call { position: fixed; z-index: 15; right: 18px; bottom: 18px; display: flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 50%; color: var(--marine); background: var(--brass); box-shadow: 0 15px 30px rgba(17,40,56,.25); font-size: 22px; }
}
@media (max-width: 560px) {
  :root { --content: calc(100% - 32px); }
  .header-inner { min-height: 72px; }
  .brand { min-width: 145px; }
  .brand-mark { width: 48px; height: 39px; }
  .brand-name strong { font-size: 12px; }
  .hero { min-height: 650px; padding-block: 100px 76px; }
  .hero h1 { font-size: clamp(52px, 17vw, 83px); }
  .hero-text { font-size: 15px; }
  .hero-actions .button { width: 100%; justify-content: center; }
  .headline, .section-heading { font-size: 45px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-grid > .project-card:first-child { grid-column: auto; min-height: 390px; }
  .project-card h3 { font-size: 30px; }
  .trust-list, .about-columns, .form-row { grid-template-columns: 1fr; }
  .cta h2 { font-size: 58px; }
  .page-intro { padding-block: 145px 70px; }
  .page-intro h1 { font-size: 58px; }
  .filter-bar { align-items: flex-start; flex-direction: column; }
  .filters { width: 100%; }
  .filter { flex: 1 1 auto; }
  .form-panel, .quote-box { padding: 27px 21px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid > :first-child { grid-column: auto; }
}