/* eYumba home header + search hero (zameen.com layout, eYumba brown and gold) */
:root {
    --ey-brown: #6b3a1a;
    --ey-brown-dark: #4e2a12;
    --ey-gold: #e0a526;
    --ey-ink: #1f2933;
    --ey-muted: #6b7280;
    --ey-line: #e5e7eb;
}

.ey-hero { position: relative; font-family: inherit; }

/* Header bar */
.ey-header { background: #fff; border-bottom: 1px solid var(--ey-line); position: relative; z-index: 20; }
.ey-header-inner { display: flex; align-items: center; gap: 28px; max-width: 1280px; margin: 0 auto; padding: 10px 24px; }
.ey-logo { display: flex; align-items: center; flex-shrink: 0; }
.ey-logo img { height: 40px; width: auto; display: block; }
.ey-hamburger { display: none; background: none; border: 0; font-size: 24px; color: var(--ey-ink); padding: 4px; cursor: pointer; }

.ey-nav { display: flex !important; flex-wrap: nowrap !important; align-items: center; gap: 2px; flex: 1 1 auto; min-width: 0; }
.ey-nav > * { flex: 0 0 auto; }
.ey-nav-more { display: inline-flex; }
.ey-nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: 0; background: none; border-radius: 8px;
    font-size: 15px; font-weight: 600; color: var(--ey-ink); text-decoration: none; cursor: pointer; white-space: nowrap; }
.ey-nav-link i { font-size: 13px; color: var(--ey-muted); }
.ey-nav-link:hover { background: #faf5f0; color: var(--ey-brown); text-decoration: none; }
.ey-nav-more { position: relative; }
.ey-nav-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 190px; background: #fff; border: 1px solid var(--ey-line);
    border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .12); padding: 6px; }
.ey-nav-more.open .ey-nav-menu { display: block; }
.ey-nav-menu a { display: block; padding: 9px 12px; border-radius: 7px; font-size: 14px; color: var(--ey-ink); text-decoration: none; }
.ey-nav-menu a:hover { background: #faf5f0; color: var(--ey-brown); }

.ey-header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.ey-add-property { display: inline-flex; align-items: center; gap: 6px; background: var(--ey-brown); color: #fff; border: 0; border-radius: 8px;
    padding: 10px 16px; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ey-add-property:hover { background: var(--ey-brown-dark); }
.ey-account .action-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ey-line); border-radius: 8px; padding: 8px 14px;
    cursor: pointer; color: var(--ey-ink); font-weight: 600; }
.ey-account .action-btn .small { font-size: 14px; }
.ey-account .action-btn:hover { border-color: var(--ey-brown); color: var(--ey-brown); }

/* Hero banner */
.ey-hero-banner { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; padding: 56px 20px 64px;
    background: linear-gradient(180deg, rgba(20, 12, 6, .45) 0%, rgba(20, 12, 6, .25) 45%, rgba(20, 12, 6, .55) 100%),
                url('/media/images/eyumba-hero-pan-african.jpg') center / cover no-repeat; }
