/* Bold/Modern Style - template-bold.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Roboto:wght@300;400;700&display=swap');

:root {
  --primary-color: #6c5ce7;
  --secondary-color: #00cec9;
  --accent-color: #fd79a8;
  --text-color: #2d3436;
  --light-text: #636e72;
  --lighter-text: #b2bec3;
  --bg-color: #ffffff;
  --light-bg: #f1f2f6;
  --dark-bg: #2d3436;
  --border-color: #dfe6e9;
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Roboto', sans-serif;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--primary-color);
  font-weight: 800;
  letter-spacing: -0.5px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

/* Article Container */
.article-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Article Header */
.article-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 4rem 2rem;
  margin-bottom: 3rem;
  text-align: center;
  border-radius: 0 0 50px 50px;
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
}

.article-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 800;
}

.article-description {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  font-weight: 300;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-date {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: white;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.article-tag {
  display: inline-block;
  background-color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.article-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Featured Image */
.featured-image-container {
  margin: -5rem auto 3rem auto;
  text-align: center;
  max-width: 90%;
  position: relative;
  z-index: 10;
}

.featured-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  border: 8px solid white;
}

.featured-image:hover {
  transform: scale(1.02);
}

/* Article Content */
.article-content {
  margin-bottom: 4rem;
  line-height: 1.8;
  font-size: 1.1rem;
  padding: 0 1.5rem;
}

.section-header {
  margin-top: 3.5rem;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: var(--primary-color);
  border-bottom: 5px solid var(--secondary-color);
  padding-bottom: 1rem;
  display: inline-block;
}

.section-subheader {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--text-color);
}

.content-paragraph {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--text-color);
}

.content-image {
  margin: 2.5rem auto;
  text-align: center;
}

.content-image img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.content-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.content-image figcaption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--light-text);
  font-style: italic;
}

.code-block {
  margin: 2.5rem 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background-color: var(--dark-bg);
  position: relative;
}

.code-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(to right, #ff5f6d, #ffc371);
  border-radius: 15px 15px 0 0;
}

.code-block pre {
  margin: 0;
  padding: 3rem 1.5rem 1.5rem 1.5rem;
}

.code-block code {
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
  color: #f8f8f2;
}

.content-quote {
  margin: 3rem 1rem;
  padding: 2.5rem;
  background-color: var(--light-bg);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.content-quote::before {
  content: """;
  position: absolute;
  top: -30px;
  left: 20px;
  font-size: 6rem;
  color: var(--accent-color);
  font-family: Georgia, serif;
  opacity: 0.3;
  line-height: 1;
}

.content-quote p {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-color);
}

.content-quote cite {
  font-size: 1rem;
  color: var(--light-text);
  font-style: normal;
  display: block;
  text-align: right;
  font-weight: 600;
}

.content-callout {
  margin: 2.5rem 0;
  padding: 2rem;
  border-radius: 15px;
  background-color: var(--light-bg);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-left: 8px solid var(--primary-color);
}

.content-callout-info {
  border-left-color: var(--primary-color);
}

.content-callout-warning {
  border-left-color: #ff7675;
}

.content-callout-tip {
  border-left-color: #00b894;
}

.content-list {
  margin: 2rem 0;
  padding-left: 2rem;
}

.content-list li {
  margin-bottom: 1rem;
  position: relative;
}

/* Resources Section */
.resources-section {
  margin-top: 4rem;
  padding: 3rem;
  background-color: var(--light-bg);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.resources-section h3 {
  margin-bottom: 2rem;
  font-size: 2rem;
  text-align: center;
  color: var(--primary-color);
}

.resource-list {
  list-style: none;
  padding-left: 0;
}

.resource-item {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
  position: relative;
}

.resource-item::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.resource-item a {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.resource-item a:hover {
  border-bottom-color: var(--accent-color);
  color: var(--accent-color);
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 20px;
  background-color: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.toc-container, .related-container, .share-container {
  margin-bottom: 3rem;
}

.toc-container h3, .related-container h3, .share-container h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.toc-container h3::after, .related-container h3::after, .share-container h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.toc-list, .related-list {
  list-style: none;
  padding-left: 0;
}

.toc-item, .related-item {
  margin-bottom: 1rem;
}

.toc-link, .related-item a {
  display: block;
  padding: 1rem;
  border-radius: 10px;
  background-color: var(--light-bg);
  color: var(--text-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.toc-link:hover, .related-item a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(108, 92, 231, 0.2);
}

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.share-button i {
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.share-twitter {
  background-color: #1DA1F2;
  color: white;
}

.share-facebook {
  background-color: #4267B2;
  color: white;
}

.share-linkedin {
  background-color: #0077B5;
  color: white;
}

.share-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .article-header {
    border-radius: 0 0 30px 30px;
    padding: 3rem 1.5rem;
  }
  
  .article-header h1 {
    font-size: 2.8rem;
  }
  
  .article-description {
    font-size: 1.1rem;
  }
  
  .featured-image-container {
    margin-top: -3rem;
  }
  
  .article-sidebar {
    position: static;
    margin-top: 3rem;
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .article-header h1 {
    font-size: 2.2rem;
  }
  
  .section-header {
    font-size: 2rem;
  }
  
  .content-quote p {
    font-size: 1.1rem;
  }
  
  .resources-section {
    padding: 2rem 1.5rem;
  }
}
