/* ==========================================================================
   PHILLIP BROKER - ANA STİL DOSYASI
   ========================================================================== */

/* --------------------------------------------------------------------------
   GENEL AYARLAR
   -------------------------------------------------------------------------- */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f0f2f5;
}

.bg-white {
  background: #ffffff !important;
}

.color-white {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: transparent;
  transition: background-color 0.3s ease;
}

.navbar .container {
  position: relative;
}

/* Mobil menü açıldığında arka plan rengi */
@media (max-width: 991.98px) {
  .navbar.bg-mobile-open {
    background-color: #071D49 !important; /* Koyu mavi arka plan */
  }
  
  /* Light tema navbar için mobil arka plan */
  .navbar-light.bg-mobile-open {
    background-color: #ffffff !important;
  }
  
  .navbar-collapse {
    background-color: #071D49; /* Menü içeriği arka planı */
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  /* Light tema için collapse arka plan */
  .navbar-light .navbar-collapse {
    background-color: #ffffff;
    border-top: 1px solid #eee;
  }
}

.navbar-brand {
  font-weight: 700;
  color: #fff !important;
}

.navbar-nav .nav-link {
  color: #e5e9f0;
  font-size: 0.85rem;
  margin: 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive: Mobil görünümde menü öğeleri */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
    padding: 0.5rem 1rem;
  }
  
  .navbar-nav {
    text-align: left;
  }
}

.navbar-nav .nav-link:hover {
  color: #ffffff;
}

.navbar-nav .dropdown-toggle::after {
  margin-left: 0.3rem;
}

.navbar-nav .dropdown-menu {
  background: rgba(7, 29, 73, 0.95);
  border: none;
  border-radius: 4px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.navbar-nav .dropdown-item {
  color: #e5e9f0;
  font-size: 0.85rem;
  padding: 0.5rem 1.5rem;
  transition: all 0.2s;
}

.navbar-nav .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.navbar-nav .dropdown-item.active {
  background: rgba(0, 91, 255, 0.2);
  color: #ffffff;
}

/* Mega Dropdown */
.mega-dropdown {
  position: static !important;
}

.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.1s; /* Kapanmada gecikme */
  pointer-events: none;
}

/* Responsive: Mobil görünümde mega menu tam genişlik */
@media (max-width: 991.98px) {
  .mega-dropdown .mega-menu {
    left: 0;
    right: 0;
    transform: none;
    min-width: auto;
    max-width: 100%;
  }
}

.mega-dropdown:hover .mega-menu,
.mega-dropdown:focus-within .mega-menu {
  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.5rem 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: 14px;
  height: 14px;
  opacity: 0.4;
}

.mega-menu-link:hover svg {
  opacity: 1;
}

@media (max-width: 991.98px) {
  .mega-dropdown .mega-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  
  .mega-dropdown.show .mega-menu {
    display: block;
  }
  
  .mega-menu-inner {
    flex-direction: column;
    padding: 1rem;
  }
  
  .mega-menu-info {
    width: 100%;
    padding-right: 0;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-right: none;
    border-bottom: 1px solid #e5e9f0;
  }
  
  .mega-menu-links {
    padding-left: 0;
    grid-template-columns: 1fr;
  }
}

.lang-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* --------------------------------------------------------------------------
   PAGE HERO (Alt Sayfalar)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  color: #fff;
  min-height: 340px;
  display: flex;
  align-items: center;
  background-image: url("../img/hero-img2.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 23, 66, 0.85) 0%,
    rgba(0, 23, 66, 0.7) 50%,
    rgba(0, 23, 66, 0.5) 100%
  );
}

.page-hero .container {
  position: relative;
  padding-top: 5rem;
}

.breadcrumb-nav {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: #fff;
}

.page-title {
  font-size: 2.8rem;
  font-weight: 300;
  margin: 0;
}

.page-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 400px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   SECTION BAŞLIKLARI
   -------------------------------------------------------------------------- */
.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #777;
  font-weight: 600;
}

.section-label-about {
  position: relative;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: #6b6f7a;
  padding-left: 2rem;
}

.section-label-about::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 32px;
  background: #071D49;
  border-radius: 2px;
}

.section-label-statics {
  position: relative;
  padding-left: 18px;
}

.section-label-statics::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 32px;
  background: #ffffff;
  border-radius: 2px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
}

.section-title span {
  color: #005bff;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer-top {
  background: #f5f6f8;
  border-top: 3px solid #005bff;
  padding: 2.5rem 0;
}

.footer-logo {
  text-decoration: none;
}

.footer-heading {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.3rem;
}

.footer-link {
  display: block;
  color: #071D49;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.footer-link:hover {
  color: #005bff;
}

.footer-link-blue {
  color: #005bff;
}

.footer-address {
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 0;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #071D49;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.footer-social:hover {
  color: #005bff;
}

.footer-bottom {
  background: #071D49;
  color: #ffffff;
  padding: 1rem 0;
  font-size: 0.85rem;
}

.footer-bottom-links a {
  color: #a4b3d9;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

.footer-bottom-links span {
  color: #a4b3d9;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .page-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .page-title {
    font-size: 1.8rem;
  }
}

/* --------------------------------------------------------------------------
   WHATSAPP STICKY BUTTON
   -------------------------------------------------------------------------- */
.whatsapp-sticky {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #ffffff;
}

.whatsapp-sticky:hover {
  background-color: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.whatsapp-sticky svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 767.98px) {
  .whatsapp-sticky {
    width: 56px;
    height: 56px;
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-sticky svg {
    width: 28px;
    height: 28px;
  }
}

