/* Orion Drift-inspired scrapbook style */

body {
    background-image: url("https://oriondriftvr.com/img/press-kit/ORION_DRIFT_vista%20(1).png");
    background-size: cover;
    background-position: center;
    margin: 0;
    padding: 0;
    font-family: "Comic Sans MS", sans-serif;
    color: #ffffff;
    position: relative;
}

/* Overlay to darken the background slightly */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* adjust opacity as needed */
    z-index: 0;
}

header {
    text-align: center;
    padding: 20px;
    font-size: 2.8em;
    font-weight: bold;
    letter-spacing: 2px;
    color: #00bfff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    /* background: rgba(0, 0, 0, 0.6); stronger background */
    z-index: 1;
    position: relative;
}

/* Container for images */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.4); /* semi-transparent dark backdrop */
    margin: 30px auto;
    border-radius: 12px;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

/* Image box styling */
.image-box {
    width: 520px;
    height: 320px;
    position: relative;
    background: #ffffff;
    border: 6px solid #ffcf40;
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.4);
    transform: rotate(-3deg);
    margin: 20px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(-5deg);
    z-index: -1;
}

.image-box img {
    width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

.image-box .caption {
    position: absolute;
    bottom: 10px;
    left: 15px;
    font-size: 1.2em;
    font-style: italic;
    color: #333333;
    background: rgba(255, 255, 255, 0.85);
    padding: 6px;
    border-radius: 5px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
}

/* Footer styling */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* darker background for better contrast */
    color: #ffffff;
    position: relative;
    z-index: 1;
}

footer a {
    color: #00bfff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
    color: #ffcf40;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 10px;
        flex-direction: column;
        align-items: center;
        max-width: 100vw;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.6); /* stronger for smaller screens */
    }

    .image-box {
        width: 90%;
        max-width: 300px;
        height: auto;
        padding: 5px;
        transform: none;
    }

    .image-box img {
        width: 100%;
        height: auto;
    }

    .image-box .caption {
        font-size: 0.9em;
        bottom: 5px;
        left: 10px;
        padding: 4px;
    }
}
