/* ===========================
   TEMEL DEĞİŞKENLER & RESET
   =========================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0f172a;    /* Koyu Lacivert */
  --accent: #6366f1;     /* Indigo */
  --secondary: #f43f5e;  /* Enerjik Rose */
  --bg-light: #f8fafc;
  --text-main: #1e293b;
  --header-h: 80px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #ffffff;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* ===========================
   HEADER & NAV (MEGA MENU)
   =========================== */
header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
}

.nav {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--primary);
}
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 30px; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }

.mega-wrap { position: relative; }
.mega-menu {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  padding: 20px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  border: 1px solid #eee;
}
.mega-wrap:hover .mega-menu { display: grid; }
.mega-item {
  padding: 15px;
  border-radius: 12px;
  transition: 0.2s;
}
.mega-item:hover { background: var(--bg-light); }
.mega-item h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--primary); }
.mega-item p { font-size: 0.8rem; opacity: 0.7; }

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }



/* ===========================
   ANA SAYFA (INDEX) STİLLERİ
   =========================== */
.hero { padding: 100px 24px; text-align: center; background: radial-gradient(circle at top right, #f1f5f9 0%, #ffffff 100%); }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -2px; line-height: 1.1; margin-bottom: 24px; }
.hero h1 span { background: linear-gradient(90deg, var(--accent), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { max-width: 650px; margin: 0 auto 40px; font-size: 1.2rem; color: #475569; }

.section-inner { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 20px; }
.bento-card { background: white; border: 1px solid #f1f1f1; border-radius: 24px; padding: 40px; transition: 0.4s; position: relative; overflow: hidden; }
.bento-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(99,102,241,0.1); }
.bento-1 { grid-column: span 2; background: #fafafa; }
.bento-4 { grid-column: span 2; background: var(--primary); color: white; }

.contact-section { background: var(--bg-light); border-radius: 40px; margin: 0 24px 80px; padding: 60px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-1, .bento-2, .bento-3, .bento-4 { grid-column: span 1; }
  .contact-section { grid-template-columns: 1fr; padding: 30px; }
  .nav-links { display: none; }
}