/* ===== Art Creativity Carpentry Blog - Professional Style ===== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --cream: #FAF7F2;
  --cream-2: #F5EFE6;
  --cream-3: #EDE4D3;
  --brown: #6B4423;
  --brown-light: #8B6B47;
  --brown-dark: #4A2E15;
  --gold: #C9A86A;
  --gold-light: #DBC084;
  --gold-pale: #F0E5CC;
  --dark: #2C1810;
  --text: #3D2817;
  --text-light: #6B5642;
  --text-muted: #8B7355;
  --green: #4A6741;
  --red: #B85450;
  --border: #E8DDC9;
  --shadow-sm: 0 1px 3px rgba(107, 68, 35, 0.06);
  --shadow: 0 4px 16px rgba(107, 68, 35, 0.08);
  --shadow-lg: 0 12px 40px rgba(107, 68, 35, 0.12);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
}

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

body {
  font-family: 'Tajawal', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon svg { width: 100%; height: 100%; stroke: currentColor; }
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 22px; height: 22px; }
.icon-lg { width: 32px; height: 32px; }

/* Header */
.site-header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--brown);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.whatsapp-btn {
  background: #25D366;
  color: white !important;
  padding: 9px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.whatsapp-btn .icon { width: 16px; height: 16px; }

/* Hero */
.article-hero {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  color: var(--cream);
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(201, 168, 106, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(201, 168, 106, 0.08) 0%, transparent 50%);
}
.hero-content {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--gold-light);
  text-decoration: none;
}
.breadcrumb-sep { opacity: 0.5; }
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 106, 0.18);
  border: 1px solid rgba(201, 168, 106, 0.3);
  color: var(--gold-light);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.category-badge .icon { width: 14px; height: 14px; }
.article-hero h1 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.article-meta-hero {
  display: flex;
  gap: 24px;
  font-size: 14px;
  opacity: 0.85;
  flex-wrap: wrap;
}
.article-meta-hero span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-meta-hero .icon { width: 15px; height: 15px; }

/* Article Body */
.article-container {
  max-width: 860px;
  margin: -50px auto 0;
  padding: 0 24px 60px;
  position: relative;
  z-index: 2;
}
.article-body {
  background: white;
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  font-size: 17px;
  line-height: 1.9;
}
.article-body .lead {
  font-size: 19px;
  color: var(--brown);
  font-weight: 500;
  padding: 24px 28px;
  background: var(--cream-2);
  border-right: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 36px;
  line-height: 1.8;
}
.article-body h2 {
  font-size: 30px;
  color: var(--brown);
  margin: 48px 0 20px;
  position: relative;
  padding-right: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.article-body h2::before {
  content: '';
  position: absolute;
  right: 0;
  top: 10px;
  bottom: 10px;
  width: 5px;
  background: var(--gold);
  border-radius: 3px;
}
.article-body h3 {
  font-size: 22px;
  color: var(--brown-light);
  margin: 32px 0 14px;
  font-weight: 700;
}
.article-body h4 {
  font-size: 18px;
  color: var(--brown);
  margin: 20px 0 10px;
  font-weight: 700;
}
.article-body p {
  margin-bottom: 18px;
  color: var(--text);
}
.article-body ul, .article-body ol {
  padding-right: 28px;
  margin-bottom: 22px;
}
.article-body li { margin: 10px 0; }
.article-body strong { color: var(--brown); font-weight: 700; }
.article-body em {
  font-style: normal;
  background: var(--gold-pale);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--brown-dark);
  font-weight: 500;
}

/* Info Boxes */
.info-box {
  background: var(--cream-2);
  border-right: 3px solid var(--gold);
  padding: 22px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}
.info-box.tip { border-color: var(--green); background: #F0F7EE; }
.info-box.warning { border-color: var(--red); background: #FDF1F0; }
.info-box .box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.info-box .box-header .icon { width: 22px; height: 22px; color: var(--gold); }
.info-box.tip .box-header .icon { color: var(--green); }
.info-box.warning .box-header .icon { color: var(--red); }
.info-box .box-title {
  font-weight: 700;
  color: var(--brown);
  font-size: 16px;
}
.info-box.tip .box-title { color: var(--green); }
.info-box.warning .box-title { color: var(--red); }

/* Tables */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.comparison-table th {
  background: var(--brown);
  color: white;
  padding: 15px 14px;
  text-align: right;
  font-weight: 700;
  font-size: 14px;
}
.comparison-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--cream); }
.check, .cross {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.check { color: var(--green); }
.cross { color: var(--red); }
.check .icon, .cross .icon { width: 16px; height: 16px; }

/* Price Cards */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 32px 0;
}
.price-card {
  background: var(--cream-2);
  padding: 28px 22px;
  border-radius: var(--radius);
  text-align: center;
  border-top: 3px solid var(--gold);
  transition: transform 0.3s, box-shadow 0.3s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.price-card.featured {
  border-color: var(--brown);
  transform: scale(1.04);
  background: white;
  box-shadow: var(--shadow);
}
.price-card .label {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.price-card h4 {
  color: var(--brown);
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
}
.price-card .price {
  font-size: 30px;
  font-weight: 900;
  color: var(--brown-dark);
  margin: 12px 0;
  letter-spacing: -0.5px;
}
.price-card .price small {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.price-card .features {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 14px;
  text-align: right;
  line-height: 1.9;
}

/* Quote */
.quote {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  color: var(--cream);
  padding: 36px 40px;
  border-radius: var(--radius);
  margin: 36px 0;
  text-align: center;
  position: relative;
}
.quote::before {
  content: '"';
  font-size: 100px;
  color: var(--gold);
  position: absolute;
  top: -10px;
  right: 28px;
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.5;
  font-weight: 700;
}
.quote p {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 14px !important;
  color: var(--cream) !important;
  line-height: 1.7;
}
.quote cite {
  font-style: normal;
  color: var(--gold-light);
  font-size: 14px;
  display: block;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, var(--gold) 0%, var(--brown-light) 100%);
  color: white;
  padding: 44px 36px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h3 {
  color: white !important;
  font-size: 28px !important;
  margin-bottom: 12px;
  font-weight: 800;
  margin-top: 0 !important;
  padding-right: 0 !important;
}
.cta-box h3::before { display: none !important; }
.cta-box p {
  margin-bottom: 26px !important;
  color: white !important;
  opacity: 0.95;
  font-size: 16px;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn {
  background: white;
  color: var(--brown);
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.cta-btn.outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}
.cta-btn .icon { width: 18px; height: 18px; }

/* FAQ */
.faq-section { margin: 36px 0; }
.faq-item {
  background: var(--cream-2);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid transparent;
}
.faq-item:hover {
  background: var(--cream-3);
  border-color: var(--gold-pale);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--brown);
  gap: 12px;
  font-size: 16px;
}
.faq-answer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--text);
  display: none;
  line-height: 1.85;
}
.faq-item.open .faq-answer { display: block; }
.faq-toggle {
  width: 24px;
  height: 24px;
  color: var(--gold);
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* Smart Images */
.smart-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brown-light), var(--brown));
  color: var(--gold-light);
}
.smart-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.smart-image.image-loaded { background: none !important; }
.smart-image .placeholder-icon {
  width: 60px;
  height: 60px;
  opacity: 0.7;
}

