/* Blog Timeline Styles - Paul Simpson Art */

:root {
  --charcoal: #2B2B2B;
  --terracotta: #D4816F;
  --stone: #F5F0EB;
  --white: #FFFFFF;
  --black: #000000;
  --gray: #6B6B6B;
}

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

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
  padding: 0 6%;
}

.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: 'Crimson Pro', serif;
  font-size: 1.4em;
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95em;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--terracotta);
}

/* Blog Header */
.blog-header {
  margin-top: 80px;
  padding: 100px 6% 80px;
  background: linear-gradient(135deg, var(--stone) 0%, var(--white) 100%);
  text-align: center;
}

.blog-header h1 {
  font-family: 'Crimson Pro', serif;
  font-size: 4em;
  font-weight: 300;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--black);
}

.blog-header p {
  font-size: 1.2em;
  color: var(--gray);
}

/* Main Blog Area */
.blog-main {
  padding: 80px 6% 120px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Timeline for Homepage Section */
.section #blogTimeline {
  max-width: 1200px;
  margin: 0 auto;
}

/* Timeline Container */
.timeline-container {
  position: relative;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--terracotta) 0%, var(--stone) 100%);
  transform: translateX(-50%);
}

/* Timeline Items */
.timeline-item {
  position: relative;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  background: var(--terracotta);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(212,129,111,0.2);
  transition: transform 0.3s;
  margin: 0 auto;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
}

.timeline-date {
  margin-top: 12px;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--terracotta);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* Timeline Content */
.timeline-content {
  width: 48%;
}

.timeline-item.left .timeline-content {
  margin-right: auto;
  padding-right: 60px;
}

.timeline-item.right .timeline-content {
  margin-left: auto;
  padding-left: 60px;
}

.timeline-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: all 0.4s;
}

.timeline-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.timeline-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.timeline-card:hover .timeline-image img {
  transform: scale(1.08);
}

.timeline-text {
  padding: 32px;
}

.timeline-category {
  display: inline-block;
  padding: 6px 16px;
  background: var(--stone);
  color: var(--terracotta);
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.timeline-text h3 {
  font-family: 'Crimson Pro', serif;
  font-size: 1.8em;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--black);
  line-height: 1.3;
}

.timeline-excerpt {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.read-more {
  display: inline-block;
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.read-more:hover {
  color: var(--black);
  transform: translateX(5px);
}

/* Blog Post Page */
.blog-post-main {
  padding: 120px 6%;
  max-width: 900px;
  margin: 0 auto;
}

.blog-post-full {
  background: var(--white);
}

.post-header {
  margin-bottom: 40px;
  text-align: center;
}

.post-meta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}

.post-category {
  padding: 8px 20px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.85em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
}

.post-date {
  padding: 8px 20px;
  background: var(--stone);
  color: var(--charcoal);
  font-size: 0.85em;
  font-weight: 600;
  border-radius: 20px;
}

.post-title {
  font-family: 'Crimson Pro', serif;
  font-size: 3.5em;
  font-weight: 300;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 20px;
}

.post-featured-image {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  font-size: 1.1em;
  line-height: 1.9;
  color: var(--charcoal);
  margin-bottom: 60px;
}

.post-content p {
  margin-bottom: 24px;
}

.post-content p:first-of-type {
  font-size: 1.2em;
  color: var(--gray);
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-top: 2px solid var(--stone);
  margin-top: 60px;
}

.back-link {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--black);
}

.post-share {
  display: flex;
  gap: 16px;
  align-items: center;
}

.post-share span {
  font-weight: 600;
  color: var(--gray);
}

.post-share a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.post-share a:hover {
  color: var(--terracotta);
}

/* Related Posts */
.related-posts-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 2px solid var(--stone);
}

.related-posts-section h3 {
  font-family: 'Crimson Pro', serif;
  font-size: 2em;
  font-weight: 400;
  margin-bottom: 40px;
  text-align: center;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.related-post-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.related-post-card:hover {
  transform: translateY(-4px);
}

.related-post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-post-content {
  padding: 20px;
}

.related-post-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--stone);
  color: var(--terracotta);
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 12px;
  margin-bottom: 12px;
}

.related-post-content h4 {
  font-family: 'Crimson Pro', serif;
  font-size: 1.2em;
  font-weight: 400;
  margin-bottom: 8px;
}

.related-post-content h4 a {
  color: var(--black);
  text-decoration: none;
  transition: color 0.3s;
}

.related-post-content h4 a:hover {
  color: var(--terracotta);
}

.related-post-date {
  font-size: 0.85em;
  color: var(--gray);
}

/* Footer */
footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 6% 40px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-family: 'Crimson Pro', serif;
  font-size: 1.6em;
  font-weight: 400;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-links h4 {
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.5);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--terracotta);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9em;
  color: rgba(255,255,255,0.5);
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .nav-links { display: none; }
  
  .blog-header h1 { font-size: 2.5em; }
  
  .timeline-line { display: none; }
  
  .timeline-item {
    margin-bottom: 40px;
  }
  
  .timeline-marker {
    position: relative;
    left: 0;
    transform: none;
    margin-bottom: 20px;
  }
  
  .timeline-content {
    width: 100%;
    padding: 0 !important;
  }
  
  .post-title { font-size: 2.5em; }
  
  .post-featured-image { height: 300px; }
  
  .post-footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
