/* ============ Adefey Lifestyle ============ */
:root {
    --navy: #080838;
    --navy-2: #12124e;
    --orange: #fc6304;
    --orange-dark: #db5502;
    --ink: #263238;
    --muted: #69727d;
    --line: #e3e7ea;
    --wash: #eff3f5;
    --font-head: 'Josefin Sans', 'Segoe UI', sans-serif;
    --font-body: 'Josefin Sans', -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; color: var(--navy); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.kicker {
    display: block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 10px;
}

/* ---------- Header ---------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 66px;
}
.brand { flex-shrink: 0; font-size: 1.22rem; letter-spacing: -.01em; }
.brand b { font-weight: 700; color: var(--navy); }
.brand i { font-family: var(--font-head); font-style: italic; color: var(--orange); font-weight: 600; }

.main-nav { display: flex; gap: 2px; flex: 1; }
.main-nav a {
    padding: 6px 12px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--orange); }
.main-nav a.active { color: var(--navy); border-bottom-color: var(--orange); }

.nav-search input {
    border: 1px solid var(--line);
    background: var(--wash);
    border-radius: 3px;
    color: var(--ink);
    padding: 8px 14px;
    font-size: .88rem;
    font-family: inherit;
    width: 175px;
    outline: none;
}
.nav-search input:focus { border-color: var(--navy); background: #fff; }

.nav-toggle { display: none; background: none; border: none; color: var(--navy); font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        linear-gradient(100deg, rgba(8,8,56,.93) 0%, rgba(8,8,56,.82) 55%, rgba(8,8,56,.62) 100%),
        url('../img/hero-lagos.jpg') center 65% / cover no-repeat var(--navy);
    color: #fff;
    padding: 84px 0 88px;
}
.hero .kicker { color: var(--orange); }
.hero h1 {
    color: #fff;
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    max-width: 640px;
    margin-bottom: 16px;
}
.hero h1 em { font-style: italic; color: var(--orange); }
.hero p { max-width: 520px; margin-bottom: 34px; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.hero-search { display: flex; max-width: 470px; gap: 0; }
.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 13px 18px;
    font-size: .95rem;
    font-family: inherit;
    color: var(--ink);
    border-radius: 3px 0 0 3px;
}
.hero-search button {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 13px 26px;
    border-radius: 0 3px 3px 0;
    font-weight: 700;
    font-family: inherit;
    font-size: .92rem;
    cursor: pointer;
}
.hero-search button:hover { background: var(--orange-dark); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--wash); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-head h2 { font-size: 1.75rem; }
.section-link { color: var(--navy); font-weight: 700; font-size: .88rem; white-space: nowrap; }
.section-link:hover { color: var(--orange); }

/* ---------- Category index (magazine style) ---------- */
.category-index { border-top: 2px solid var(--navy); }
.category-row {
    display: grid;
    grid-template-columns: 70px 1.1fr 2fr auto;
    gap: 24px;
    align-items: baseline;
    padding: 22px 4px;
    border-bottom: 1px solid var(--line);
}
.category-row:hover .cat-name { color: var(--orange); }
.category-row .num { font-family: var(--font-head); font-style: italic; color: var(--muted); font-size: 1.05rem; }
.category-row .cat-name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--navy); transition: color .12s; }
.category-row .cat-blurb { color: var(--muted); font-size: .95rem; }
.category-row .cat-count { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.category-row .cat-count span { color: var(--orange); }

/* ---------- Place cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 30px 24px; }

.place-card { display: block; }
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 3px; background: var(--navy); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.place-card:hover .card-media img { opacity: .88; }
.card-media .placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    font-family: var(--font-head);
    font-style: italic;
    font-size: 3.2rem;
    color: var(--orange);
    background: var(--navy);
}
.card-media .placeholder::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 2px;
}

.card-body { padding-top: 13px; }
.card-cat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.card-cat .pick { color: var(--navy); }
.card-body h3 { font-size: 1.22rem; margin: 5px 0 4px; }
.place-card:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.card-body .tagline { font-size: .92rem; color: var(--muted); }
.card-meta { margin-top: 8px; font-size: .84rem; color: var(--ink); font-weight: 600; }
.card-meta span + span::before { content: "·"; margin: 0 7px; color: var(--orange); }

/* Featured: first card large */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.feature-grid .place-card:first-child { grid-column: span 2; grid-row: span 2; }
.feature-grid .place-card:first-child .card-media { aspect-ratio: 16 / 10; }
.feature-grid .place-card:first-child h3 { font-size: 1.7rem; }

/* ---------- Event list ---------- */
.event-list { border-top: 2px solid var(--navy); }
.event-item {
    display: grid;
    grid-template-columns: 86px 1fr auto;
    gap: 26px;
    align-items: center;
    padding: 20px 4px;
    border-bottom: 1px solid var(--line);
}
.event-item:hover h3 { color: var(--orange); }
.event-date {
    text-align: center;
    background: var(--navy);
    color: #fff;
    border-radius: 3px;
    padding: 10px 6px;
    line-height: 1.15;
}
.event-date .d { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }
.event-date .m { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--orange); font-weight: 700; }
.event-item h3 { font-size: 1.2rem; transition: color .12s; }
.event-item .ev-sub { color: var(--muted); font-size: .92rem; }
.event-item .ev-loc { font-size: .84rem; font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ---------- Page banner (category/search) ---------- */
.page-banner { background: var(--navy); color: #fff; padding: 52px 0; }
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-banner p { color: rgba(255,255,255,.72); margin-top: 8px; max-width: 600px; font-size: 1.02rem; }

.category-pills { display: flex; flex-wrap: wrap; gap: 0 26px; margin-top: 24px; }
.category-pills a { font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.72); padding: 4px 0; border-bottom: 2px solid transparent; }
.category-pills a:hover { color: #fff; }
.category-pills a.active { color: var(--orange); border-bottom-color: var(--orange); }

/* ---------- Place detail ---------- */
.detail-hero { position: relative; background: var(--navy); }
.detail-hero .media { height: 430px; }
.detail-hero .media img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.detail-hero .media .placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    font-family: var(--font-head); font-style: italic;
    font-size: 7rem; color: rgba(252, 99, 4, .55);
}
.detail-hero .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8,8,56,.94) 0%, rgba(8,8,56,.25) 60%, rgba(8,8,56,.15) 100%);
    display: flex; align-items: flex-end;
}
.detail-hero .overlay .container { padding-bottom: 36px; width: 100%; }
.detail-hero .crumb { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); display: inline-block; margin-bottom: 10px; }
.detail-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); }
.detail-hero .tagline { color: rgba(255,255,255,.82); margin-top: 8px; font-size: 1.1rem; font-style: italic; font-family: var(--font-head); }

