:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --bg-card: #161616;
  --line: rgba(255,255,255,0.08);
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --red: #e11d2e;
  --red-soft: rgba(225,29,46,0.15);
  --accent: #e11d2e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0,0,0,0.4);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* Topbar */
.topbar {
  background: #050505;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-links { display: flex; gap: 16px; flex-wrap: wrap; }
.topbar-links a:hover { color: #fff; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.brand-text small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.nav-cta:hover { filter: brightness(1.1); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 80px 0 70px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(225,29,46,0.12), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(225,29,46,0.06), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--red);
  background: var(--red-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 540px;
  margin-bottom: 28px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn.primary {
  background: var(--red);
  color: #fff;
}
.btn.primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: #fff;
}
.btn.ghost:hover { background: rgba(255,255,255,0.05); }
.btn.ghost-light {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.btn.full { width: 100%; }
.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-stats strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
}
.hero-stats span {
  font-size: 13px;
  color: var(--muted);
}
.hero-visual {
  display: flex;
  justify-content: center;
}
.logo-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 320px;
}
.logo-card img {
  width: 100%;
  border-radius: 12px;
}

/* Sections */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.eyebrow.light { color: #fca5a5; }
.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-lead {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 36px;
  font-size: 16px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: 0.25s;
}
.service-card:hover {
  border-color: rgba(225,29,46,0.35);
  transform: translateY(-3px);
}
.service-card.accent {
  background: linear-gradient(145deg, rgba(225,29,46,0.12), var(--bg-card));
  border-color: rgba(225,29,46,0.3);
}
.service-card .icon { font-size: 28px; margin-bottom: 12px; }
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.service-card ul {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #d4d4d4;
}
.service-card ul li::before {
  content: "• ";
  color: var(--red);
}
.card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
}

/* Atatürk section */
.ataturk-section {
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(225,29,46,0.08), transparent);
}
.ataturk-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #141414, #1a0a0c);
  border: 1px solid rgba(225,29,46,0.25);
  border-radius: 24px;
  padding: 48px;
}
.ataturk-content h2 { margin-bottom: 14px; }
.ataturk-content p { margin-bottom: 12px; color: #e5e5e5; }
.ataturk-content .muted { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.vision-badge {
  background: #0a0a0a;
  border: 1px solid rgba(225,29,46,0.4);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 0 60px rgba(225,29,46,0.15);
}
.vision-badge span {
  display: block;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--muted);
  margin-bottom: 6px;
}
.vision-badge strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 1px;
}
.vision-badge small {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: 0.25s;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}
.project-card.highlight {
  border-color: rgba(225,29,46,0.4);
  background: linear-gradient(160deg, rgba(225,29,46,0.1), var(--bg-card));
}
.project-card.accent {
  border-color: rgba(225,29,46,0.35);
}
.project-icon { font-size: 26px; margin-bottom: 4px; }
.project-card h3 {
  font-size: 15px;
  font-weight: 700;
}
.project-card p {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}
.tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  width: fit-content;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-top: 20px;
}
.about-text p {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 15px;
}
.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.principle {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.principle strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.principle span {
  font-size: 12px;
  color: var(--muted);
}
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mini-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.mini-card h4 {
  font-size: 12px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.mini-card p {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 10px;
}
.contact-info {
  display: grid;
  gap: 12px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: 0.2s;
}
.contact-item:hover {
  border-color: rgba(225,29,46,0.4);
}
.ci-icon { font-size: 22px; }
.contact-item strong {
  display: block;
  font-size: 14px;
}
.contact-item span {
  font-size: 13px;
  color: var(--muted);
}
.contact-form {
  display: grid;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0d0d0d;
  color: #fff;
  font: inherit;
  font-size: 14px;
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(225,29,46,0.5);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  background: #050505;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  border-radius: 10px;
  border: 1px solid var(--line);
}
.footer-brand strong {
  display: block;
  font-size: 15px;
}
.footer-brand span {
  font-size: 12px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-links a {
  padding: 6px 10px;
  font-size: 13px;
  color: var(--muted);
  border-radius: 6px;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a:hover { color: #fff; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: 0.2s;
}
.whatsapp-float:hover { transform: scale(1.06); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .ataturk-card,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-visual { order: -1; }
  .logo-card { max-width: 240px; margin: 0 auto; }
  .ataturk-card { padding: 32px; }
}

@media (max-width: 720px) {
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d0d0d;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .services-grid,
  .projects-grid,
  .principles,
  .about-cards {
    grid-template-columns: 1fr;
  }
  .hero { padding: 50px 0 40px; }
  .section { padding: 56px 0; }
  .topbar .container { justify-content: center; text-align: center; }
}

.form-actions-row {
  display: grid;
  gap: 10px;
}
.form-success {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ===== AI Chatbot ===== */
.chatbot {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 95;
  font-family: var(--font);
}
.chatbot-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e11d2e, #9f1239);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(225, 29, 46, 0.35);
  transition: 0.2s;
}
.chatbot-toggle:hover { transform: scale(1.04); }
.chatbot-toggle-icon { font-size: 16px; }
.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: min(360px, calc(100vw - 32px));
  height: 480px;
  max-height: calc(100vh - 140px);
  background: #111;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chatbot-panel[hidden] { display: none !important; }
.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #0a0a0a;
  border-bottom: 1px solid var(--line);
}
.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot-header-info img {
  border-radius: 8px;
  border: 1px solid var(--line);
}
.chatbot-header-info strong {
  display: block;
  font-size: 13px;
}
.chatbot-header-info small {
  font-size: 11px;
  color: var(--muted);
}
.chatbot-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.chatbot-close:hover { color: #fff; }
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #0d0d0d;
}
.chat-bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}
.chat-bubble.bot {
  align-self: flex-start;
  background: #1a1a1a;
  border: 1px solid var(--line);
  color: #f5f5f5;
  border-bottom-left-radius: 4px;
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--red);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble.typing {
  color: var(--muted);
  font-style: italic;
}
.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  background: #0f0f0f;
}
.chatbot-suggestions button {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: #e5e5e5;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.chatbot-suggestions button:hover {
  border-color: rgba(225,29,46,0.5);
  color: #fff;
}
.chatbot-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: #0a0a0a;
}
.chatbot-input-row input {
  flex: 1;
  border: 1px solid var(--line);
  background: #161616;
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
}
.chatbot-input-row input:focus {
  outline: none;
  border-color: rgba(225,29,46,0.5);
}
.chatbot-input-row button {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  width: 42px;
  font-weight: 800;
  cursor: pointer;
}
@media (max-width: 720px) {
  .chatbot { right: 12px; bottom: 84px; }
  .chatbot-toggle-label { display: none; }
  .chatbot-toggle { padding: 14px; border-radius: 50%; }
  .chatbot-panel { height: 70vh; }
}

.hosting-credit {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.hosting-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hosting-credit a:hover { color: #fff; }
