:root {
  --primary: #0a1120;
  --primary-light: #0f172a;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-light: #eff6ff;
  --green: #1d4ed8;
  --green-dark: #1e40af;
  --lime: #0284c7;
  --dark: #0a1120;
  --ink: #1e293b;
  --muted: #64748b;
  --light: #f8fafc;
  --line: #e2e8f0;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px rgba(10, 17, 32, 0.08);
  --shadow-lg: 0 20px 40px rgba(10, 17, 32, 0.14);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .heading-font {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* BUTONLAR */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #026ca3);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #014f77);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
  transform: translateY(-2px);
  color: var(--white);
}
.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
}
.btn-green:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* TOPBAR */
.topbar {
  background: #04101e;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.topbar a:hover {
  color: var(--accent);
}
.topbar i {
  color: var(--accent);
}

/* HEADER & NAVBAR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 86px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1;
}
.brand-title span {
  color: var(--accent);
}
.brand-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
}

/* HERO SLIDER SECTION */
.hero-sec {
  background: radial-gradient(circle at top right, #0e2d52 0%, #061527 100%);
  color: var(--white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  opacity: 0.12;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(2, 132, 199, 0.4);
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 46px;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title span {
  background: linear-gradient(135deg, #38bdf8, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 34px;
  max-width: 580px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* HERO HIZLI TEKLİF KARTI */
.hero-quote-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}
.hero-quote-card h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 6px;
}
.hero-quote-card p {
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 20px;
}
.hero-quote-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-quote-form input,
.hero-quote-form select,
.hero-quote-form textarea {
  width: 100%;
  height: 46px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}
.hero-quote-form textarea {
  height: 80px;
  padding: 10px 14px;
  resize: vertical;
}
.hero-quote-form input:focus,
.hero-quote-form select:focus,
.hero-quote-form textarea:focus {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.3);
}

/* ÖZELLİKLER ŞERİDİ */
.features-strip {
  background: var(--white);
  padding: 30px 0;
  border-bottom: 1.5px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.feat-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px;
  color: var(--primary);
}
.feat-item span {
  font-size: 12.5px;
  color: var(--muted);
}

/* BÖLÜM BAŞLIKLARI */
.sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}
.sec-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.sec-title {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.sec-desc {
  font-size: 15px;
  color: var(--muted);
}

/* HİZMETLER GRID */
.services-sec {
  padding: 80px 0;
  background: #f8fafc;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}
.service-card:hover::before {
  opacity: 1;
}
.srv-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 6px 16px rgba(7, 25, 47, 0.15);
}
.service-card h3 {
  font-size: 18px;
  color: var(--primary);
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.srv-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}
.srv-link:hover {
  color: var(--primary);
  gap: 10px;
}

/* ÜRÜNLER GRID */
.products-sec {
  padding: 80px 0;
  background: var(--white);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.product-img {
  height: 220px;
  background: #07192f;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 48px;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.06);
}
.product-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 25, 47, 0.85);
  color: #38bdf8;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}
.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-body h3 {
  font-size: 17px;
}
.product-body p {
  font-size: 13.5px;
  color: var(--muted);
}

/* SAYAÇ VE İSTATİSTİKLER */
.stats-strip {
  background: linear-gradient(135deg, #07192f 0%, #0f2d4e 100%);
  color: var(--white);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-box strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 900;
  display: block;
  color: #38bdf8;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-box span {
  font-size: 14px;
  color: #cbd5e1;
  font-weight: 600;
}

/* PROJELER & REFERANSLAR */
.projects-sec {
  padding: 80px 0;
  background: #f8fafc;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.project-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.project-img {
  background: #0f2d4e;
  height: 100%;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #38bdf8;
  font-size: 36px;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.project-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}
.project-body h3 {
  font-size: 17px;
}
.project-body p {
  font-size: 13.5px;
  color: var(--muted);
}

/* FOOTER */
.site-footer {
  background: #04101e;
  color: #94a3b8;
  padding: 70px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--accent);
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}
.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}
.footer-contact i {
  color: var(--accent);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}
.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 86px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
}

/* ==========================================================================
   ULTRA-PREMIUM MEGA MENU & HEADER STYLES
   ========================================================================== */
.nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.98);
  transform-origin: top center;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.group:hover > .nav-dropdown-menu,
.group:focus-within > .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-dropdown-menu::-webkit-scrollbar {
  width: 4px;
}
.nav-dropdown-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-150%); }
  45% { transform: translateX(150%); }
  100% { transform: translateX(150%); }
}

.btn-shimmer-sweep {
  position: relative;
  overflow: hidden;
}

.btn-shimmer-sweep::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: shimmerSweep 3.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.live-pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  animation: pulseGlow 2s infinite ease-in-out;
}
