/*
Theme Name: Lumina Minimal
Author: Assistant
Description: A clean, high-contrast Neo-Swiss aesthetic with bold typography.
Version: 3.0
*/

:root {
  /* Colors - Neo-Swiss Light */
  --bg-body: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-main: #111111;
  --text-secondary: #555555;
  --accent-color: #2563eb; /* Electric Blue */
  --border-color: #111111; /* Bold Borders */
  --border-light: #e5e5e5;
  
  /* Dimensions */
  --container-width: 1320px;
  --header-height: 90px;
  
  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Public Sans', sans-serif;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul { list-style: none; }

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.btn-primary {
  display: inline-block;
  background: var(--text-main);
  color: var(--bg-body);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-color);
  color: #fff;
}

/* HEADER */
.site-header {
  border-bottom: 2px solid var(--border-color);
  padding: 1.5rem 0;
  background: var(--bg-body);
  position: relative;
  z-index: 100;
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
  position: relative;
  z-index: 2;
}

.brand-logo span {
  color: var(--accent-color);
}

.header-nav ul {
  display: flex;
  gap: 2.5rem;
}

.header-nav a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-main);
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s;
}

.header-nav a:hover::after {
  width: 100%;
}

.header-tagline {
  display: none; /* Hidden in this layout for cleanliness, or maybe show on mobile? */
}

/* HERO (Index) */
.hero-area {
  padding: 6rem 0 4rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

.hero-title-wrap {
  max-width: 1000px;
}

.hero-big-title {
  font-size: 5.5rem;
  line-height: 0.95;
  margin-bottom: 0;
  letter-spacing: -2px;
}

.hero-decor-line {
  width: 100px;
  height: 8px;
  background: var(--accent-color);
  margin-top: 2rem;
}

/* GRID LAYOUT */
.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 5rem 0;
}

.card-item {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}

.card-item:hover {
  transform: translateY(-5px);
}

.card-img-link {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
}

.card-img-link img {
  transition: transform 0.5s;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.card-item:hover .card-img-link img {
  transform: scale(1.05);
}

.card-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.card-excerpt {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.read-link {
  margin-top: auto;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--text-main);
  align-self: flex-start;
  padding-bottom: 2px;
}

.read-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/* SINGLE POST */
.post-header-block {
  padding: 6rem 0 3rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.single-h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.single-meta-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  margin-bottom: 3rem;
}

.single-featured-wrap {
  margin-bottom: 4rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.content-narrow {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
}

.content-narrow p {
  margin-bottom: 2rem;
  color: #333;
}

.content-narrow h2 {
  font-size: 2.2rem;
  margin-top: 3rem;
}

/* FOOTER */
.main-footer {
  background: var(--text-main);
  color: #fff;
  padding: 6rem 0 3rem;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: var(--text-secondary); /* Greyish in dark footer */
  color: #888;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: #fff;
  opacity: 0.8;
  font-size: 1.05rem;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bar {
  border-top: 1px solid #333;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  color: #666;
  font-size: 0.9rem;
}

/* PAGINATION */
.page-nav {
  text-align: center;
  padding: 2rem 0;
}
.page-nav .page-numbers {
  padding: 0.75rem 1.25rem;
  margin: 0 5px;
  border-radius: 50%;
  font-weight: 600;
}
.page-nav .current {
  background: var(--text-main);
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .grid-wrapper { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-big-title { font-size: 3.5rem; }
  .grid-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-wrap { flex-direction: column; gap: 1.5rem; }
  .single-h1 { font-size: 2.5rem; }
  .single-meta-row { flex-direction: column; gap: 0.5rem; align-items: center; }
}
