@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Georgia:wght@400;700&display=swap');

:root {
  --primary: #e63203;
  --secondary: #000000;
  --accent: #ff6b35;
  --light: #1a1a1a;
}

body {
  background: #000000;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
}

/* Blog Card Styles */
.blog-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(230, 98, 3, 0.2);
}

.blog-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(230, 98, 3, 0.4);
  border-color: rgba(230, 98, 3, 0.6);
}

.category-tag {
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.category-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 98, 3, 0.5);
}

.read-more-btn {
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.read-more-btn:hover {
  background-color: var(--primary);
  color: white;
}

/* Animation Styles */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Mobile Menu Styles */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.mobile-menu.open {
  max-height: 500px;
}

.hamburger {
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Typography for Blog Content */
.prose h1, .prose h2, .prose h3, .prose h4 {
  color: #ffffff;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.prose h2 { 
  font-size: 1.75rem; 
}

.prose h3 { 
  font-size: 1.5rem; 
}

.prose p { 
  margin-bottom: 1.25em; 
  line-height: 1.8; 
  font-family: 'Georgia', serif; 
  font-size: 1.1rem;
  color: #e0e0e0;
}

.prose ul, .prose ol { 
  margin-bottom: 1.25em; 
  padding-left: 1.5em; 
  list-style-type: disc; 
}

.prose li { 
  margin-bottom: 0.5em; 
  font-family: 'Georgia', serif; 
}

.prose a { 
  color: var(--primary); 
  text-decoration: underline; 
}

.prose blockquote { 
  border-left: 4px solid var(--primary); 
  padding-left: 1em; 
  font-style: italic; 
  color: #b0b0b0; 
}

.prose img { 
  max-width: 100%; 
  height: auto; 
  border-radius: 0.5rem; 
  margin: 2em 0; 
}

/* Pagination Styles */
.pagination-btn {
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(.disabled) {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination-btn.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Loading Spinner */
.loading-spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Search Highlight */
.search-highlight {
  background-color: yellow;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .prose p {
    font-size: 1rem;
  }
  
  .prose h2 {
    font-size: 1.5rem;
  }
  
  .prose h3 {
    font-size: 1.25rem;
  }
}
