/*
 * Necox — Tailwind Utility CSS
 * Build komutu: npx tailwindcss -i ./src/input.css -o ./assets/css/tailwind.css --minify
 * Bu dosya build edilene kadar elle yazilmis utility siniflardir.
 *
 * @package Necox
 * @since   2.0.0
 */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Container ── */
.necox-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .necox-container { padding: 0 24px; } }

/* ── Grid Utilities ── */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

/* ── Flex Utilities ── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }

/* ── Spacing ── */
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }

/* ── Typography ── */
.text-xs { font-size: 12px; }
.text-sm { font-size: 13px; }
.text-base { font-size: 14px; }
.text-lg { font-size: 16px; }
.text-xl { font-size: 18px; }
.text-2xl { font-size: 22px; }
.text-3xl { font-size: 28px; }
.text-4xl { font-size: 36px; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.4; }
.leading-relaxed { line-height: 1.7; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Colors ── */
.text-primary { color: var(--necox-primary, #00a591); }
.text-heading { color: #1d2327; }
.text-body { color: #484848; }
.text-muted { color: #8c8f94; }
.text-danger { color: #d54b4f; }
.text-white { color: #fff; }
.bg-primary { background: var(--necox-primary, #00a591); }
.bg-primary-light { background: #e6f7f4; }
.bg-white { background: #fff; }
.bg-gray-50 { background: #f9fafb; }
.bg-gray-100 { background: #f0f0f1; }
.bg-dark { background: #374252; }
.bg-darker { background: #2d323e; }

/* ── Borders & Radius ── */
.border { border: 1px solid #e0e0e0; }
.border-t { border-top: 1px solid #e0e0e0; }
.border-b { border-bottom: 1px solid #e0e0e0; }
.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-xl { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }

/* ── Shadows ── */
.shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.shadow { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.shadow-lg { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 16px 40px rgba(0,0,0,0.12); }

/* ── Display ── */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }

/* ── Transitions ── */
.transition { transition: all 0.2s ease; }
.transition-colors { transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.hover\:shadow-lg:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.hover\:translate-y:hover { transform: translateY(-2px); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .md\:hidden { display: none; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) {
    .md\:grid-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:grid-4 { grid-template-columns: repeat(4, 1fr); }
    .sm\:hidden { display: none; }
}
@media (min-width: 1024px) {
    .lg\:grid-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-4 { grid-template-columns: repeat(4, 1fr); }
}
