@import url('https://fonts.googleapis.com/css2?family=SN+Pro:ital,wght@0,200..900;1,200..900&display=swap');

* {
  font-family: 'SN Pro', sans-serif;
  font-size: 18px
}

html {
  --top-icon-bar-height: 50px;
  --navbar-top-offset: var(--top-icon-bar-height);
}

body {
  margin: 0;
  padding-top: var(--navbar-height, 126px);
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ========================= */
/* ICON BAR                  */
/* ========================= */
.top-icon-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--top-icon-bar-height);
  background-color: #BA0615;
  z-index: 1051;
  color: #ffffff;
  font-size: 20px; /* Genel ikon boyutu */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 30px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.top-icon-bar a {
  color: #ffffff;
  transition: color 0.3s ease, transform 0.3s ease;
  margin-top: 5px;
  text-decoration: none !important; /* Alt çizgiyi kaldırır */
}

/* Mail ikonu özel boyutlandırması */
.top-icon-bar .mail i {
  font-size: 20px; /* Diğer ikonlarla aynı boyut */
  color: #ffffff;
  transition: color 0.3s ease, transform 0.3s ease;
}

.top-icon-bar a:hover {
  transform: scale(1.15);
}

/* Renkler */
.top-icon-bar .facebook:hover  { color: #1877f2; }
.top-icon-bar .vkontakte:hover { color: #4c75a3; }
.top-icon-bar .whatsapp:hover  { color: #25d366; }
.top-icon-bar .telegram:hover  { color: #229ed9; }
.top-icon-bar .linkedin:hover  { color: #0a66c2; }
.top-icon-bar .mail:hover i {
  color: #ffcc00;
  transform: scale(1.15);
}

@media (max-width: 576px) {
  html {
    --top-icon-bar-height: 38px;
  }

  .top-icon-bar {
    padding: 0 12px;
  }

  .top-icon-bar .container-fluid {
    justify-content: flex-end !important;
    gap: 0.8rem !important;
    padding: 0;
  }

  .top-icon-bar a {
    margin-top: 0;
    line-height: 1;
  }

  .top-icon-bar a i,
  .top-icon-bar .mail i {
    font-size: 16px;
  }
}

/* Dar ekranlarda iç boşluklu ürün kartlarını tek sütunda tutarak metnin sıkışmasını önler. */
@media (max-width: 640px) {
  .target-grid,
  .module-grid,
  .equipment-grid,
  .barcode-types-grid,
  .defter-types-grid,
  .profession-grid,
  .stats-row {
    grid-template-columns: 1fr !important;
  }
}

.custom-news-carousel {
  margin-top: 0;
}

.custom-news-carousel .carousel {
  position: relative;
  min-height: 560px;
}

.custom-news-carousel .carousel-inner {
  min-height: 560px;
}

.custom-news-carousel .carousel-item {
  height: 100%;
}

.custom-news-carousel .carousel-item img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.custom-news-carousel .carousel-control-prev,
.custom-news-carousel .carousel-control-next {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  top: 50%;
  transform: translateY(-50%);
}

.custom-news-carousel .carousel-control-prev-icon,
.custom-news-carousel .carousel-control-next-icon {
  filter: invert(1);
}

.custom-carousel-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.custom-carousel-indicators button {
  min-width: 48px;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  transition: all 0.25s ease;
}

.custom-carousel-indicators .active {
  background: #BA0615;
  box-shadow: 0 0 18px rgba(186, 6, 21, 0.25);
}

.custom-news-carousel .carousel-overlay {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  pointer-events: none;
}

.custom-news-carousel .carousel-overlay .slider-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.custom-news-carousel .carousel-overlay .slider-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.02;
  font-weight: 700;
  margin-top: 1rem;
  max-width: 700px;
}

.custom-news-carousel .carousel-overlay .slider-date {
  color: #ced4da;
  font-size: 0.95rem;
}

.custom-news-carousel .slider-counter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.custom-news-carousel .slider-counter button {
  min-width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
  transition: all 0.25s ease;
  pointer-events: auto;
}

/* ========================= */
/* NAVBAR (MODERN STİLLER)   */
/* ========================= */
#mainNavbar {
  position: fixed;
  top: var(--top-icon-bar-height);
  left: 0;
  width: 100%;
  z-index: 1030;
  background: #050811;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  /* top değeri tamamen JS tarafından ayarlanır */
}

/* Scroll durumunda (JS 'scrolled' sınıfı ekler) */
#mainNavbar.scrolled {
  background: #050811;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Navbar küçülme efekti (JS 'navbar-shrink' sınıfı ekler) */
#mainNavbar.navbar-shrink {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

/* Logo */
.navbar-logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  padding: 3px;
}

.navbar-logo {
  height: 96%;
  width: auto;
  display: block;
  object-fit: contain;
  image-rendering: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.navbar-brand:hover .navbar-logo {
  transform: scale(1.04);
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.85rem;
  width: 3.1rem;
  height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.95)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-collapse {
  backdrop-filter: blur(12px);
  background: rgba(5, 8, 17, 0.94);
  border-radius: 1rem;
  box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.18);
}

.navbar-nav .nav-item {
  transition: transform 0.2s ease;
}

.navbar-nav .nav-item:hover {
  transform: translateY(-1px);
}

.navbar-nav .nav-link .bi {
  vertical-align: -0.1em;
}

/* Nav linkleri */
.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  color: #f8fafc;
  position: relative;
  transition: color 0.2s, background-color 0.2s;
  border-radius: 8px;
  text-decoration: none !important;
}

/* Hover / aktif durum: yazı bordo, arka plan hafif bordo tonlu */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #BA0615;
  background-color: rgba(186, 6, 21, 0.08);
}

