/* Asi Oto Kurtarma - custom styles */

/* Logo placeholder until real logo is uploaded */
.asi-logo-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 50px;
}
.asi-logo-box img {
  max-height: 52px;
  width: auto;
}
.asi-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: #111;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.asi-logo-text .brand {
  font-size: 18px;
  color: #c8102e;
}
.asi-logo-text .sub {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
}
.light-hdr .asi-logo-text .brand,
.light-hdr .asi-logo-text .sub {
  color: #fff;
}
.light-hdr .asi-logo-text .brand {
  color: #fff;
}
.asi-logo-note {
  display: none;
}

/* ===== Sticky header flicker fix =====
   Template applies position:fixed both via .color-fill AND Waypoint .is-fixed.
   That layout fight causes blink. color-fill = visual only; sticky = Waypoint. */
.color-fill.main-bar {
  position: relative !important;
  top: auto !important;
}

.header-style-1 .is-fixed .header-middle,
.header-style-1.light-hdr .is-fixed .header-middle,
.header-style-1.with-logo-bg-strip .is-fixed .header-middle {
  max-width: 100% !important;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box;
  z-index: 999;
}

.header-style-1 .sticky-header.is-fixed .main-bar.color-fill,
.header-style-1.light-hdr .is-fixed .main-bar.color-fill,
.header-style-1.with-logo-bg-strip .is-fixed .main-bar.color-fill {
  position: relative !important;
  top: auto !important;
  background-color: #fff !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #ececec;
  border-radius: 0 !important;
}

/* Keep sticky placeholder height stable */
.sticky-wrapper {
  width: 100%;
}

/* Hide default scroll-top button */
button.scroltop {
  display: none !important;
}

/* Fixed floating action buttons */
.asi-float-btn {
  position: fixed;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
  bottom: 22px;
}
.asi-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  color: #fff !important;
}
.asi-float-whatsapp {
  left: 18px;
  background: #25d366;
}
.asi-float-call {
  right: 18px;
  background: #c8102e;
}
.asi-float-label {
  position: absolute;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  bottom: 100%;
  margin-bottom: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.asi-float-btn:hover .asi-float-label {
  opacity: 1;
}

/* Hero banner — desktop compact, no huge decorative text */
.twm-home2-bnr {
  min-height: 0;
  background-size: cover;
  background-position: center;
}
.twm-home2-bnr .twm-bnr-lg-text {
  display: none !important;
}
.twm-home2-bnr .twm-banner-left-content-section {
  padding-top: 140px;
  padding-bottom: 80px;
  max-width: 620px;
}
.twm-home2-bnr .twm-banner-left-content-section .twm-banner-left-content .twm-banner-title {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.twm-home2-bnr .twm-banner-left-content-section .twm-banner-left-content .twm-banner-title em {
  font-size: inherit;
  line-height: inherit;
  display: block;
}
.twm-home2-bnr .twm-banner-left-content-section .twm-banner-left-content .twm-banner-title > span {
  font-size: 28px;
  line-height: 1.3;
  display: block;
  margin-top: 8px;
  font-style: normal;
  text-transform: none;
  font-weight: 600;
}
.twm-home2-bnr .twm-banner-left-content {
  padding-top: 0;
  padding-bottom: 0;
}
.asi-hero-badge {
  display: inline-block;
  background: #c8102e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.asi-hero-phone {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-top: 18px;
}
.asi-hero-phone a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 1199px) {
  .twm-home2-bnr .twm-banner-left-content-section {
    padding-top: 120px;
    padding-bottom: 70px;
  }
  .twm-home2-bnr .twm-banner-left-content-section .twm-banner-left-content .twm-banner-title {
    font-size: 44px;
  }
  .twm-home2-bnr .twm-banner-left-content-section .twm-banner-left-content .twm-banner-title > span {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .twm-home2-bnr .twm-banner-left-content-section {
    padding-top: 100px;
    padding-bottom: 50px;
  }
  .twm-home2-bnr .twm-banner-left-content-section .twm-banner-left-content .twm-banner-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
  .twm-home2-bnr .twm-banner-left-content-section .twm-banner-left-content .twm-banner-title > span {
    font-size: 18px;
  }
  .asi-hero-phone {
    font-size: 18px;
  }
}

/* Service cards */
.asi-service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 28px 22px;
  height: 100%;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.asi-service-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}
.asi-service-card .asi-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.1);
  color: #c8102e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.asi-service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}
.asi-service-card p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Gallery */
.asi-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 24px;
}
.asi-gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.asi-gallery-item:hover img {
  transform: scale(1.06);
}
.asi-gallery-item .asi-gallery-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.asi-gallery-item .icon-view {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.asi-gallery-item:hover .icon-view {
  opacity: 1;
}

/* Logo drop zone note */
.asi-upload-hint {
  border: 2px dashed #c8102e;
  background: rgba(200, 16, 46, 0.04);
  padding: 18px;
  border-radius: 8px;
  font-size: 13px;
  color: #444;
  margin-top: 16px;
}
.asi-upload-hint strong {
  color: #c8102e;
}

/* CTA band */
.asi-cta-band {
  background: #111;
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.asi-cta-band h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}
.asi-cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 22px;
}
.asi-cta-band .asi-cta-phone {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  display: inline-block;
  margin-bottom: 18px;
}
.asi-cta-band .asi-cta-phone a {
  color: #fff;
}

