/* ═══════════════════════════════════════════════════════════════ */
/* MMC BİLİŞİM - ULTRA MODERN KURUMSAL TEMA (Kırmızı/Siyah/Beyaz) */
/* ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

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

:root {
  --red: #e60023;
  --red-bright: #ff4757;
  --red-dark: #b30018;
  --white: #ffffff;
  --white-soft: #f8f9fa;
  --white-dim: #a0a0a0;
  --black: #050505;
  --black-2: #0f0f12;
  --black-3: #18181c;
  --black-4: #222228;
  --border: rgba(255, 255, 255, 0.06);
  --border-red: rgba(230, 0, 35, 0.3);
  
  --font-main: 'Montserrat', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  --shadow-sm: 0 4px 15px rgba(0,0,0,0.5);
  --shadow-md: 0 10px 40px rgba(0,0,0,0.6);
  --shadow-red: 0 10px 40px rgba(230,0,35,0.2);
  
  --trans-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--black);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* ═══ KAYDIRMA ÇUBUĞU (SCROLLBAR) ═══ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ═══ CANVAS PARTİKÜL ═══ */
#particles {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0.4;
}

/* ═══ NAVBAR ═══ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 18px 50px;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  transition: var(--trans-smooth);
}
.navbar.scrolled {
  padding: 12px 50px;
  background: rgba(5, 5, 5, 0.95);
  border-bottom: 1px solid var(--border-red);
  box-shadow: 0 5px 30px rgba(0,0,0,0.8);
}
.logo-container img {
  height: 55px;
  filter: drop-shadow(0 0 10px rgba(230, 0, 35, 0.3));
  transition: var(--trans-fast);
}
.logo-container img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(230, 0, 35, 0.6));
}
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--white-dim); text-decoration: none; font-weight: 600; font-size: 13px;
  letter-spacing: 0.5px; position: relative; transition: var(--trans-fast);
  padding: 8px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--red);
  transition: var(--trans-fast);
  box-shadow: 0 0 10px var(--red);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active {
  color: var(--white) !important;
}
.nav-links a.active::after {
  width: 100% !important;
}

/* ═══ SAYFA GEÇİŞLERİ ═══ */
.page-section { display: none; min-height: 100vh; padding-top: 100px; position: relative; z-index: 1; }
.page-section.active { display: block; animation: fadeIn 0.6s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ HERO ═══ */
.hero {
  min-height: 90vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 60px 20px;
  background:
    radial-gradient(circle at 50% 30%, rgba(230, 0, 35, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(255, 71, 87, 0.05) 0%, transparent 50%);
}
.hero-content { max-width: 900px; }
.hero-logo {
  height: 150px; margin-bottom: 40px;
  animation: floatLogo 5s ease-in-out infinite;
}
@keyframes floatLogo {
  0%,100% { filter: drop-shadow(0 0 30px rgba(230, 0, 35, 0.4)); transform: translateY(0); }
  50% { filter: drop-shadow(0 0 60px rgba(230, 0, 35, 0.8)); transform: translateY(-10px); }
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 25px;
  color: var(--white);
  text-shadow: 0 5px 30px rgba(0,0,0,0.8);
}
.hero p {
  font-size: 1.1rem; color: var(--white-dim); margin-bottom: 45px;
  max-width: 650px; margin-left: auto; margin-right: auto;
  line-height: 1.7;
}

/* ═══ BUTONLAR ═══ */
.btn {
  display: inline-block; padding: 16px 40px; border-radius: 8px;
  text-decoration: none; font-weight: 700; font-size: 14px;
  letter-spacing: 1px; text-transform: uppercase;
  transition: var(--trans-fast); cursor: pointer; border: none;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(230, 0, 35, 0.3);
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-25deg);
  transition: left 0.7s;
}
.btn-primary:hover {
  background: var(--red-bright);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 71, 87, 0.5);
}
.btn-primary:hover::before { left: 200%; }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
  margin-left: 15px;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* ═══ SECTION & TITLES ═══ */
.section {
  padding: 80px 50px 100px; max-width: 1300px; margin: 0 auto;
}
.section-title {
  text-align: center; font-family: var(--font-serif);
  font-size: 2.4rem; font-weight: 700; margin-bottom: 15px;
  color: var(--white);
}
.section-title::after {
  content: ''; display: block;
  width: 50px; height: 3px;
  background: var(--red);
  margin: 15px auto 0;
  box-shadow: 0 0 20px var(--red);
}
.section-sub {
  text-align: center; color: var(--white-dim);
  margin-bottom: 55px; font-size: 1rem;
  max-width: 650px; margin-left: auto; margin-right: auto;
}