/* Dropdown animasyon */
.dropdown-menu.animate {
  animation-duration: 0.25s;
  animation-fill-mode: both;
}
@keyframes slideIn {
  0% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.slideIn {
  animation-name: slideIn;
}

.navbar-nav .nav-link::after {
  display: none;
}

.dropdown-submenu {
  position: relative;
}

.edonusum-mega-menu {
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 1060;
  min-width: 320px;
  max-width: 420px;
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.dropdown-submenu:hover > .edonusum-mega-menu,
.dropdown-submenu.show > .edonusum-mega-menu,
.edonusum-mega-menu.show {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.edonusum-product-item {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background-color: #f8f9fa;
  color: #1e293b;
  text-decoration: none;
  margin-bottom: 0.65rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.edonusum-product-item:hover {
  background-color: #e7f1ff;
  color: #BA0615;
  transform: translateX(3px);
  text-decoration: none;
}

.edonusum-product-item small {
  font-size: 0.85rem;
  color: #6c757d;
}

@media (max-width: 991.98px) {
  .edonusum-mega-menu {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    margin-top: 0.5rem;
  }

  .edonusum-mega-menu.show {
    display: block;
  }
}

@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar-nav .nav-item.dropdown:hover > .nav-link {
    color: greenyellow;
  }

  .navbar-nav .nav-item.dropdown > .dropdown-menu {
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    display: block;
  }

  .navbar-nav .nav-item.dropdown.show > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Dropdown içerik */
.dropdown-menu {
  min-width: 260px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1.2rem 2rem rgba(15, 23, 42, 0.07);
  padding: 0.75rem 0.5rem;
}

.dropdown-menu.dropdown-menu-end {
  right: 0;
}

.navbar-nav .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform 0.2s ease;
}

.navbar-nav .nav-item.show > .nav-link::after {
  transform: rotate(180deg);
}

.dropdown-item {
  font-weight: 450;
  border-radius: 0.85rem;
  margin: 0.35rem 0;
  width: 100%;
  transition: all 0.15s;
}
.dropdown-item small {
  display: block;
  margin-top: 0.25rem;
  color: #6c757d;
  font-size: 0.82rem;
  line-height: 1.3;
}
.dropdown-item:hover {
  background-color: rgba(13, 110, 253, 0.08);
  color: #BA0615;
  padding-left: 1.1rem !important;
}
.dropdown-item i {
  color: #64748b;
  transition: color 0.15s;
}
.dropdown-item:hover i {
  color: #BA0615;
}
.dropdown-header {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: #64748b;
  padding: 0.5rem 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
}

/* Mobil menü */
@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 1.25rem 1.25rem;
    margin-top: 0.5rem;
  }
  .navbar-nav {
    padding: 1rem 0;
    gap: 0.25rem;
  }
  .navbar-nav .nav-item {
    border-radius: 0.85rem;
  }
  .navbar-nav .nav-link {
    padding: 0.85rem 1.1rem !important;
    width: 100%;
  }
  .dropdown-menu {
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 0.75rem 1.2rem rgba(15, 23, 42, 0.08) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
  }
  .dropdown-item {
    padding: 0.8rem 1.1rem !important;
    margin: 0 0.5rem;
    border-radius: 0.85rem;
  }
  .dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.08);
    color: #BA0615;
    padding-left: 1.1rem !important;
  }
  .dropdown-header {
    padding: 0.75rem 1.1rem;
  }
  .edonusum-mega-menu {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    margin-top: 0.5rem;
  }
  .edonusum-mega-menu.show {
    display: block;
  }
}

/* ========================= */
/* HEADER (logo)             */
/* ========================= */
.GidzaTech_Logo {
  background-color: white;
  border-radius: 5%;
  margin: 5px;
  width: 100px;
  height: auto;
}

