/* ============================================================
   ACCEMA THEME — build CSS'in (app-fc456ba2.css) üzerine cila
   Bagimsiz override dosyasi; rebuild GEREKMEZ.
   Geri donus: master.blade.php'deki <link> satirini sil.
   ============================================================ */

:root {
  --acc-dark: #183542;
  --acc-dark-2: #1f4356;
  --acc-orange: #e89a41;
  --acc-orange-dark: #d4832a;
  --acc-grey: #878787;
  --acc-line: #e2e2e2;
  --acc-radius: 12px;
  --acc-shadow: 0 6px 24px rgba(24, 53, 66, 0.08);
  --acc-shadow-lg: 0 16px 40px rgba(24, 53, 66, 0.16);
  --acc-wa: #25d366;
}

/* ---------- 1. Tipografi olcegi ---------- */
.page-title h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 700; }
.page-info h3 { font-size: clamp(24px, 2.6vw, 32px); }
.page-info p, .page-title p { max-width: 65ch; margin-left: auto; margin-right: auto; }
.page-info p { margin-left: 0; }

/* ---------- 2. Hero ----------
   ONEMLI — yukseklik: build CSS'te .swiper{height:100%} var ama ust konteynerde belirli
   yukseklik OLMADIGI icin auto'ya cozuluyordu; hero yuksekligi = viewportGenisligi / 1.83
   (gorseller 1920x1052). 1440px ekranda 787px + 110px header spacer = 897px > ~734px
   viewport --> CTA butonu foldun altinda kaliyordu. Asagida acikca sabitleniyor.
   .headerSettings spacer: masaustu 110px, <=768px 80px (style.scss:1126 / responsive.scss:266)
   ------------------------------------------------------------------------------------- */
.mainSlider,
.mainSlider .swiper-wrapper,
.mainSlider .swiper-slide {
  height: clamp(460px, calc(100vh - 110px), 780px) !important;
}
@supports (height: 100svh) {
  .mainSlider,
  .mainSlider .swiper-wrapper,
  .mainSlider .swiper-slide {
    height: clamp(460px, calc(100svh - 110px), 780px) !important;
  }
}
.mainSlider .swiper-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 55%;
}
.mainSlider .swiper-slide::before {
  background: linear-gradient(90deg, rgba(24, 53, 66, 0.9) 0%, rgba(24, 53, 66, 0.62) 45%, rgba(24, 53, 66, 0.2) 100%) !important;
}
/* Alt kenarda dots/scroll ipucu icin ek karartma */
.mainSlider .swiper-slide::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 190px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(24, 53, 66, 0) 0%, rgba(24, 53, 66, 0.55) 100%);
}
.mainSlider .swiper-content {
  text-align: left !important;
  width: min(92%, 1200px) !important;
  padding-left: 8px;
  padding-bottom: 46px;
}

/* GSAP guvenlik agi: script.js DOMContentLoaded'da tum .gs_reveal'e autoAlpha:0 veriyor.
   Hero blade'inden gs_reveal kaldirildi; bu kural eski cache'li HTML icin yedek. */
.mainSlider .gs_reveal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Eyebrow / ustbaslik */
.acc-hero-kicker {
  display: inline-block;
  font-size: clamp(11px, 1.05vw, 13px);
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--acc-orange);
  margin-bottom: 14px;
  position: relative;
  padding-left: 46px;
}
.acc-hero-kicker::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 34px; height: 2px;
  background: var(--acc-orange);
}
.mainSlider .swiper-content h2,
.mainSlider .swiper-content h3 {
  font-size: clamp(32px, 4.4vw, 58px) !important;
  font-weight: 800;
  line-height: 1.1;
  max-width: 16ch;
  margin-bottom: 18px !important;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.35);
}
/* Gri satir kutulari kaldirildi (build CSS: p{background:#183538b3;display:inline-block})
   — zaten tam kaplayan gradient var, kutular tirtikli duruyordu. */
.mainSlider .swiper-content p {
  background: none !important;
  padding: 0 !important;
  display: block !important;
  max-width: 56ch;
  margin-bottom: 10px !important;
  font-size: clamp(15px, 1.35vw, 18px) !important;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}
.mainSlider .swiper-content p:empty { display: none !important; }

