/* ======================================================
   GLOBAL / BASE STYLES
====================================================== */

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
}

h1 {
    margin: 0;
}

h2 {
    margin-top: 0;
}

p {
    line-height: 1.6;
}


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

header {
    background-color: #1e3a5f;
    color: white;
    padding: 10px 0;
}

.header-content {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
}

.header-content h1 {
    font-size: 22px;
}

.header-content p {
    font-size: 14px;
    margin: 0;
}

.bhpa-logo {
    height: 55px;
}
/* ======================================================
   PAGE TITLE (HOME ONLY)
====================================================== */

.page-title {
    text-align: center;
    margin-top: 20px;
}

.page-title h2 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #1e3a5f;
}

/* ======================================================
   NAVIGATION & BUTTONS
====================================================== */

nav {
    text-align: center;
    margin-top: 15px;
}

nav a,
.button {
    display: inline-block;
    margin: 10px 15px;
    padding: 10px 18px;
    background-color: #1e3a5f;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.2s ease;
}

nav a:hover,
.button:hover {
    background-color: #2f5d8c;
    transform: translateY(-2px);
}

.back-link {
    text-align: center;
    margin-top: 20px;
}

/* ======================================================
   CANP BUTTON (WITH SUB-LABEL)
====================================================== */

.canp-button {
    display: inline-block;
    margin: 10px 15px;
    padding: 10px 18px;
    background-color: #1e3a5f;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.canp-button:hover {
    background-color: #2f5d8c;
    transform: translateY(-2px);
}

.canp-button .sub-label {
    display: block;
    font-size: 11px;
    font-weight: normal;
    opacity: 0.85;
    margin-top: 2px;
}
/* ======================================================
   CONTACT PAGE
====================================================== */

.contact-page {
    text-align: center;
}
/* ======================================================
   HOME PAGE (INDEX ONLY)
====================================================== */

.home .container h2,
.home .container > p {
    text-align: center;
}


/* ======================================================
   MEDIA SECTION (INDEX PAGE)
====================================================== */

.media-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.media-item {
    flex: 1 1 480px;
}

.media-item img,
.media-item video {
    width: 100%;
    border-radius: 10px;
}


/* ======================================================
   GALLERY (ABOUT PAGE)
====================================================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


/* ======================================================
   LIGHTBOX
====================================================== */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.lightbox img {
    max-width: 95%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}


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

footer {
    text-align: center;
    padding: 15px;
    background-color: #1e3a5f;
    color: white;
    margin-top: 40px;
    font-size: 14px;
}


/* ======================================================
   RESPONSIVE (MOBILE)
====================================================== */

@media (max-width: 600px) {

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

    .bhpa-logo {
        height: 45px;
    }

    .gallery img {
        height: 220px;
    }

    .media-row {
        flex-direction: column;
    }

    nav a,
    .button {
        display: block;
        margin: 8px auto;
        width: 80%;
    }
}