/* ===== VARIANT B: "Mono" — monospace, dark glass, single continuous panel ===== */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;600&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --font: 'JetBrains Mono', monospace;
    --max-width: 640px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: #111;
    color: #e8e8e8;
    line-height: 1.6;
    overflow-x: hidden;
}

.parallax-bg {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('images/background.webp') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #8cb4e0; text-decoration: none; }
a:hover { color: #fff; }

/* Single continuous panel */
.page {
    max-width: var(--max-width);
    margin: 2rem auto;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 2rem;
}

/* Dividers between sections */
.page hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 1.5rem 0;
}

/* Nav */
nav {
    display: flex; gap: 1.5rem; justify-content: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
}
nav a {
    font-size: 0.7rem; font-weight: 400;
    text-transform: lowercase; letter-spacing: 0.06em;
    color: #888; transition: color 0.2s;
}
nav a:hover { color: #fff; }

/* Hero */
#hero {
    text-align: center;
    padding: 2rem 0;
}
#hero h1 {
    font-size: 1.6rem; font-weight: 600;
    letter-spacing: -0.02em; color: #fff;
}
.tagline {
    font-size: 0.8rem; font-weight: 300;
    color: #999; margin-top: 0.3rem;
}

/* Sections */
section h2 {
    font-size: 0.7rem; font-weight: 400;
    text-transform: lowercase; letter-spacing: 0.06em;
    color: #666; margin-bottom: 1rem;
}

/* About */
.about-content { display: flex; gap: 1.5rem; align-items: center; }
.profile-photo {
    width: 140px; height: 140px;
    border-radius: 4px; object-fit: cover; flex-shrink: 0;
    background: #333;
}
.about-text p {
    font-size: 0.82rem; color: #bbb;
    margin-bottom: 0.5rem; font-weight: 300;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}
.gallery-grid figure {
    overflow: hidden; border-radius: 2px;
    position: relative;
    -webkit-user-select: none; user-select: none;
}
/* Invisible overlay to block "Save image as" */
.gallery-grid figure::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}
.gallery-grid img {
    width: 100%; height: 160px; object-fit: cover;
    transition: opacity 0.3s;
    pointer-events: none;
}
.gallery-grid figure:hover img { opacity: 0.7; }
.gallery-grid figcaption {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    padding: 0.4rem 0.6rem;
    font-size: 0.65rem; color: #ccc;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    opacity: 0; transition: opacity 0.3s;
}
.gallery-grid figure:hover figcaption { opacity: 1; }

/* Contact */
.contact-info { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.contact-item {
    font-size: 0.78rem; color: #888;
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    transition: all 0.2s;
}
.contact-item:hover { border-color: #8cb4e0; color: #8cb4e0; }
.contact-item .icon { font-size: 0.85rem; }

/* Footer */
footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.65rem; color: #555;
}

/* Lightbox */
.lightbox {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    display: flex; align-items: center; justify-content: center;
    cursor: zoom-out;
    padding: 2rem;
}
.lightbox img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    border-radius: 2px;
    pointer-events: none;
}

@media (max-width: 640px) {
    .page { margin: 1rem; padding: 1.5rem; }
    .about-content { flex-direction: column; text-align: center; }
    .gallery-grid { grid-template-columns: 1fr; }
    .contact-info { flex-direction: column; align-items: center; }
}
