/* ==========================
   COLOR VARIABLES
========================== */

:root {
    --primary: #B6B84A;
    --secondary: #9EA139;
    --accent: #D4D66A;
    --dark: #231F40;
    --white: #ffffff;
    --light-bg: #f4f7f6;
}

/* ==========================
   GENERAL STYLES
========================== */

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

body {
    font-family: Arial, sans-serif;
    background-color: var(--light-bg);
    color: #333;
    line-height: 1.6;
}

/* ==========================
   HEADER
========================== */

header {
    background: var(--primary);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    flex-wrap: wrap;
}

.logo-text h2 {
	color: var(--white);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}

/* ==========================
   NAVIGATION
========================== */

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--white);
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background: var(--white);
    color: var(--dark);
}

/* ==========================
   HERO SECTION
========================== */

.hero {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f7f2;
    background-image: url("images/community.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    min-height: 750px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding-bottom: 50px;}
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.hero p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333;
}

.hero button {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.hero button:hover {
    background: var(--secondary);
}

/* ==========================
   SECTIONS
========================== */

section {
    padding: 60px 20px;
}

h1,
h2,
h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

header h1,
header h2,
header h3	{
	color: #FFFFFF;
}

p {
    margin-bottom: 15px;
}

/* ==========================
   MESSAGE AREA
========================== */

#message {
    margin-top: 20px;
    text-align: center;
    color: var(--secondary);
    font-weight: bold;
}

/* ==========================
   GALLERY PAGE
========================== */

.gallery-page {
    max-width: 1200px;
    margin: auto;
}

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

.gallery-header h1 {
    font-size: 2.5rem;
}

.gallery-header p {
    color: #555;
}

/* ==========================
   UPLOAD SECTION
========================== */

.upload-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.upload-section h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.upload-section input[type="file"] {
    margin-top: 15px;
    padding: 10px;
    border: 2px dashed var(--primary);
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
}

/* ==========================
   GALLERY GRID
========================== */

#gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0.3 ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transition: scale(1.05);
}

.gallery-caption {
    padding: 15px;
    text-align: center;
    background: var(--primary);
    color: var(--dark);
    font-weight: bold;
}

/* ==========================
   PROGRAM CARDS
========================== */

.program-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* ==========================
   CONTACT FORM
========================== */

.contact-form {
    max-width: 700px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.contact-form button:hover {
    background: var(--secondary);
}

/* ==========================
   FOOTER
========================== */

footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* ==========================
   RESPONSIVE DESIGN
========================== */

@media (max-width: 768px) {

    header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        margin-top: 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .gallery-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {

    .logo-image {
        width: 55px;
        height: 55px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .gallery-item img {
        height: 200px;
    }
}
/* ==========================
   MISSION / VISION / VALUES
========================== */

.mission-vision-values {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
}

.info-box h2 {
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
}

.info-box p {
    color: #555;
    text-align: justify;
}
.highlight {
    color: var(--primary);
    font-weight: 700;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 2px;
}