/* staranaliz-theme/assets/css/theme.css */

/* Reset/Temel */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #0f172a; /* slate-900 */
  background: #ffffff;
  line-height: 1.6;
}

/* Yardımcılar */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* Renk ve tema değişkenleri */
:root{
  --primary: #0ea5e9; /* cyan-500 */
  --primary-700: #0369a1; /* cyan-700 */
  --bg-soft: #f8fafc; /* slate-50 */
  --border: #e2e8f0; /* slate-200 */
}

/* Header/Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-logo { height: 28px; width: auto; }
.brand-logo.small { height: 22px; }
.brand-text { font-weight: 700; letter-spacing: .2px; }

.nav { display: flex; align-items: center; gap: 18px; }
.nav a { text-decoration: none; color: #334155; font-weight: 600; padding: 8px 10px; border-radius: 10px; }
.nav a:hover { background: var(--bg-soft); }
.nav a.active { color: var(--primary-700); }

.btn { display: inline-block; border: 1px solid var(--border); padding: 10px 14px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-700); border-color: var(--primary-700); }

/* Hamburger (mobile) */
.nav-toggle { display: none; }
.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 3px; margin: 5px 0; background: #0f172a; transition: .3s; }

@media (max-width: 900px) {
  .nav { position: absolute; top: 64px; left: 0; right:0; background: white; border-bottom: 1px solid var(--border); padding: 12px 20px; display: none; flex-direction: column; }
  .nav a { padding: 12px; }
  .hamburger { display: block; }
  .nav-toggle:checked ~ .hamburger span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .hamburger span:nth-child(2){ opacity: 0; }
  .nav-toggle:checked ~ .hamburger span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }
  .nav-toggle:checked ~ .nav { display: flex; }
}

/* Hero */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #e0f2fe 0%, #fff 60%);
  border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: 42px; margin: 0 0 14px; line-height: 1.1; }
.hero p.lead { font-size: 18px; color: #475569; max-width: 720px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 32px 0; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(2,8,23,.06); }
.card h3 { margin: 8px 0 8px; }
.card p { color: #475569; }

/* Footer */
.site-footer { background: #0b1220; color: #cbd5e1; margin-top: 32px; padding: 36px 0 16px; }
.site-footer h4 { color: #ffffff; margin: 0 0 10px; }
.footer-links { list-style: none; padding-left: 0; margin: 0; }
.footer-links li { margin: 6px 0; }
.footer-links a { color: #cbd5e1; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(148,163,184,.2); margin-top: 24px; padding-top: 12px; text-align: center; font-size: 14px; }

input, textarea, select { font: inherit; }
label { display:block; font-weight:600; margin-bottom:6px; color:#0f172a; }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,.15);
}