.ey-hero-content { width: 100%; max-width: 900px; margin: 0 auto; text-align: center; }
.ey-hero-title { color: #fff !important; font-size: 44px; font-weight: 800; line-height: 1.15; margin: 0 0 26px; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }

.ey-hero-tabs { display: inline-flex; gap: 4px; background: rgba(255, 255, 255, .94); border-radius: 12px; padding: 6px; margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
.ey-hero-tab { border: 0; background: none; padding: 9px 24px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--ey-muted); cursor: pointer; }
.ey-hero-tab.active { background: #faf1e2; color: var(--ey-brown); font-weight: 700; }
.ey-hero-tab:hover:not(.active) { color: var(--ey-ink); }

.ey-search { background: rgba(255, 255, 255, .97); border-radius: 14px; padding: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .22); text-align: left; }
.ey-search-row { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 10px; margin-bottom: 10px; }
.ey-search-row + .ey-search-row { grid-template-columns: 1fr 1fr 1fr 1fr; }
.ey-field { position: relative; display: flex; align-items: center; margin: 0; border: 1px solid var(--ey-line); border-radius: 9px; background: #fff; height: 50px; }
.ey-field i { position: absolute; left: 13px; color: var(--ey-muted); font-size: 17px; pointer-events: none; }
.ey-field select, .ey-field input { width: 100%; height: 100%; border: 0; background: transparent; padding: 0 14px; font-size: 15px; color: var(--ey-ink);
    outline: none; -webkit-appearance: none; appearance: none; }
.ey-field i + select, .ey-field i + input { padding-left: 38px; }
.ey-field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center no-repeat; cursor: pointer; }
.ey-field:focus-within { border-color: var(--ey-brown); box-shadow: 0 0 0 3px rgba(107, 58, 26, .12); }
.ey-search-btn { height: 50px; border: 0; border-radius: 9px; background: var(--ey-brown); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }
.ey-search-btn:hover { background: var(--ey-brown-dark); }

.ey-search-promo { display: flex !important; align-items: center; gap: 16px; margin: 4px -14px -14px; padding: 13px 18px; border-radius: 0 0 14px 14px;
    background: var(--ey-brown) !important; color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.ey-search-promo span, .ey-search-promo i { color: #fff !important; }
.ey-search-promo:hover { background: var(--ey-brown-dark) !important; }
.ey-search-promo .ey-promo-brand { font-size: 16px; letter-spacing: .2px; color: #f3dcae !important; }
.ey-search-promo .ey-promo-brand strong { color: var(--ey-gold) !important; }

/* Tablet and phone */
@media (max-width: 991px) {
    .ey-nav { display: none !important; }
    .ey-hamburger { display: inline-flex; }
    .ey-header-inner { gap: 12px; padding: 10px 16px; }
    .ey-hero-title { font-size: 34px; }
}
@media (max-width: 640px) {
    .ey-logo img { height: 30px; }
    .ey-add-property { padding: 9px 11px; }
    .ey-add-property .ey-add-text { display: none !important; }
    .ey-add-property i { font-size: 16px; }
    .ey-header-actions { gap: 8px; }
    .ey-account .action-btn { padding: 8px 10px; }
    .ey-account .action-btn .small { display: none !important; }
    .ey-hero-banner { min-height: 0; padding: 32px 16px 40px; }
    .ey-hero-title { font-size: 26px; margin-bottom: 18px; }
    .ey-hero-tabs { display: flex; width: 100%; }
    .ey-hero-tab { flex: 1; padding: 9px 6px; font-size: 14px; }
    .ey-search-row, .ey-search-row + .ey-search-row { grid-template-columns: 1fr 1fr; }
    .ey-field-location { grid-column: 1 / -1; order: -1; }
    .ey-search-promo { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Kobadu's button styles square the corners; keep eYumba's buttons rounded. */
.ey-hero .ey-add-property,
.ey-hero .ey-search-btn,
.ey-hero .ey-account .action-btn { border-radius: 10px !important; }
.ey-hero .ey-hero-tab { border-radius: 9px !important; }
.ey-hero .ey-field, .ey-hero .ey-field select, .ey-hero .ey-field input { border-radius: 10px !important; }

/* Icons sit on the text's centre line */
.ey-hero .ey-field i { top: 50%; transform: translateY(-50%); line-height: 1; display: flex; align-items: center; }
.ey-hero .ey-add-property i,
.ey-hero .ey-nav-link i,
.ey-hero .ey-search-promo i { display: inline-flex; align-items: center; line-height: 1; }
.ey-hero .ey-account .action-btn > div { display: inline-flex; align-items: center; line-height: 1; }
.ey-hero .ey-account .action-btn i { line-height: 1; display: inline-flex; }
.ey-hero .ey-account .action-btn .small { line-height: 1; margin: 0; }
