/* Footer Language Selector (Left) */
.tp-copyright__lang {
  position: relative;
  z-index: 10;
  display: inline-block;
  width: auto;
}

.tp-copyright__lang ul {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.tp-copyright__lang>ul>li>a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.tp-copyright__lang>ul>li>a:hover {
  color: #fff !important;
}

.tp-copyright__lang-submenu {
  bottom: 100% !important;
  top: auto !important;
  transform: translateY(-10px) !important;
  min-width: 120px;
  background: #fff;
  border: 1px solid var(--onesoft-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--onesoft-shadow);
  padding: 5px 0;
}

.tp-copyright__lang-submenu li a {
  color: #0f172a !important;
  font-weight: 600;
  padding: 8px 15px;
  display: block;
  font-size: 13px;
  transition: all 0.2s ease;
}

.tp-copyright__lang-submenu li a:hover {
  background: rgba(255, 109, 6, 0.1);
  color: var(--onesoft-accent) !important;
}

.tp-copyright__lang:hover .tp-copyright__lang-submenu {
  transform: translateY(0) !important;
}

/* OneSoft Custom Styles
   - Catalog page (project.html): search + filters + cards + modals
   - Keep lightweight and override-safe
*/
:root {
  --onesoft-accent: #ff6d06;
  --onesoft-border: rgba(10, 23, 42, .12);
  --onesoft-shadow: 0 12px 28px rgba(10, 23, 42, .08);
  --onesoft-shadow-hover: 0 18px 44px rgba(10, 23, 42, .12);
}

.onesoft-catalog-controls {
  background: #fff;
  border: 1px solid var(--onesoft-border);
  border-radius: 18px;
  padding: 18px 18px 14px;
  box-shadow: 0 12px 28px rgba(10, 23, 42, .06);
}

.grey-bg-2 .onesoft-catalog-controls {
  background: #fff;
}

.onesoft-search {
  position: relative;
}

.onesoft-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .55;
}

.onesoft-search input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--onesoft-border);
  padding: 0 14px 0 44px;
  outline: none;
  transition: box-shadow .18s ease, border-color .18s ease;
  background: #fff;
}

.onesoft-search input:focus {
  border-color: rgba(255, 109, 6, .55);
  box-shadow: 0 0 0 4px rgba(255, 109, 6, .12);
}

.onesoft-filter {
  gap: 10px;
}

.onesoft-filter-btn {
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--onesoft-border);
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  font-size: 14px;
  transition: transform .14s ease, border-color .14s ease, background .14s ease, color .14s ease;
}

.onesoft-filter-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 109, 6, .35);
}

.onesoft-filter-btn.active {
  background: var(--onesoft-accent);
  border-color: var(--onesoft-accent);
  color: #fff;
}

.onesoft-catalog-meta {
  font-size: 14px;
  opacity: .75;
  padding: 2px 2px 0;
}

/* Cards */
.onesoft-catalog-item {
  transition: opacity .15s ease;
}

.onesoft-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--onesoft-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--onesoft-shadow);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.onesoft-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--onesoft-shadow-hover);
  border-color: rgba(255, 109, 6, .28);
}

.onesoft-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform .22s ease;
  background: #f2f4f7;
}

.onesoft-card:hover .onesoft-card-img {
  transform: scale(1.02);
}

.onesoft-card .p-4 {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.onesoft-card h4 {
  font-size: 20px;
  margin: 6px 0 8px;
  line-height: 1.15;
}

.onesoft-card p {
  margin: 0 0 12px;
  line-height: 1.35;
  color: #111827;
  opacity: .92;
}

.onesoft-card p strong {
  font-weight: 800;
}

.onesoft-card-list {
  margin: 0;
  padding-left: 18px;
}

.onesoft-card-list li {
  margin: 6px 0;
  line-height: 1.25;
  opacity: .9;
}

/* Badges */
.onesoft-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.onesoft-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--onesoft-border);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #0f172a;
}

.onesoft-badge.primary {
  background: rgba(255, 109, 6, .10);
  border-color: rgba(255, 109, 6, .32);
  color: #7a3200;
}

/* Actions (show on hover, keep accessible on mobile) */
.onesoft-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 24px 22px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease;
}

.onesoft-card:hover .onesoft-card-actions {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 991px) {
  .onesoft-card-actions {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

.onesoft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--onesoft-border);
  background: #fff;
  color: #0f172a;
  font-weight: 800;
  font-size: 14px;
  transition: transform .14s ease, border-color .14s ease, filter .14s ease;
}

