/* Custom CSS for Anatole Theme - Influencer Style */

/* Import modern fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* CSS Variables for consistent theming */
:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --bg-light: #f8f9fa;
  --shadow-light: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-medium: 0 8px 30px rgba(0,0,0,0.12);
  --border-radius: 12px;
}

/* Enhanced typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  line-height: 1.7;
  color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif !important;
  font-weight: 600;
  color: var(--text-primary);
}

/* Enhanced sidebar styling */
.sidebar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
  color: white;
}

.sidebar .sidebar-about h1 {
  color: white !important;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.sidebar .sidebar-about .lead {
  color: rgba(255,255,255,0.9) !important;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Profile picture enhancement */
.sidebar .sidebar-about .profile-picture {
  border: 4px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  box-shadow: var(--shadow-medium);
  transition: transform 0.3s ease;
}

.sidebar .sidebar-about .profile-picture:hover {
  transform: scale(1.05);
}

/* Social icons styling */
.sidebar .sidebar-nav .sidebar-nav-item {
  color: rgba(255,255,255,0.8) !important;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.sidebar .sidebar-nav .sidebar-nav-item:hover {
  color: white !important;
  transform: translateY(-2px);
}

/* Navigation menu enhancement */
.sidebar-nav {
  margin-top: 2rem;
}

.sidebar-nav-item {
  display: block;
  padding: 0.5rem 0;
  color: rgba(255,255,255,0.8) !important;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.sidebar-nav-item:hover,
.sidebar-nav-item.active {
  color: white !important;
  background: rgba(255,255,255,0.1);
  padding-left: 1rem;
  border-radius: 8px;
}

/* Main content area */
.content {
  padding: 2rem;
  max-width: 800px;
}

/* Post styling */
.post {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.post:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.post-title {
  font-size: 2rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.post-title a {
  color: inherit !important;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.post-title a:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Post meta information */
.post-date {
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Tags styling */
.post-tags {
  margin-top: 1.5rem;
}

.post-tags .tag {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
  color: white !important;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-tags .tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Content enhancements */
.content h2 {
  color: var(--text-primary) !important;
  font-weight: 600;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.content h3 {
  color: var(--text-primary) !important;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
}

.content blockquote {
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
}

.content code {
  background: var(--bg-light);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent-color);
}

.content pre {
  background: #2d3748;
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  overflow-x: auto;
  margin: 2rem 0;
}

.content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* Button enhancements */
.btn, button, .button {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
  color: white !important;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover, button:hover, .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  color: white !important;
}

/* Pagination styling */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3rem 0;
  gap: 0.5rem;
}

.pagination a,
.pagination span {
  padding: 0.75rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pagination .current {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Responsive design */
@media (max-width: 768px) {
  .sidebar {
    position: relative;
    width: 100%;
    padding: 1.5rem;
  }
  
  .content {
    padding: 1rem;
  }
  
  .post {
    padding: 1.5rem;
  }
  
  .post-title {
    font-size: 1.5rem !important;
  }
}

/* Animation enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.post {
  animation: fadeInUp 0.6s ease-out;
}

.post:nth-child(2) { animation-delay: 0.1s; }
.post:nth-child(3) { animation-delay: 0.2s; }
.post:nth-child(4) { animation-delay: 0.3s; }

/* Social media feed integration */
.social-feed-container {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 2rem;
  margin: 2rem 0;
}

.social-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-platform {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: all 0.3s ease;
}

.social-platform:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.platform-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}