/* About image */
.asi-about-img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  min-height: 360px;
}

/* Header phone highlight */
.asi-header-phone a {
  font-weight: 700;
  color: #c8102e !important;
}

/* Inner page top banner */
.asi-page-banner {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.asi-page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.asi-page-banner .container {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 40px;
}
.asi-page-banner h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 8px;
}
.asi-breadcrumb {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin: 0;
}
.asi-breadcrumb a {
  color: #fff;
}

/* Contact */
.asi-contact-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 24px;
  height: 100%;
}
.asi-contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.asi-contact-card p,
.asi-contact-card a {
  color: #555;
  font-size: 15px;
}
.asi-contact-card a:hover {
  color: #c8102e;
}
.asi-contact-form .form-control {
  min-height: 48px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.asi-contact-form textarea.form-control {
  min-height: 140px;
}
.asi-map-placeholder {
  border: 2px dashed #c8102e;
  background: rgba(200, 16, 46, 0.04);
  border-radius: 10px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #444;
  font-size: 14px;
}

/* Blog cards */
.asi-blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.25s ease;
}
.asi-blog-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.asi-blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.asi-blog-card .body {
  padding: 20px;
}
.asi-blog-card .cat {
  font-size: 12px;
  font-weight: 700;
  color: #c8102e;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.asi-blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.asi-blog-card h3 a {
  color: #111;
}
.asi-blog-card h3 a:hover {
  color: #c8102e;
}
.asi-blog-card p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Service detail blocks */
.asi-service-block {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
}
.asi-service-block img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.asi-service-block .body {
  padding: 22px;
}
.asi-service-block h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}
.asi-service-block ul {
  padding-left: 18px;
  margin: 12px 0 0;
  color: #555;
}

@media (max-width: 767px) {
  .asi-float-btn {
    width: 52px;
    height: 52px;
    bottom: 16px;
  }
  .asi-float-whatsapp {
    left: 12px;
  }
  .asi-float-call {
    right: 12px;
  }
  .asi-gallery-item img {
    height: 200px;
  }
  .asi-cta-band h2 {
    font-size: 22px;
  }
  .asi-cta-band .asi-cta-phone {
    font-size: 22px;
  }
  /* Extra bottom padding so content is not hidden behind float buttons */
  .page-content {
    padding-bottom: 20px;
  }
  footer.footer-light {
    padding-bottom: 70px;
  }
}


.asi-blog-detail img.cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 24px;
}
.asi-blog-detail .cat {
  color: #c8102e;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.asi-blog-detail h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #111;
}
.asi-blog-detail h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: #111;
}
.asi-blog-detail p, .asi-blog-detail li {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
}
.asi-blog-detail ul, .asi-blog-detail ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* Blog detail: prevent sidebar/footer overlap */
.asi-blog-detail-wrap {
  overflow: hidden;
  padding-bottom: 100px !important;
  position: relative;
  z-index: 1;
}
.asi-blog-detail-wrap .row {
  align-items: flex-start;
}
.asi-blog-sidebar {
  position: relative;
  z-index: 1;
  margin-bottom: 50px !important;
}
.asi-blog-sidebar .asi-contact-card {
  position: relative;
  background: #fff;
  z-index: 1;
}
.asi-blog-sidebar .asi-contact-card:last-child {
  margin-bottom: 20px;
}
.asi-blog-clear {
  clear: both;
  display: block;
  width: 100%;
  height: 0;
}

footer.footer-light {
  clear: both;
  position: relative;
  z-index: 2;
  padding-top: 70px !important;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.85);
  background-color: #0b1220;
  background-image: url(../images/asi-oto-kurtarma-footer.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
}
footer.footer-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 22, 0.72);
  z-index: 0;
  pointer-events: none;
}
footer.footer-light > .container,
footer.footer-light > .footer-bottom {
  position: relative;
  z-index: 1;
}
footer.footer-light .logo-footer {
  background-color: transparent !important;
  background: none !important;
  padding: 0 !important;
  margin-bottom: 20px !important;
  border-radius: 0 !important;
  max-width: none !important;
}
footer.footer-light .logo-footer a {
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  letter-spacing: 0.5px;
  display: inline-block;
  background: none !important;
}
footer.footer-light .ftr-right-section {
  padding-top: 20px !important;
}
footer.footer-light .f-about-info,
footer.footer-light .ftr-list li,
footer.footer-light .ftr-list li a,
footer.footer-light .widget_services ul li a,
footer.footer-light .copyrights-text {
  color: rgba(255, 255, 255, 0.88) !important;
}
footer.footer-light .widget-title {
  color: #fff !important;
}
footer.footer-light .ftr-list li i {
  color: #ff6100 !important;
}
footer.footer-light .widget_services ul li a:hover,
footer.footer-light .ftr-list li a:hover {
  color: #ff6100 !important;
}
footer.footer-light .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent !important;
}
footer.footer-light .site-text-primary {
  color: #ff6100 !important;
}

@media (max-width: 767px) {
  .asi-blog-detail h1 { font-size: 24px; }
  .asi-blog-detail img.cover { max-height: 240px; }
  .asi-blog-detail-wrap {
    padding-bottom: 60px !important;
  }
}

