/* Umikas - Unique Sage & Warm Neutral Lifestyle Blog */
/* Fully custom modern design - never repeated */

:root {
  --bg-primary: #F8F5F0;
  --bg-card: #FFFFFF;
  --text-primary: #2C3E2D;
  --text-secondary: #5A6B5A;
  --accent-sage: #6B8E6B;
  --accent-sage-dark: #4A6B4A;
  --accent-warm: #C38A5F;
  --border-soft: #E8E3D9;
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius-card: 16px;
  --radius-button: 9999px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 17px;
}

/* Header & Navigation */
header {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-sage-dark);
  text-decoration: none;
  letter-spacing: -0.5px;
}

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

nav ul {
  display: flex;
  gap: 42px;
  list-style: none;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--accent-sage);
}

/* Hero Section - Magazine Style */
.hero {
  background: linear-gradient(135deg, #6B8E6B 0%, #4A6B4A 100%);
  color: white;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: rgba(255,255,255,0.07);
  transform: skewX(-12deg);
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 62px;
  line-height: 1.05;
  font-weight: 800;
  max-width: 720px;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero p {
  font-size: 21px;
  max-width: 560px;
  opacity: 0.95;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background-color: white;
  color: var(--accent-sage-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-button);
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
  margin-left: 16px;
}

.btn-secondary:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: white;
}

/* Main Layout with Sidebar */
.main-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}

@media (max-width: 1024px) {
  .main-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .sidebar {
    order: -1;
  }
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  margin-bottom: 24px;
}

.sidebar h3 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-sage-dark);
  margin-bottom: 18px;
}

.category-list {
  list-style: none;
}

.category-list li {
  margin-bottom: 12px;
}

.category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
  transition: all 0.2s;
}

.category-list a:hover {
  color: var(--accent-sage);
  padding-left: 4px;
}

.category-list span {
  font-size: 13px;
  color: var(--text-secondary);
  background: #F0EBE3;
  padding: 2px 9px;
  border-radius: 999px;
}

/* Article Cards Grid - Magazine Style */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.card-header {
  height: 8px;
  background: linear-gradient(to right, var(--accent-sage), var(--accent-warm));
}

.card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.card-body .excerpt {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 22px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

.read-more {
  color: var(--accent-sage-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.read-more:hover {
  gap: 10px;
}

/* Section Titles */
.section-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-sage-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent-sage);
  display: inline-block;
}

/* Full Article Page */
.article-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.article-header {
  text-align: center;
  margin-bottom: 48px;
}

.article-header h1 {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 16px;
}

.article-meta {
  color: var(--text-secondary);
  font-size: 14.5px;
}

.article-content {
  font-size: 17.5px;
  line-height: 1.85;
}

.article-content p {
  margin-bottom: 26px;
}

.article-content h2 {
  font-size: 26px;
  margin: 48px 0 18px;
  color: var(--accent-sage-dark);
  font-weight: 700;
}

.article-content ul, .article-content ol {
  margin: 20px 0 28px 24px;
}

.article-content li {
  margin-bottom: 10px;
}

/* Contact Page */
.contact-container {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 24px;
}

.contact-form {
  background: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-sage);
  box-shadow: 0 0 0 4px rgba(107, 142, 107, 0.1);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--accent-sage-dark);
  color: white;
  border: none;
  border-radius: var(--radius-button);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: var(--accent-sage);
  transform: translateY(-1px);
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 120px 24px;
  max-width: 620px;
  margin: 0 auto;
}

.thank-you h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--accent-sage-dark);
}

.thank-you p {
  font-size: 19px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* Footer */
footer {
  background: #2C3E2D;
  color: #C8CFC8;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  color: white;
  font-size: 15px;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: #C8CFC8;
  text-decoration: none;
  margin-bottom: 9px;
  font-size: 14.5px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1280px;
  margin: 50px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(200, 207, 200, 0.2);
  text-align: center;
  font-size: 13px;
  color: #8A968A;
}

/* Misc */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-sage-dark);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 30px;
}

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

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 42px;
  }
  
  .nav-container {
    padding: 0 16px;
  }
  
  nav ul {
    gap: 24px;
  }
}