/* theme-dark2.css
   Visual theme: colors, fonts, spacing, hover effects
*/

:root {
    --bg: #090c10;
    --border: #1e242d;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --accent: #58a6ff;
}

/* Global look */
body {
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* Header / intro */
h1 {
    font-size: 32px;
    margin: 2rem 0 0.75rem;
    font-weight: 500;
}

.tagline {
    padding: 0 1.5rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-size: 1rem;
}

/* Main spacing */
main {
    margin: 3rem auto 4rem;
}

/* Section headings */
section h2 {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Grid aesthetics */
.grid-item {
    border-radius: 4px;
}

.grid-item img {
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.grid-item img:hover {
    transform: scale(1.04);
    opacity: 0.95;
}

/* Buttons */
.btn {
    padding: 0.7em 1.6em;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #131820;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.btn:hover {
    background: #1a2230;
    border-color: #30363d;
}

#contact h2 {
    color: var(--text-muted);
}

#contact p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

#contact a {
    color: var(--accent);
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

/* Modal look */
.modal {
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(2px);
}

.modal .close {
    top: 22px;
    right: 28px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 300;
}

.nav {
    font-size: 1.9rem;
    color: #ffffffd8;
    padding: 0.25em 0.5em;
}

.nav:hover {
    color: #ffffff;
}

/* Small-tweak responsive look */
@media (max-width: 600px) {
    h1 {
        font-size: 24px;
    }
}