/* CTA ikilisi */
.acc-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.mainSlider .swiper-content .page-btn {
  background: var(--acc-orange);
  border: 2px solid var(--acc-orange);
  border-radius: 8px;
  padding: 13px 34px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-top: 0 !important;
  transition: all 0.25s ease;
}
.mainSlider .swiper-content .page-btn:hover {
  background: var(--acc-orange-dark);
  border-color: var(--acc-orange-dark);
  color: #fff;
  transform: translateY(-2px);
}
.acc-hero-btn2 {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  color: #fff !important;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.acc-hero-btn2:hover {
  background: #fff;
  border-color: #fff;
  color: var(--acc-dark) !important;
  transform: translateY(-2px);
}

/* Oklar: alt-sagda, dots ile ayni hatta.
   Dikey ortada DEGIL cunku icerik kabi min(92%,1200px); dar masaustunde (~1280px)
   kap %92'ye dustugunde kenardaki oklar aciklama metninin uzerine biniyordu. */
.mainSlider .swiper-button-next,
.mainSlider .swiper-button-prev {
  top: auto !important;
  bottom: 16px !important;
  margin-top: 0 !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff !important;
  transition: all 0.25s ease;
}
/* SOL altta: sag alt WhatsApp float'in (z-index 9999) altinda kalmasinlar.
   Icerik kabinin sol kenarina hizali: kap min(92%,1200px) -> yari genislik min(46%,600px) */
.mainSlider .swiper-button-prev { left: calc(50% - min(46%, 600px) + 8px) !important; right: auto !important; }
.mainSlider .swiper-button-next { left: calc(50% - min(46%, 600px) + 62px) !important; right: auto !important; }
/* (Dots'un oklardan sonra baslamasi asagidaki .acc-dots kuralinda ayarlaniyor) */
.mainSlider .swiper-button-next::after,
.mainSlider .swiper-button-prev::after { font-size: 17px !important; font-weight: 800; }
.mainSlider .swiper-button-next:hover,
.mainSlider .swiper-button-prev:hover {
  background: var(--acc-orange);
  border-color: var(--acc-orange);
}

/* Dots: metinle ayni sol hizada (kendi implementasyonumuz — bkz. index.blade yorumu) */
.mainSlider .acc-dots {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  width: min(92%, 1200px);
  margin: 0 auto;
  /* 8px kap payi + 2 ok (46px) + aralari + nefes = oklardan sonra baslar */
  padding-left: 136px;
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 5;
}
.acc-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}
.acc-dot:hover { background: rgba(255, 255, 255, 0.8); }
.acc-dot.is-active { background: var(--acc-orange); width: 28px; }

/* Scroll ipucu */
.acc-scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: #fff;
  opacity: 0.7;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 6px;
  animation: accCueBob 2.2s ease-in-out infinite;
}
.acc-scroll-cue svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; }
.acc-scroll-cue:hover { opacity: 1; }
@keyframes accCueBob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}
@media (prefers-reduced-motion: reduce) {
  .acc-scroll-cue { animation: none; }
}

