/* MIDC Property Blog Styles */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #0ea5e9;
  --primary-600: #0284c7;
  --primary-50: #f0f9ff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text: #0f172a;
  --text-secondary: #475569;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 12px;
  --container-width: 1200px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.blog-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
}

.logo img {
  height: 35px;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
}

.logo-text strong {
  color: var(--primary);
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--primary);
}

.header-search {
  display: flex;
  gap: 0.25rem;
}

.header-search input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.875rem;
  width: 150px;
}

.header-search button {
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0ea5e9 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: radial-gradient(circle at 30% 70%, rgba(14, 165, 233, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
  animation: heroPulse 15s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Blog Posts */
.blog-posts {
  padding: 3rem 0;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.post-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.post-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-50);
}

.post-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.post-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.post-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.post-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Main Content Layout */
.main-content {
  padding: 2rem 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.sidebar-widget h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.sidebar-widget .category-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.sidebar-widget .category-list li {
  position: relative;
  padding-left: 1rem;
}

.sidebar-widget .category-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.sidebar-widget .category-list a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.95rem;
}

.sidebar-widget .category-list a:hover {
  text-decoration: underline;
}

.popular-posts-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.popular-posts-list li {
  position: relative;
  padding-left: 1rem;
}

.popular-posts-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.8rem;
}

.popular-posts-list a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.95rem;
}

.popular-posts-list a:hover {
  text-decoration: underline;
}

/* Newsletter Widget */
.newsletter-widget p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-form input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-50);
}

.newsletter-form .btn-block {
  width: 100%;
}

.newsletter-widget small {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  min-height: 1.2rem;
}

.success-message {
  color: var(--success);
}

.error-message {
  color: var(--danger);
}

/* Our Network Section */
.our-network {
  background: var(--bg);
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.our-network .section-title {
  text-align: center;
  display: block;
  margin-bottom: 2rem;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.network-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.network-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.network-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-50);
}

.network-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.network-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
}

.network-icon.designo {
  background: #ffffff;
  border: 2px solid #fef3c7;
}

.network-icon.facility {
  background: #ffffff;
  border: 2px solid #dbeafe;
}

.network-icon.engineering {
  background: #ffffff;
  border: 2px solid #fee2e2;
}

.network-card h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.network-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.875rem;
}

.network-url svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.post-card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.25rem 0.5rem;
  background: var(--bg);
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Loading */
.loading {
  text-align: center;
  padding: 3rem;
  color: var(--muted);
  font-size: 1.125rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.pagination button:hover,
.pagination button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Article Page */
.blog-article {
  padding: 2rem 0;
}

.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 0.5rem;
}

.article-header {
  margin-bottom: 2rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.category {
  color: var(--primary);
  font-weight: 600;
}

.reading-time {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.reading-time::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--muted);
  border-radius: 50%;
}

