﻿@media (min-width: 1024px) {
  #home {
    background: none;
  }

  #home::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 48%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 16%, rgba(255,255,255,0.7) 32%, rgba(255,255,255,0.5) 48%, rgba(255,255,255,0.25) 68%, rgba(255,255,255,0.08) 84%, rgba(255,255,255,0) 100%), url('./hero.jpg');
    background-repeat: no-repeat, no-repeat;
    background-position: left top, right center;
    background-size: 100% 100%, cover;
    z-index: 0;
  }

  #home > div:first-child {
    display: none !important;
  }

  #home > div:nth-child(2) > div:last-child {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  #home {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.62) 0%, rgba(255,255,255,0.62) 100%), linear-gradient(to top, rgba(37,99,235,0.12) 0%, rgba(37,99,235,0.08) 40%, rgba(37,99,235,0.04) 70%, rgba(37,99,235,0.00) 100%), linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.75) 40%, rgba(255,255,255,0.50) 70%, rgba(255,255,255,0.42) 100%), url('./hero.jpg');
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: left top, left top, left top, right center;
    background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  }
  #home p { color: #000 !important; }
}

#services .absolute.top-6.right-6.w-40.h-28 {
  display: none !important;
}
#services .absolute.top-6.right-6.w-40.h-28 {
  display: none !important;
}

@media (min-width: 768px) {
  #services .grid > div::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 48%;
    height: 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: left top, right center;
    background-size: 100% 100%, cover;
    z-index: 0;
    pointer-events: none;
  }

  #services .grid > div:nth-child(1)::after {
    background-image: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 16%, rgba(255,255,255,0.7) 32%, rgba(255,255,255,0.5) 48%, rgba(255,255,255,0.25) 68%, rgba(255,255,255,0.08) 84%, rgba(255,255,255,0) 100%), url('./profesyonel-kamera-sistemleri.jpg');
  }

  #services .grid > div:nth-child(2)::after {
    background-image: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 16%, rgba(255,255,255,0.7) 32%, rgba(255,255,255,0.5) 48%, rgba(255,255,255,0.25) 68%, rgba(255,255,255,0.08) 84%, rgba(255,255,255,0) 100%), url('./plaka-tanima-sistemleri.jpg');
  }

  #services .grid > div:nth-child(3)::after {
    background-image: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 16%, rgba(255,255,255,0.7) 32%, rgba(255,255,255,0.5) 48%, rgba(255,255,255,0.25) 68%, rgba(255,255,255,0.08) 84%, rgba(255,255,255,0) 100%), url('./hirsiz-koruma.jpg');
  }

  #services .grid > div:nth-child(4)::after {
    background-image: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 16%, rgba(255,255,255,0.7) 32%, rgba(255,255,255,0.5) 48%, rgba(255,255,255,0.25) 68%, rgba(255,255,255,0.08) 84%, rgba(255,255,255,0) 100%), url('./sistem-entegrasyonu.jpg');
  }
}

@media (max-width: 767px) {
  #services .grid > div > div {
    position: relative;
    background-repeat: no-repeat, no-repeat;
    background-position: right center;
    background-size: cover;
    background-blend-mode: lighten;
    overflow: hidden;
  }
  #services .grid > div > div::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.85) 30%,
      rgba(255,255,255,0.55) 60%,
      rgba(255,255,255,0.15) 100%);
    pointer-events: none;
    z-index: 0;
  }
  #services .grid > div > div > * {
    position: relative;
    z-index: 1;
  }
  #services .grid > div:nth-child(1) > div {
    background-image: url('./profesyonel-kamera-sistemleri.jpg');
  }
  #services .grid > div:nth-child(2) > div {
    background-image: url('./plaka-tanima-sistemleri.jpg');
  }
  #services .grid > div:nth-child(3) > div {
    background-image: url('./hirsiz-koruma.jpg');
  }
  #services .grid > div:nth-child(4) > div {
    background-image: url('./sistem-entegrasyonu.jpg');
  }

  /* Logo seridi g?rsellerini b?y?tme (hero ile hizmetler arasi) */
  img[src*="acun-"],
  img[src*="medikalpark-"],
  img[src*="limon-1-"],
  img[src*="rings-"],
  img[src*="32-"] {
    display: inline-block;
    transform: scale(1.1);
    transform-origin: center;
    filter: contrast(1.05);
  }
}

