@font-face {
    font-family: "Eastman";
    src: url("../fonts/Eastman-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Eastman";
    src: url("../fonts/Eastman-Regular.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Amagro";
    src: url("../fonts/Amagro.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Amagro";
    src: url("../fonts/Amagro.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #1a6fb5;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ── Header ─────────────────────────────────────── */

.header {
    background: linear-gradient(135deg, #f5f8f2 0%, #e8f0e4 50%, #eef3e8 100%);
    border-bottom: 2px solid #c1d4b0;
    padding: 4px 0 2px;
}

.header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header__logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 10px rgba(26, 58, 60, .15);
}

.header__title {
    font-family: "Amagro", serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #1a3a5c;
    margin-bottom: 0;
}

.header__subtitle {
    font-family: "Eastman", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #3a3a3a;
    line-height: 1.4;
}

/* donate button */

.header__donate-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #c1a362, #a08940);
    color: #fff;
    font-family: "Amagro", serif;
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(193, 163, 98, 0.3);
}

.header__donate-btn:hover {
    background: linear-gradient(135deg, #d4b872, #b09a50);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(193, 163, 98, 0.4);
}

.header__donate-btn:hover {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(25, 118, 210, .35);
}

/* contacts */

.header__right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    white-space: nowrap;
}

.header__contact {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: "Amagro", serif;
    font-size: 0.9rem;
}

.header__contact a {
    font-weight: 500;
    font-size: 0.95rem;
    color: #2a5040;
}

.header__contact-label {
    color: #5a6a5a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header__contact-icon {
    width: 18px;
    height: 18px;
    color: #8a9a6a;
    flex-shrink: 0;
    align-self: center;
}

/* ── Nav ────────────────────────────────────────── */

.nav {
    background: linear-gradient(135deg, #1a3a5c 0%, #2a5040 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__menu {
    list-style: none;
    display: flex;
    gap: 0;
}

.nav__item {
    position: relative;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 14px 20px;
    font-family: "Amagro", serif;
    color: rgba(255, 255, 255, .85);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color .2s, background .2s;
}

.nav__link:hover,
.nav__item:hover > .nav__link {
    color: #fff;
    background: rgba(255, 255, 255, .1);
    text-decoration: none;
}

.nav__item--active > .nav__link {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 0 -3px 0 #c1a362;
}

.nav__arrow {
    font-size: 0.7rem;
    transition: transform .2s;
}

.nav__item:hover .nav__arrow {
    transform: rotate(180deg);
}

/* dropdown */

.nav__dropdown {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .2s, transform .2s, visibility .2s;
}

.nav__item:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 0.88rem;
    transition: background .15s, color .15s;
}

.nav__dropdown li a:hover {
    background: #e8f0fe;
    color: #1a3a5c;
    text-decoration: none;
}

.nav__dropdown li:last-child a {
    border-radius: 0 0 8px 8px;
}

/* social icons */

.nav__social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: #4a90d9;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .3);
    transition: background .2s, border-color .2s, color .2s;
}

.nav__social-link:hover {
    color: #5ba3ec;
    background: rgba(255, 255, 255, .25);
    border-color: rgba(255, 255, 255, .5);
}

.nav__social-link svg {
    width: 30px;
    height: 30px;
}

/* ── Main ───────────────────────────────────────── */

.main {
    flex: 1;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 24px;
}

/* ── Footer ─────────────────────────────────────── */

.footer {
    background: linear-gradient(135deg, #f5f8f2 0%, #e8f0e4 50%, #eef3e8 100%);
    border-top: 2px solid #c1d4b0;
    font-family: "Amagro", serif;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

.footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Burger button (hidden on desktop) ──────────── */

.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

.nav__burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__burger.active span:nth-child(2) {
    opacity: 0;
}

.nav__burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Responsive ─────────────────────────────────── */

/* tablet */
@media (max-width: 1024px) {
    .header__inner {
        gap: 16px;
    }

    .header__logo img {
        width: 72px;
        height: 72px;
    }

    .header__title {
        font-size: 1rem;
    }

    .header__donate-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* mobile nav */
@media (max-width: 768px) {
    .header__inner {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 8px 12px;
        gap: 8px;
    }

    .header__left {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .header__logo img {
        width: 50px;
        height: 50px;
    }

    .header__title {
        font-size: 0.85rem;
    }

    .header__subtitle {
        font-size: 0.7rem;
    }

    .header__center {
        width: 100%;
        text-align: center;
    }

    .header__donate-btn {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .header__right {
        display: none;
    }

    .header__contact-label {
        display: none;
    }

    /* burger visible */
    .nav__burger {
        display: flex;
    }

    .nav__inner {
        flex-wrap: wrap;
        position: relative;
    }

    .nav__menu {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 3;
    }

    .nav__menu.open {
        display: flex;
    }

    .nav__link {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    /* dropdowns open inline on mobile */
    .nav__item--dropdown .nav__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        background: rgba(255, 255, 255, .06);
        display: none;
    }

    .nav__item--dropdown:hover .nav__dropdown,
    .nav__item--dropdown:focus-within .nav__dropdown {
        display: block;
    }

    .nav__dropdown li a {
        color: rgba(255, 255, 255, .8);
        padding-left: 40px;
    }

    .nav__dropdown li a:hover {
        background: rgba(255, 255, 255, .1);
        color: #fff;
    }

    .nav__social {
        order: 2;
        margin-left: auto;
    }

    /* main */
    .main {
        padding: 20px 16px;
    }
}

/* small phones */
@media (max-width: 480px) {
    .header__logo img {
        width: 60px;
        height: 60px;
    }

    .header__title {
        font-size: 0.9rem;
    }

    .header__subtitle {
        font-size: 0.75rem;
    }

    .header__donate-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
    }

    .header__contact a {
        font-size: 0.9rem;
    }
}