/* ---------- 3. Kart dili ---------- */
.product-list- {
  border: 1px solid var(--acc-line);
  border-radius: var(--acc-radius);
  background: #fff;
  padding: 18px;
  margin-bottom: 24px;
  box-shadow: var(--acc-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-list-:hover {
  transform: translateY(-6px);
  box-shadow: var(--acc-shadow-lg);
}
.product-list- img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: contain;
}
.product-page .row > [class*='col-'] { display: flex; }
.product-page .row > [class*='col-'] > .product-list- { width: 100%; }
.sector {
  border-radius: var(--acc-radius);
  overflow: hidden;
  transition: transform 0.25s ease;
}
.sector:hover { transform: translateY(-4px); }
.news-box {
  border-radius: var(--acc-radius);
  overflow: hidden;
  box-shadow: var(--acc-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-box:hover { transform: translateY(-6px); box-shadow: var(--acc-shadow-lg); }

/* ---------- 4. Form odak + buton ---------- */
.form-control:focus, .form-select:focus {
  border-color: var(--acc-orange) !important;
  box-shadow: 0 0 0 3px rgba(232, 154, 65, 0.25) !important;
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--acc-orange);
  outline-offset: 2px;
}
.form-content { border-radius: var(--acc-radius); box-shadow: var(--acc-shadow-lg); }
.form-content button {
  background: var(--acc-orange);
  border: 0;
  border-radius: 8px;
  padding: 12px 30px;
  font-weight: 600;
  transition: background 0.2s ease;
}
.form-content button:hover { background: var(--acc-orange-dark); }

/* ---------- 5. Referans logo seridi (ana sayfa) ---------- */
.acc-ref-strip { padding: 44px 0 36px; background: #fff; border-bottom: 1px solid var(--acc-line); }
.acc-ref-strip .acc-ref-title {
  text-align: center;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--acc-grey);
  font-weight: 600;
  margin-bottom: 26px;
}
.refSwiper .swiper-wrapper { transition-timing-function: linear !important; align-items: center; }
.refSwiper .swiper-slide {
  width: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.refSwiper img {
  max-height: 56px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.refSwiper .swiper-slide:hover img { filter: none; opacity: 1; }

/* ---------- 6. Sayilarla ACCEMA ---------- */
.acc-stats {
  background: linear-gradient(135deg, var(--acc-dark) 0%, var(--acc-dark-2) 100%);
  padding: 64px 0;
}
.acc-stats .acc-stat {
  text-align: center;
  padding: 12px 8px;
}
.acc-stats .acc-stat-value {
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
}
.acc-stats .acc-stat-value span { color: var(--acc-orange); }
.acc-stats .acc-stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  margin-top: 8px;
  letter-spacing: 0.3px;
}
@media (max-width: 767px) {
  .acc-stats { padding: 40px 0; }
  .acc-stats .acc-stat { padding: 14px 4px; }
}

/* ---------- 7. Blog vitrini (ana sayfa) ---------- */
.acc-blog-teaser { padding: 80px 0; background: #f6f6f6; }
.acc-blog-teaser .main-title h3 { color: var(--acc-dark); }
.acc-blog-card {
  background: #fff;
  border-radius: var(--acc-radius);
  overflow: hidden;
  box-shadow: var(--acc-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.acc-blog-card:hover { transform: translateY(-6px); box-shadow: var(--acc-shadow-lg); }
.acc-blog-card .acc-blog-img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  display: block;
}
.acc-blog-card .acc-blog-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.acc-blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--acc-dark);
  line-height: 1.35;
  margin-bottom: 10px;
}
.acc-blog-card p { color: #555; font-size: 14px; flex: 1; }
.acc-blog-card .acc-blog-link {
  color: var(--acc-orange-dark);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 14px;
  display: inline-block;
}
.acc-blog-card .acc-blog-link:hover { color: var(--acc-dark); }

/* ---------- 8. WhatsApp float ---------- */
.acc-wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  font-family: inherit;
}
.acc-wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--acc-wa);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.acc-wa-btn:hover { transform: scale(1.08); }
.acc-wa-btn svg { width: 30px; height: 30px; fill: #fff; }
.acc-wa-menu {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: 290px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--acc-shadow-lg);
  overflow: hidden;
  display: none;
}
.acc-wa-float.open .acc-wa-menu { display: block; }
.acc-wa-menu-head {
  background: var(--acc-dark);
  color: #fff;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
}
.acc-wa-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid #f0f0f0;
  color: #222;
  font-size: 13.5px;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.15s ease;
}
.acc-wa-menu a:hover { background: #f2faf5; color: var(--acc-dark); }
.acc-wa-menu a svg { width: 20px; height: 20px; fill: var(--acc-wa); flex: 0 0 20px; }
.acc-wa-menu a small { display: block; color: var(--acc-grey); }

/* ---------- 9. Urun detay CTA ---------- */
.acc-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.acc-btn-quote, .acc-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 0;
  transition: all 0.2s ease;
  text-decoration: none;
}
.acc-btn-quote { background: var(--acc-orange); color: #fff !important; }
.acc-btn-quote:hover { background: var(--acc-orange-dark); color: #fff; }
.acc-btn-wa { background: var(--acc-wa); color: #fff !important; }
.acc-btn-wa:hover { background: #1eb857; color: #fff; }
.acc-btn-wa svg, .acc-btn-quote svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- 10. Misyon / Vizyon kartlari ---------- */
.visionBg {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--acc-dark) 0%, var(--acc-dark-2) 100%) !important;
}
.acc-mv-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--acc-radius);
  padding: 34px 30px;
  height: 100%;
}
.acc-mv-card svg { width: 42px; height: 42px; fill: var(--acc-orange); margin-bottom: 16px; }
.acc-mv-card h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}
.acc-mv-card p { color: rgba(255, 255, 255, 0.82); line-height: 1.75; margin: 0; }

