/* Gübtaş Gübre - Global Styles */

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.container { max-width: 1280px; }

/* Brand gradients */
.bg-brand-gradient {
  background: linear-gradient(135deg, #025e3d 0%, #a5cd39 100%);
}
.text-brand-gradient {
  background: linear-gradient(135deg, #025e3d 0%, #a5cd39 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Custom 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: #a5cd39; }

/* Product card hover */
.product-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(2, 94, 61, 0.3);
}
.product-card .product-image {
  transition: transform 0.4s ease;
}
.product-card:hover .product-image {
  transform: scale(1.05);
}

/* Hero overlay */
.hero-overlay {
  background: linear-gradient(135deg, rgba(2, 94, 61, 0.85) 0%, rgba(2, 94, 61, 0.5) 100%);
}

/* Section divider leaf pattern */
.leaf-pattern {
  background-image: radial-gradient(circle at 25% 25%, rgba(165, 205, 57, 0.08) 1px, transparent 2px),
                    radial-gradient(circle at 75% 75%, rgba(2, 94, 61, 0.08) 1px, transparent 2px);
  background-size: 40px 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-size: 0.95rem;
}
.btn-primary {
  background: #025e3d;
  color: white;
}
.btn-primary:hover {
  background: #014a30;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(2, 94, 61, 0.5);
}
.btn-secondary {
  background: #a5cd39;
  color: #025e3d;
}
.btn-secondary:hover {
  background: #8fb82e;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: #025e3d;
  border: 2px solid #025e3d;
}
.btn-outline:hover {
  background: #025e3d;
  color: white;
}

/* Section title */
.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: #025e3d;
  margin-bottom: 0.5rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #025e3d, #a5cd39);
  border-radius: 2px;
  margin-top: 0.75rem;
}
.section-title.centered { text-align: center; }
.section-title.centered::after { margin-left: auto; margin-right: auto; }

/* Blog prose */
.prose h2 { color: #025e3d; font-family: 'Poppins'; font-weight: 700; font-size: 1.5rem; margin: 1.5rem 0 0.75rem; }
.prose p { margin: 0.75rem 0; line-height: 1.8; color: #374151; }
.prose strong { color: #025e3d; font-weight: 700; }
.prose ul { padding-left: 1.5rem; margin: 0.75rem 0; list-style: disc; }
.prose li { margin: 0.4rem 0; }
.prose a { color: #025e3d; text-decoration: underline; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-green { background: rgba(165, 205, 57, 0.2); color: #025e3d; }
.badge-dark { background: #025e3d; color: white; }

/* Form inputs */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}
.form-input:focus {
  border-color: #025e3d;
  box-shadow: 0 0 0 3px rgba(2, 94, 61, 0.1);
}
.form-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

/* Admin sidebar */
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: #d1d5db;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.admin-nav-link:hover {
  background: rgba(165, 205, 57, 0.15);
  color: #a5cd39;
}
.admin-nav-link.active {
  background: #a5cd39;
  color: #025e3d;
  font-weight: 600;
}

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

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  color: white;
  font-weight: 500;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.3s ease-out;
}
.toast-success { background: #025e3d; }
.toast-error { background: #dc2626; }
.toast-info { background: #2563eb; }

/* Image fallback */
.product-image-wrap {
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Category chip */
.chip {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(165, 205, 57, 0.2);
  color: #025e3d;
  border-radius: 9999px;
}

/* Star rating */
.stars i { color: #fbbf24; }

/* Testimonial card */
.testimonial-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 5rem;
  color: #a5cd39;
  opacity: 0.3;
  line-height: 1;
}

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.data-table th {
  background: #025e3d;
  color: white;
  text-align: left;
  padding: 0.9rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
}
.data-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.9rem;
}
.data-table tr:hover td {
  background: #f9fafb;
}
.data-table tr:last-child td { border-bottom: none; }

/* Status tags */
.tag-pending { background: #fef3c7; color: #92400e; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tag-paid { background: #d1fae5; color: #065f46; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tag-failed { background: #fee2e2; color: #991b1b; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tag-shipped { background: #dbeafe; color: #1e40af; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tag-delivered { background: #d1fae5; color: #065f46; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tag-cancelled { background: #fee2e2; color: #991b1b; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tag-confirmed { background: #e0e7ff; color: #3730a3; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }

/* Print */
@media print {
  header, footer, .no-print { display: none !important; }
}
