/* Common styles shared across all pages */

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

body {
    background-color: #1a1a19;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-y: scroll;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 30px 30px 20px;
    z-index: 10;
}

.logo-circle {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: fixed;
    left: 60px;
    top: 20px;
    z-index: 11;
}

.logo {
    width: 200%;
    height: 200%;
}

.nav-links {
    display: flex;
    gap: 10.8px;
    margin-top: 10px;
}

.nav-links a {
    background-color: #373b37;
    padding: 8px 16px;
    border-radius: 8px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s, border 0.3s, padding 0.3s;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    outline: none;
    border: 2px solid transparent;
    text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:active,
.nav-links a.active {
    background-color: transparent;
    color: #e8a922;
    border: 2px solid #e8a922;
}

/* Donate Button */
.info-box {
    background-color: #e8a922;
    padding: 8px 16px;
    border-radius: 8px;
    color: black;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
    cursor: pointer;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    outline: none;
    border: 2px solid transparent;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    text-transform: uppercase;
}

.info-box:hover {
    background-color: transparent;
    color: #e8a922;
    border: 2px solid #e8a922;
}

.info-box img {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
    filter: brightness(0) saturate(100%) invert(11%) sepia(7%) saturate(441%) hue-rotate(314deg) brightness(95%) contrast(88%);
}

.info-box:hover img {
    transform: translateX(3px);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 10px;
    z-index: 1001;
    position: absolute;
    right: 20px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: #e8a922;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1f1f1f;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: #e8a922;
    cursor: pointer;
    background: none;
    border: none;
    font-weight: 300;
}

.mobile-menu a {
    color: #e8a922;
    text-decoration: none;
    font-size: 33.696px;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    text-align: center;
    transition: opacity 0.3s;
    text-transform: uppercase;
}

.mobile-menu a:hover {
    opacity: 0.7;
}

/* Footer */
footer {
    background-color: #1a1a19;
    color: white;
    padding: 60px 20px;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    line-height: 1.8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 2fr;
    gap: 40px;
}

.footer-logo-text {
    font-family: "Raleway", sans-serif;
    font-weight: 900;
    font-size: 48px;
    line-height: 0.9;
    color: #373b37;
    text-decoration: none;
    display: block;
    padding-left: 30px;
    transition: color 0.3s;
}

.footer-logo-text:hover {
    color: #e8a922;
}

footer a {
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
    font-weight: 900;
}

.footer-links a:hover {
    color: #e8a922;
}

.footer-copyright {
    margin-top: 20px;
}

/* Desktop footer - hide on mobile/tablet */
.footer-desktop {
    display: block;
}

/* Mobile footer - hide on desktop */
.footer-mobile {
    display: none;
}

/* Mobile footer styles */
.footer-mobile .footer-mobile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    gap: 30px;
}

.footer-mobile img {
    display: block;
}

.footer-mobile .footer-logo-block {
    margin-bottom: -15px;
}

.footer-mobile .footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-mobile .footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
    font-weight: 900;
}

.footer-mobile .footer-links a:hover {
    color: #e8a922;
}

.footer-mobile .footer-mission {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-mobile .footer-copyright {
    margin-top: 0;
}

.footer-mobile .footer-logo-text {
    padding-left: 0;
}

/* Common page layout */
.page-content {
    margin-top: 120px;
    padding: 0 30px;
}

/* Responsive */
@media (max-width: 1028px) {
    /* Hide desktop nav links and donate button */
    .nav-links {
        display: none;
    }

    nav .info-box {
        display: none;
    }

    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Hide desktop footer */
    .footer-desktop {
        display: none;
    }

    /* Show mobile footer */
    .footer-mobile {
        display: block;
    }
}
