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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.7;
}

a { color: #c0392b; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.3; margin-bottom: 0.5em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.4rem; }
p  { margin-bottom: 1em; }
ul { padding-left: 1.4em; margin-bottom: 1em; }

/* Layout */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* Header */
.site-header {
  background: #c0392b;
  color: #fff;
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.site-title:hover { text-decoration: none; opacity: 0.9; }

.site-nav a {
  color: #fff;
  margin-left: 1.2rem;
  font-size: 0.95rem;
}
.site-nav a:hover { text-decoration: underline; }

/* Main */
main.container { padding-top: 2rem; padding-bottom: 3rem; min-height: 70vh; }

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: #fef9f9;
  border-radius: 8px;
  margin-bottom: 2.5rem;
}
.hero h1 { font-size: 2.4rem; color: #c0392b; }
.hero .tagline { font-size: 1.15rem; color: #555; margin: 0.8rem 0 1.5rem; }

.btn {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
}
.btn:hover { background: #a93226; text-decoration: none; }

/* Cards */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.4rem;
}
.card h2 { color: #c0392b; font-size: 1.1rem; margin-bottom: 0.6rem; }

/* Post list */
.post-list { list-style: none; padding: 0; }
.post-list li {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}
.post-date { font-size: 0.85rem; color: #888; display: block; margin-bottom: 0.2rem; }

/* Post / Update article */
.post-header { margin-bottom: 1.5rem; }
.post-meta { color: #888; font-size: 0.9rem; margin-top: 0.3rem; }
.post-content h2 { margin-top: 1.5rem; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Footer */
.site-footer {
  background: #222;
  color: #bbb;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer a { color: #e88; }

/* Responsive */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.6rem; }
  .site-nav a { margin-left: 0.7rem; font-size: 0.85rem; }
}