.onesoft-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 109, 6, .35);
}

.onesoft-btn.primary {
  background: var(--onesoft-accent);
  border-color: var(--onesoft-accent);
  color: #fff;
}

.onesoft-btn.primary:hover {
  filter: brightness(.97);
}

.onesoft-hidden {
  display: none !important;
}

/* Modal polish */
.onesoft-modal .modal-dialog {
  max-width: 760px;
}

.onesoft-modal .modal-content {
  border-radius: 18px;
  border: 1px solid var(--onesoft-border);
  overflow: hidden;
}

.onesoft-modal .modal-header {
  border: 0;
  padding: 18px 22px 10px;
}

.onesoft-modal .modal-title {
  font-size: 22px;
  line-height: 1.15;
}

.onesoft-modal .modal-body {
  padding: 14px 22px 18px;
}

.onesoft-modal .modal-footer {
  border: 0;
  padding: 0 22px 22px;
  gap: 10px;
  justify-content: flex-start;
}

.onesoft-modal-hero {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.onesoft-modal-img {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  border: 1px solid var(--onesoft-border);
  object-fit: cover;
  background: #f2f4f7;
  flex: 0 0 auto;
}

/* CRM gibi ekran görüntüsü ağırlıklı modallar için geniş görsel */
.onesoft-modal-img--wide {
  width: 320px;
  height: 190px;
}

.onesoft-modal-kicker {
  margin: 0 0 6px;
  font-weight: 900;
  color: #0f172a;
}

.onesoft-modal-desc {
  margin: 0 0 10px;
  opacity: .9;
  line-height: 1.35;
}

.onesoft-modal-points .onesoft-card-list {
  margin-top: 0;
}

/* CRM ekran görüntüleri (modal içi mini galeri) */
.onesoft-picture {
  display: block;
}

.onesoft-picture>img {
  display: block;
}

.onesoft-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.onesoft-shot-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--onesoft-border);
  background: #f2f4f7;
}

@media (max-width: 575px) {
  .onesoft-shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .onesoft-shot-grid img {
    height: 96px;
  }
}

@media (max-width: 575px) {
  .onesoft-modal-hero {
    flex-direction: column;
  }

  .onesoft-modal-img {
    width: 100%;
    height: 170px;
  }

  .onesoft-modal-img--wide {
    width: 100%;
    height: 190px;
  }
}

/* Footer social (project page) */
.onesoft-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--onesoft-border);
  margin-right: 8px;
  transition: transform .14s ease, border-color .14s ease;
}

.onesoft-social a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 109, 6, .35);
}


/* Utilities */
.onesoft-muted {
  opacity: .75;
  font-weight: 600;
}

.onesoft-note {
  font-size: 14px;
  opacity: .78;
}

.ajax-response {
  font-weight: 700;
}

.ajax-response.success {
  color: #16a34a;
}

.ajax-response.error {
  color: #dc2626;
}

/* Footer language switch visibility */
.tp-copyright__lang-box .tp-copyright__lang>ul>li>a span {
  color: #fff !important;
}

.tp-copyright__lang-submenu {
  background: #fff;
  border: 1px solid rgba(10, 23, 42, .12);
  border-radius: 12px;
  overflow: hidden;
}

.tp-copyright__lang-submenu li a {
  color: #0f172a !important;
}

.tp-copyright__lang-submenu li a:hover {
  background: rgba(255, 109, 6, .10);
}

/* Product slider image normalization */
.tp-project__thumb {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  overflow: hidden;
  border-radius: 12px;
  background: #f2f4f7;
}

.tp-project__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.tp-project__slider-wrapper {
  max-width: 440px;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(10, 23, 42, 0.08);
  border: 1px solid rgba(10, 23, 42, 0.08);
  margin-right: 20px;
}

.tp-project__item {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}

.tp-project__brand-icon {
  display: none !important;
}

.tp-project__content {
  flex: 1;
  min-width: 0;
}

.tp-project__title-sm {
  font-size: 18px !important;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tp-project__title-sm a {
  color: #0f172a;
}

.tp-project__content p {
  font-size: 14px;
  line-height: 1.4;
  color: #475569;
  margin: 0;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Partner logo sizing */
.onesoft-partner-logo {
  max-height: 50px;
  max-width: 110px;
  object-fit: contain;
}

/* Hero buttons z-index fix */
.tp-hero__btn-box {
  position: relative;
  z-index: 99;
}

.tp-hero__btn-box .tp-btn {
  position: relative;
  z-index: 100;
  pointer-events: auto !important;
}

.header-bottom__btn {
  position: relative;
  z-index: 100;
}

/* Sticky Header "Teklif Al" Visibility Fix */
#header-sticky.header-sticky .header-bottom__action a span {
  color: #0f172a !important;
}

#header-sticky.header-sticky .header-bottom__action a svg {
  color: #ff6d06 !important;
}

