/* ==========================================================
   HALKALI SRC KURSU - SİVRİKAYA EĞİTİM KURUMLARI
   Resmi Web Sitesi Stil Dosyası (style.css)
   ========================================================== */

:root {
  --primary-color: #0b2545;     /* Kurumsal Koyu Lacivert */
  --secondary-color: #134074;   /* Derin Mavi */
  --accent-color: #d9381e;      /* Dikkat Çekici Kırmızı/Turuncu */
  --accent-hover: #b82a13;
  --whatsapp-color: #25d366;    /* WhatsApp Yeşili */
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* TOPBAR */
.topbar {
  background-color: #07192f;
  color: #94a3b8;
  padding: 9px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-links a {
  color: #38bdf8;
  font-weight: 700;
  margin-left: 15px;
  transition: color 0.2s;
}

.topbar-links a:hover {
  color: #ffffff;
}

/* NAVBAR */
.navbar {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo h2 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo span {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.95rem;
  color: #334155;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-color);
}

.btn-nav-call {
  background: var(--accent-color);
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 800;
  transition: background 0.2s;
}

.btn-nav-call:hover {
  background: var(--accent-hover);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
  padding: 60px 0 50px;
  text-align: center;
}

.hero h1 {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  max-width: 820px;
  margin: 0 auto 30px;
  color: #e2e8f0;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #1eb954;
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary-color);
}

.btn-white:hover {
  background-color: #f1f5f9;
}

/* TRUST BANNER */
.trust-alert {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 6px solid #f59e0b;
  border-radius: 8px;
  padding: 18px 24px;
  margin: 30px auto;
}

.trust-alert h4 {
  color: #92400e;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.trust-alert p {
  color: #78350f;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* SECTIONS & GRIDS */
.section {
  padding: 50px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 35px;
}

.section-head h2 {
  font-size: 1.85rem;
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 8px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-title {
  color: var(--secondary-color);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 8px;
}

.card-desc {
  color: #475569;
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.55;
}

.card .btn {
  text-align: center;
  width: 100%;
}

/* 2-COLUMN LAYOUT (FOR SERVICE & BLOG PAGES) */
.page-header {
  background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
  color: #ffffff;
  padding: 35px 0 30px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #93c5fd;
  margin-bottom: 10px;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.page-header p {
  font-size: 1rem;
  color: #e2e8f0;
  max-width: 820px;
  line-height: 1.5;
}

.badge-bar {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-item {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.two-col-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 35px;
  padding: 40px 0;
}

.article-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.article-content h2 {
  font-size: 1.45rem;
  color: var(--primary-color);
  margin: 25px 0 12px;
  font-weight: 800;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 6px;
}

.article-content h2:first-of-type {
  margin-top: 0;
}

.article-content h3 {
  font-size: 1.15rem;
  color: var(--secondary-color);
  margin: 20px 0 8px;
  font-weight: 800;
}

.article-content p {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 14px;
}

.article-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
}

.bullet-list {
  list-style: none;
  margin-bottom: 18px;
}

.bullet-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #334155;
}

.bullet-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: bold;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.spec-table th, .spec-table td {
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  font-size: 0.92rem;
}

.spec-table th {
  background: #f8fafc;
  color: var(--primary-color);
  font-weight: 700;
  width: 32%;
  text-align: left;
}

/* SIDEBAR */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 25px;
}

.sidebar-widget h3 {
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 14px;
  font-weight: 800;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 6px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.92rem;
  background: #f8fafc;
}

.btn-form {
  width: 100%;
  background: var(--accent-color);
  color: #ffffff;
  padding: 12px;
  border-radius: 6px;
  font-weight: 800;
  margin-top: 10px;
}

.btn-form-wa {
  width: 100%;
  background: var(--whatsapp-color);
  color: #ffffff;
  padding: 12px;
  border-radius: 6px;
  font-weight: 800;
  margin-top: 8px;
  display: block;
  text-align: center;
}

/* FAQ ITEM */
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.faq-item h4 {
  color: var(--primary-color);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.faq-item p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* NEIGHBORHOOD GRID */
.mahalle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.mahalle-item {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.92rem;
  transition: all 0.2s;
}

.mahalle-item:hover {
  background: var(--primary-color);
  color: #ffffff;
}

/* FOOTER */
footer {
  background: #07192f;
  color: #cbd5e1;
  padding: 50px 0 25px;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 35px;
}

.footer-col h4 {
  color: #38bdf8;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #64748b;
}

/* FLOATING STICKY ACTION BUTTONS */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: transform 0.2s;
}

.float-btn:hover {
  transform: scale(1.08);
}

.float-wa { background: var(--whatsapp-color); }
.float-phone { background: var(--accent-color); }

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
  .two-col-layout {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none; /* Basit mobil gizleme */
  }
  .hero h1 {
    font-size: 1.8rem;
  }
}

/* Sayfa İçi İçerik Görselleri */
.page-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  margin: 15px 0 20px 0;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
