@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:wght@700;900&display=swap');

:root {
    --primary: #4a1f8a;
    --primary-light: #6b3fcb;
    --accent: #d4a843;
    --bg-dark: #050714;
    --bg-card: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-white: #ffffff;
    --text-muted: #a0a0c0;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 140px;
}

/* Sidebar Drawer */
.drawer-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: #0a0e27;
    z-index: 10000;
    padding: 60px 40px;
    flex-direction: column;
    border-right: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
}
.drawer-menu.active { display: flex !important; }
.close-drawer { font-size: 2rem; cursor: pointer; color: var(--accent); align-self: flex-end; margin-bottom: 40px; }
.drawer-links { display: flex; flex-direction: column; gap: 20px; }
.drawer-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px; /* Reduced padding to push content further to edges */
    z-index: 5000;
    background: rgba(5, 7, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Row 1: Spreads full width */
.nav-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    width: 100%;
}

.logo-content { display: flex; align-items: center; gap: 15px; }
.logo-content img { height: 45px; width: auto; flex-shrink: 0; }
.logo-text { 
    font-size: 1.3rem; 
    font-weight: 900; 
    color: white; 
    white-space: nowrap !important; /* NO WRAPPING */
}

/* Force social links to the absolute right */
.social-links-top { 
    display: flex; 
    gap: 30px; 
    align-items: center;
}
.social-links-top a { color: white; opacity: 0.8; font-size: 1.3rem; transition: var(--transition); }
.social-links-top a:hover { color: var(--accent); opacity: 1; transform: translateY(-3px); }

.mobile-menu-btn { 
    cursor: pointer; 
    font-size: 2.2rem; 
    color: white; 
    width: fit-content;
}

/* Hide desktop menu items if they exist legacy */
.nav-links, .desktop-nav { display: none !important; }

/* Sections */
section { padding: 100px 8%; }
.container { max-width: 1200px; margin: 0 auto; }

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(5,7,20,0.7), rgba(5,7,20,0.7)), 
    url('https://images.unsplash.com/photo-1438232992991-995b7058bbb3?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
}

.ministry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.team-roll { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) {
    .ministry-grid, .team-roll { grid-template-columns: 1fr; }
    h1 { font-size: 2.5rem; }
    section { padding: 60px 20px; }
    .logo-text { font-size: 1rem; }
    .logo-content img { height: 35px; }
    .social-links-top { gap: 15px; }
    .social-links-top a { font-size: 1.1rem; }
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
}
.btn-primary { background: var(--accent); color: var(--bg-dark); }
.btn-glass { border: 1px solid white; color: white; }

.reveal { opacity: 0; transform: translateY(30px); transition: 1s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

.ministry-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 340px;
}
.ministry-card-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: brightness(0.6);
}
.ministry-content {
    position: absolute;
    bottom: 0;
    padding: 30px;
    z-index: 2;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }
.glass-pill {
    color: var(--accent);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