.article-image-inline {
  margin: 32px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-image-inline .smart-image {
  width: 100%;
  height: 400px;
}
.image-caption {
  background: var(--cream-2);
  padding: 14px 22px;
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
  font-style: italic;
  border-top: 1px solid var(--border);
}

/* TOC */
.toc-box {
  background: var(--cream-2);
  padding: 28px 32px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  border-right: 3px solid var(--brown);
}
.toc-box h3 {
  color: var(--brown);
  margin-bottom: 16px;
  font-size: 19px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toc-box h3 .icon { width: 20px; height: 20px; }
.toc-box ol { padding-right: 22px; }
.toc-box li { margin: 8px 0; line-height: 1.6; }
.toc-box a {
  color: var(--brown-light);
  text-decoration: none;
  font-weight: 500;
}
.toc-box a:hover { color: var(--gold); }

/* Quality Badges */
.quality-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 28px 0;
}
.quality-badge {
  background: white;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.quality-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.quality-badge .icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  flex-shrink: 0;
}
.quality-badge .qb-content { flex: 1; }
.quality-badge .qb-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.quality-badge .qb-value {
  color: var(--brown);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
}

/* Related */
.related-section {
  max-width: 1200px;
  margin: 70px auto 0;
  padding: 0 24px 60px;
}
.related-title {
  text-align: center;
  margin-bottom: 36px;
}
.related-title .label {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.related-title h2 {
  font-size: 30px;
  color: var(--brown);
  margin-top: 6px;
  font-weight: 800;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.related-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.related-card-img {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.related-card-body { padding: 20px 22px; }
.related-card h4 {
  color: var(--brown);
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.5;
  font-weight: 700;
}
.related-card .meta {
  color: var(--text-muted);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.related-card .meta .icon { width: 13px; height: 13px; }

/* Share */
.share-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 36px 0 0;
  padding: 20px 26px;
  background: var(--cream-2);
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.share-section strong {
  color: var(--brown);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.share-section strong .icon { width: 18px; height: 18px; }
.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.2s;
}
.share-btn:hover { transform: scale(1.1); }
.share-btn .icon { width: 18px; height: 18px; color: white; }
.share-btn.wa { background: #25D366; }
.share-btn.tw { background: #1DA1F2; }
.share-btn.fb { background: #1877F2; }
.share-btn.copy { background: var(--brown); }

/* Footer */
.site-footer {
  background: var(--brown-dark);
  color: var(--cream);
  padding: 60px 24px 30px;
  margin-top: 60px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 36px;
}
.footer-section h4 {
  color: var(--gold-light);
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 700;
}
.footer-section ul { list-style: none; }
.footer-section ul li {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-section ul li .icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  flex-shrink: 0;
}
.footer-section a {
  color: var(--cream);
  text-decoration: none;
  opacity: 0.8;
  font-size: 14px;
}
.footer-section a:hover { opacity: 1; color: var(--gold-light); }
.footer-section p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.7;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.social-icons a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.social-icons a:hover { background: var(--gold); }
.social-icons a .icon { width: 18px; height: 18px; color: var(--cream); }

/* Float WhatsApp */
.float-whatsapp {
  position: fixed;
  bottom: 28px;
  left: 28px;
  background: #25D366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 99;
}
.float-whatsapp:hover { transform: scale(1.1); }
.float-whatsapp .icon { width: 28px; height: 28px; color: white; }

/* Responsive */
@media (max-width: 768px) {
  .article-hero { padding: 50px 20px 80px; }
  .article-hero h1 { font-size: 28px; }
  .article-body { padding: 30px 24px; font-size: 16px; }
  .article-body h2 { font-size: 23px; }
  .article-body h3 { font-size: 19px; }
  .article-body .lead { font-size: 17px; padding: 18px 20px; }
  .cta-box { padding: 30px 22px; }
  .cta-box h3 { font-size: 23px !important; }
  .quote { padding: 28px 22px; }
  .quote p { font-size: 16px; }
  .article-image-inline .smart-image { height: 260px; }
  .price-card.featured { transform: none; }
  .article-meta-hero { gap: 14px; font-size: 13px; }
}