.article-header h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.excerpt {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.featured-image {
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2,
.article-content h3 {
  margin: 2rem 0 1rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content a {
  color: var(--primary);
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tags .tag {
  padding: 0.5rem 1rem;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.tags .tag:hover {
  background: var(--primary);
  color: white;
}

.share {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.share a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.back-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.related-posts {
  margin-top: 3rem;
}

.related-posts h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Back to Main Section */
.back-to-main {
  background: var(--primary-50);
  padding: 2rem 0;
  text-align: center;
}

.back-to-main p {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-600);
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg);
}

.btn-block {
  width: 100%;
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--border) 25%,
    #f0f0f0 50%,
    var(--border) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.skeleton-image {
  height: 200px;
  background: var(--border);
}

.skeleton-content {
  padding: 1.5rem;
}

.skeleton-title {
  height: 24px;
  margin-bottom: 1rem;
}

.skeleton-text {
  height: 16px;
  margin-bottom: 0.5rem;
}

.skeleton-text:last-child {
  width: 60%;
}

/* Fade In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.post-card {
  animation: fadeInUp 0.4s ease-out;
}

/* Footer */
.blog-footer {
  background: var(--text);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

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

.footer-contact p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .sidebar-widget {
    flex: 1;
    min-width: 250px;
  }
  
  .network-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .header-search {
    display: none;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .network-grid {
    grid-template-columns: 1fr;
  }
  
  .article-header h1 {
    font-size: 1.75rem;
  }
  
  .back-nav {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .sidebar {
    flex-direction: column;
  }
  
  /* Responsive post enhancements */
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .author-links {
    justify-content: center;
  }
  
  .author-contact {
    justify-content: center;
  }
  
  .contact-btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
  
  .post-navigation {
    grid-template-columns: 1fr;
  }
  
  .post-navigation a.nav-next {
    text-align: left;
  }
  
  .floating-actions {
    bottom: 1rem;
    right: 1rem;
  }
  
  .fab {
    width: 44px;
    height: 44px;
  }
  
  .toc-container {
    padding: 1rem;
  }
}

/* Error/Empty States */
.empty-state,
.error-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state h3,
.error-state h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.empty-state p,
.error-state p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Reading Progress Bar */
.progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(14, 165, 233, 0.1);
  z-index: 1001;
}

.progress-bar {
  height: 100%;
  background: var(--primary);
  width: 0%;
  transition: width 0.1s;
}

/* Table of Contents */
.toc-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.toc-container h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toc-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
  font-size: 0.9375rem;
  transition: all 0.2s;
}

.toc-nav a:hover {
  color: var(--primary);
  border-left-color: var(--primary);
  padding-left: 1.25rem;
}

.toc-nav a.toc-h2 {
  font-weight: 500;
}

.toc-nav a.toc-h3 {
  padding-left: 1.5rem;
  font-size: 0.875rem;
}

/* Author Bio */
.author-bio {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 3rem 0;
  display: flex;
  gap: 1rem;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.author-info h4 span {
  color: var(--primary);
}

.author-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.author-links {
  display: flex;
  gap: 1rem;
}

.author-links a {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.author-links a:hover {
  text-decoration: underline;
}

/* Property Consultant Bio - Enhanced */
.author-bio.property-consultant {
  background: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 100%);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
}

.author-bio.property-consultant .author-avatar img {
  width: 90px;
  height: 90px;
  border: 3px solid var(--primary);
}

.author-bio.property-consultant .author-info h4 {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-bio.property-consultant .author-info h4 svg {
  flex-shrink: 0;
}

.author-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.contact-btn svg {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.contact-btn.phone {
  background: #10b981;
  color: white;
}

.contact-btn.phone:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.contact-btn.whatsapp {
  background: #25d366;
  color: white;
}

.contact-btn.whatsapp:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.contact-btn.email {
  background: #3b82f6;
  color: white;
}

.contact-btn.email:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.property-cta {
  margin-top: 1rem;
}

.property-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}

.property-cta .btn-primary svg {
  flex-shrink: 0;
}

.property-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
}

/* Share Section */
.share-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.share-section span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-btn svg {
  width: 20px;
  height: 20px;
}

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

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

.share-btn.whatsapp {
  background: #25D366;
  color: white;
}

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

.share-btn.copy {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.share-btn.copy:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.post-navigation a {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.post-navigation a:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.post-navigation a.nav-prev {
  text-align: left;
}

.post-navigation a.nav-next {
  text-align: right;
}

.nav-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.nav-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.post-navigation a:hover .nav-title {
  color: var(--primary);
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 100;
}

.fab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text);
}

.fab:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.1);
}

.fab svg {
  width: 20px;
  height: 20px;
}

#backToTopBtn {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

#backToTopBtn.visible {
  opacity: 1;
  visibility: visible;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 1002;
  opacity: 0;
  transition: all 0.3s;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Print Styles */
@media print {
  .blog-header,
  .floating-actions,
  .progress-bar-container,
  .toc-container,
  .share-section,
  .post-navigation,
  .related-posts,
  .blog-footer,
  .back-nav {
    display: none !important;
  }
  
  .blog-article {
    padding: 0;
  }
  
  .article-content {
    font-size: 12pt;
    line-height: 1.6;
  }
  
  .author-bio {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
}
