/* Northlight Photography Studio & Journal */
:root {
  --bg: #0c1218;
  --bg-card: #131c24;
  --bg-card-hover: #192632;
  --border: #223240;
  --text: #d8e2eb;
  --text-muted: #879cae;
  --text-bright: #f0f6fc;
  --accent: #26d09c;
  --accent-light: #52e5b7;
  --max-w: 860px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Charter", "Bitstream Charter", "Georgia", serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  padding: 0 1.25rem 4rem;
  -webkit-font-smoothing: antialiased;
}

header.site-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand a {
  color: var(--text-bright);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-icon {
  width: 28px;
  height: 28px;
}

nav.site-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: color 0.15s ease;
}

nav.site-nav a:hover, nav.site-nav a.active {
  color: var(--accent);
}

main {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
}

.hero {
  margin-bottom: 3.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.hero-text {
  padding: 1.8rem 2rem;
}

.hero-text h1 {
  font-size: 2.1rem;
  color: var(--text-bright);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.hero-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 44rem;
}

.section-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.posts-list {
  display: grid;
  gap: 1.75rem;
}

article.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

@media (max-width: 680px) {
  article.post-card {
    grid-template-columns: 1fr;
  }
}

article.post-card:hover {
  border-color: var(--accent);
}

.post-thumb {
  background: #080d12;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.post-thumb svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-meta {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  display: flex;
  gap: 0.8rem;
}

.post-title {
  font-size: 1.35rem;
  color: var(--text-bright);
  font-weight: 500;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.post-title a {
  color: inherit;
  text-decoration: none;
}

.post-title a:hover {
  color: var(--accent);
}

.post-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Article Single View */
.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: 2.3rem;
  color: var(--text-bright);
  line-height: 1.25;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.article-image {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 2rem 0;
}

.article-content {
  font-size: 1.05rem;
  color: #cfdbe6;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-size: 1.45rem;
  color: var(--text-bright);
  margin: 2.2rem 0 1rem;
  font-weight: 500;
}

.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.8rem 0;
  color: var(--text-muted);
  font-style: italic;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Contact & About */
.about-grid {
  display: grid;
  gap: 2rem;
}

.contact-card, .info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}

.contact-card h2, .info-card h2 {
  color: var(--text-bright);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  background: #0a0f14;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.65rem 0.85rem;
  color: var(--text-bright);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

button.btn-submit {
  background: var(--accent);
  color: #041410;
  font-weight: 600;
  border: none;
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

button.btn-submit:hover {
  background: var(--accent-light);
}

footer.site-footer {
  max-width: var(--max-w);
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

footer.site-footer a:hover {
  color: var(--accent);
}
