/* ========== VARIABLES ========== */
:root {
    --font-header: 'Courier New', Courier, monospace;
    --font-body: 'Courier New', Courier, monospace;

    --color-primary: #000000;
    --color-secondary: #ff0000;

    --bg-color: #ffffff;
    --lightbox-bg: rgba(0, 0, 0, 0.95);
}

/* ========== GENERAL ========== */
body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--color-primary);
    margin: 0;
    padding: 0;
    cursor: url('assets/cursor/cursor.png'), auto; /* custom cursor */
}

/* remove all borders and unify bg */
header, main, section, nav {
    border: none !important;
    background: var(--bg-color);
}

/* ========== HEADER ========== */
header {
    font-family: var(--font-header);
    background: var(--bg-color);
    transition: all 0.3s ease;
}

#header-logo {
    display: none;
    height: 40px;
    transition: opacity 0.3s ease;
}

#header-title.scrolled {
    display: none;
}

#header-logo.scrolled {
    display: block;
    opacity: 1;
}

/* ========== LANDING PAGE IMAGES ========== */
.preview-img {
    width: 100%;
    height: auto;
    object-fit: contain; /* keep original ratio */
    box-shadow: none;
    border-radius: 0;
    border: none;
    background: transparent;
}

/* ========== ARCHIVE GRID IMAGES ========== */
.archive-img {
    width: 100%;
    height: auto;
    object-fit: contain; /* keep original ratio */
    cursor: pointer;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

/* ========== LIGHTBOX ========== */
#lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--lightbox-bg);
    align-items: center;
    justify-content: center;
    z-index: 100;
    flex-direction: row;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
}

/* Close button */
#close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* Navigation arrows */
#prev-btn, #next-btn {
    position: absolute;
    top: 50%;
    color: var(--color-secondary);
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    user-select: none;
    transform: translateY(-50%);
}

#prev-btn { left: 20px; }
#next-btn { right: 20px; }

#prev-btn:hover, #next-btn:hover, #close-btn:hover {
    color: var(--color-primary);
}

/* ========== SCROLLING CONTACT INFO ========== */
.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 1px;
}

@keyframes scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