.detail-layout { display: grid; grid-template-columns: 1fr 350px; gap: 48px; padding: 50px 0 70px; align-items: start; }

.detail-main h2 { font-size: 1.45rem; margin: 30px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.detail-main h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.detail-main p { margin-bottom: 14px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.gallery a { overflow: hidden; aspect-ratio: 4/3; border-radius: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery a:hover img { opacity: .85; }

.info-card { border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 3px; padding: 26px 26px 24px; position: sticky; top: 88px; background: #fff; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.info-row { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.info-row:last-of-type { border-bottom: 0; }
.info-row .label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 2px; }
.info-row a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.info-row a:hover { text-decoration-color: var(--orange); }
.info-row .val { white-space: pre-line; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 3px;
    padding: 13px 24px;
    font-weight: 700;
    font-family: inherit;
    font-size: .95rem;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--orange); color: #fff; width: 100%; margin-top: 14px; }
.btn-primary:hover { background: var(--orange-dark); }

.map-wrap { margin-top: 14px; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; }

.event-strip {
    display: flex; gap: 18px; align-items: center;
    background: var(--wash);
    border-left: 3px solid var(--orange);
    border-radius: 3px;
    padding: 16px 20px;
    margin-bottom: 26px;
}
.event-strip .date-box { background: var(--navy); color: #fff; border-radius: 3px; padding: 8px 14px; text-align: center; line-height: 1.2; flex-shrink: 0; }
.event-strip .date-box .d { font-size: 1.35rem; font-weight: 700; font-family: var(--font-head); }
.event-strip .date-box .m { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); font-weight: 700; }
.event-strip .when-sub { font-size: .86rem; color: var(--muted); }

/* ---------- Empty state / pagination ---------- */
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state h3 { margin-bottom: 6px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 44px; }
.pagination a, .pagination span { padding: 8px 15px; border-radius: 3px; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; background: #fff; }
.pagination a:hover { border-color: var(--orange); color: var(--orange); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .disabled { opacity: .4; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); margin-top: 30px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 56px 24px 36px; }
.footer-brand { font-size: 1.3rem; color: #fff; margin-bottom: 10px; }
.footer-brand b { font-weight: 700; }
.footer-brand i { font-family: var(--font-head); font-style: italic; color: var(--orange); }
.footer-tag { font-size: .9rem; max-width: 360px; }
.footer-links h4 { color: #fff; font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; }
.footer-links a { display: block; font-size: .9rem; padding: 4px 0; color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 24px; font-size: .8rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .card-grid, .card-grid.cols-4, .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid .place-card:first-child { grid-column: span 2; grid-row: auto; }
    .detail-layout { grid-template-columns: 1fr; gap: 34px; }
    .info-card { position: static; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .nav-search { display: none; }
    .category-row { grid-template-columns: 44px 1fr auto; }
    .category-row .cat-blurb { display: none; }
}

@media (max-width: 640px) {
    .card-grid, .card-grid.cols-4, .feature-grid { grid-template-columns: 1fr; }
    .feature-grid .place-card:first-child { grid-column: auto; }
    .nav-toggle { display: block; margin-left: auto; }
    .main-nav {
        display: none;
        position: absolute;
        top: 66px; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        padding: 10px 20px 16px;
    }
    .main-nav.open { display: flex; }
    .hero { padding: 54px 0 58px; }
    .detail-hero .media { height: 300px; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .event-item { grid-template-columns: 70px 1fr; }
    .event-item .ev-loc { display: none; }
}