@media (min-width: 1024px) {
  img[src*="acun-"],
  img[src*="medikalpark-"],
  img[src*="limon-1-"],
  img[src*="rings-"],
  img[src*="32-"] {
    transform: scale(1.25);
  }
  img[alt*="Limon"],
  img[alt*="Acun"],
  img[alt*="Medikal"],
  img[alt*="Rings"],
  img[alt*="Production"],
  img[alt*="Productions"] {
    display:inline-block;
    transform: scale(1.25);
    transform-origin: center;
    filter: contrast(1.05);
  }
}

/* Logo seridi (hero ile hizmetler arasi) */
.logo-belt {
  position: relative;
  overflow: hidden;
  padding: 0.4rem 2rem;
}
.logo-track {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  justify-content: flex-start !important;
  animation: marquee 64s linear infinite;
  will-change: transform;
}
.logo-track > div {
  flex: 0 0 auto !important;
  margin-right: 1rem !important;
  height: 2.8rem !important;
  width: 6.5rem !important;
}
.logo-belt img.max-h-12{
  max-height: 100% !important;
  height: 2.8rem !important;
}
@media (min-width:1024px){
  .logo-belt .logo-track > div{
    height: 5rem !important;
    width: 8.5rem !important;
  }
  .logo-belt img.max-h-12{
    height: 5rem !important;
    max-height: 5rem !important;
  }
}

/* Mobilde logo alanini b?y?t */
@media (max-width: 767px) {
  .logo-belt .logo-track > div {
    height: 4.4rem !important;
    width: 7.2rem !important;
  }
  .logo-belt img.max-h-12{
    height: 4.4rem !important;
    max-height: 4.4rem !important;
  }
}

/* Se?ili logolari b?y?t */
img[src*="17.jpg"],
img[src*="19.jpg"],
img[src*="20.jpg"],
img[src*="29.jpg"],
img[src*="acun-djzu79xa"],
img[src*="cuhadarlar"],
img[src*="medikalpark-"],
img[src*="petek_mimarl"],
img[src*="rings-dy9leljn"],
img[src*="turker"]{
  height: 4.6rem !important;
  max-height: 4.6rem !important;
  transform: none !important;
}
@media (min-width:1024px){
  img[src*="17.jpg"],
  img[src*="19.jpg"],
  img[src*="20.jpg"],
  img[src*="29.jpg"],
  img[src*="acun-djzu79xa"],
  img[src*="cuhadarlar"],
  img[src*="medikalpark-"],
  img[src*="petek_mimarl"],
  img[src*="rings-dy9leljn"],
  img[src*="turker"]{
    height: 5.6rem !important;
    max-height: 5.6rem !important;
  }
}

@keyframes marquee{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}
#services .grid p,
#services .grid li,
#services .grid li span { color: #000 !important; }

/* Basari Hikayeleri g?rsellerini her zaman renkli tutmak i?in genel override */
.group img { filter: none !important; -webkit-filter: none !important; }
[class*="grayscale"] { filter: none !important; -webkit-filter: none !important; }

/* Hizmet kartlar?: mobilde hover renkleri kal?c? kals?n */
@media (max-width: 767px) {
  #services .group .group-hover\:bg-corporate-main {
    background-color: #111827 !important;
    color: #ffffff !important;
  }
  #services .group .group-hover\:text-white { color: #ffffff !important; }
  #services .group .group-hover\:text-corporate-accent { color: #2563eb !important; }
  #services .group .group-hover\:bg-corporate-accent { background-color: #2563eb !important; }
}
#contact-actions{display:none !important;position:fixed;left:0;right:0;bottom:0;transform:translateY(100%);opacity:0;transition:transform .4s ease,opacity .4s ease;z-index:50}
#contact-actions .bar,
#contact-actions a{display:none !important}
.fixed.bottom-0.left-0.w-full.z-50{display:none !important}
#defer-contact .defer-contact{opacity:0!important;pointer-events:none!important;transform:translateY(100%)!important;transition:transform .4s ease,opacity .4s ease}
#defer-contact .defer-contact.show{opacity:1!important;pointer-events:auto!important;transform:translateY(0)!important}

