/* =========================
   ASM Sidecard (v2)
   ========================= */

:root{
  --asm-accent: #00bcd4;
  --asm-text: #0f172a;
  --asm-muted: #64748b;
  --asm-border: rgba(15, 23, 42, .10);
  --asm-soft: rgba(0, 188, 212, .10);
  --asm-shadow: 0 14px 40px rgba(2, 8, 23, .08);
}

.asm-card{
  background: #fff;
  border: 1px solid var(--asm-border);
  border-radius: 18px;
  box-shadow: var(--asm-shadow);
  overflow: hidden;
}

.asm-card-head{
  padding: 18px 18px 12px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  background: linear-gradient(180deg, rgba(0,188,212,.06), rgba(255,255,255,0));
}

.asm-card-title{
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.asm-card-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--asm-soft);
  color: var(--asm-accent);
  flex: 0 0 auto;
  border: 1px solid rgba(0,188,212,.18);
}

.asm-card-title h5{
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--asm-text);
  letter-spacing: .2px;
}

.asm-card-title p{
  margin: 4px 0 0 0;
  font-size: 12.5px;
  color: var(--asm-muted);
  line-height: 1.35;
}

/* LIST */
.asm-info-list{
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.asm-info-list li{
  display: flex;
  gap: 12px;
  padding: 12px 18px;
  align-items: flex-start;
}

.asm-info-list li + li{
  border-top: 1px dashed rgba(15, 23, 42, .10);
}

.asm-li-ico{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, .04);
  color: var(--asm-accent);
  border: 1px solid rgba(15, 23, 42, .06);
  flex: 0 0 auto;
  margin-top: 2px;
}

.asm-li-body{
  min-width: 0;
}

.asm-li-top{
  font-size: 12px;
  color: var(--asm-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.asm-li-text{
  font-size: 13.5px;
  color: var(--asm-text);
}

.asm-link{
  font-size: 14px;
  font-weight: 700;
  color: #0ea5b7;
  text-decoration: none;
}

.asm-link:hover{
  text-decoration: underline;
}

/* ACTIONS */
.asm-actions{
  display: flex;
  gap: 10px;
  padding: 12px 18px 16px 18px;
  flex-wrap: wrap;
}

.asm-btn{
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  transition: transform .12s ease, box-shadow .12s ease;
}

.asm-btn-primary{
  background: var(--asm-accent);
  color: #fff !important;
  border: 1px solid rgba(0,188,212,.65);
  box-shadow: 0 10px 20px rgba(0,188,212,.20);
}

.asm-btn-outline{
  background: #fff;
  color: var(--asm-accent) !important;
  border: 1px solid rgba(0,188,212,.35);
}

.asm-btn:hover{
  transform: translateY(-1px);
}

/* DIVIDER + SUBHEAD */
.asm-divider{
  height: 1px;
  background: rgba(15, 23, 42, .08);
  margin: 0 18px;
}

.asm-subhead{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px 10px 18px;
  font-weight: 800;
  color: var(--asm-text);
  font-size: 13px;
}

/* CHIPS */
.asm-chips{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 18px 14px 18px;
}

.asm-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,188,212,.08);
  border: 1px solid rgba(0,188,212,.18);
  color: #0ea5b7;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none !important;
}

.asm-chip:hover{
  background: rgba(0,188,212,.12);
}

/* NOTE */
.asm-note{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px;
  margin: 0 18px 18px 18px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.35;
}

.asm-note-warn{
  background: rgba(239, 68, 68, .08);
  border: 1px solid rgba(239, 68, 68, .18);
  color: #991b1b;
}

.asm-note-warn i{
  margin-top: 2px;
  color: #dc2626;
}

/* Responsive: buttons full width on narrow screens */
@media (max-width: 991px){
  .asm-actions a{ flex: 1 1 160px; }
}

/* =========================
   ASM Sections (v2)
   ========================= */

.asm-section{ padding-top: 40px; padding-bottom: 40px; }