/* Reference avatars */
.onesoft-ref-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Hero Section Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatAnimation {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 109, 6, 0.4);
  }

  50% {
    box-shadow: 0 0 20px 10px rgba(255, 109, 6, 0.1);
  }
}

.tp-hero__hero-title {
  animation: fadeInUp 0.8s ease-out;
}

.tp-hero__btn-box {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.tp-hero__thumb-box {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.tp-hero__thumb img {
  transition: transform 0.4s ease;
}

.tp-hero__thumb:hover img {
  transform: scale(1.02);
}

/* Button hover effects */
.tp-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.tp-btn:hover::before {
  left: 100%;
}

.tp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 109, 6, 0.3);
}

/* Reference cards enhancement */
.onesoft-ref-card {
  background: #fff;
  border: 1px solid var(--onesoft-border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(10, 23, 42, 0.05);
}

.onesoft-ref-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(10, 23, 42, 0.12);
  border-color: rgba(255, 109, 6, 0.3);
}

.onesoft-ref-card h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.onesoft-ref-card a {
  color: var(--onesoft-accent);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.onesoft-ref-card a:hover {
  color: #cc5705;
  text-decoration: underline;
}

/* Reference logos styling */
.onesoft-ref-logo-img {
  max-width: 140px;
  max-height: 64px;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
  transition: transform 0.3s ease;
  opacity: 0.9;
}

.onesoft-ref-card:hover .onesoft-ref-logo-img {
  transform: scale(1.05);
  opacity: 1;
}

/* Section fade-in on scroll */
.tp-section-title {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Service cards animation */
.tp-feature__item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tp-feature__item:hover {
  transform: translateY(-5px);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 109, 6, 0.5);
  outline-offset: 2px;
}

/* Floating WhatsApp Button & Robot Enhancements */
.onesoft-whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 9999;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

.onesoft-whatsapp-float img {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
  animation: onesoftRobotFloat 3s ease-in-out infinite;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.onesoft-whatsapp-float:hover img {
  transform: scale(1.1) rotate(5deg);
}

/* Speech Bubble */
.onesoft-whatsapp-msg {
  background: white;
  padding: 10px 18px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-right: 15px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  position: relative;
  opacity: 0;
  visibility: hidden;
  animation: onesoftBubblePop 10s ease-in-out infinite;
  white-space: nowrap;
  pointer-events: none;
}

.onesoft-whatsapp-msg::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px 0 8px 10px;
  border-style: solid;
  border-color: transparent transparent transparent white;
}

/* Animations */
@keyframes onesoftRobotFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes onesoftBubblePop {

  0%,
  10%,
  90%,
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
  }

  15%,
  85% {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
}

@media (max-width: 767px) {
  .onesoft-whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .onesoft-whatsapp-float img {
    width: 60px;
  }

  .onesoft-whatsapp-msg {
    display: none;
    /* Mobile'da kalabalığı önlemek için mesajı gizleyelim */
  }
}

/* Hero: Butonlar ile alt slogan birbirine çok yaklaşmasın */
.tp-hero__btn-box {
  margin-bottom: 18px;
}

.tp-hero__btn-box+p {
  margin-top: 18px;
}

/* CRM ürün kartı görsel hizalama ve normalizasyon */
.onesoft-crm-thumb {
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.onesoft-img-contain {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 10px;
}

/* CTA ve Footer arası boşluk */
.tp-cta-area {
  margin-bottom: 80px;
}

@media (max-width: 767px) {
  .tp-cta-area {
    margin-bottom: 40px;
  }
}

/* Fix for index/contact header menu visibility when transparent */
#header-sticky.header-bottom__transparent:not(.header-sticky) .header-bottom__main-menu ul li a {
  color: #000229 !important;
}

#header-sticky.header-bottom__transparent:not(.header-sticky) .header-bottom__action-2 svg,
#header-sticky.header-bottom__transparent:not(.header-sticky) .header-bottom__action-2 span {
  color: #000229 !important;
}

/* Ensure breadcrumb title visibility and styling on all pages */
.about-banner-title {
  color: #fff !important;
  font-weight: 800;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}