/* ================================================
   CORE.CSS - Global Foundation
   ================================================ */

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--apald-purple);
    color: var(--apald-honeydew);
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
}

/* Root Variables */
:root {
    --apald-black: rgb(0, 0, 0);
    --apald-cyan: rgb(10, 214, 233);
    --apald-darkpurple: rgb(75, 0, 130);
    --apald-honeydew: rgb(255, 255, 255);
    --apald-litepurple: rgb(147, 112, 219);
    --apald-peach: rgb(255, 218, 185);
    --apald-purple: rgb(118, 44, 202);
}

/* Utilities */
.centered { text-align: center; margin: 0 auto; }
.vertical_spacer { height: 50px; }

/* ================================================
   NAVIGATION (Clean Mobile-First)
   ================================================ */

.navbar {
    background-color: var(--apald-black);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    padding: 12px 16px;
    width: 100%;
}

.nav-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav_logo { width: 48px; height: 48px; }

.brand-main {
    font-size: 1.65rem;
    font-weight: bold;
    color: var(--apald-honeydew);
}

.brand-full {
    font-size: 0.78rem;
    color: var(--apald-cyan);
    line-height: 1.2;
}

/* Hamburger */
.toggle-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.bar {
    width: 32px;
    height: 3.5px;
    background: var(--apald-cyan);
}

/* Search */
.search-container {
    flex: 1;
    max-width: 100%;
}
#nav-search {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(10, 214, 233, 0.3);
    border-radius: 50px;
    color: white;
    padding: 10px 16px;
    width: 100%;
    outline: none;
}

/* Desktop Menu */
.navbar-list { display: flex; margin-left: auto; }
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}
.nav-link {
    color: var(--apald-honeydew);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 500;
}

/* Mobile */
@media (max-width: 992px) {
    .toggle-menu { display: flex !important; order: 3; }
    .nav-brand { order: 1; }
    .search-container { order: 2; width: 100%; margin-top: 12px; }
    .navbar-list {
        display: none;
        width: 100%;
        margin-top: 12px;
        background-color: var(--apald-black);
        border-top: 1px solid rgba(255,255,255,0.15);
        order: 4;
    }
    .navbar-list.active { display: block !important; }
    .nav-menu { flex-direction: column; width: 100%; }
    .nav-menu li a { display: block; padding: 16px 20px; text-align: center; width: 100%; }

	article > a > img{
		width:50%;
	}
}

/* Common Components */
button, .team_member_email_button, .CTA_Button {
    padding: 0.75rem 1.6rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.team_member_email_button,
.CTA_Button {
    background: linear-gradient(var(--apald-litepurple), var(--apald-darkpurple));
    color: white;
}

.team_member_email_button:hover,
.CTA_Button:hover {
    background: var(--apald-peach);
    color: var(--apald-black);
    transform: translateY(-2px);
}