/* =========================================================
   PODAR HAVELI MUSEUM — SITE STYLES
   Header / top bar replicate the Egypt theme "Header v1"
   with the customisations used on the WordPress site
   (navy top bar #000848, gold accents #d4af37).
   ========================================================= */

:root {
    --navy: #000848;
    --gold: #d4af37;
    --charcoal: #292727;
    --terracotta: #d99a7d;
    --cream: #ead8b7;
    --text: #686868;
    --heading-font: 'Marcellus', Georgia, serif;
    --body-font: 'Open Sans', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--body-font);
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.container.narrow { max-width: 860px; }

.thm-btn {
    display: inline-block;
    background: var(--gold);
    color: #000;
    font-family: var(--body-font);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 12px 28px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease;
}
.thm-btn:hover { background: var(--navy); color: #fff; }

/* ---------------- TOP BAR (matches live site) ---------------- */
.topbar-one .container, .header-navigation .container { max-width: 1200px; }
.topbar-one { background: var(--navy); color: #fff; font-size: 16px; }
.topbar-one .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; min-height: 53px; padding-top: 6px; padding-bottom: 6px;
    position: relative;
}
.topbar-one .container::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; height: 1px; background: var(--gold); }
.topbar-one__left, .topbar-one__right { display: flex; align-items: center; }
.topbar-one__right { gap: 8px; align-self: stretch; padding-left: 21px; border-left: 1px solid #403e3f; }
.topbar-one__link {
    display: inline-flex; align-items: center; gap: 8px;
    color: #fff; text-decoration: none; transition: color .3s ease; white-space: nowrap;
}
.topbar-one__link:hover { color: var(--terracotta); }
.topbar-one__link > .fa { color: #fff; font-size: 19px; }
.topbar-one__time-wrap { display: inline-flex; align-items: center; gap: 10px; margin-left: 2px; }
.topbar-one__time { font-size: 16px; line-height: 1; color: #fff; white-space: nowrap; }
.topbar-one__minute { font-size: 10px; position: relative; top: -7px; margin-left: 1px; }
.topbar-one__ampm { font-size: 11px; margin-left: 2px; letter-spacing: .4px; }
.topbar-one__sep { width: 30px; height: 2px; background: var(--terracotta); display: inline-block; }
.topbar-one__direction { margin-left: 19px; padding-left: 19px; border-left: 1px solid rgba(255,255,255,.25); align-self: stretch; }
.topbar-one__icon {
    width: 38px; height: 37px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: #fff;
    border: 1.5px solid #fff; border-radius: 3px;
    font-size: 18px; text-decoration: none; cursor: pointer;
    transition: all .3s ease; align-self: center;
}
.topbar-one__icon:hover { background: #fff; color: var(--navy); }
.topbar-one__btn {
    align-self: center; background: var(--terracotta); color: #fff;
    font-family: var(--body-font); font-weight: 400; font-size: 13px; letter-spacing: .3px;
    padding: 10px 15px; border-radius: 3px;
}
.topbar-one__btn:hover { background: #fff; color: var(--navy); }

/* ---------------- MAIN HEADER (dark bar, matches live site) ---------------- */
.site-header { position: relative; z-index: 100; }
.header-navigation { background: #302e2f; transition: box-shadow .3s ease; }
.header-navigation .container { display: flex; align-items: stretch; justify-content: space-between; gap: 0; }
.header-navigation.stricky-fixed {
    position: fixed; top: 0; left: 0; right: 0;
    animation: slideDown .45s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }
.header-spacer { display: none; }
.header-navigation.stricky-fixed + .header-spacer { display: block; }

.logo-box { display: flex; align-items: center; justify-content: space-between; padding: 21px 40px 21px 0; border-right: 1px solid #403e3f; }
.navbar-brand { display: block; }
.main-logo { display: block; height: 48px; width: auto; transition: height .3s ease; }
.stricky-fixed .main-logo { height: 42px; }
.stricky-fixed .logo-box { padding-top: 13px; padding-bottom: 13px; }
.menu-toggler { display: none; background: none; border: 0; font-size: 26px; color: #fff; cursor: pointer; }

.main-navigation { flex: 1; display: flex; justify-content: flex-end; align-items: center; }
.navigation-box { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; }
.navigation-box > li { position: relative; }
.navigation-box > li > a {
    display: block;
    padding: 31px 14.5px;
    font-family: var(--body-font);
    font-size: 17px;
    color: #fff;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    transition: color .3s ease;
}
.navigation-box > li:last-child > a { padding-right: 0; }
.stricky-fixed .navigation-box > li > a { padding-top: 23px; padding-bottom: 23px; }
.navigation-box > li:hover > a { color: var(--terracotta); }
.sub-nav-toggler { display: none; }

.sub-menu {
    list-style: none; margin: 0; padding: 0;
    position: absolute; top: 100%; left: 0; min-width: 250px;
    background: #fff;
    border-top: 3px solid var(--terracotta);
    box-shadow: 0 15px 40px rgba(0,0,0,.18);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: all .3s ease; z-index: 50;
}
.navigation-box li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu li { border-bottom: 1px solid #eee8df; }
.sub-menu li:last-child { border-bottom: 0; }
.sub-menu a {
    display: block; padding: 12px 22px; color: #302e2f; font-size: 15px; text-decoration: none;
    transition: all .25s ease;
}
.sub-menu a:hover, .sub-menu li.current > a { color: #fff; background: var(--terracotta); padding-left: 28px; }

/* side info toggler (hamburger) — optional, off by default like the live site */
.right-side-box { display: flex; align-items: center; padding-left: 21px; }
.side-content__toggler {
    width: 46px; height: 46px; background: transparent; border: 1.5px solid rgba(255,255,255,.6); border-radius: 3px; cursor: pointer;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    transition: background .3s ease;
}
.side-content__toggler span { width: 20px; height: 2px; background: #fff; display: block; transition: width .3s ease; }
.side-content__toggler span:nth-child(2) { width: 14px; margin-left: 6px; }
.side-content__toggler:hover { background: var(--terracotta); border-color: var(--terracotta); }
.side-content__toggler:hover span { width: 20px; margin-left: 0; }

/* side drawer */
.side-content { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.side-content__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .35s ease; }
.side-content__inner {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 90vw);
    background: var(--charcoal); color: #c9c4bd; padding: 60px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .45s ease;
}
.side-content.is-open { visibility: visible; }
.side-content.is-open .side-content__overlay { opacity: 1; }
.side-content.is-open .side-content__inner { transform: none; }
.side-content__close { position: absolute; top: 18px; right: 20px; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }
.side-content__logo { max-height: 70px; width: auto; background: #fff; padding: 8px 12px; border-radius: 4px; margin-bottom: 30px; }
.side-content__inner h3 { font-family: var(--heading-font); color: #fff; font-weight: 400; font-size: 24px; margin: 30px 0 14px; }
.side-content__inner p { margin: 0 0 24px; }
.side-content__contact { list-style: none; padding: 0; margin: 0; }
.side-content__contact li { display: flex; gap: 12px; margin-bottom: 12px; }
.side-content__contact .fa { color: var(--gold); width: 16px; margin-top: 6px; }
.side-content__contact a { color: #c9c4bd; text-decoration: none; }
.side-content__contact a:hover { color: var(--gold); }

/* search popup */
.search-popup { position: fixed; inset: 0; z-index: 1001; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transition: all .3s ease; }
.search-popup.is-open { visibility: visible; opacity: 1; }
.search-popup__overlay { position: absolute; inset: 0; background: rgba(0,8,72,.92); cursor: pointer; }
.search-popup__form { position: relative; width: min(600px, 90vw); display: flex; }
.search-popup__form input { flex: 1; height: 64px; border: 0; padding: 0 24px; font-size: 18px; font-family: var(--body-font); outline: none; }
.search-popup__form button { width: 70px; border: 0; background: var(--gold); color: #000; font-size: 20px; cursor: pointer; }

/* ---------------- INNER PAGE BANNER ---------------- */
.inner-banner {
    position: relative; background-size: cover; background-position: center; background-repeat: no-repeat;
    padding: 18px 0; text-align: center;
}
.inner-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.2); }
.inner-banner .container { position: relative; z-index: 2; }
.inner-banner__title {
    font-family: Georgia, serif; font-size: 28px; font-weight: 400; margin: 0; color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.9), 0 0 15px rgba(0,0,0,.7);
}
.preview-bar { background: #fff6d6; color: #6b5300; text-align: center; padding: 10px; font-size: 14px; }

/* ---------------- GENERIC PAGE CONTENT ---------------- */
.page-section { padding: 80px 0; }
.entry-content { padding-top: 60px; padding-bottom: 60px; color: #555; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { font-family: Georgia, serif; font-weight: 400; color: var(--charcoal); line-height: 1.25; }
.entry-content img { height: auto; }
.entry-content a { color: var(--navy); }
.lead-center { text-align: center; max-width: 640px; margin: 0 auto 45px; font-size: 16px; }

/* image gallery (exhibition pages) */
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.g-item { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item:hover img { transform: scale(1.06); }

/* collections index */
.c-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.c-card { position: relative; display: block; height: 340px; overflow: hidden; background: var(--charcoal); text-decoration: none; }
.c-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.c-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,13,13,.9), rgba(15,13,13,0) 60%); }
.c-card:hover img { transform: scale(1.07); }
.c-card-body { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; color: #fff; }
.c-card-body small { display: block; color: var(--cream); text-transform: uppercase; letter-spacing: 2px; font-size: 10px; }
.c-card-body strong { font-family: Georgia, serif; font-weight: 400; font-size: 23px; }

/* image lightbox */
.img-lightbox { position: fixed; inset: 0; z-index: 1002; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.img-lightbox img { max-height: 90vh; max-width: 92vw; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* ---------------- CONTACT ---------------- */
.contact-one { padding: 90px 0; }
.contact-one__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-one__image img { width: 100%; height: 300px; object-fit: cover; display: block; margin-bottom: 30px; }
.contact-one__title { font-family: Georgia, serif; font-weight: 400; color: var(--charcoal); font-size: 28px; line-height: 1.25; margin: 0 0 22px; }
.contact-one__list { list-style: none; margin: 0; padding: 0; }
.contact-one__list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #ece6dc; }
.contact-one__list .fa { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.contact-one__list a { color: var(--charcoal); text-decoration: none; align-self: center; }
.contact-one__list span { align-self: center; color: var(--charcoal); }
.contact-one__form-wrap { background: #f7f2e9; padding: 45px; }
.phm-kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--terracotta); font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; }
.phm-kicker::before { content: ""; width: 35px; height: 1px; background: var(--terracotta); }
.contact-one__heading { font-family: Georgia, serif; font-weight: 400; color: var(--charcoal); font-size: 36px; margin: 10px 0 25px; line-height: 1.15; }
.contact-one__form label { display: block; font-size: 13px; color: var(--charcoal); font-weight: 600; margin-bottom: 16px; }
.contact-one__form input, .contact-one__form textarea {
    display: block; width: 100%; margin-top: 6px; padding: 12px 15px; border: 1px solid #ddd3c3; background: #fff;
    font-family: var(--body-font); font-size: 14px; color: #333; outline: none; transition: border-color .3s ease;
}
.contact-one__form input:focus, .contact-one__form textarea:focus { border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp-field { position: absolute !important; left: -9999px !important; }
.form-alert { padding: 13px 16px; margin-bottom: 20px; font-size: 14px; }
.form-alert--ok { background: #e3f4e6; color: #1d5b2a; }
.form-alert--err { background: #fde6e4; color: #8a1f17; }
.contact-map iframe { display: block; width: 100%; height: 450px; border: 0; }

/* ---------------- SEARCH / 404 ---------------- */
.search-page__form { display: flex; gap: 10px; margin-bottom: 30px; }
.search-page__form input { flex: 1; padding: 12px 16px; border: 1px solid #ddd; font-size: 15px; font-family: var(--body-font); }
.search-page__count { color: #888; }
.search-result { padding: 22px 0; border-bottom: 1px solid #eee; }
.search-result h3 { margin: 0 0 6px; font-family: Georgia, serif; font-weight: 400; font-size: 22px; }
.search-result h3 a { color: var(--navy); text-decoration: none; }
.search-result p { margin: 0; font-size: 14px; }
.error-404 { text-align: center; }
.error-404__code { font-family: var(--heading-font); font-size: 140px; line-height: 1; color: var(--cream); }
.error-404 h2 { font-family: Georgia, serif; font-weight: 400; color: var(--charcoal); font-size: 34px; }

/* ---------------- FOOTER ---------------- */
.site-footer { position: relative; background-color: #1c1a1a; background-size: cover; background-position: center; color: #b9b3ab; text-align: center; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(20,18,18,.88); }
.site-footer > * { position: relative; }
.site-footer__upper { padding: 70px 0 45px; }
.site-footer__logo img { max-height: 110px; width: auto; }
.site-footer__tagline { margin: 14px 0 0; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--cream); }
.site-footer__menu { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 34px; }
.site-footer__menu a { font-family: var(--heading-font); font-size: 17px; color: #fff; text-decoration: none; transition: color .3s ease; }
.site-footer__menu a:hover { color: var(--gold); }
.site-footer__contact { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; font-size: 14px; }
.site-footer__contact .fa { color: var(--gold); margin-right: 8px; }
.site-footer__contact a { color: #b9b3ab; text-decoration: none; }
.site-footer__contact a:hover { color: var(--gold); }
.site-footer__social { margin-top: 26px; display: flex; justify-content: center; gap: 10px; }
.site-footer__social a { width: 40px; height: 40px; border: 1px solid rgba(212,175,55,.6); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: all .3s ease; }
.site-footer__social a:hover { background: var(--gold); color: #000; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 13px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: var(--gold); text-decoration: none; }

.scroll-to-top {
    position: fixed; right: 25px; bottom: 25px; z-index: 90; width: 46px; height: 46px; border: 0; border-radius: 4px;
    background: var(--gold); color: #000; font-size: 22px; cursor: pointer; opacity: 0; visibility: hidden; transition: all .3s ease;
}
.scroll-to-top.show { opacity: 1; visibility: visible; }

/* video lightbox */
.video-lightbox { position: fixed; inset: 0; z-index: 1003; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; }
.video-lightbox.is-open { display: flex; }
.video-lightbox__inner { position: relative; width: min(1000px, 92vw); aspect-ratio: 16 / 9; }
.video-lightbox__frame, .video-lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.video-lightbox__close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1199px) {
    .navigation-box > li > a { padding-left: 9px; padding-right: 9px; font-size: 15px; }
    .logo-box { padding-right: 22px; }
    .main-logo { height: 44px; }
}
@media (max-width: 1040px) {
    .header-navigation .container { flex-wrap: wrap; }
    .logo-box { flex: 1; border-right: 0; padding: 14px 0; }
    .menu-toggler { display: block; margin-left: 15px; }
    .right-side-box { order: 2; }
    .main-navigation { order: 3; flex-basis: 100%; display: none; max-height: 70vh; overflow-y: auto; border-top: 1px solid #403e3f; }
    .main-navigation.is-open { display: block; }
    .navigation-box { display: block; }
    .navigation-box > li { border-bottom: 1px solid #403e3f; }
    .navigation-box > li > a, .stricky-fixed .navigation-box > li > a, .navigation-box > li:last-child > a { padding: 12px 4px; font-size: 16px; }
    .sub-nav-toggler { display: flex; position: absolute; right: 0; top: 7px; width: 38px; height: 34px; align-items: center; justify-content: center; background: #403e3f; border: 0; border-radius: 3px; cursor: pointer; font-size: 18px; color: #fff; }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border-top: 0; min-width: 0; margin-bottom: 10px; }
    .navigation-box li.sub-open > .sub-menu { display: block; }
    .navigation-box li:hover > .sub-menu { transform: none; }
}
@media (max-width: 900px) {
    .topbar-one__direction { display: none; }
    .topbar-one { font-size: 15px; }
    .topbar-one__right { border-left: 0; padding-left: 0; }
    .contact-one__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .topbar-one .container { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .topbar-one__left { font-size: 13px; }
    .main-logo { height: 52px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-one__form-wrap { padding: 28px 20px; }
    .page-section, .contact-one { padding: 55px 0; }
}

/* ---------------- MEMBERSHIP PAGE ---------------- */
.contact-one__heading .accent { color: var(--terracotta); font-style: italic; }
.member-benefits { list-style: none; padding: 0; margin: 22px 0; }
.member-benefits li { display: flex; gap: 12px; padding: 9px 0; color: var(--charcoal); border-bottom: 1px solid #ece6dc; }
.member-benefits .fa { color: var(--gold); margin-top: 6px; }
.member-plans-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0 0 22px; }
.member-plan-mini { border: 1px solid #e6dccb; padding: 14px 16px; background: #fff; }
.member-plan-mini strong { display: block; font-family: Georgia, serif; font-weight: 400; color: var(--charcoal); font-size: 18px; }
.member-plan-mini span { color: var(--terracotta); font-size: 14px; }
.member-qr-inline { display: flex; gap: 18px; align-items: center; background: #f7f2e9; padding: 16px; margin-top: 10px; }
.member-qr-inline img, .member-qr-inline .js-qr { width: 110px; height: 110px; flex: none; background: #fff; padding: 6px; }
.member-qr-inline .js-qr svg { width: 100%; height: 100%; display: block; }
.member-qr-inline p { margin: 0; font-size: 14px; color: var(--charcoal); }
.contact-one__form select { display: block; width: 100%; margin-top: 6px; padding: 12px 15px; border: 1px solid #ddd3c3; background: #fff; font-family: var(--body-font); font-size: 14px; color: #333; }
.form-consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.form-consent input { width: auto !important; margin-top: 5px !important; display: inline-block !important; }

/* portrait (Instagram) video popup */
.video-lightbox.is-portrait .video-lightbox__inner { width: min(420px, 92vw); aspect-ratio: auto; height: min(760px, 88vh); }
.video-lightbox.is-portrait .video-lightbox__frame { background: #fff; }

.contact-one__form input:disabled { background: #f1ece4; color: #999; cursor: not-allowed; }
