/* static/css/base.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
}

html {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

main {
  flex: 1;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Cards */
.card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Post Content */
.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2d3748;
}

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

/* Like Button Animation */
.like-btn {
  transition: all 0.3s ease;
}

.like-btn:hover {
  transform: scale(1.1);
}

.like-btn.liked {
  color: var(--danger-color);
}

/* Comments */
.comment-item {
  transition: background-color 0.2s ease;
}

.comment-item:hover {
  background-color: var(--light-color);
}

/* Navigation */
.navbar-brand {
  font-size: 1.5rem;
}

/* Social Links */
.social-links a {
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color) !important;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 0;
}

/* Badges */
.badge {
  font-size: 0.75em;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: 3rem 1.5rem !important;
  }

  .display-5 {
    font-size: 2rem;
  }

  .card-body {
    padding: 1.5rem !important;
  }
}

/* Loading Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.post-card {
  animation: fadeIn 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}