/*
Theme Name: Simple One Page Portfolio
Author: You
Description: A minimalist one-page portfolio with a lightbox gallery driven by posts.
Version: 1.1
*/

/* Basic Reset & Typography */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    margin: 0 0 20px;
    font-size: 28px;
}

/* Shared Utilities */
header,
section {
    border-bottom: 1px solid #eaeaea;
}

h2,
a.contact-email,
.read-more-btn {
    display: inline-block;
    border-bottom: 1px solid #b31212;
}

.site-title,
a.contact-email,
.read-more-btn {
    text-decoration: none;
    color: #333;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

a.contact-email,
.read-more-btn {
    font-weight: normal;
    transition: color 0.2s ease, border-color 0.2s ease;
}

a.contact-email:hover,
.read-more-btn:hover {
    color: #b31212;
    border-bottom-color: #b31212;
}

/* Sections */
section {
    padding: 60px 0;
}

.about-content p {
    margin-bottom: 1.2em;
}

.read-more-btn {
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 0 0 2px;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
    margin-top: 5px;
}

/* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery a {
    display: block;
    overflow: hidden;
    border-radius: 4px;
}

.gallery img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease-in-out;
}

.gallery a:hover img {
    transform: scale(1.03);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
    color: #777;
}