:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-muted: #888888;
    --font-main: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--text-color); text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.6; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { padding: 60px 0 40px; text-align: center; }
header h1 { font-size: 2rem; font-weight: 500; letter-spacing: -0.5px; }
header p { color: var(--text-muted); font-size: 0.9rem; margin-top: 10px; }
nav { margin-top: 20px; }
nav a { margin: 0 15px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* Grid for Index */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px; padding: 40px 0; }
.photo-item { text-align: center; }
.photo-item img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/5; display: block; margin-bottom: 15px; background: #f4f4f4; }
.photo-item h2 { font-size: 1.1rem; font-weight: 400; }
.photo-item span { font-size: 0.8rem; color: var(--text-muted); }

/* Single Post */
.single-post { max-width: 800px; margin: 40px auto; text-align: center; }
.single-post img { width: 100%; height: auto; margin-bottom: 30px; }
.single-post h1 { font-size: 2rem; margin-bottom: 10px; font-weight: 500; }
.single-post .meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 30px; }
.single-post .content { text-align: left; font-size: 1.1rem; line-height: 1.8; color: #333; }

/* Forms */
.auth-form { max-width: 400px; margin: 80px auto; text-align: center; }
.auth-form input { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; font-family: inherit; }
.auth-form button { width: 100%; padding: 12px; background: #1a1a1a; color: #fff; border: none; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; }
.auth-form button:hover { background: #333; }

/* Footer */
footer { text-align: center; padding: 60px 0; font-size: 0.8rem; color: var(--text-muted); }

/* Mobile */
@media (max-width: 768px) {
    header { padding: 40px 0 20px; }
    .photo-grid { gap: 20px; grid-template-columns: 1fr; }
}
