

/* =========================================================
   SUPERPOWER STYLE LUXURY MEGA MENU
========================================================= */
.nav-item-has-mega {
  position: relative;
}

.nav a.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav a.mega-trigger .mega-chevron {
  font-size: 9px;
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.nav a.mega-trigger.is-active .mega-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Mega Menü Açılır Ana Kartı (Superpower Beyaz Lüks Kapsül) */
.superpower-mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: min(1200px, calc(100vw - 48px));
  background: #ffffff;
  border-radius: 28px;
  padding: 34px 38px 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4), 0 0 35px rgba(255, 90, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

/* Invisible Hover Bridge: prevents cursor drop-off gap between navbar and mega menu */
.superpower-mega-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  width: 100%;
  height: 26px;
  background: transparent;
  pointer-events: auto;
}

.superpower-mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Mega Menü Üst Başlık */
.mega-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.mega-menu-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #0c1833;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-badge-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 90, 0, 0.1);
  color: #ff5a00;
}

/* 4 Kolonlu Kart Izgarası (Birebir Superpower) */
.mega-grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

#megaCardsCorporate,
#megaCardsServices,
#megaCardsSoftware,
#megaCardsSEO,
#megaCardsBlog,
#megaCardsHosting {
  grid-template-columns: repeat(3, 1fr);
}

.superpower-mega-menu.is-email {
  width: min(780px, calc(100vw - 48px));
}

#megaCardsEmail {
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

#megaCardsEcommerce {
  grid-template-columns: repeat(4, 1fr);
}

/* Tekil Mega Kart */
.mega-card-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 18px;
  padding: 10px;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.mega-card-item:hover {
  background: #f8fafc;
  transform: translateY(-4px);
}

.mega-card-item.is-highlighted {
  background: #fff8f5;
  box-shadow: 0 8px 24px rgba(255, 90, 0, 0.08);
}

/* Kart Thumbnail Görseli */
.mega-card-thumb {
  width: 100%;
  height: 125px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #0f1117;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.mega-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-card-item:hover .mega-card-thumb img {
  transform: scale(1.08);
}

/* Kart Başlığı (Sağa Ok ile) */
.mega-card-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  color: #0c1833;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s ease;
}

.mega-card-heading i {
  font-size: 11px;
  color: #94a3b8;
  transition: transform 0.25s ease, color 0.25s ease;
}

.mega-card-item:hover .mega-card-heading {
  color: #ff5a00;
}

.mega-card-item:hover .mega-card-heading i {
  transform: translateX(4px);
  color: #ff5a00;
}

/* Kart Açıklaması */
.mega-card-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Mega Menü Alt Bar (Superpower Footer Bar) */
.mega-menu-footer-bar {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.mega-footer-links-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mega-external-link {
  color: #0c1833;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.mega-external-link i {
  font-size: 10px;
  color: #ff5a00;
}

.mega-external-link:hover {
  color: #ff5a00;
}

.mega-footer-links-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mega-muted-link {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mega-muted-link:hover {
  color: #0c1833;
}

/* Mobil / Tablet Kuralı */
@media (max-width: 1024px) {
  .superpower-mega-menu {
    display: none !important;
  }