/* ========================= */
/* YAN MENÜ (SIDENAV)        */
/* ========================= */
.social {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 1040;
  transform: translateY(-50%);
}

@media (max-width: 991.98px) {
  #mainNavbar {
    max-height: 100dvh;
  }

  #mainNavbar .container-fluid {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  .navbar-logo-wrapper {
    width: 64px;
    height: 64px;
  }

  .navbar-toggler {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
  }

  /* Sabit navbar içindeki uzun açılır menüler ekran dışına taşmasın. */
  /* Sabit navbar içindeki uzun açılır menüler ekran dışına taşmasın. */
  #mainNavbar .navbar-collapse {
    max-height: calc(100vh - var(--navbar-top-offset) - 80px);
    max-height: calc(100dvh - var(--navbar-top-offset) - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
}
.social ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.social ul li {
  display: block;
  background-color: rgba(0, 0, 0, 0.5);
  width: fit-content;
  max-width: calc(100vw - 16px);
  padding: 6px 8px;
  border-radius: 0 30px 30px 0;
  transform: translateX(calc(-100% + 56px));
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.social ul li:hover,
.social ul li:focus-within {
  transform: translateX(0);
}
.social ul li.Krmsl:hover { background-color: #55acee; }
.social ul li.Rfrnslr:hover { background-color: #05fa12; }
.social ul li.google-plus:hover { background-color: #05f8e3; }
.social ul li.Cntct:hover { background-color: #fa0632; }
.social ul li a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
}
.social ul li i {
  text-align: center;
  color: black;
  background-color: white;
  padding: 9px;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 18px;
  transform: rotate(0deg);
  z-index: 2;
}
.social ul li:hover i,
.social ul li:focus-within i {
  transform: rotate(360deg);
  transition: transform 0.5s ease;
}

/* ========================= */
/* FOOTER SOSYAL İKONLAR     */
/* ========================= */
.social-icons_footer .whatsapp:hover i,
.social-icons_footer .vkontakte:hover i,
.social-icons_footer .telegram:hover i,
.social-icons_footer .linkedin:hover i {
}

.social-icons_footer .whatsapp:hover i { color: #25d366; }
.social-icons_footer .vkontakte:hover i { color: #147cf1; }
.social-icons_footer .telegram:hover i { color: #229ed9; }
.social-icons_footer .linkedin:hover i { color: #0a66c2; }

/* ========================= */
/* LOADING OVERLAY           */
/* ========================= */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.3s ease;
}
.loading-logo {
  width: 150px;
  height: auto;
  animation: logo-pulse 1s ease-in-out 1;
}
@keyframes logo-pulse {
  0%, 100% { transform: scale(4); }
  50% { transform: scale(1); }
}
#loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ========================= */
/* RESPONSIVE DÜZELTMELER    */
/* ========================= */
@media (max-width: 991.98px) {

}

.home-overview-section {
  background: linear-gradient(135deg, #f8f9fc 0%, #eef3ff 100%);
  padding: 2rem 0 4rem;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #BA0615;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: #050811;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-text {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 1.4rem;
}

.btn-home-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #BA0615;
  color: #fff;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-home-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(186, 6, 21, 0.18);
}

.btn-home-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-home-outline:hover {
  color: #BA0615;
  border-color: #BA0615;
  transform: translateY(-2px);
}

.home-highlight-card,
.home-feature-card,
.home-work-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.home-highlight-card::before,
.home-feature-card::before,
.home-work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(186, 6, 21, 0.03), rgba(13, 110, 253, 0.04));
  pointer-events: none;
}

.home-highlight-card {
  padding: 1.5rem;
}

.home-highlight-icon,
.home-feature-icon,
.home-work-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #BA0615, #ff4d5b);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.95rem;
  box-shadow: 0 10px 22px rgba(186, 6, 21, 0.2);
}

.home-highlight-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #050811;
  margin-bottom: 1rem;
}

.home-highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.home-highlight-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #334155;
  font-weight: 500;
}

.home-highlight-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: rgba(186, 6, 21, 0.08);
  color: #BA0615;
  font-weight: 700;
}

.home-feature-card {
  padding: 1.5rem;
  height: 100%;
}

.home-feature-card h4 {
  color: #050811;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.home-feature-card p,
.home-work-card p {
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 0;
}

.home-work-card {
  padding: 1.5rem;
  height: 100%;
}

.home-work-card-visual {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.home-work-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 1.2rem;
  border-top-right-radius: 1.2rem;
}

.home-work-body {
  padding: 1.5rem;
}

.home-work-label {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: #BA0615;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.home-work-card h3 {
  color: #050811;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.home-info-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
  color: #334155;
}

.home-info-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
}

.home-info-list i {
  color: #BA0615;
}

@media (max-width: 767.98px) {
  .home-overview-section {
    padding: 1.25rem 0 3rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}