/* ═══ HİZMET KARTLARI ═══ */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px;
}
.service-card {
  background: linear-gradient(145deg, var(--black-2), var(--black-3));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: left;
  transition: var(--trans-smooth);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-red);
  background: var(--black-4);
}
.service-icon {
  font-size: 2.8rem; margin-bottom: 20px; display: block;
  filter: drop-shadow(0 5px 15px rgba(230, 0, 35, 0.4));
}
.service-card h3 {
  font-size: 1.3rem; margin-bottom: 12px; color: var(--white);
  font-weight: 700;
}
.service-card p { color: var(--white-dim); font-size: 0.95rem; line-height: 1.7; }

/* ═══ PROJELER ═══ */
.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px;
}
.project-card {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  background: var(--black-2);
  transition: var(--trans-smooth);
  min-height: 350px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px 30px;
  z-index: 1;
}
.project-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 5, 5, 0.95) 100%);
  z-index: -1;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-red);
  border-color: var(--red);
}
.project-card h3 {
  font-size: 1.5rem; color: var(--white); margin-bottom: 10px; font-weight: 700;
}
.project-card .kategori {
  display: inline-block; padding: 6px 16px; border-radius: 30px;
  font-size: 0.75rem;
  background: rgba(230, 0, 35, 0.2);
  border: 1px solid var(--red);
  color: var(--red-bright);
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  align-self: flex-start;
  backdrop-filter: blur(5px);
}
.project-card p {
  color: var(--white-dim); font-size: 0.95rem; line-height: 1.6;
}
.project-card .btn-demo {
  display: inline-block; margin-top: 20px; padding: 12px 26px;
  background: var(--white);
  color: var(--black);
  text-decoration: none; border-radius: 8px;
  font-weight: 800; font-size: 0.8rem;
  transition: var(--trans-fast);
  align-self: flex-start;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.project-card .btn-demo:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(230, 0, 35, 0.4);
}

/* ═══ İSTATİSTİK ═══ */
.stats {
  padding: 70px 50px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px; text-align: center;
  background: var(--black-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 1300px; margin: 0 auto;
}
.stat-item h3 {
  font-family: var(--font-serif);
  font-size: 3.5rem; font-weight: 700;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 0 30px rgba(230, 0, 35, 0.4);
}
.stat-item p {
  color: var(--red-bright); font-size: 0.8rem; margin-top: 10px;
  letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
}

/* ═══ FORM (İLETİŞİM) ═══ */
.contact-form {
  max-width: 650px; margin: 0 auto;
  background: linear-gradient(145deg, var(--black-2), var(--black-3));
  padding: 50px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; margin-bottom: 8px; color: var(--white);
  font-weight: 600; font-size: 0.8rem;
  letter-spacing: 1px; text-transform: uppercase;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 16px 20px;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white); font-size: 15px; font-family: inherit;
  transition: var(--trans-fast);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(230, 0, 35, 0.1);
}
.alert {
  padding: 16px 20px; border-radius: 8px; margin-bottom: 25px;
  text-align: center; font-weight: 600; font-size: 0.9rem;
}
.alert-success {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--white);
  color: var(--white);
}
.alert-error {
  background: rgba(230, 0, 35, 0.1);
  border: 1px solid var(--red);
  color: var(--red-bright);
}

/* ═══ REFERANSLAR ═══ */
.referanslar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.referans-item {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px 20px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans-smooth);
  min-height: 100px;
}
.referans-item:hover {
  border-color: var(--red);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(230, 0, 35, 0.1);
}
.referans-item img {
  max-height: 60px; max-width: 100%; filter: grayscale(1) opacity(0.5); transition: var(--trans-smooth);
}
.referans-item:hover img { filter: grayscale(0) opacity(1); }
.referans-item span { color: var(--white); font-weight: 700; letter-spacing: 1px; font-size: 1.1rem; }

