/* --- AGUMA OUTREACH NETWORK: CONSOLIDATED STYLES --- */

:root {
    --primary: #C2185B;
    --primary-gradient: linear-gradient(135deg, #C2185B 0%, #E91E63 100%);
    --dark: #0F172A;
    --text: #334155;
    --gray-bg: #F8FAFC;
    --gray-border: #E2E8F0;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.05);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html{
    overflow-x:hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    font-weight: 700;
}

/* --- Navigation (Centered & Responsive) --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-border);
}

.logo { flex: 1; display: flex; align-items: center; }

.nav-links {
    flex: 2;
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2.5rem;
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* --- Burger Menu --- */
.nav-toggle { display: none; flex-direction: column; cursor: pointer; gap: 6px; }
.nav-toggle span { width: 28px; height: 3px; background: var(--dark); transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- Gallery Filters (Centered Fix) --- */
.gallery-filters {
    display: flex;
    justify-content: center; /* This centers the "All Moments" buttons */
    flex-wrap: wrap; /* Ensures they stack correctly on mobile */
    gap: 15px;
    margin-bottom: 50px;
    padding: 0 5%;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--gray-border);
    background: transparent;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-sm);
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.1); }

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 25px; opacity: 0; transition: var(--transition);
}

.gallery-item:hover .overlay { opacity: 1; }

/* --- UI Components --- */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary { background: var(--primary-gradient); color: white; }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }

.tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-gradient);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* --- Hero Layout --- */
.page-hero {
    background: var(--gray-bg);
    text-align: center;
    padding: 120px 10%;
    border-bottom: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.98);
    z-index: 2000;
    display: none;
    align-items: center; justify-content: center;
}

.lightbox.active { display: flex; }

/* --- Footer --- */
footer { background: var(--dark); color: white; padding: 80px 10%; text-align: center; }

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 75%; height: 100vh;
        background: var(--white); flex-direction: column; justify-content: center;
        padding: 40px; box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: 0.5s ease;
    }
    .nav-links.active { right: 0; }
    .logo, .nav-right { flex: initial; }
    .desktop-only { display: none; }
    .mobile-only-item { display: block; margin-top: 20px; width: 100%; text-align: center; }
    
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}