/* Bootstrap 4 Uyumlu Home CSS */

/* Eski kolon kayması kapalı — wipe reveal JS ile */
.features-wrap .cms-section-animate {
  opacity: 1;
  transform: none;
  transition: none;
}

.features-wrap .cms-section-animate.is-inview {
  opacity: 1;
  transform: none;
}

/* Wrap öncesi ham görselleri gizle (FOUC) */
.features-wrap .feature > img {
  opacity: 0;
}

/* Eczacıbaşı mask — transform'u GSAP yönetir */
.features-wrap .mask {
  display: block;
  width: 100%;
  overflow: hidden;
  visibility: hidden;
  position: relative;
}

.features-wrap .feature .card.reveal-effect-left,
.features-wrap .feature .card.reveal-effect-left-delay {
  display: block;
  width: 100%;
  background: transparent;
  position: relative;
}

.features-wrap .feature .mask img,
.features-wrap .feature .card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  opacity: 1;
}

.features-wrap .feature h3,
.features-wrap .feature p {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0.6s;
}

.features-wrap .feature.is-revealed h3,
.features-wrap .feature.is-revealed p {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .features-wrap .feature > img,
  .features-wrap .mask {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .features-wrap .feature h3,
  .features-wrap .feature p {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.home-hero p.content-description  {font-weight: 400}

/* Mobil: animasyon maskeleri yatay scroll üretmesin */
body.home,
body.home .main {
  overflow-x: hidden;
}

.features-wrap {
  overflow: hidden;
}

/*
  Mobil Nilco hero animasyonu:
  - Desktop mask-size (170–439vw) yazının üstüne biniyor
  - Overlay'ler mobilde kapalı → okunabilirlik düşüyor
  - Mask'ı alta/sağa al, metni üstte cam kartta tut
*/
@media (max-width: 991.98px) {
  .home-hero-wrapper {
    margin-top: 0 !important;
    z-index: 1 !important;
    padding-top: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 0 !important;
  }

  .home-hero-wrapper:before {
    display: none !important;
  }

  .mainnav {
    position: sticky;
    z-index: 1030;
  }

  .home-mask-e-1,
  .home-mask-e-2 {
    z-index: 0 !important;
    pointer-events: none !important;
    top: auto !important;
    bottom: -8% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 48vh !important;
    max-height: 380px !important;
    padding: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    /* animasyon mask-size/position değiştirebilsin diye !important yok */
    -webkit-mask-size: 150vw;
    mask-size: 150vw;
    -webkit-mask-position: 94% 82%;
    mask-position: 94% 82%;
    -webkit-animation: homeMask1Mobile 3.2s ease-out forwards !important;
    animation: homeMask1Mobile 3.2s ease-out forwards !important;
  }

  .home-mask-e-2 {
    opacity: 0.12 !important;
    -webkit-mask-size: 140vw;
    mask-size: 140vw;
    -webkit-mask-position: 92% 80%;
    mask-position: 92% 80%;
    -webkit-animation: homeMask2Mobile 3.2s ease-out forwards !important;
    animation: homeMask2Mobile 3.2s ease-out forwards !important;
  }

  @-webkit-keyframes homeMask1Mobile {
    0% {
      -webkit-mask-size: 12vw;
      mask-size: 12vw;
      -webkit-mask-position: 90% 88%;
      mask-position: 90% 88%;
      opacity: 0.2;
      -webkit-filter: blur(2px);
      filter: blur(2px);
    }
    100% {
      -webkit-mask-size: 150vw;
      mask-size: 150vw;
      -webkit-mask-position: 94% 82%;
      mask-position: 94% 82%;
      opacity: 0.7;
      -webkit-filter: blur(0);
      filter: blur(0);
    }
  }

  @keyframes homeMask1Mobile {
    0% {
      -webkit-mask-size: 12vw;
      mask-size: 12vw;
      -webkit-mask-position: 90% 88%;
      mask-position: 90% 88%;
      opacity: 0.2;
      filter: blur(2px);
    }
    100% {
      -webkit-mask-size: 150vw;
      mask-size: 150vw;
      -webkit-mask-position: 94% 82%;
      mask-position: 94% 82%;
      opacity: 0.7;
      filter: blur(0);
    }
  }

  @-webkit-keyframes homeMask2Mobile {
    0% {
      -webkit-mask-size: 12vw;
      mask-size: 12vw;
      opacity: 0;
    }
    70% {
      opacity: 0;
    }
    100% {
      -webkit-mask-size: 140vw;
      mask-size: 140vw;
      opacity: 0.12;
    }
  }

  @keyframes homeMask2Mobile {
    0% {
      -webkit-mask-size: 12vw;
      mask-size: 12vw;
      opacity: 0;
    }
    70% {
      opacity: 0;
    }
    100% {
      -webkit-mask-size: 140vw;
      mask-size: 140vw;
      opacity: 0.12;
    }
  }

  .home-overlay-40deg {
    display: block !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 62% !important;
    z-index: 1 !important;
    opacity: 1 !important;
    background: linear-gradient(
      180deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.92) 42%,
      rgba(255, 255, 255, 0.35) 78%,
      rgba(255, 255, 255, 0) 100%
    ) !important;
    animation: none !important;
  }

  .home-overlay-111deg {
    display: none !important;
  }

  .home-custom-mask-gradient {
    display: none !important;
  }

  .home-hero,
  .home-page-first-section {
    position: relative !important;
    z-index: 2 !important;
    height: auto !important;
    min-height: 0 !important;
    padding-top: 18px !important;
    padding-bottom: 36px !important;
    display: block !important;
    align-items: flex-start !important;
  }

  .home-hero .container,
  .home-hero .row {
    position: relative;
    z-index: 3;
  }

  .home-content {
    position: relative;
    z-index: 4 !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 18px 16px !important;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 28px rgba(20, 22, 50, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .home-content .content-title,
  .home-content h4 {
    font-size: clamp(1.35rem, 6.2vw, 1.75rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.85rem !important;
  }

  .home-content .content-description,
  .home-content p {
    max-width: 100% !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    color: #3a3f4b !important;
    text-shadow: none;
  }

  .home-content .outline-btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    font-size: 1rem !important;
  }

  .features-wrap .mask {
    max-width: 100%;
  }

  .features-wrap .feature .mask img,
  .features-wrap .feature .card-img {
    height: 200px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    height: 38px;
  }

  .features-wrap {
    padding: 40px 0;
  }

  .home-mask-e-1,
  .home-mask-e-2 {
    height: 44vh !important;
    max-height: 340px !important;
  }

  .home-hero,
  .home-page-first-section {
    padding-top: 12px !important;
    padding-bottom: 28px !important;
  }
}

@media (max-width: 414px) {
  .home-hero {
    height: auto !important;
  }
}

@media (max-height: 736px) {
  .home-hero {
    height: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-mask-e-1,
  .home-mask-e-2 {
    animation: none !important;
    opacity: 0.55 !important;
  }

  .home-mask-e-2 {
    opacity: 0.1 !important;
  }
}

/* Üst mor şerit */
.topbar{
  background:var(--brand-blue);
  color:#fff; font-weight:600; letter-spacing:.02em; font-size:.95rem;
  padding:.65rem 0;
}
.topbar a{ color:#fff; text-decoration:none; }
.topbar a:hover{ text-decoration:underline; }

/* Alt beyaz navbar */
.mainnav{
  background:#fff; border-bottom:1px solid #eef1f5;
}
.navbar-brand img{
  height:46px; width:auto;
}
.navbar-nav .nav-link{
  color:var(--link-blue);
  font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  padding-left:1rem; padding-right:1rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus{
  opacity:.8;
}
/* Hamburger butonu görünümü biraz netleşsin */
.navbar-light .navbar-toggler{
  border-color:rgba(0,0,0,.1);
}
/* Mobilde menü linkleri aralığı */
@media (max-width: 991.98px){
  .navbar-nav .nav-link{ padding:.75rem 0; }
}

/* 1. Hero + Görsel Kolaj Stilleri */
.home-content .outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.88rem 1.85rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(1, 99, 168, 0.72) 0%,
    rgba(46, 47, 135, 0.82) 100%
  );
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 1.05rem !important;
  letter-spacing: 0.02em;
  box-shadow:
    0 10px 30px rgba(1, 99, 168, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.home-content .outline-btn::after {
  content: '\2192';
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.home-content .outline-btn:hover,
.home-content .outline-btn:focus {
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-2px);
  background: linear-gradient(
    135deg,
    rgba(2, 120, 196, 0.88) 0%,
    rgba(59, 60, 168, 0.92) 100%
  );
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 14px 36px rgba(1, 99, 168, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.home-content .outline-btn:hover::after,
.home-content .outline-btn:focus::after {
  transform: translateX(4px);
}

:root {
  --hero-bg: radial-gradient(1200px 600px at 85% 20%, rgba(123,97,255,.08), transparent 60%),
             radial-gradient(900px 500px at 60% 80%, rgba(0,191,165,.08), transparent 60%);
}

.hero {
  background: #f8fafc;
  background-image: var(--hero-bg);
  position: relative;
  overflow: hidden;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 992px) {
  .hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.quote-wrap {
  position: relative;
  padding-left: 2.5rem;
}

.quote-wrap::before,
.quote-wrap::after {
  content: """;
  position: absolute;
  font-size: 3rem;
  line-height: 1;
  color: rgba(0,0,0,.08);
  font-weight: 700;
}

.quote-wrap::before { 
  left: 0; 
  top: -.25rem; 
  transform: rotate(180deg); 
}

.quote-wrap::after { 
  right: .25rem; 
  bottom: -1.25rem; 
}

.img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.img-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
  overflow: hidden;
  background: #e9ecef;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.img-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-circle { 
  border-radius: 50%; 
}

/* Bootstrap 4 gap alternatifi */
.g-5 > * {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.g-5 {
  margin-right: -1.5rem;
  margin-left: -1.5rem;
}

@media (max-width: 991.98px) {
  .hero { 
    padding-top: 2rem; 
  }
}

/* 2. Geometrik İkonlar Stilleri */
.features-wrap { 
  padding: 60px 0; 
  background: #fff; 
}

.feature { 
  text-align: center; 
}

.feature h3 {
  margin: 20px 0 10px;
}

@media (min-width: 768px) {
  .feature h3 {
    font-size: 1.35rem;
  }
}

@media (min-width: 1200px) {
  .feature h3 {
    font-size: 1.5rem;
  }
}

.feature p { 

}

.feature-icon {
  position: relative; 
  width: 120px; 
  height: 120px;
  margin: 0 auto; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  transition: transform .25s ease, filter .25s ease;
}

@media (max-width: 767px) {
  .feature-icon {
    width: 100px;
    height: 100px;
  }
}

.feature-icon svg { 
  width: 100%; 
  height: 100%; 
  display: block; 
}

.poly { 
  fill: none; 
  stroke: #bfc5ce; 
  stroke-width: 2; 
  vector-effect: non-scaling-stroke; 
}

.feature-icon::after {
  content: attr(data-badge);
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  color: #6c757d; 
  font-weight: 700; 
  font-size: 18px;
}

@media (max-width: 767px) {
  .feature-icon::after {
    font-size: 16px;
  }
}

.feature:hover .feature-icon { 
  transform: translateY(-3px); 
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.08)); 
}

.feature:hover .poly { 
  stroke: #8b95a5; 
}

/* SVG İkonları Ekleme */
.feature-icon[data-badge="1"] svg {
  width: 100%;
  height: 100%;
}

.feature-icon[data-badge="1"]:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon fill='none' stroke='%23bfc5ce' stroke-width='2' points='50,10 88.04,37.64 73.51,82.36 26.49,82.36 11.96,37.64'/%3E%3Cpolygon fill='none' stroke='%23bfc5ce' stroke-width='2' points='50,10 88.04,37.64 73.51,82.36 26.49,82.36 11.96,37.64' transform='rotate(36 50 50)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.feature-icon[data-badge="2"]:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect fill='none' stroke='%23bfc5ce' stroke-width='2' x='20' y='20' width='60' height='60'/%3E%3Crect fill='none' stroke='%23bfc5ce' stroke-width='2' x='20' y='20' width='60' height='60' transform='rotate(45 50 50)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.feature-icon[data-badge="3"]:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon fill='none' stroke='%23bfc5ce' stroke-width='2' points='90,50 70,84.64 30,84.64 10,50 30,15.36 70,15.36'/%3E%3Cpolygon fill='none' stroke='%23bfc5ce' stroke-width='2' points='90,50 70,84.64 30,84.64 10,50 30,15.36 70,15.36' transform='rotate(30 50 50)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (max-width: 575.98px) { 
  .features-wrap { 
    padding: 40px 0; 
  } 
}

@media (prefers-reduced-motion: reduce) { 
  .feature-icon { 
    transition: none;
  } 
}

/* 3. Split Hero Stilleri */
.split-hero .col-img {
    min-height: 420px;
    background-image: url("/images/basari_cover.jpg");
    background-size: cover;
    background-position: center;
}

@media (min-width: 992px) {
  .split-hero .col-img { 
    min-height: 560px; 
  }
}

.panel {
  background: #34383f;
  color: #fff;
}

.eyebrow {
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}

.hero-title {
  font-weight: 800;
  line-height: 1.05;
  color: #f3a63a;
  font-size: 2.5rem;
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 1.8rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

.step {
  display: flex;
  gap: 1rem;
}

/* Bootstrap 4'te gap yok, flexbox ile çözüm */
.step > * + * {
  margin-left: 1rem;
}

.check-icon {
  width: 34px; 
  height: 34px; 
  flex: 0 0 34px;
  color: #f3a63a;
}

.check-icon svg { 
  width: 100%; 
  height: 100%; 
  display: block; 
}

/* Check icon için inline SVG */
.check-icon:before {
  content: '';
  width: 34px;
  height: 34px;
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23f3a63a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 4. Mavi Balon Overlay Stilleri */
.map-hero {
    position: relative;
    min-height: 360px;
    background: url("/images/nilcoverse_cover.jpg") center bottom no-repeat;
    background-size: cover;
    overflow: hidden;
}

@media (min-width: 768px) {
  .map-hero {
    min-height: 500px;
  }
}

@media (min-width: 1200px) {
  .map-hero {
    min-height: 640px;
  }
}

.blurb {
  position: absolute;
  left: 7vw;
  bottom: 7vw;
  max-width: 720px;
  padding: 22px 28px;
  color: #fff;
  background: linear-gradient(180deg, rgba(39,62,142,.92), rgba(39,62,142,.92));
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  backdrop-filter: saturate(1.2) blur(2px);
}

@media (max-width: 1200px) {
  .blurb {
    left: 140px;
    bottom: 120px;
    max-width: 92vw;
  }
}

@media (max-width: 767px) {
  .blurb {
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    max-width: 92%;
    border-radius: 14px;
    padding: 12px 14px;
  }
}

.blurb h3 {
    margin: 0 0 .35rem 0;
    font-weight: 800;
    line-height: 2;
    font-size: 1.5rem;
    color: #60ade3;
}

@media (min-width: 768px) {
  .blurb h3 {
    font-size: 1.7rem;
  }
}

@media (min-width: 1200px) {
  .blurb h3 {
    font-size: 1.8rem;
  }
}

.blurb p {
  margin: 0;
  color: rgba(255,255,255,.85);
  font-size: 1rem;
}

@media (min-width: 1200px) {
  .blurb p {
    font-size: 1.05rem;
  }
}

/* BAR BACKGROUND */
.mini-bar {
  background: #bbebef;
  padding: 45px 0;
}

/* ITEM */
.mini-item {
  text-align: center;
  padding: 10px 20px;
}

/* ICON BASE */
.mini-item .icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* TITLE */
.mini-title {
  font-weight: 700;
  font-size: 15px;
  color: #1f2d2d;
  margin-bottom: 8px;
}

/* TEXT */
.mini-text {
  font-size: 14px;
  color: #2f3f3f;
  line-height: 1.5;
  margin: 0;
}


.icon-1 .icon {
  background-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg/svg/star-circle-outline.svg");
}
/* 2 - Headset (Uzman Desteği) */
.icon-2 .icon {
  background-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg/svg/headset.svg");
}

/* 3 - Gear/Service (Teknik Servis) */
.icon-3 .icon {
  background-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg/svg/cube-outline.svg");
}

/* 4 - Package in hand (Kargo) */
.icon-4 .icon {
  background-image: url("https://cdn.jsdelivr.net/npm/@mdi/svg/svg/hand-extended-outline.svg");
}

@media (max-width: 991px) {
  .mini-item {
    margin-bottom: 20px;
  }
}

/* SVG ikonları için */
.mini-item:nth-child(1) .mini-item:before {
  content: '';
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23cfd6df' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3l7 4v5c0 5-3.5 9-7 9s-7-4-7-9V7l7-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Footer stilleri layouts/app.blade.php içinde tanımlı */

/* Bootstrap 4 uyumlu gap sınıfları */
.gap-3 > * + * {
  margin-left: 1rem;
}

.gy-5 > * {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Bootstrap 4'te text-white-50 yok */
.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Bootstrap 4'te fw-bold ve fw-semibold yok */
.fw-bold {
  font-weight: 700 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

/* Bootstrap 4'te pe-, ps-, ms-, me- yok */
.pe-2 {
  padding-right: 0.5rem !important;
}

.ms-lg-3 {
  margin-left: 0 !important;
}

@media (min-width: 992px) {
  .ms-lg-3 {
    margin-left: 1rem !important;
  }
}

/* Çift footer sorunu için gizleme 
.site-footer {
  display: none;
}
*/
/* Eğer sadece yeni footer'ı göstermek isterseniz: */
/*.footer.pt-100 {
  display: none;
}

.site-footer {
  display: block;
}*/