/* --- Mobil sticky bar (call + WhatsApp) --- */
@media (max-width: 767px) {
  body #contact-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    transform: translateY(100%);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
    display: block !important;
    pointer-events: none;
  }
  body #contact-actions.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  body #contact-actions .bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px 12px 0 0;
    gap: 10px;
    padding: 10px 12px 14px;
    box-shadow: 0 -6px 24px rgba(0,0,0,0.12);
  }
  body #contact-actions a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 14px;
    gap: 8px;
    border: 1px solid rgba(17,24,39,0.08);
    border-radius: 12px;
  }
  body #contact-actions a.call {
    background: #111827;
    animation: pulse-call 2.8s ease-in-out infinite;
  }
  body #contact-actions a.whatsapp {
    background: #25D366;
    animation: pulse-wa 2.8s ease-in-out infinite;
  }
  body #contact-actions a .icon {
    display: inline-flex;
  }
  body #contact-actions a .icon svg {
    width: 18px;
    height: 18px;
  }
}
@media (min-width: 768px) {
  body #contact-actions { display: none !important; }
}

/* Logo (navbar) hafif zoom */
nav img[alt*="Mayis Elektronik Logo"] {
  height: 4rem !important;
  max-height: 4rem !important;
  transform: scale(1.12);
  transform-origin: center;
}
@media (max-width: 767px) {
  nav img[alt*="Mayis Elektronik Logo"] {
    transform: scale(1.05);
  }
}

@keyframes pulse-call {
  0%, 100% { box-shadow: 0 0 0 0 rgba(17,24,39,0.22); }
  50% { box-shadow: 0 0 0 12px rgba(17,24,39,0); }
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.24); }
  50% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
}



/* Hizmet i? sayfalar?: hero'daki g?rseli mobilde gizle */
@media (max-width: 767px) {
  body[data-path^="/hizmetler"] section:first-of-type .md\:w-1\/2 img {
    display: none !important;
  }
  body[data-path^="/hizmetler"] section:first-of-type .md\:w-1\/2 {
    min-height: 0 !important;
  }
}




/* ======================================
   LANDING PAGE SECTIONS
   ====================================== */

.lp-section {
  max-width: 1400px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem 1.5rem;
  position: relative;
}
.lp-section.alt-bg { background: #F9FAFB; }
.lp-section-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.lp-section-subtitle {
  font-size: 1.05rem;
  color: #4B5563;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.lp-trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.25rem 1rem;
  background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
  max-width: 1400px;
  margin: 0 auto;
}
.lp-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}
.lp-trust-badge .badge-icon {
  width: 22px; height: 22px;
  background: #2563eb;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  color: #fff;
}

.lp-problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.lp-problem-card {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  transition: all 0.25s ease;
}
.lp-problem-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37,99,235,0.1);
  transform: translateY(-2px);
}
.lp-problem-icon {
  width: 36px; height: 36px;
  background: #FEE2E2;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.lp-problem-text {
  font-size: 0.95rem; color: #111827; font-weight: 600; line-height: 1.4;
}
.lp-problem-text small {
  display: block; font-weight: 400; color: #6B7280; font-size: 0.82rem; margin-top: 2px;
}

