/* ===== BRAND COLORS ===== */
:root {
    --navy-blue: #001f3f;
    --gold: #FFD700;
    --green: #2d5016;
    --light-gold: #FFF8DC;
    --dark-green: #1a3009;
    --red: #DC143C;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, var(--light-gold) 0%, #ffffff 50%, var(--light-gold) 100%);
}

/* ===== HEADER WITH LOGO ===== */
header {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #003366 100%);
    color: white;
    padding: 30px 20px;
    border-bottom: 5px solid var(--gold);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

/* CIRCULAR LOGO FRAME WITHOUT BORDER */
.circle-frame-no-border {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.circle-frame-no-border img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CENTERED HEADER TEXT */
.header-text-centered {
    text-align: center;
}

.header-text-centered h1 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 10px;
    line-height: 1.2;
}

.tagline {
    font-size: 1.3rem;
    color: white;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ===== NAVIGATION ===== */
nav {
    background-color: var(--navy-blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: var(--gold);
    color: var(--navy-blue);
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--light-gold) 0%, #ffffff 100%);
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-text {
    text-align: center;
    padding: 30px;
}

.hero-text h2 {
    color: var(--navy-blue);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--dark-green);
    line-height: 1.8;
}

/* ===== MISSION & VISION SECTIONS ===== */
.mission-section,
.vision-section {
    padding: 60px 20px;
    background: var(--light-gold);
}

.vision-section {
    background: #ffffff;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.centered-header {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 30px;
    font-weight: 700;
}

.centered-text {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-green);
    line-height: 1.8;
}

/* ===== ANNOUNCEMENTS SECTION ===== */
.announcements-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--light-gold) 0%, #ffffff 100%);
}

.announcement-card {
    max-width: 800px;
    margin: 0 auto 30px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 3px solid var(--navy-blue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.announcement-card h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.announcement-card .date {
    color: var(--green);
    font-weight: 600;
    margin-bottom: 10px;
}

.announcement-card p {
    color: var(--dark-green);
    line-height: 1.6;
}

/* ===== GALLERY & EVENTS SECTIONS ===== */
.gallery-section,
.events-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--light-gold) 0%, #ffffff 100%);
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header h1 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.gallery-header p {
    font-size: 1.1rem;
    color: #666;
}

.gallery-grid,
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item,
.event-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover,
.event-card:hover {
    transform: scale(1.05);
}

.gallery-item img,
.event-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.gallery-item:hover img,
.event-card:hover .event-img {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.event-card {
    background: white;
    border: 3px solid var(--navy-blue);
    border-radius: 15px;
    overflow: hidden;
}

.event-caption {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: var(--navy-blue);
    font-size: 1.1rem;
    background: white;
}

/* ===== BOARD MEMBERS SECTION ===== */
.board-members-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--light-gold) 0%, #ffffff 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 50px;
    font-weight: 700;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.board-card {
    background: #ffffff;
    border: 3px solid var(--navy-blue);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.board-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 31, 63, 0.2);
}

.board-image-wrapper {
    width: 250px;
    height: 250px;
    margin: 0 auto 25px;
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid var(--gold);
}

.board-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-name {
    font-size: 1.2rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.board-title {
    font-size: 0.85rem;
    color: var(--green);
    line-height: 1.3;
}

/* ===== ADMIN SECTION ===== */
.admin-section {
    padding: 60px 20px;
    background: var(--light-gold);
    min-height: 70vh;
}

.admin-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    border: 3px solid var(--navy-blue);
    box-shadow: 0 5px 20px rgba(0,31,63,0.2);
}

.admin-login,
.admin-panel {
    display: none;
}

.admin-login.active,
.admin-panel.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy-blue);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--navy-blue);
    border-radius: 8px;
    font-size: 1rem;
}

.btn {
    background: var(--navy-blue);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--green);
    transform: translateY(-2px);
}

.btn-logout {
    background: var(--red);
    margin-left: 10px;
}

.btn-logout:hover {
    background: #8B0000;
}

.error-message {
    color: var(--red);
    margin-top: 10px;
    font-weight: 600;
}

.success-message {
    color: var(--green);
    margin-top: 10px;
    font-weight: 600;
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info-section {
    padding: 60px 20px;
    background: var(--light-gold);
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    border: 3px solid var(--navy-blue);
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 31, 63, 0.2);
}

.contact-box h3 {
    color: var(--navy-blue);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-box p {
    font-size: 1.1rem;
    color: var(--dark-green);
    margin: 10px 0;
}

.contact-box a {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 600;
}

.contact-box a:hover {
    color: var(--green);
    text-decoration: underline;
}

/* ===== DONATE SECTION ===== */
.donate-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--green) 100%);
    color: white;
    padding: 80px 30px;
    border-radius: 15px;
    text-align: center;
    margin: 60px auto;
    max-width: 900px;
    border: 4px solid var(--gold);
}

.donate-section h2 {
    color: var(--gold);
    font-size: 3rem;
    margin-bottom: 20px;
}

.donate-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.donate-button {
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
    color: white;
    padding: 30px 80px;
    font-size: 1.8rem;
    font-weight: bold;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.donate-button:hover {
    background: linear-gradient(135deg, #FF1744 0%, #DC143C 100%);
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(220, 20, 60, 0.7);
}

.donate-button:active {
    transform: scale(1.05);
}

.tax-deductible {
    font-size: 1rem;
    color: var(--gold);
    margin-top: 30px;
    font-style: italic;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--navy-blue);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-top: 5px solid var(--gold);
}

footer p {
    margin: 10px 0;
}

footer a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--green);
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .circle-frame-no-border {
        width: 120px;
        height: 120px;
    }
    
    .header-text-centered h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .board-grid,
    .gallery-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .donate-section h2 {
        font-size: 2.2rem;
    }

    .donate-button {
        padding: 25px 50px;
        font-size: 1.4rem;
    }
}