/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL */
body {
    font-family: Arial, sans-serif;
    background-color: #000;
    /* match the bottom of your background image */
    color: #fff;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Visually hidden but present for screen readers and crawlers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

img,
video,
iframe,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* HEADER (transparent, fixed) */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;

    /* NEW: glass tint */
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
}

.logo {
    height: 50px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.header-right a {
    font-family: 'Basenji', serif;
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 16px;
    letter-spacing: 2px;

    /* NEW: card-style button */
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    transition: 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Hover effect */
.header-right a:hover {
    background: rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Active page indicator */
.header-right a.active {
    background: rgba(217, 31, 37, 0.32);
    border-color: rgba(217, 31, 37, 0.65);
    box-shadow: 0 0 18px rgba(217, 31, 37, 0.35);
}

/* MAIN LAYOUT */
main {
    padding-top: 80px;
}

/* FOOTER */
.site-footer {
    position: relative;
    z-index: 5;
    margin-top: 80px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 40px 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-brand {
    flex: 1 1 260px;
    max-width: 320px;
}

.footer-logo {
    height: 40px;
    object-fit: contain;
    margin-bottom: 14px;
}

.footer-brand p {
    font-family: 'Basenji', serif;
    font-size: 14px;
    color: #bbb;
    line-height: 1.6;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-family: 'BasenjiSlanted', serif;
    color: #d91f25;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.footer-col a {
    font-family: 'Basenji', serif;
    font-size: 14px;
    color: #ccc;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: #f4b400;
    transform: translateX(4px);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.footer-socials a svg {
    width: 18px;
    height: 18px;
}

.footer-socials a:hover {
    background: linear-gradient(135deg, #d91f25, #f4b400);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 40px;
    text-align: center;
}

.footer-bottom p {
    font-family: 'Basenji', serif;
    font-size: 13px;
    color: #999;
    letter-spacing: 0.3px;
}

.footer-bottom a {
    color: #d91f25;
    font-family: 'BasenjiSlanted', serif;
    transition: color 0.25s ease;
}

.footer-bottom a:hover {
    color: #f4b400;
}

@media (max-width: 700px) {
    .footer-inner {
        flex-direction: column;
        gap: 28px;
        padding: 40px 24px 24px;
        text-align: center;
    }

    .footer-brand {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-bottom {
        padding: 16px 20px;
    }
}

/* FONTS */
@font-face {
    font-family: 'Basenji';
    src: url('../fonts/Basenji-SemiBold.otf') format('opentype');
    font-weight: 600;
}

@font-face {
    font-family: 'BasenjiSlanted';
    src: url('../fonts/Basenji-SemiBoldSlanted.otf') format('opentype');
    font-weight: 600;
}

/* BACKGROUND IMAGE */
.page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}


/* CONTENT ABOVE BACKGROUND */
.page-content {
    position: relative;
    z-index: 10;
}

/* ANIMATIONS */
@keyframes floatBackground {

    0%,
    100% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.03) translateY(-18px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 12px rgba(217, 31, 37, 0.24);
    }

    50% {
        box-shadow: 0 0 32px rgba(217, 31, 37, 0.18);
    }
}

.page-bg .bg-image {
    animation: floatBackground 18s ease-in-out infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 0.85s ease-out both;
}

.fade-in-down {
    animation: fadeInDown 0.85s ease-out both;
}

.pop-in {
    animation: popIn 0.75s ease-out both;
}

.glow-pulse {
    animation: glowPulse 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {

    .page-bg .bg-image,
    .fade-in-up,
    .fade-in-down,
    .pop-in,
    .glow-pulse,
    .reveal {
        animation: none !important;
        transition: none !important;
    }
}

/* MOBILE + TABLET */
@media (max-width: 900px) {
    #header {
        flex-wrap: nowrap;
        justify-content: space-between;
        height: auto;
        padding: 14px 18px;
        gap: 14px;
        align-items: center;
    }

    .header-left {
        width: auto;
        display: flex;
        align-items: center;
    }

    .header-right {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin: 0;
        padding: 0 18px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
    }

    #header.nav-open .header-right {
        max-height: 70vh;
        opacity: 1;
        padding: 14px 18px 20px;
        pointer-events: auto;
    }

    .header-right a {
        margin: 0;
        padding: 12px 16px;
        font-size: 15px;
        letter-spacing: 1px;
        text-align: center;
    }

    main {
        padding-top: 96px;
    }
}

@media (max-width: 600px) {
    #header {
        padding: 12px 14px;
    }

    .logo {
        height: 42px;
    }

    .header-right a {
        font-size: 14px;
        padding: 11px 14px;
    }
}