.asm-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 12px; border-radius:999px;
  background: rgba(0,188,212,.10);
  border: 1px solid rgba(0,188,212,.18);
  color:#0ea5b7; font-weight:800; font-size:12px;
  margin-bottom: 12px;
}

.asm-hero-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  box-shadow:0 14px 40px rgba(2,8,23,.08);
  padding:18px 18px 16px 18px;
}

.asm-checklist{ list-style:none; padding:0; margin:14px 0 10px 0; }
.asm-checklist li{ display:flex; gap:10px; align-items:flex-start; margin:8px 0; color:#0f172a; }
.asm-checklist i{ color:#00bcd4; margin-top:2px; }

.asm-mini-grid{ margin-top: 8px; }
.asm-mini{
  background: rgba(15,23,42,.02);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
}
.asm-mini p{ margin:8px 0 2px 0; font-weight:800; }
.asm-mini small{ color:#64748b; font-weight:600; }

.asm-cta{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 14px;
}
.asm-btn-solid{
  background:#00bcd4; color:#fff !important;
  border-radius:14px; padding:12px 14px;
  display:inline-flex; align-items:center; gap:8px;
  box-shadow:0 10px 20px rgba(0,188,212,.20);
}
.asm-btn-ghost{
  background:#fff; color:#00bcd4 !important;
  border:1px solid rgba(0,188,212,.35);
  border-radius:14px; padding:12px 14px;
  display:inline-flex; align-items:center; gap:8px;
}

.asm-disclaimer{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.18);
  color:#991b1b; font-weight:600; font-size:13px;
  display:flex; gap:10px; align-items:flex-start;
}
.asm-disclaimer i{ margin-top:2px; color:#dc2626; }

.asm-img-wrap{ position:relative; }
.asm-img-wrap img{ width:100%; border-radius:18px; border:1px solid rgba(15,23,42,.10); box-shadow:0 14px 40px rgba(2,8,23,.08); }
.asm-img-overlay{
  position:absolute; left:14px; right:14px; bottom:14px;
}
.asm-img-overlay-inner{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  backdrop-filter: blur(6px);
  border-radius:16px;
  padding:12px 12px;
}
.asm-img-overlay-inner h6{ margin:0 0 6px 0; font-weight:800; }
.asm-img-overlay-inner p{ margin:0 0 8px 0; color:#0f172a; }
.asm-link-inline{ font-weight:800; color:#0ea5b7; text-decoration:none !important; }

.asm-info-slider{ padding: 0 0 10px 0; }
.asm-info-slide{ padding: 0 12px; }
.asm-info-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  box-shadow:0 14px 40px rgba(2,8,23,.08);
  padding:18px;
  min-height: 190px;
}
.asm-info-ico{
  width:44px; height:44px; border-radius:14px;
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(0,188,212,.10);
  border:1px solid rgba(0,188,212,.18);
  color:#00bcd4;
}
.asm-info-card h5{ margin:10px 0 6px 0; font-weight:900; }
.asm-info-card p{ margin:0 0 10px 0; color:#64748b; font-weight:600; }
.asm-info-link{ font-weight:900; color:#0ea5b7; text-decoration:none !important; }

.asm-team-card .team-box{
  border-radius:18px;
  border:1px solid rgba(15,23,42,.08);
  overflow:hidden;
}
.asm-team-card img{ border-radius:0; }

.asm-news-card{
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 14px 40px rgba(2,8,23,.08);
}

.asm-offer{
  border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 14px 40px rgba(2,8,23,.06);
  background:#fff;
}

.asm-dept{
  display:flex; flex-direction:column; gap:10px;
  align-items:center; justify-content:center;
  padding:18px 10px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  text-decoration:none !important;
  box-shadow:0 14px 40px rgba(2,8,23,.06);
}
.asm-dept i{ font-size:26px; color:#00bcd4; }
.asm-dept span{ font-weight:900; color:#0f172a; }
.asm-dept:hover{ transform: translateY(-1px); }

.asm-show-all a{ font-weight:900; color:#0ea5b7; text-decoration:none !important; }

@media (max-width: 991px){
  .asm-img-overlay{ position: static; margin-top: 10px; }
}
/* =========================
   TEAM Carousel - Mobile arrows + no overflow (Slick)
   ========================= */

.team-carousel{
  position: relative;
}

.team-carousel .slick-list{
  overflow: hidden; /* taşmayı kes */
}

/* Slick default ok pseudo yazılarını kapat (biz FA icon kullandık) */
.team-carousel .slick-prev:before,
.team-carousel .slick-next:before{
  content: "" !important;
}

@media (max-width: 991px){

  /* oklar içeri girsin diye yanlarda boşluk */
  .team-carousel{
    padding: 0 54px;
  }

  /* slide iç padding */
  .team-carousel .slick-slide{
    padding: 0 8px;
    height: auto;
  }

  /* item genişliği sabitlenmişse ez */
  .team-carousel .team-item{
    width: auto !important;
    float: none !important;
  }

  /* kartı ortala */
  .team-carousel .team-box{
    max-width: 340px;
    margin: 0 auto;
  }

  /* görsel taşmasın */
  .team-carousel .team-box img{
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* isim taşmasın (2 satır) */
  .team-carousel .team-box h5{
    padding: 0 10px;
    line-height: 1.15;
    word-break: break-word;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
  }

  /* kategori taşmasın */
  .team-carousel .team-catagory{
    display: inline-block;
    max-width: 100%;
    padding: 6px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ✅ ok butonları */
  .team-carousel .asm-slick-btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;

    width: 44px;
    height: 44px;
    border-radius: 999px;

    border: 2px solid rgba(0, 188, 212, .35);
    background: #fff;
    color: #00bcd4;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 10px 20px rgba(2, 8, 23, .10);
    cursor: pointer;
    outline: none;
  }

  .team-carousel .asm-slick-btn i{
    font-size: 28px;
    line-height: 1;
  }

  .team-carousel .slick-prev.asm-slick-btn{ left: 8px; }
  .team-carousel .slick-next.asm-slick-btn{ right: 8px; }
}

/* =========================
   ASM Map Card (No overflow)
   ========================= */

.asm-map-card{
  margin-top: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(2, 8, 23, .08);
  overflow: hidden;               /* ✅ taşmayı keser */
}

.asm-map-head{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  background: linear-gradient(180deg, rgba(0,188,212,.06), rgba(255,255,255,0));
}

.asm-map-ico{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,188,212,.10);
  border: 1px solid rgba(0,188,212,.18);
  color: #00bcd4;
  flex: 0 0 auto;
}

.asm-map-title{
  font-weight: 900;
  color: #0f172a;
  font-size: 13.5px;
  line-height: 1.1;
}

.asm-map-sub{
  margin-top: 2px;
  color: #64748b;
  font-weight: 600;
  font-size: 12px;
}

/* ✅ Responsive oranlı iframe: taşma yapmaz */
.asm-map-frame{
  position: relative;
  width: 100%;
  padding-top: 68%;              /* yükseklik oranı (mobilde iyi) */
  background: rgba(15, 23, 42, .02);
}

.asm-map-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.asm-map-foot{
  padding: 12px 18px;
  border-top: 1px solid rgba(15, 23, 42, .06);
}

/* Desktop'ta biraz daha dengeli yükseklik */
@media (min-width: 992px){
  .asm-map-frame{ padding-top: 78%; }
}

/* Mobilde kartlar arası nefes */
@media (max-width: 991px){
  .asm-map-card{ margin-top: 18px; }
  .asm-map-frame{ padding-top: 62%; }
}
/* =========================
   Kadromuz (Group + Carousel Fix)
   ========================= */

.asm-team-group { padding: 18px; }
.asm-team-group-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 10px;
  border-bottom: 1px dashed rgba(15,23,42,.12);
  padding-bottom: 10px;
}
.asm-team-group-head h4{
  margin:0;
  font-weight: 900;
  color:#0f172a;
  font-size: 16px;
  display:flex;
  align-items:center;
  gap:8px;
}
.asm-team-group-head p{
  margin:0;
  font-weight: 700;
  color:#64748b;
  font-size: 12.5px;
}

/* Slick taşma/overflow engeli */
.asm-team-carousel{ position: relative; }
.asm-team-carousel .slick-list{ overflow: hidden; }
.asm-team-carousel .slick-track{ display:flex; }
.asm-team-carousel .slick-slide{ height:auto; }
.asm-team-carousel .team-item{ outline:none; }
.asm-team-carousel .slick-slide > div{ height:100%; }

/* Slide iç boşluk */
.asm-team-carousel .slick-slide{ padding: 0 10px; }
@media (max-width: 991px){
  .asm-team-carousel .slick-slide{ padding: 0 6px; }
}

/* Oklar: sadece responsive’de görünsün */
.asm-slick-btn{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: #fff;
  box-shadow: 0 10px 20px rgba(2, 8, 23, .10);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.asm-slick-btn:before{ display:none !important; } /* slick-theme default icon kapat */
.asm-slick-btn i{ font-size: 22px; color:#00bcd4; }

.asm-team-carousel .slick-prev,
.asm-team-carousel .slick-next{
  top: 44%;
}
@media (min-width: 992px){
  .asm-team-carousel .asm-slick-btn{ display:none !important; } /* ✅ desktop aynı kalsın */
}

/* Mobilde oklar içeride kalsın (taşma yok) */
@media (max-width: 991px){
  .asm-team-carousel .slick-prev{ left: 6px; }
  .asm-team-carousel .slick-next{ right: 6px; }
}
/* =========================
   Bağlantılar sayfası grid fix (Bootstrap3 float boşluk sorunu)
   ========================= */
.asm-links-page #asmLinkGrid{
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  align-content: flex-start;
}

/* Bootstrap col-* float kaldır (sadece bu sayfada) */
.asm-links-page #asmLinkGrid > [class*="col-"]{
  float: none !important;
  display: flex;           /* kartın yüksekliği sütunla beraber uzasın */
}

/* Kart sütunu tam doldursun */
.asm-links-page #asmLinkGrid .asm-link-card{
  width: 100%;
}
/* =========================
   ASM Gallery
   ========================= */

.asm-gallery-grid { margin-top: 6px; }
.asm-gallery-item { margin-bottom: 18px; }

.asm-gallery-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 14px 40px rgba(2,8,23,.08);
  position:relative;
}

.asm-gallery-card img{
  width:100%;
  height: 240px;
  object-fit: cover;
  display:block;
}

.asm-gallery-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(2,8,23,.05), rgba(2,8,23,.55));
  opacity:0;
  transition: opacity .15s ease;
  display:flex;
  align-items:flex-end;
  padding: 12px;
}

.asm-gallery-card:hover .asm-gallery-overlay{ opacity:1; }

.asm-gallery-caption{
  width:100%;
  color:#fff;
  font-weight:800;
  display:flex;
  gap:10px;
  align-items:center;
  font-size: 13px;
}

@media (max-width: 991px){
  .asm-gallery-card img{ height: 220px; }
}
@media (max-width: 575px){
  .asm-gallery-card img{ height: 200px; }
}
/* Galeri - tüm resimleri aynı ölçüde göster */
.gallery-section1 .portfolio-list .content-image-block img{
  width: 100%;
  height: 260px;      /* istediğin sabit yükseklik */
  object-fit: cover;  /* taşanı kırp, kutuyu doldur */
  display: block;
}

@media (max-width: 991px){
  .gallery-section1 .portfolio-list .content-image-block img{
    height: 220px;
  }
}

@media (max-width: 480px){
  .gallery-section1 .portfolio-list .content-image-block img{
    height: 190px;
  }
}