.lp-solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}
.lp-solution-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  text-align: center;
  transition: all 0.3s ease;
}
.lp-solution-card:hover {
  border-color: #2563eb;
  box-shadow: 0 8px 24px rgba(37,99,235,0.08);
}
.lp-solution-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.25rem; color: #fff;
}
.lp-solution-card h3 { font-size: 1rem; font-weight: 700; color: #111827; margin-bottom: 0.35rem; }
.lp-solution-card p { font-size: 0.85rem; color: #6B7280; line-height: 1.5; margin: 0; }

.lp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}
.lp-stat { padding: 1rem 0.5rem; }
.lp-stat-number { font-size: 2rem; font-weight: 800; color: #2563eb; line-height: 1; margin-bottom: 0.3rem; }
.lp-stat-label { font-size: 0.82rem; color: #9CA3AF; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 640px) {
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
  .lp-stat-number { font-size: 1.6rem; }
}

.lp-partner-grid {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 1rem; margin-top: 1rem;
}
.lp-partner-item {
  padding: 0.65rem 1.25rem;
  background: #F3F4F6; border-radius: 10px;
  font-weight: 700; color: #374151; font-size: 0.85rem;
  transition: all 0.2s ease;
}
.lp-partner-item:hover { background: #E5E7EB; transform: scale(1.04); }

.lp-faq-list { max-width: 700px; margin: 0 auto; }
.lp-faq-item { border-bottom: 1px solid #E5E7EB; }
.lp-faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; cursor: pointer;
  font-weight: 700; font-size: 0.95rem; color: #111827;
  background: none; border: none; width: 100%; text-align: left;
  font-family: 'Manrope', sans-serif; transition: color 0.2s ease;
}
.lp-faq-question:hover { color: #2563eb; }
.lp-faq-question .faq-chevron { transition: transform 0.3s ease; flex-shrink: 0; margin-left: 1rem; }
.lp-faq-item.open .faq-chevron { transform: rotate(180deg); }
.lp-faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.9rem; color: #4B5563; line-height: 1.7;
}
.lp-faq-item.open .lp-faq-answer { max-height: 200px; padding-bottom: 1rem; }

.lp-cta-bottom {
  text-align: center; padding: 3.5rem 1.5rem;
  background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
  max-width: 1400px; margin: 0 auto;
}
.lp-cta-bottom h2 { font-size: 1.75rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.lp-cta-bottom p { color: #9CA3AF; font-size: 1rem; margin-bottom: 1.5rem; }
.lp-cta-buttons { display: flex; justify-content: center; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.lp-cta-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: 12px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: all 0.25s ease; border: none; cursor: pointer;
  font-family: 'Manrope', sans-serif;
}
.lp-cta-btn.primary { background: #2563eb; color: #fff; box-shadow: 0 4px 16px rgba(37,99,235,0.35); }
.lp-cta-btn.primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.4); }
.lp-cta-btn.whatsapp-btn { background: #25D366; color: #fff; box-shadow: 0 4px 16px rgba(37,211,102,0.3); }
.lp-cta-btn.whatsapp-btn:hover { background: #1eb954; transform: translateY(-2px); }
.lp-cta-btn.outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.lp-cta-btn.outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.lp-cta-btn svg { width: 18px; height: 18px; }

.lp-form-section { padding: 3rem 1.5rem; max-width: 1400px; margin: 0 auto; background: #fff; }
.lp-form-wrapper {
  max-width: 560px; margin: 0 auto;
  background: #F9FAFB; border: 1px solid #E5E7EB;
  border-radius: 16px; padding: 2rem;
}
.lp-form-wrapper h3 { font-size: 1.25rem; font-weight: 800; color: #111827; text-align: center; margin-bottom: 0.25rem; }
.lp-form-wrapper .form-subtitle { font-size: 0.88rem; color: #6B7280; text-align: center; margin-bottom: 1.5rem; }
.lp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.lp-form-grid .full-width { grid-column: 1 / -1; }
.lp-form-input {
  width: 100%; padding: 0.8rem 1rem;
  border: 1px solid #D1D5DB; border-radius: 10px;
  font-family: 'Manrope', sans-serif; font-size: 0.9rem; color: #111827;
  background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.lp-form-input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.lp-form-input::placeholder { color: #9CA3AF; }
textarea.lp-form-input { resize: vertical; min-height: 80px; }
.lp-form-submit {
  grid-column: 1 / -1; padding: 0.9rem;
  background: #2563eb; color: #fff;
  font-family: 'Manrope', sans-serif; font-size: 1rem; font-weight: 700;
  border: none; border-radius: 12px; cursor: pointer;
  transition: all 0.25s ease; margin-top: 0.25rem;
}
.lp-form-submit:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,0.35); }
@media (max-width: 480px) { .lp-form-grid { grid-template-columns: 1fr; } }

.lp-floating-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 55;
  display: flex; flex-direction: column; gap: 10px;
}
.lp-floating-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.lp-floating-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(0,0,0,0.22); }
.lp-floating-btn.phone { background: #111827; color: #fff; }
.lp-floating-btn.wa { background: #25D366; color: #fff; }
.lp-floating-btn svg { width: 24px; height: 24px; }
@media (max-width: 767px) { .lp-floating-cta { display: none; } }