/* ---------- 11. Mobil iyilestirmeler ---------- */
@media (max-width: 767px) {
  .tabs-product {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    gap: 8px;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tabs-product::-webkit-scrollbar { display: none; }
  .tabs-product .nav-link {
    white-space: nowrap;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 13px;
    flex: 0 0 auto;
  }
  .tabs-product .page-btn { flex: 0 0 auto; white-space: nowrap; }
  .acc-wa-float { right: 14px; bottom: 14px; }
  .acc-wa-btn { width: 52px; height: 52px; }

  /* Hero mobil: header spacer 80px (responsive.scss:266) */
  .mainSlider,
  .mainSlider .swiper-wrapper,
  .mainSlider .swiper-slide {
    height: clamp(420px, calc(100svh - 80px), 620px) !important;
  }
  /* responsive.scss:293'teki .mainSlider .swiper-slide img{height:300px} kuralini ezer */
  .mainSlider .swiper-slide img { height: 100% !important; }
  .mainSlider .swiper-slide::before {
    background: linear-gradient(180deg, rgba(24, 53, 66, 0.5) 0%, rgba(24, 53, 66, 0.82) 100%) !important;
  }
  .mainSlider .swiper-content { padding-bottom: 40px; }
  .mainSlider .swiper-content h2,
  .mainSlider .swiper-content h3 { font-size: 27px !important; max-width: none; margin-bottom: 12px !important; }
  .mainSlider .swiper-content p { font-size: 14.5px !important; max-width: none; line-height: 1.55; }
  .acc-hero-kicker { font-size: 10.5px; letter-spacing: 1.8px; padding-left: 32px; margin-bottom: 10px; }
  .acc-hero-kicker::before { width: 22px; }
  .acc-hero-cta { gap: 10px; margin-top: 20px; }
  .mainSlider .swiper-content .page-btn,
  .acc-hero-btn2 { padding: 11px 22px; font-size: 14px; }
  /* Mobilde oklar gizli (.mbl-none) -> dots icin girinti gerekmez */
  .mainSlider .acc-dots { bottom: 22px; padding-left: 8px; }
  .acc-scroll-cue { display: none; }
}

/* ---------- 13. Header CTA (telefon + Teklif Al) ---------- */
.acc-hdr-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--acc-dark);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  margin-left: 20px;
  transition: color 0.2s ease;
}
.acc-hdr-tel svg { width: 17px; height: 17px; fill: var(--acc-orange); flex: 0 0 auto; }
.acc-hdr-tel:hover { color: var(--acc-orange); }
.acc-hdr-cta {
  display: inline-block;
  margin-left: 16px;
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--acc-orange);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.acc-hdr-cta:hover { background: var(--acc-dark); color: #fff !important; }
/* Mobil telefon ikonu — SADECE <=991px (nav plugin'in portrait esigi).
   .dp-none{display:none} kuralini eziyorduk, o yuzden acikca gizleniyor. */
.acc-hdr-tel-mini { display: none; }
@media (max-width: 991px) {
  .acc-hdr-tel-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(232, 154, 65, 0.14);
    margin-right: 6px;
    flex: 0 0 auto;
  }
  .acc-hdr-tel-mini svg { width: 18px; height: 18px; fill: var(--acc-orange); }
}

/* Menu tasmasini onle: build CSS'te .nav-menu>li>a{padding:25px} var (item basina 50px
   yatay!). Telefon + CTA eklenince 7 menu ogesi ikinci satira tasiyordu; dikey 25px
   korunuyor ki header yuksekligi 110px spacer ile uyumlu kalsin. */
@media (min-width: 992px) {
  .nav-menu > li > a { padding-left: 13px !important; padding-right: 13px !important; }
  .nav-search { margin-left: 4px; }
}
@media (min-width: 992px) and (max-width: 1450px) {
  .acc-hdr-tel span { display: none; }
  .acc-hdr-tel { margin-left: 10px; }
  .acc-hdr-cta { margin-left: 10px; padding: 9px 15px; font-size: 13px; }
  .nav-menu > li > a { padding-left: 9px !important; padding-right: 9px !important; font-size: 13.5px; }
}
.changeLang { font-weight: 600; }

/* ---------- 12. Kucuk dokunuslar ---------- */
.breadcrumb-item a { color: var(--acc-grey); }
.breadcrumb-item.active { color: var(--acc-dark); font-weight: 500; }
::selection { background: var(--acc-orange); color: #fff; }
