/* ============================
   Kilburn 50 Plus Club – Style
   Soft Pastel Theme
   ============================ */

/* Global Reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: #dfe8ff;
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid #b8c9ff;
}

header img {
    height: 70px;
    margin-right: 20px;
}

header h1 {
    font-size: 2rem;
    margin: 0;
}

/* Navigation */
nav {
    background: #b8c9ff;
    padding: 10px;
    text-align: center;
}

nav a {
    color: #000;
    text-decoration: none;
    margin: 0 12px;
    font-size: 1.1rem;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Sections */
section {
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

h3 {
    font-size: 1.4rem;
    margin-top: 25px;
}

/* Buttons */
.button {
    display: inline-block;
    background: #b8c9ff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

.button:hover {
    background: #a7b8f0;
}

/* Full-width images */
.fullwidth {
    width: 100%;
    border-radius: 6px;
    margin: 15px 0;
}

/* ============================
   GALLERY GRID (D)
   ============================ */

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

/* Desktop: 3 columns */
@media (min-width: 800px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Uniform image sizes */
.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
}

/* Captions */
.caption {
    text-align: center;
    margin-top: 8px;
    font-size: 1.1rem;
}

/* ============================
   LIGHTBOX VIEWER (C)
   ============================ */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
    z-index: 9999;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

/* Footer */
footer {
    background: #b8c9ff;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
    font-size: 1rem;
}

