@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #D32719;
  --primary-dark: #B01F14;
  --primary-light: #E84339;
  --dark: #0F0F0F;
  --dark-lighter: #1A1A1A;
  --dark-card: #242424;
  --header-bg: #6B2D2D; /* bordo */
}
.site-header-bg { background-color: var(--header-bg); }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--dark);
  color: #ffffff;
  line-height: 1.6;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-lighter); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }
::selection { background: var(--primary); color: white; }
a { color: inherit; text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem; font-weight: 600; border-radius: 0.5rem;
  transition: all 0.3s;
}
.btn-primary { background: var(--primary); color: white; border: none; }
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-outline {
  border: 2px solid var(--primary); color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: white; }

.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.container-custom { max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container-custom { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container-custom { padding-left: 2rem; padding-right: 2rem; } }

.card {
  background: var(--dark-card); border-radius: 0.75rem; padding: 1.5rem;
  transition: all 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(211, 39, 25, 0.1);
}

.form-input {
  width: 100%; padding: 0.75rem 1rem; background: var(--dark-lighter);
  border: 1px solid #374151; border-radius: 0.5rem; color: white;
}
.form-input::placeholder { color: #6b7280; }
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: #d1d5db; margin-bottom: 0.5rem; }

.gradient-text { background: linear-gradient(to right, var(--primary), var(--primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.animated-underline { position: relative; }
.animated-underline::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: width 0.3s ease;
}
.animated-underline:hover::after { width: 100%; }

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-scroll { animation: scroll 20s linear infinite; }

.timeline-line { position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: #374151; transform: translateY(-50%); }
.timeline-dot { width: 1rem; height: 1rem; border-radius: 9999px; background: var(--primary); position: absolute; top: 50%; transform: translateY(-50%); }

.admin-sidebar { position: fixed; left: 0; top: 0; height: 100%; width: 16rem; background: var(--dark-lighter); border-right: 1px solid #1f2937; }
.admin-content { margin-left: 16rem; padding: 2rem; }
.admin-card { background: var(--dark-card); border-radius: 0.75rem; padding: 1.5rem; border: 1px solid #1f2937; }
.admin-table { width: 100%; text-align: left; }
.admin-table th { padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 600; color: #9ca3af; border-bottom: 1px solid #374151; }
.admin-table td { padding: 1rem; border-bottom: 1px solid #1f2937; }
.admin-table tr:hover td { background: var(--dark-lighter); }

.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--dark), rgba(15,15,15,0.8), transparent); }

.page-transition { animation: fadeSlideUp 0.5s ease-out; }
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 768px) {
  .admin-sidebar { width: 100%; height: auto; position: relative; }
  .admin-content { margin-left: 0; }
}

.prose-invert h1 { color: white; }
.prose-invert h2 { color: white; }
.prose-invert h3 { color: white; }
.prose-invert p { color: #9ca3af; }

/* Çerez bildirimi */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem 1.5rem;
  background: var(--dark-card);
  border-top: 1px solid #374151;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}
.cookie-consent.is-visible { display: block; }
.cookie-consent-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-consent-text {
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: 0.9375rem;
  color: #d1d5db;
  line-height: 1.5;
}
.cookie-consent-link { color: var(--primary); text-decoration: underline; }
.cookie-consent-link:hover { color: var(--primary-light); }
.cookie-consent-buttons { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-consent-buttons .cookie-btn { font-size: 0.875rem; padding: 0.5rem 1rem; }
