/* ============================================================
 * APPEND THIS BLOCK TO THE VERY TOP OF assets/css/global.css
 * (before everything else — homev1.css, hero-nav.css and the
 * footer styles all depend on these custom properties existing.
 * If this block is missing, colors/fonts silently fall back to
 * browser defaults, which is very likely why the site currently
 * looks nothing like the reference HTML.)
 * ============================================================ */

:root {
    --ink: #15130f;
    --ink-2: #1e1b15;
    --ivory: #f2ecdd;
    --ivory-dim: #e7dfca;
    --brass: #b8925a;
    --brass-soft: #d8b988;
    --olive: #6e7554;
    --clay: #9c4a34;
    --line-dark: #39352a;
    --line-light: #d9d2c0;

    /* ~90% sporty sans (Oswald display / Manrope body), ~10% serif accent
       (Fraunces italic, used sparingly) — loaded via 'ss-google-fonts' in
       functions.php */
    --ff-display: 'Oswald', sans-serif;
    --ff-body: 'Manrope', sans-serif;
    --ff-accent: 'Fraunces', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    background: var(--ivory);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--brass);
    color: var(--ink);
}

.eyebrow {
    font-family: var(--ff-body);
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: .7;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s ease, transform .9s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
 * APPEND THIS BLOCK INTO assets/css/global.css
 * (header.php loads on every page except Home, so its styles belong
 * in the global stylesheet that's already enqueued site-wide — not
 * a separate file. Home's own nav is hero-nav.php + hero-nav.css,
 * which stays separate since it's transparent/overlaid, not this
 * solid in-flow bar.)
 * ============================================================ */

/* ===== SITE HEADER (all pages except Home) ===== */
.site-header {
    background: var(--ink);
    padding: 20px 5vw;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
}

.site-header__brand .agape-logo-img {
    height: 32px;
    width: auto;
}

.site-header__logo-text {
    font-family: var(--ff-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: 16px;
    color: var(--ivory);
}

.site-header__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.site-header__nav a {
    font-family: var(--ff-body);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ivory-dim);
    opacity: .75;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: opacity .3s ease, color .3s ease, border-color .3s ease;
}

.site-header__nav a:hover {
    opacity: 1;
    color: var(--brass-soft);
    border-color: var(--brass-soft);
}

/* WP marks the active page's menu item with one of these classes on
   the <li> — style the link the same as :hover so it reads as "current". */
.site-header__nav .current-menu-item > a,
.site-header__nav .current_page_item > a {
    opacity: 1;
    color: var(--brass-soft);
    border-color: var(--brass-soft);
}

/* ============================================================
 * APPEND THIS BLOCK INTO assets/css/global.css
 * (footer.php loads on every page, so its styles belong in the
 * global stylesheet that's already enqueued site-wide — not a
 * separate file.)
 * ============================================================ */

/* ===== SITE FOOTER (all pages) ===== */
.site-footer {
    background: var(--ivory);      /* sebelumnya --ink */
    color: var(--ink);             /* sebelumnya --ivory-dim */
    padding: 40px 5vw 40px;
    border-top: 1px solid var(--line-light);
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    text-align: center;
}

/* Opsi A: logo gambar dari WP */
.site-footer__logo-img,
.site-footer__logo .custom-logo {
    height: 32px;
    width: auto;
    display: block;
}

/* Opsi B: logo text hardcoded */
.site-footer__logo-text {
    font-family: var(--ff-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 20px;
    color: var(--ink);
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.site-footer__links a {
    color: var(--ink);
    transition: color .25s;
}

.site-footer__links a:hover,
.site-footer__links a:focus {
    color: var(--brass);
}

.site-footer__copy {
    font-size: 12px;
    color: var(--ink);
    opacity: .6;
}

@media (min-width: 760px) {
    .site-footer__inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}