/* 
   NKUL EKANG Y AMERICA - DESIGN SYSTEM
   Theme: Institutional, Minimalist, Sharp
*/

:root {
    --color-black: #0B0B0B;
    --color-white: #FFFFFF;
    --color-brown: #6B4F3A;
    --color-yellow: #D6B65F;
    --color-gray-light: #F5F5F5;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --container-width: 1200px;
    --spacing-base: 1rem;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Layout Elements */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* Header & Navigation */
header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-black);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span:last-child {
    font-size: 0.8rem;
    color: var(--color-brown);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--color-brown);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 1.5rem;
    border-left: 1px solid #ddd;
    padding-left: 1rem;
}

.lang-btn {
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s;
    text-transform: uppercase;
}

.lang-btn.active {
    opacity: 1;
    color: var(--color-brown);
}

.lang-btn:hover {
    opacity: 1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-black);
    transition: 0.3s;
}

/* Components - NO BORDER RADIUS */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-black);
    color: var(--color-white);
    border: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--color-brown);
}

.btn-alt {
    background: var(--color-yellow);
    color: var(--color-black);
}

.btn-alt:hover {
    background: #c2a353;
}

/* Sharp Cards */
.card {
    border: 1px solid #e0e0e0;
    padding: 2rem;
}

/* Page Banner System */
.page-banner {
    height: 40vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--color-white);
    margin-bottom: 2rem;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 3.5rem;
    margin: 0;
}

/* Footer */
footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.7;
}

/* Responsiveness */
@media (max-width: 768px) {
    nav {
        height: 70px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--color-black);
        z-index: 1001; /* Above everything */
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .lang-switcher {
        margin-left: auto;
        margin-right: 1rem;
        border-left: none;
        padding-left: 0;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 3rem 0;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .container {
        padding: 0 1.5rem;
    }

    /* Grid adjustments for mobile */
    .footer-grid, 
    .stats-grid, 
    .values-grid,
    .members-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    /* Specific layout fixes for About and Home */
    .about-content-split {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 2rem !important;
    }

    .about-content-split img {
        max-width: 350px !important;
        width: 100%;
        margin: 0 auto;
    }
}
