/* ==========================================================================
   SEKTÖRLER SAYFASI STİLLERİ
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.sektorler-hero {
  background-image: url("../../img/sektorler.png");
  background-size: cover;
  background-position: center center;
  min-height: 320px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.sektorler-hero::before {
  background: linear-gradient(
    to right,
    rgba(7, 29, 73, 0.85) 0%,
    rgba(7, 29, 73, 0.7) 40%,
    rgba(7, 29, 73, 0.5) 100%
  );
}

/* --------------------------------------------------------------------------
   NAVBAR LIGHT (Beyaz arka plan)
   -------------------------------------------------------------------------- */
.navbar-light {
  background: #fff !important;
  box-shadow: none;
}

.navbar-light .nav-link {
  color: #071D49 !important;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.navbar-light .nav-link:hover,
.navbar-light .nav-link.active {
  color: #005bff !important;
}

.navbar-light .dropdown-menu {
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-light .dropdown-item {
  color: #071D49;
  font-size: 0.85rem;
}

.navbar-light .dropdown-item:hover {
  background: #f5f6f8;
  color: #005bff;
}

.lang-btn-dark {
  background: transparent;
  border: none;
  color: #071D49;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.lang-btn-dark:hover {
  color: #005bff;
}

/* --------------------------------------------------------------------------
   MEGA MENU
   -------------------------------------------------------------------------- */
.mega-dropdown {
  position: static;
}

.mega-dropdown > .nav-link {
  position: relative;
}

/* Görünmez köprü - hover alanını genişletir */
.mega-dropdown > .nav-link::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 20px;
}

.mega-dropdown .mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 800px;
  max-width: 1100px;
  background: #ffffff;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  transition-delay: 0.15s; /* Kapanmada gecikme */
  pointer-events: none;
  z-index: 1050;
}

.mega-dropdown:hover .mega-menu,
.mega-dropdown:focus-within .mega-menu,
.mega-dropdown .mega-menu.show {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s; /* Açılmada gecikme yok */
  pointer-events: auto;
}

.mega-menu-inner {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.mega-menu-info {
  width: 280px;
  padding-right: 2rem;
  border-right: 1px solid #e5e9f0;
}

.mega-menu-icon {
  width: 64px;
  height: 64px;
  background: #f0f4ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.mega-menu-icon svg {
  width: 32px;
  height: 32px;
  color: #071D49;
}

.mega-menu-info p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.mega-menu-info .view-all {
  font-size: 0.85rem;
  font-weight: 600;
  color: #071D49;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mega-menu-info .view-all:hover {
  color: #005bff;
}

.mega-menu-links {
  flex: 1;
  padding-left: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 3rem;
}

.mega-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  color: #071D49;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}

.mega-menu-link:hover {
  color: #005bff;
  border-bottom-color: #005bff;
}

.mega-menu-link svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.mega-menu-link:hover svg {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   SECTORS LISTING
   -------------------------------------------------------------------------- */
.sectors-section {
  padding: 4rem 0;
  background: #fff;
}

.sector-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
}

.sector-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.sector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 30%,
    rgba(7, 29, 73, 0.85) 100%
  );
}

.sector-card-content {
  position: relative;
  padding: 1.5rem;
  width: 100%;
}

.sector-card-title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

/* --------------------------------------------------------------------------
   SECTOR DETAIL PAGE
   -------------------------------------------------------------------------- */
.sector-detail-section {
  padding: 5rem 0 4rem 0;
  background: #fff;
}

.sector-detail-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sector-detail-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: #071D49;
  margin-bottom: 2rem;
}

.sector-hexagon-image {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.sector-hexagon-image img {
  width: 100%;
  height: auto;
}

.sector-detail-content {
  max-width: 800px;
  margin: 0 auto;
}

.sector-detail-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.sector-detail-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #071D49;
  margin: 2rem 0 1rem;
}

.sector-detail-content ol {
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.sector-detail-content ol li {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

/* CTA Section */
.sector-cta {
  background: #f5f6f8;
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 3rem;
}

.sector-cta-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #071D49;
  margin-bottom: 0.5rem;
}

.sector-cta-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.btn-sector-cta {
  background: #071D49;
  color: #fff;
  border: 2px solid #071D49;
  padding: 0.8rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-sector-cta:hover {
  background: transparent;
  color: #071D49;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .mega-dropdown .mega-menu {
    left: 0;
    right: 0;
    transform: none;
    min-width: auto;
    max-width: 100%;
  }

  .mega-menu-inner {
    flex-direction: column;
    padding: 1.5rem;
  }

  .mega-menu-info {
    width: 100%;
    padding-right: 0;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-right: none;
    border-bottom: 1px solid #e5e9f0;
  }

  .mega-menu-links {
    padding-left: 0;
    grid-template-columns: 1fr;
  }

  .sector-card {
    aspect-ratio: 16 / 10;
  }

  .sector-detail-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .sector-card {
    aspect-ratio: 16 / 9;
  }

  .sector-cta {
    padding: 2rem 1.5rem;
  }
}

