/*
  pages.css — Styles for subpages (services, blog, landing pages)
  Uses the same palette as templatemo-art-factory.css:
  Primary: #0088e8, Secondary: #00b4c6, CTA: #f55858
  Dark: #1e1e1e, Body text: #4a4a4a, Light bg: #f7f7f7
*/

/* =============================================
   Page Hero (shorter than homepage)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, #0088e8 0%, #00b4c6 100%);
  padding: 140px 0 60px;
  text-align: center;
}

.page-hero,
.page-hero h1,
.page-hero p {
  color: #fff;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.9;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .page-hero {
    padding: 120px 0 40px;
  }
  .page-hero h1 {
    font-size: 28px;
  }
  .page-hero p {
    font-size: 16px;
  }
}

/* =============================================
   Breadcrumbs
   ============================================= */
.breadcrumb-nav {
  background: #f7f7f7;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.breadcrumb-nav ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
}

.breadcrumb-nav ol li {
  color: #4a4a4a;
}

.breadcrumb-nav ol li + li::before {
  content: "›";
  margin: 0 8px;
  color: #999;
}

.breadcrumb-nav ol li a {
  color: #0088e8;
  text-decoration: none;
}

.breadcrumb-nav ol li a:hover {
  text-decoration: underline;
}

.breadcrumb-nav ol li.active {
  color: #999;
}

/* =============================================
   Page Content
   ============================================= */
.page-content {
  padding: 60px 0 80px;
}

.page-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e1e1e;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1e1e1e;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 20px;
  text-align: justify;
}

.page-content ul,
.page-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-content li {
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 8px;
  text-align: justify;
}

.service-feature-item p,
.accordion-body p {
  text-align: justify;
}

/* =============================================
   CTA Box (inline in content)
   ============================================= */
.cta-box {
  background: linear-gradient(135deg, #0088e8 0%, #00b4c6 100%);
  border-radius: 8px;
  padding: 30px 35px;
  margin: 40px 0;
  color: #fff;
  text-align: center;
}

.cta-box h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 20px;
}

.cta-box .btn-cta {
  display: inline-block;
  background: #f55858;
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-box .btn-cta:hover {
  background: #e04444;
}

/* =============================================
   Sidebar
   ============================================= */
.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
}

.sidebar-widget h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0088e8;
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget ul li {
  margin-bottom: 10px;
}

.sidebar-widget ul li a {
  color: #4a4a4a;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.sidebar-widget ul li a:hover {
  color: #0088e8;
}

/* Sidebar CTA widget */
.sidebar-cta {
  background: linear-gradient(135deg, #0088e8 0%, #00b4c6 100%);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  text-align: center;
  color: #fff;
}

.sidebar-cta h4 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-bottom: 15px;
}

.sidebar-cta .btn-cta {
  display: inline-block;
  background: #f55858;
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.sidebar-cta .btn-cta:hover {
  background: #e04444;
}

/* =============================================
   Table of Contents
   ============================================= */
.toc {
  background: #f7f7f7;
  border-left: 3px solid #0088e8;
  border-radius: 0 8px 8px 0;
  padding: 20px 25px;
  margin-bottom: 25px;
}

.toc h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 12px;
}

.toc ol {
  list-style: decimal;
  padding-left: 20px;
  margin: 0;
}

.toc ol li {
  margin-bottom: 6px;
}

.toc ol li a {
  color: #0088e8;
  text-decoration: none;
  font-size: 14px;
}

.toc ol li a:hover {
  text-decoration: underline;
}

/* =============================================
   Blog Cards
   ============================================= */
.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

.blog-card-body {
  padding: 20px;
}

.blog-card-body .badge {
  display: inline-block;
  background: #0088e8;
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-card-body h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body h2 a {
  color: #1e1e1e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-body h2 a:hover {
  color: #0088e8;
}

.blog-card-body .excerpt {
  color: #4a4a4a;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog-card-body .meta {
  font-size: 13px;
  color: #999;
}

.blog-card-body .read-more {
  color: #0088e8;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.blog-card-body .read-more:hover {
  text-decoration: underline;
}

/* =============================================
   Article Typography
   ============================================= */
.article-meta {
  font-size: 14px;
  color: #999;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.article-meta span + span::before {
  content: "·";
  margin: 0 10px;
}

.article-content blockquote {
  border-left: 4px solid #0088e8;
  background: #f7f7f7;
  padding: 20px 25px;
  margin: 25px 0;
  font-style: italic;
  color: #4a4a4a;
}

.article-content code {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 14px;
}

.article-content pre {
  background: #1e1e1e;
  color: #f0f0f0;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 25px 0;
}

.article-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* =============================================
   Author Bio
   ============================================= */
.author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 25px;
  margin: 40px 0;
}

.author-bio img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-bio-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 5px;
}

.author-bio-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0;
}

@media (max-width: 575px) {
  .author-bio {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* =============================================
   Related Articles
   ============================================= */
.related-articles {
  padding: 40px 0;
  border-top: 1px solid #eee;
  margin-top: 40px;
}

.related-articles h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 25px;
}

/* =============================================
   FAQ Section (reuses accordion from custom.js)
   ============================================= */
.page-faq {
  background: #f7f7f7;
  padding: 60px 0;
  margin-top: 40px;
}

.page-faq h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* =============================================
   Service Page Specifics
   ============================================= */
.service-features {
  margin: 30px 0;
}

.service-feature-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.service-feature-item i {
  color: #0088e8;
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-feature-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 5px;
}

.service-feature-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0;
}

/* =============================================
   Lead Magnet Form
   ============================================= */
.lead-form {
  background: #fff;
  border: 2px solid #0088e8;
  border-radius: 8px;
  padding: 30px;
  margin: 30px 0;
}

.lead-form h3 {
  font-size: 20px;
  color: #1e1e1e;
  margin-bottom: 15px;
}

.lead-form input[type="text"],
.lead-form input[type="email"] {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 15px;
  margin-bottom: 12px;
  transition: border-color 0.3s ease;
}

.lead-form input:focus {
  border-color: #0088e8;
  outline: none;
}

.lead-form button {
  display: block;
  width: 100%;
  background: #f55858;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lead-form button:hover {
  background: #e04444;
}

/* =============================================
   Final CTA Section
   ============================================= */
.final-cta {
  background: linear-gradient(135deg, #0088e8 0%, #00b4c6 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}

.final-cta h2 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 15px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .btn-cta {
  display: inline-block;
  background: #f55858;
  color: #fff;
  padding: 14px 35px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease;
}

.final-cta .btn-cta:hover {
  background: #e04444;
}

@media (max-width: 767px) {
  .final-cta h2 {
    font-size: 26px;
  }
  .final-cta p {
    font-size: 16px;
  }
}
