:root {
    --bg: #f9f9f9;
    --text: #111111;
    --accent: #0078ff;
    --redaccent: #c83c3c;
    --header-bg: #e4e4e4;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b1c2c;
        --text: #e6f7ff;
        --accent: #3399ff;
        --header-bg: #081520;
    }
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    text-decoration: none;

    /* Sticky footer layout */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: var(--header-bg);
    text-align: center;
    padding-bottom: 10px;

    /* subtle separation */
    border-bottom: 2px solid rgba(200, 60, 60, 0.4);
    box-shadow:
        0 2px 10px rgba(0,0,0,0.3),
        0 0 10px rgba(200, 60, 60, 0.3);
}

.banner {
    width: 95%;
    max-height: 200px;
    max-width: 805px;
    object-fit: cover;
    margin-top: 20px;
    margin-bottom: 5px;
    align-self: center;
    

    /* Base border */
    border: 2px solid rgba(180, 40, 40, 0.6);

    /* Dull red neon glow */
    box-shadow:
        0 0 4px rgba(180, 40, 40, 0.5),
        0 0 8px rgba(180, 40, 40, 0.4),
        0 0 16px rgba(180, 40, 40, 0.3);
}

@media (prefers-color-scheme: dark) {
    .banner {
        border: 2px solid rgba(200, 60, 60, 0.7);
        box-shadow:
            0 0 6px rgba(200, 60, 60, 0.6),
            0 0 12px rgba(200, 60, 60, 0.5),
            0 0 24px rgba(200, 60, 60, 0.4);
    }
}

.content-portrait{
    max-height: 400px;
    max-width: 270px;
    margin: 5px auto;
    text-align: center;
    display: block;
}

.content-portrait img {
    width: 100%;
    height: auto;
    display: block;
}

.content-landscape{
    max-height: 270px;
    max-width: 400px;
    margin: 5px auto;
    text-align: center;
    display: block;
}

.content-landscape img {
    width: 100%;
    height: auto;
    display: block;
}

.image {
    object-fit: cover;

    /* Base border */
    border: 2px solid rgba(180, 40, 40, 0.6);

    /* Dull red neon glow */
    box-shadow:
        0 0 4px rgba(180, 40, 40, 0.5),
        0 0 8px rgba(180, 40, 40, 0.4),
        0 0 16px rgba(180, 40, 40, 0.3);
}

@media (prefers-color-scheme: dark) {
    .image {
        border: 2px solid rgba(200, 60, 60, 0.7);
        box-shadow:
            0 0 6px rgba(200, 60, 60, 0.6),
            0 0 12px rgba(200, 60, 60, 0.5),
            0 0 24px rgba(200, 60, 60, 0.4);
    }
}

a {
    text-decoration: none;
    color: var(--text);
}

a:hover {
    color: rgb(200, 60, 60);
}

h1 {
    margin: 10px 0;
    color: var(--accent);
    letter-spacing: 4px;
    font-size: 250%;
}

h2 {
    color: var(--accent);
}

nav {
    display: flex;
    flex-wrap: wrap;           /* allow wrapping */
    justify-content: center;
}

nav a {
    padding: 8px 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: bold;
}

nav a:hover {
    color: var(--redaccent);
}

/* 📱 Mobile breakpoint */
@media (max-width: 650px) {
    nav a {
        width: 50%;            /* two per row */
        text-align: center;
        box-sizing: border-box;
    }
}

main {
    padding-left: 5%;
    padding-right: 5%;

    /* This pushes the footer down */
    flex: 1;
    padding-bottom: 100px; /* adjust to match footer height */
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10%;

    text-align: center;
    padding: 10px;
    padding-bottom: 20px;
    font-size: 0.9em;
    opacity: 0.85;

    background: var(--header-bg);

    /* subtle separation */
    border-top: 2px solid rgba(200, 60, 60, 0.4);
    box-shadow:
        0 -2px 10px rgba(0,0,0,0.3),
        0 0 10px rgba(200, 60, 60, 0.3);
}

/* Container for left icon */
.footer-left {
    position: absolute;
    left: 5%;
    bottom: 30px;
}

/* Facebook icon styling */
.fb-icon {
    width: 26px;
    height: 26px;

    /* subtle glow but neutral (not blue tinting the brand) */
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.fb-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.6));
}

/* Hide the line break by default */
.mobile-break { display: none; }

/* Show the break only on small screens */
@media screen and (max-width: 650px) {
    .separator {display: none; /* Removes the separator character */
    }
    .mobile-break { display: block; }
}

/* Bottom-right container */
.footer-right {
    position: absolute;
    right: 6%;
    bottom: 30px;
}

/* Donate icon */
.donate-icon {
    width: 32px;
    height: 30px;

    /* subtle glow */
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.donate-icon:hover {
    transform: scale(1.1);
    filter:
        drop-shadow(0 0 6px rgba(0, 0, 0, 0.6))
        drop-shadow(0 0 6px rgba(40, 167, 69, 0.5));
}

img {
  max-width: 100%; /* Ensures responsiveness */
  margin: auto;
  display: block;  /* Removes the small gap often found below inline images */
}

figure {
  padding: 10px;
  display: inline-block;
  /* display: table; /* Shrinks the container to the image's width */
  margin: auto;   /* Centers the entire figure on the page */
}

figcaption {
    font-style: italic;
    opacity: 0.7;
    padding: 5px;
    text-align: center;
    color: var(--text);
}

.contact-form {
    max-width: 500px;
    margin: 20px 0;
}

.contact-form label {
    display: block;
    margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 4px;

    background: var(--bg);
    color: var(--text);

    border: 1px solid rgba(200, 60, 60, 0.5);
    border-radius: 4px;

    outline: none;
}

/* Placeholder text */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(128, 128, 128, 0.7);
}

/* Focus state (important for usability) */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgb(200, 60, 60);
    box-shadow:
        0 0 6px rgba(200, 60, 60, 0.5),
        0 0 12px rgba(200, 60, 60, 0.3);
}

@media (prefers-color-scheme: dark) {
    .contact-form input:focus,
    .contact-form textarea {
        background: #0f2a3a; /* lighter than page background */
        color: #e6f7ff;
        border: 1px solid rgba(200, 60, 60, 0.5);
        box-shadow: 
            0 0 6px rgba(200, 60, 60, 0.5),
            0 0 12px rgba(200, 60, 60, 0.3);
    }
    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        color: rgba(200, 220, 255, 0.6);
    }
}

.contact-form button {
    margin-top: 15px;
    padding: 10px;
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
}

.contact-form button:hover {
    box-shadow: 0 0 10px rgba(0,120,255,0.6);
}