/* ═══ MÜŞTERİ YORUMLARI ═══ */
.yorumlar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}
.yorum-card {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 35px 30px;
  position: relative;
  transition: var(--trans-smooth);
}
.yorum-card::before {
  content: '”'; position: absolute; top: 0px; right: 25px; font-size: 6rem; font-family: var(--font-serif);
  color: rgba(230,0,35,0.1); line-height: 1;
}
.yorum-card:hover { border-color: var(--red); transform: translateY(-5px); box-shadow: var(--shadow-red); }
.yildizlar { color: #ffd700; font-size: 1.4rem; margin-bottom: 15px; letter-spacing: 2px; }
.yorum-metin { color: #d0d0d0; font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.yorum-yazar strong { color: var(--white); display: block; font-size: 1rem; }
.yorum-yazar span { color: var(--red-bright); font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

/* ═══ BLOG ═══ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}
.blog-card {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: var(--trans-smooth);
}
.blog-card:hover { border-color: var(--red); transform: translateY(-8px); box-shadow: var(--shadow-red); }
.blog-img { height: 200px; background-size: cover; background-position: center; transition: transform 0.5s; }
.blog-card:hover .blog-img { transform: scale(1.05); }
.blog-icerik { padding: 25px; }
.blog-tarih { color: var(--red-bright); font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; }
.blog-icerik h3 { color: var(--white); font-size: 1.3rem; margin: 10px 0; line-height: 1.4; font-weight: 700; }
.blog-icerik p { color: var(--white-dim); font-size: 0.9rem; line-height: 1.6; }
.blog-devam { display: inline-block; margin-top: 15px; color: var(--white); font-weight: 700; font-size: 0.85rem; border-bottom: 1px solid var(--red); padding-bottom: 2px; }

/* ═══ SSS (AKORDEON) ═══ */
.sss-liste { max-width: 800px; margin: 0 auto; }
.sss-item {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--trans-fast);
}
.sss-item:hover { border-color: var(--border-red); }
.sss-item.aktif { border-color: var(--red); background: var(--black-3); }
.sss-soru {
  width: 100%; text-align: left; background: none; border: none;
  color: var(--white); padding: 20px 25px; font-size: 1rem; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: inherit;
}
.sss-ok { color: var(--red); transition: transform 0.3s; font-size: 0.8rem; }
.sss-item.aktif .sss-ok { transform: rotate(180deg); }
.sss-cevap { max-height: 0; overflow: hidden; transition: all 0.4s ease; padding: 0 25px; }
.sss-item.aktif .sss-cevap { max-height: 500px; padding: 0 25px 25px; }
.sss-cevap p { color: var(--white-dim); line-height: 1.8; font-size: 0.95rem; }

/* ═══ FOOTER ═══ */
footer {
  background: var(--black-2);
  padding: 70px 50px 30px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.footer-content {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; margin-bottom: 50px;
}
.footer-col h4 {
  color: var(--white); margin-bottom: 20px; font-size: 1rem;
  letter-spacing: 1px; text-transform: uppercase; font-weight: 700;
}
.footer-col h4::after {
  content: ''; display: block; width: 30px; height: 2px;
  background: var(--red); margin-top: 8px;
}
.footer-col p, .footer-col a {
  color: var(--white-dim); text-decoration: none; display: block;
  margin-bottom: 12px; font-size: 0.9rem; transition: var(--trans-fast);
}
.footer-col a:hover { color: var(--red-bright); transform: translateX(3px); }
.footer-logo { height: 60px; margin-bottom: 20px; }
.footer-bottom {
  text-align: center; padding-top: 30px;
  border-top: 1px solid var(--border); color: var(--white-dim); font-size: 0.85rem;
}

/* ═══ WHATSAPP BUTONU ═══ */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px;
  width: 60px; height: 60px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 9998; transition: var(--trans-fast);
  animation: pulseWA 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6); }
@keyframes pulseWA {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 10px 40px rgba(37, 211, 102, 0.8); }
}

/* ═══ BLOG DETAY ═══ */
.blog-detay-wrap { max-width: 850px; margin: 0 auto; padding: 120px 30px 60px; }
.blog-detay-wrap h1 { font-family: var(--font-serif); font-size: 2.8rem; color: var(--white); margin-bottom: 20px; line-height: 1.2; font-weight: 700; }
.blog-detay-meta { color: var(--red-bright); font-size: 0.85rem; margin-bottom: 40px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.blog-detay-icerik { color: #d0d0d0; line-height: 1.9; font-size: 1.05rem; }
.blog-detay-icerik p { margin-bottom: 25px; }
.blog-detay-icerik img { max-width: 100%; border-radius: 12px; margin: 30px 0; box-shadow: var(--shadow-md); }
.blog-geri { display: inline-block; margin-top: 50px; color: var(--white); background: var(--black-3); padding: 12px 25px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: var(--trans-fast); }
.blog-geri:hover { background: var(--red); color: var(--white); }

/* ═══ MOBİL UYUMLULUK ═══ */
@media (max-width: 992px) {
  .navbar { padding: 15px 25px; }
  .navbar.scrolled { padding: 10px 25px; }
  .hero h1 { font-size: 2.5rem; }
  .hero-logo { height: 120px; }
  .section { padding: 60px 25px; }
  .section-title { font-size: 2rem; }
  .stats { padding: 50px 25px; }
  .contact-form { padding: 40px 30px; }
  footer { padding: 60px 25px 25px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-outline { margin: 15px 0 0 0; display: block; text-align: center; }
  .hero { padding: 80px 20px; }
  .blog-detay-wrap { padding: 100px 20px 40px; }
  .blog-detay-wrap h1 { font-size: 2rem; }
  .project-card { min-height: 300px; }
  .services-grid, .projects-grid, .blog-grid, .yorumlar-grid { grid-template-columns: 1fr; }
}

/* ═══ ANİMASYONLU FADE-IN (JS ile tetiklenecek) ═══ */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }