/* ===========================
   GLOBAL RESET
   =========================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===========================
   STICKY FOOTER FIX
   =========================== */

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ===========================
   BODY STYLING
   =========================== */

body {
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
    line-height: 1.6;
}

/* ===========================
   CONTAINER
   =========================== */

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* ===========================
   HEADER
   =========================== */

.site-header {
    background: #222;
    color: #fff;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
}

.site-header h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.site-header p {
    font-size: 1rem;
    opacity: 0.8;
}

/* ===========================
   PANELS
   =========================== */

.panel {
    background: #fff;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.panel h2 {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

/* ===========================
   BUTTON CENTRING
   =========================== */

.button-center {
    text-align: center;
}

/* ===========================
   BUTTONS
   =========================== */

.button-link {
    display: inline-block;
    background: #0057b8;
    color: #fff;
    padding: 0.75rem 1.25rem;
    margin: 0.5rem 0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    max-width: 300px; /* keeps buttons nicely sized */
}

.button-link:hover {
    background: #003f86;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

/* ===========================
   CONTACT LINKS
   =========================== */

.contact-email a {
    color: #0057b8;
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    padding: 1.5rem 0;
}

/* ===========================
   IMAGE GALLERY
   =========================== */


.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px; /* ← adds a blank line under the pictures */

}

.gallery img {
    width: 180px !important;
    height: 120px !important;
    object-fit: cover !important;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
   
}

/* Lightbox overlay */
.lightbox:target {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Enlarged image */
.lightbox:target img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Hide normal gallery links when not active */
.lightbox {
    display: inline-block;
}

/* Close lightbox by clicking anywhere */
.lightbox:target {
    cursor: zoom-out;
}
