/* ===== style.css — Shared Styles for Enkitoria Foundation ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fefcf8;
    color: #1e2a2e;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #c47b2e;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.btn-primary:hover {
    background-color: #a5621f;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(196,123,46,0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid #c47b2e;
    color: #c47b2e;
}

.btn-outline:hover {
    background: #c47b2e;
    color: white;
}

/* ===== NAVBAR ===== */
.navbar {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c5f2d;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-text p {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: #c47b2e;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #2d3e3f;
    font-weight: 500;
    transition: 0.2s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #c47b2e;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #f9f3e8 0%, #fff5eb 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #2c5f2d;
    margin-bottom: 24px;
}

.hero .highlight {
    color: #c47b2e;
}

.hero p {
    font-size: 1.2rem;
    color: #2d4a4d;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-img {
    border-radius: 32px;
    min-height: 400px;
    box-shadow: 0 25px 40px -12px rgba(0,0,0,0.2);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #2c5f2d;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: #5f6c65;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== CARDS (grid-5) ===== */
.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.card {
    background: white;
    border-radius: 28px;
    padding: 32px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.25s ease;
    border: 1px solid #f0e3d4;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(0,0,0,0.08);
}

.card i {
    font-size: 2.8rem;
    color: #c47b2e;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #2c5f2d;
}

.card .objective {
    font-size: 0.95rem;
    color: #3e5a5c;
    margin-bottom: 16px;
    line-height: 1.6;
}

.card ul {
    padding-left: 20px;
    margin: 8px 0 0;
    color: #3e5a5c;
    flex-grow: 1;
}

.card ul li {
    margin: 6px 0;
    font-size: 0.9rem;
}

.card .section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c47b2e;
    font-weight: 700;
    margin-top: 16px;
    border-top: 1px solid #f0e3d4;
    padding-top: 16px;
}

/* ===== TEAM ===== */
.team-sub-header {
    text-align: center;
    margin: 50px 0 30px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0e3d4;
}

.team-sub-header h3 {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    color: #2c5f2d;
}

.team-sub-header p {
    color: #5f6c65;
    font-size: 0.95rem;
    margin-top: 4px;
}

/* Management Team - Gold Accent */
.team-grid-management {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.team-member.management {
    border-left: 4px solid #c47b2e;
    background: linear-gradient(135deg, #ffffff, #fdf8f2);
}

.team-member.management .role {
    color: #c47b2e;
    font-weight: 700;
}

.team-member.management .avatar {
    border: 3px solid #c47b2e;
    box-shadow: 0 0 0 6px rgba(196,123,46,0.1);
}

.team-member.management .expand-hint {
    color: #c47b2e;
}

.team-member.management .badge {
    display: inline-block;
    background: #c47b2e;
    color: white;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 700;
    margin-top: 6px;
}

/* Board Members - Green Accent */
.team-grid-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.team-member.board {
    border-left: 4px solid #2c5f2d;
}

.team-member.board .role {
    color: #2c5f2d;
    font-weight: 600;
}

.team-member.board .avatar {
    border: 3px solid #2c5f2d;
    box-shadow: 0 0 0 6px rgba(44,95,45,0.08);
}

.team-member.board .expand-hint {
    color: #2c5f2d;
}

.team-member.board .badge {
    display: inline-block;
    background: #2c5f2d;
    color: white;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 700;
    margin-top: 6px;
}

/* Shared Team Member Styles */
.team-member {
    background: white;
    border-radius: 28px;
    padding: 28px 24px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0e3d4;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.team-member .avatar {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #2c5f2d;
    transition: 0.3s ease;
    overflow: hidden;
    background: linear-gradient(135deg, #e7d9cc, #d4c4b3);
    object-fit: cover;
}

.team-member .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member:hover .avatar {
    transform: scale(1.05);
}

.team-member h4 {
    font-size: 1.3rem;
    margin-top: 8px;
    color: #2c5f2d;
}

.team-member .role {
    font-size: 0.85rem;
    margin-top: 2px;
}

.team-member .title-line {
    font-size: 0.8rem;
    color: #5f6c65;
    font-weight: 500;
    margin-top: 4px;
}

.team-member .bio-preview {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #3e5a5c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.team-member .bio-full {
    margin-top: 16px;
    font-size: 0.9rem;
    color: #3e5a5c;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
}

.team-member.expanded .bio-full {
    max-height: 800px;
    opacity: 1;
    margin-top: 16px;
}

.team-member .expand-hint {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: 0.2s;
}

.team-member .expand-hint i {
    transition: 0.3s;
}

.team-member.expanded .expand-hint i {
    transform: rotate(180deg);
}

/* ===== DONATION ===== */
.donation-box {
    background: linear-gradient(135deg, #2c5f2d, #1e4a2a);
    color: white;
    border-radius: 48px;
    padding: 48px;
    margin: 60px 0;
    text-align: center;
    box-shadow: 0 20px 40px rgba(44,95,45,0.2);
}

.donation-box .donation-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 12px auto;
    line-height: 1.8;
}

.donation-box .donation-text .highlight-gold {
    color: #f5c99e;
}

.bank-details {
    background: rgba(255,255,255,0.1);
    border-radius: 28px;
    padding: 28px;
    margin-top: 32px;
    font-family: monospace;
    text-align: left;
    display: inline-block;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: #fff9f2;
    border-radius: 48px;
    padding: 48px;
    margin: 40px 0;
}

.contact-grid ul {
    list-style: none;
    padding: 0;
}

.contact-grid ul li {
    padding: 4px 0;
}

.contact-grid .contact-label {
    font-weight: 600;
    color: #2c5f2d;
    margin-top: 12px;
    display: block;
}

/* ===== FOOTER ===== */
footer {
    background: #1e2a2e;
    color: #cbd5d1;
    padding: 40px 0;
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 75px;
        left: 0;
        padding: 24px;
        gap: 20px;
        box-shadow: 0 20px 30px rgba(0,0,0,0.05);
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
    .team-grid-management {
        grid-template-columns: 1fr 1fr;
    }
    .team-grid-board {
        grid-template-columns: 1fr 1fr;
    }
    .grid-5 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }
    .hero {
        padding: 40px 0;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .team-grid-management {
        grid-template-columns: 1fr;
    }
    .team-grid-board {
        grid-template-columns: 1fr;
    }
    .grid-5 {
        grid-template-columns: 1fr;
    }
    .donation-box {
        padding: 32px 20px;
    }
    .bank-details {
        font-size: 0.85rem;
        padding: 20px;
    }
    .logo img {
        height: 35px;
    }
    .logo-text h1 {
        font-size: 1.3rem;
    }
    .contact-grid {
        padding: 24px 16px;
        border-radius: 32px;
    }
    .team-sub-header h3 {
        font-size: 1.4rem;
    }
}