/* =========================================================
   MM Bilişim - Site Stilleri
   ========================================================= */

:root {
  --navy-950: #05080f;
  --navy-900: #0a0f1c;
  --navy-800: #0f1729;
  --navy-700: #16213b;
  --navy-600: #1e2c4d;
  --accent: #0ea5e9;
  --accent-2: #6366f1;
  --accent-grad: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  --text-light: #eef2f8;
  --text-muted: #94a3b8;
  --text-dark: #1a2333;
  --border-soft: rgba(148, 163, 184, 0.15);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 20px 45px -20px rgba(2, 8, 23, 0.45);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
}

p { margin: 0; }

a { text-decoration: none; color: inherit; transition: all .25s ease; }

img { max-width: 100%; display: block; }

.section { padding: 100px 0; }
.bg-alt { background: #f6f8fc; }

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(14, 165, 233, .1);
  color: var(--accent);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 18px;
}

.section-text {
  color: #56617a;
  font-size: 1.03rem;
  line-height: 1.75;
}

/* ---------- Buttons ---------- */
.btn-cta {
  background: var(--accent-grad);
  color: #fff !important;
  border: none;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 25px -10px rgba(14, 165, 233, .55);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -10px rgba(14, 165, 233, .7);
  color: #fff;
}

.btn-outline-primary {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  padding: 11px 24px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
}
.btn-outline-primary:hover { background: var(--accent); color: #fff; }

.btn-outline-light {
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff;
  padding: 11px 24px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-light:hover { background: #fff; color: var(--navy-900); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-950);
  color: var(--text-muted);
  font-size: .85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar a { color: var(--text-muted); }
.topbar a:hover { color: var(--accent); }
.topbar-info span { margin-right: 24px; }
.topbar-info i { color: var(--accent); margin-right: 6px; }
.topbar-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.06); margin-left: 6px;
}
.topbar-social a:hover { background: var(--accent-grad); color: #fff; }

/* ---------- Navbar ---------- */
.main-navbar {
  background: var(--navy-900);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 999;
}
.navbar-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem;
}
.brand-mark {
  background: var(--accent-grad);
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 1.1rem;
}
.brand-text { color: #fff; }
.navbar-nav .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 8px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: #fff !important; background: rgba(255,255,255,.06); }
.navbar-toggler { border: none; box-shadow: none; }
.navbar-toggler-icon {
  filter: invert(1);
}

/* ---------- Hero Slider ---------- */
.hero-slider { position: relative; }
.heroSwiper, .swiper-slide.hero-slide {
  height: 88vh;
  min-height: 560px;
}
.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide { background-image: linear-gradient(120deg, var(--navy-950), var(--navy-800)), var(--hero-img); background-blend-mode: multiply; background-size: cover; background-position: center; }
.slide-2 { background-image: linear-gradient(120deg, var(--navy-950), #1b2a4a), var(--hero-img); }
.slide-3 { background-image: linear-gradient(120deg, var(--navy-950), #1a2440), var(--hero-img); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,15,.75) 0%, rgba(5,8,15,.55) 45%, rgba(5,8,15,.9) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.hero-tag i { color: var(--accent); }
.hero-content h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-content p {
  color: rgba(255,255,255,.82);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
  color: #fff;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  backdrop-filter: blur(6px);
}
.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after { font-size: 18px; }
.heroSwiper .swiper-pagination-bullet { background: #fff; opacity: .5; }
.heroSwiper .swiper-pagination-bullet-active { opacity: 1; background: var(--accent); }

/* ---------- Trustbar ---------- */
.trustbar { background: var(--navy-900); padding: 26px 0; }
.trustbar-inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.trustbar-label {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}
.trustbar-logos { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.trustbar-logo img { height: 34px; opacity: .65; filter: grayscale(1) brightness(2); transition: opacity .25s ease; }
.trustbar-logo:hover img { opacity: 1; }

/* ---------- About ---------- */
.about-image-wrap { position: relative; }
.about-image { box-shadow: var(--shadow-soft); }
.about-badge {
  position: absolute; bottom: -20px; right: -10px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
}
.about-badge i { font-size: 1.6rem; color: var(--accent); }
.about-badge strong { display: block; font-size: 1.1rem; color: var(--navy-900); }
.about-badge span { font-size: .82rem; color: #64748b; }

.about-check-list { list-style: none; padding: 0; margin: 22px 0; }
.about-check-list li {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; color: #3a4256; font-weight: 500;
}
.about-check-list i { color: var(--accent); font-size: 1.15rem; }

/* ---------- Stats ---------- */
.stats-section { background: var(--navy-900); padding: 60px 0; }
.stat-box h3 {
  font-size: 2.6rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.stat-box p { color: rgba(255,255,255,.6); font-weight: 500; }

/* ---------- Services ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.service-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--accent-grad);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card > p { color: #5c6579; line-height: 1.7; margin-bottom: 18px; }
.service-mini-list { list-style: none; padding: 0; margin: 0 0 20px; }
.service-mini-list li { display: flex; align-items: center; gap: 8px; color: #3a4256; margin-bottom: 8px; font-size: .95rem; }
.service-mini-list i { color: var(--accent); }
.service-link { font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.service-link:hover { gap: 10px; color: var(--accent-2); }

/* ---------- Why Us ---------- */
.why-us-section { background: #f6f8fc; }
.why-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  height: 100%;
  border: 1px solid var(--border-soft);
  transition: transform .3s ease;
}
.why-box:hover { transform: translateY(-6px); }
.why-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(14,165,233,.1);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 18px;
}
.why-box h5 { margin-bottom: 10px; font-size: 1.1rem; }
.why-box p { color: #5c6579; font-size: .93rem; line-height: 1.6; }

/* ---------- MVV ---------- */
.mvv-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
}
.mvv-card h4 { margin: 6px 0 12px; }
.mvv-card p { color: #5c6579; line-height: 1.7; }

/* ---------- Portfolio ---------- */
.portfolio-card { display: block; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--border-soft); }
.portfolio-img { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,15,0) 40%, rgba(5,8,15,.85) 100%);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
  padding-bottom: 20px;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-visit {
  background: var(--accent-grad); color: #fff;
  padding: 9px 18px; border-radius: 50px; font-weight: 600; font-size: .88rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.portfolio-info { padding: 20px; }
.portfolio-tag { color: var(--accent); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .4px; }
.portfolio-info h5 { margin-top: 8px; font-size: 1.05rem; }

.filter-btn {
  border: 1.5px solid var(--border-soft);
  background: #fff;
  color: #56617a;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
}
.filter-btn.active, .filter-btn:hover { background: var(--accent-grad); color: #fff; border-color: transparent; }

/* ---------- Service Detail Pages ---------- */
.service-quicknav { background: #f6f8fc; padding: 22px 0; border-bottom: 1px solid var(--border-soft); position: sticky; top: 0; z-index: 50; }
.quicknav-link {
  border: 1.5px solid var(--border-soft);
  background: #fff;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy-900);
  display: inline-flex; align-items: center; gap: 8px;
}
.quicknav-link:hover { background: var(--accent-grad); color: #fff; border-color: transparent; }
.quicknav-link i { color: var(--accent); }
.quicknav-link:hover i { color: #fff; }

.service-detail-icon {
  width: 70px; height: 70px;
  border-radius: 18px;
  background: var(--accent-grad);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 22px;
}
.service-sub-item { display: flex; gap: 14px; align-items: flex-start; height: 100%; }
.service-sub-icon {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  background: rgba(14,165,233,.1);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.service-sub-item h6 { margin-bottom: 6px; font-size: 1rem; }
.service-sub-item p { color: #5c6579; font-size: .9rem; line-height: 1.6; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  padding: 90px 0 50px;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.page-hero .breadcrumb { justify-content: center; margin: 0; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,.65); font-size: .9rem; }
.page-hero .breadcrumb-item.active { color: var(--accent); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---------- Contact ---------- */
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  height: 100%;
}
.contact-info-card h5 { margin-bottom: 8px; }
.contact-info-card p, .contact-info-card a { color: #5c6579; }
.contact-info-card a:hover { color: var(--accent); }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.contact-form .form-label { font-weight: 600; font-size: .9rem; color: var(--navy-900); margin-bottom: 6px; }
.contact-form .form-control, .contact-form .form-select {
  border: 1.5px solid var(--border-soft);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: .95rem;
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,.15);
}
.contact-map-wrap { border-radius: var(--radius-lg); overflow: hidden; height: 320px; box-shadow: var(--shadow-soft); }
.work-hours-box {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 22px;
}
.work-hours-box h6 { margin-bottom: 4px; }
.work-hours-box p { color: #5c6579; font-size: .9rem; }

/* ---------- CTA Inline ---------- */
.cta-inline {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-lg);
  margin: 0 auto;
  padding: 70px 30px;
}
.cta-inline h2 { color: #fff; margin-bottom: 14px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-inline p { color: rgba(255,255,255,.7); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Reference logos page ---------- */
.reference-logo-card {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  height: 110px;
}
.reference-logo-card img { max-height: 46px; filter: grayscale(1); opacity: .75; transition: all .25s ease; }
.reference-logo-card:hover img { filter: grayscale(0); opacity: 1; }
.reference-logo-card:hover { border-color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.65); }
.footer-cta { background: var(--navy-900); padding: 50px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-cta h3 { color: #fff; margin-bottom: 8px; font-size: 1.5rem; }
.footer-cta p { color: rgba(255,255,255,.6); }
.footer-main { padding: 60px 15px 30px; }
.footer-about { line-height: 1.7; font-size: .93rem; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--accent-grad); }
.footer-heading { color: #fff; font-weight: 600; margin-bottom: 18px; font-size: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: 12px; font-size: .93rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: 3px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0; font-size: .85rem; }

/* ---------- Floating Buttons ---------- */
.whatsapp-float {
  position: fixed; bottom: 26px; left: 26px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 25px -8px rgba(37,211,102,.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.back-to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-grad); color: #fff; border: none;
  display: none; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 12px 25px -8px rgba(14,165,233,.6);
}
.back-to-top.show { display: flex; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .main-navbar { padding: 12px 0; }
  .navbar-collapse { background: var(--navy-900); margin-top: 14px; padding: 16px; border-radius: 12px; }
  .service-quicknav { position: static; }
  .section { padding: 70px 0; }
  .contact-form-wrap { padding: 26px; }
}
@media (max-width: 767px) {
  .heroSwiper, .swiper-slide.hero-slide { height: auto; min-height: 640px; padding: 140px 0 60px; }
  .footer-cta .text-lg-end { text-align: left !important; margin-top: 16px; }
}
