/* global.css — orijinal src/assets/css/global.css (birebir) */

:root {
  --primary: #0077b6;
  --primary-light: #00b4d8;
  --secondary: #1a1a2e;
  --bg: #f8fafc;
  --text: #374151;
  --text-light: #6b7280;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--secondary);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

main {
  min-height: calc(100vh - 400px); /* header/footer approx */
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.sec-title {
  text-align: center;
  margin-bottom: 48px;
}

.sec-title h2 {
  font-size: 32px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.sec-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
  color: white;
}

/* Quill Editor Fixes (admin Quill içeriği render edilirken aynı görünüm) */
.ql-editor {
  min-height: 200px;
  font-family: 'Inter', sans-serif;
}

/* İçeriğin (sayfa/ürün/haber açıklaması) HTML çıktısı için ek düzeltmeler */
.ql-editor img {
  max-width: 100%;
  height: auto;
}

.ql-editor p {
  margin-bottom: 12px;
}

/* Arapça (rtl) desteği */
html[dir="rtl"] .ql-editor {
  text-align: right;
}
