/* ============================================================
   Batman Geçit Soğutma — Utility CSS (Tailwind CDN Replacement)
   Tüm Tailwind sınıfları statik CSS olarak derlendi.
   ============================================================ */

/* --- CSS Reset / Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Design Tokens (Brand + Accent Colors) --- */
:root {
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-900: #1e3a8a;
  --accent-400: #34d399;
  --accent-500: #10b981;
  --accent-600: #059669;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

/* --- Layout Utilities --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }

/* Alignment */
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Gap */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Grid Columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Max Width + Centering */
.max-w-6xl { max-width: 72rem; }
.max-w-180 { max-width: 180px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-2 { width: 0.5rem; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-full { height: 100%; }
.aspect-square { aspect-ratio: 1 / 1; }

/* --- Spacing (Padding & Margin) --- */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-16 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mr-0\.5 { margin-right: 0.125rem; }
.ml-0\.5 { margin-left: 0.125rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }

/* --- Typography --- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.text-\[15px\] { font-size: 15px; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; box-orient: vertical; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.line-clamp-3 { overflow: hidden; display: -webkit-box; box-orient: vertical; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* --- Colors --- */
.text-white { color: #ffffff; }
.text-gray-100 { color: var(--gray-100); }
.text-gray-300 { color: var(--gray-300); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-800 { color: var(--gray-800); }
.text-gray-900 { color: var(--gray-900); }
.text-brand-100 { color: var(--brand-100); }
.text-brand-400 { color: var(--brand-400); }
.text-brand-500 { color: var(--brand-500); }
.text-brand-600 { color: var(--brand-600); }
.text-brand-700 { color: var(--brand-700); }
.text-brand-800 { color: var(--brand-800); }
.text-yellow-400 { color: #facc15; }
.text-green-700 { color: #15803d; }

.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-900 { background-color: var(--gray-900); }
.bg-dark-gray { background-color: #1f2937; }
.bg-brand-50 { background-color: var(--brand-50); }
.bg-brand-600 { background-color: var(--brand-600); }
.bg-brand-700 { background-color: var(--brand-700); }
.bg-brand-800 { background-color: var(--brand-800); }
.bg-accent-500 { background-color: var(--accent-500); }
.bg-accent-600 { background-color: var(--accent-600); }
.bg-green-50 { background-color: #f0fdf4; }

/* --- Borders --- */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-gray-100 { border-color: var(--gray-100); }
.border-gray-200 { border-color: var(--gray-200); }
.border-gray-800 { border-color: #1f2937; }
.border-brand-100 { border-color: var(--brand-100); }
.border-brand-200 { border-color: var(--brand-200); }
.border-green-200 { border-color: #bbf7d0; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* --- Effects --- */
.shadow { box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
.shadow-custom-btn { box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.drop-shadow-sm { filter: drop-shadow(0 1px 1px rgba(0,0,0,.05)); }
.opacity-75 { opacity: 0.75; }
.opacity-10 { opacity: 0.1; }
.opacity-100 { opacity: 1; }
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }

/* --- Positioning --- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-40p { top: 40%; }
.bottom-4 { bottom: 1rem; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.-translate-y-1\/2 { transform: translateY(-50%); }

/* --- Object Fit --- */
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.mix-blend-multiply { mix-blend-mode: multiply; }
.brightness-0 { filter: brightness(0); }
.invert { filter: invert(1); }
.brightness-0.invert { filter: brightness(0) invert(1); }

/* --- Transitions --- */
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.ease-in-out { transition-timing-function: cubic-bezier(.4,0,.2,1); }
.touch-pan-y { touch-action: pan-y; }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* --- Animations --- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.animate-pulse-slow { animation: pulse 2.5s cubic-bezier(.4,0,.6,1) infinite; }

/* --- Hover States --- */
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-brand-400:hover { color: var(--brand-400); }
.hover\:text-brand-600:hover { color: var(--brand-600); }
.hover\:text-accent-400:hover { color: var(--accent-400); }
.hover\:bg-gray-100:hover { background-color: var(--gray-100); }
.hover\:bg-brand-50:hover { background-color: var(--brand-50); }
.hover\:bg-brand-700:hover { background-color: var(--brand-700); }
.hover\:bg-accent-400:hover { background-color: var(--accent-400); }
.hover\:bg-accent-600:hover { background-color: var(--accent-600); }
.hover\:border-brand-200:hover { border-color: var(--brand-200); }
.hover\:border-brand-600:hover { border-color: var(--brand-600); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:translate-x-1:hover { transform: translateX(0.25rem); }
.group:hover .group-hover\:opacity-80 { opacity: 0.8; }
.group:hover .group-hover\:text-brand-600 { color: var(--brand-600); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }

/* --- Focus States --- */
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--brand-500); }

/* --- Gradient Utility (Hardcoded for browser compatibility) --- */
.bg-gradient-to-r.from-brand-700.to-brand-600 { background-image: linear-gradient(to right, var(--brand-700), var(--brand-600)); }
.bg-gradient-to-r.from-brand-800.to-brand-600 { background-image: linear-gradient(to right, var(--brand-800), var(--brand-600)); }

/* --- Nav Link Active --- */
.nav-link-active { color: var(--brand-600); font-weight: 700; }

/* --- Mobile Menu --- */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0; opacity: 0; overflow: hidden;
}
#mobile-menu.open { max-height: 500px; opacity: 1; }

/* --- Counter Animation --- */
.num-counter { display: inline-block; }

/* --- White Background for Cards --- */
.bg-white\/95 { background-color: rgba(255,255,255,0.95); }

/* ============================================================
   Responsive Breakpoints
   ============================================================ */

/* --- sm: 640px+ --- */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:gap-8 { gap: 2rem; }
  .sm\:flex-row { flex-direction: row; }
}

/* --- md: 768px+ --- */
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:text-center { text-align: center; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .md\:text-xs { font-size: 0.75rem; line-height: 1rem; }
  .md\:w-1\/2 { width: 50%; }
  .md\:w-6 { width: 1.5rem; }
  .md\:h-6 { height: 1.5rem; }
  .md\:w-12 { width: 3rem; }
  .md\:h-12 { height: 3rem; }
  .md\:p-14 { padding: 3.5rem; }
  .md\:px-14 { padding-left: 3.5rem; padding-right: 3.5rem; }
  .md\:mr-1 { margin-right: 0.25rem; }
  .md\:ml-1 { margin-left: 0.25rem; }
  .md\:top-45p { top: 45%; }
  .md\:justify-center { justify-content: center; }
  .md\:gap-2 { gap: 0.5rem; }
}

/* --- lg: 1024px+ --- */
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:w-1\/3 { width: 33.333333%; }
}

/* --- xl: 1280px+ --- */
@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============================================================
   Page-Specific: iletisim.php, hakkimizda.php, sss.php, hizmetlerimiz.php
   ============================================================ */
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.min-h-screen { min-height: 100vh; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.w-8 { width: 2rem; }
.w-16 { width: 4rem; }
.h-8 { height: 2rem; }
.h-16 { height: 4rem; }
.text-brand-900 { color: var(--brand-900); }
.bg-brand-100 { background-color: var(--brand-100); }
.border-brand-500 { border-color: var(--brand-500); }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.whitespace-nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* --- Inline SVG Fixes --- */
svg { display: inline-block; vertical-align: middle; }
a svg, button svg, span svg { display: inline-block; }

/* --- Additional Utilities for Subpages --- */
.gap-5 { gap: 1.25rem; }
.p-7 { padding: 1.75rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mb-5 { margin-bottom: 1.25rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.w-full { width: 100%; }
.h-auto { height: auto; }
.bg-brand-50\/50 { background-color: rgba(239,246,255,.5); }
.hover\:bg-brand-50:hover { background-color: var(--brand-50); }
.border-brand-600 { border-color: var(--brand-600); }
.sm\:flex-row { flex-direction: row; }

@media (min-width: 640px) {
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
}

/* --- Additional Missing Utilities (Grid Span, Colors, etc.) --- */

/* Grid Column Spanning (critical for subpage layouts) */
.col-span-2 { grid-column: span 2 / span 2; }

/* Yellow color family */
.bg-yellow-50 { background-color: #fefce8; }
.bg-yellow-100 { background-color: #fef9c3; }
.border-yellow-200 { border-color: #fef08a; }
.text-yellow-600 { color: #ca8a04; }
.text-yellow-800 { color: #854d0e; }

/* Red color family */
.bg-red-100 { background-color: #fee2e2; }
.text-red-600 { color: #dc2626; }

/* Green color family (additional) */
.text-green-100 { color: #dcfce7; }

/* Accent color extras */
.bg-accent-400\/20 { background-color: rgba(52, 211, 153, 0.2); }
.text-accent-600 { color: var(--accent-600); }
.text-accent-700 { color: #047857; }
.hover\:text-accent-700:hover { color: #047857; }
.hover\:text-brand-800:hover { color: var(--brand-800); }

/* Ring utilities (used in FAQ accordion) */
.ring-2 { box-shadow: 0 0 0 2px var(--brand-100); }
.ring-brand-100 { --tw-ring-color: var(--brand-100); }

/* Spacing extras */
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.h-1\.5 { height: 0.375rem; }
.w-20 { width: 5rem; }
.p-1\.5 { padding: 0.375rem; }
.p-12 { padding: 3rem; }

/* Max-height for FAQ accordion */
.max-h-0 { max-height: 0; }

/* Text justify */
.text-justify { text-align: justify; }

/* Shadow-md (used in FAQ active state) */
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }

@media (min-width: 768px) {
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:text-justify { text-align: justify; }
  .md\:p-12 { padding: 3rem; }
}
