/* Custom styles for Gübtaş Gübre */

html { scroll-behavior: smooth; }

body { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, rgba(2,94,61,0.92) 0%, rgba(2,94,61,0.82) 50%, rgba(165,205,57,0.75) 100%);
}

/* Text shadow */
.text-shadow { text-shadow: 2px 2px 8px rgba(0,0,0,0.4); }

/* Product card hover */
.product-card {
  transition: all 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(2,94,61,0.15);
}

/* Fade in animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }

/* Prose styling for blog */
.blog-content h2 { font-size: 1.75rem; font-weight: 700; color: #025e3d; margin-top: 2rem; margin-bottom: 1rem; }
.blog-content h3 { font-size: 1.35rem; font-weight: 600; color: #025e3d; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.blog-content p { margin-bottom: 1rem; line-height: 1.8; color: #374151; }
.blog-content ul, .blog-content ol { margin: 1rem 0 1rem 1.5rem; line-height: 1.8; color: #374151; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 0.5rem; }
.blog-content strong { font-weight: 600; color: #025e3d; }

/* Smooth scroll for anchor links */
html { scroll-padding-top: 120px; }

/* Admin table */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: #025e3d; color: white; padding: 0.75rem; text-align: left; font-weight: 600; }
.admin-table td { padding: 0.75rem; border-bottom: 1px solid #e5e7eb; }
.admin-table tr:hover { background: #f9fafb; }

/* Loading spinner */
.spinner {
  border: 3px solid rgba(0,0,0,0.1);
  border-left-color: #025e3d;
  border-radius: 50%;
  width: 40px; height: 40px;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast */
.toast {
  position: fixed; top: 20px; right: 20px; z-index: 9999;
  padding: 1rem 1.5rem; border-radius: 0.5rem;
  background: #025e3d; color: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: slideIn 0.3s ease-out;
}
.toast.error { background: #dc2626; }
.toast.success { background: #025e3d; }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #025e3d; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #1b7857; }
