/* ============================================================
   ALFA REFIT — FINAL MOBILE / CLICK / ICON FIX
   Bu dosya ana CSS'i bozmadan sonradan yüklenen düzeltme dosyasıdır.
============================================================ */

/* Sayfa sağa sola kaymasın */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip !important;
  }
}

body {
  position: relative;
}

main,
section,
footer,
.header,
.container,
.hero,
.services,
.stats-section,
.gallery-section,
.process-section,
.video-section,
.testimonials-section,
.brands-section,
.faq-section,
.blog-section,
.contact-section {
  max-width: 100%;
  overflow-x: clip;
}

.container {
  width: 100%;
  max-width: min(var(--container), 100%);
  min-width: 0;
}

/* Body kilitleri */
body.is-preloading,
body.menu-open,
body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Font Awesome kesin düzeltme */
.fa,
.fas,
.fa-solid,
.far,
.fa-regular,
.fab,
.fa-brands,
i[class^="fa-"],
i[class*=" fa-"] {
  display: inline-block;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
}

.fa,
.fas,
.fa-solid,
i.fa,
i.fas,
i.fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.far,
.fa-regular,
i.far,
i.fa-regular {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}

.fab,
.fa-brands,
i.fab,
i.fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* Görünmez katmanlar linkleri engellemesin */
.custom-cursor,
.custom-cursor-follower,
.hero__media,
.hero__overlay,
.hero__decor-lines,
.hero__decor-line,
.services__bg-decor,
.stats-section__bg,
.video-section__bg,
.video-section__overlay,
.service-card__hover-bg,
.about__img-border,
.blog-card__img-overlay {
  pointer-events: none !important;
}

/* İçerikler tıklanabilir kalsın */
.header,
.header *,
.mobile-menu,
.mobile-menu *,
.hero__content,
.hero__content *,
.about,
.about *,
.services,
.services *,
.gallery-section,
.gallery-section *,
.process-section,
.process-section *,
.video-section__content,
.video-section__content *,
.testimonials-section,
.testimonials-section *,
.blog-section,
.blog-section *,
.contact-section,
.contact-section *,
.footer,
.footer *,
.whatsapp-float,
.back-to-top,
.cookie-banner,
.cookie-banner * {
  pointer-events: auto;
}

/* Preloader gizlenince üstte kalmasın */
.preloader.hidden,
.preloader.is-hidden,
body.loaded .preloader {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Mobil overlay kapalıyken linkleri kapatmasın */
.mobile-overlay {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.mobile-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Mobil menü kapalıyken görünmez katman olmasın */
.mobile-menu {
  right: -100% !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
}

.mobile-menu.active {
  right: 0 !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}

/* Dil menüsü mobilde tıklanınca açılsın */
.lang-switcher__dropdown {
  z-index: 2000;
  pointer-events: none;
}

.lang-switcher:hover .lang-switcher__dropdown,
.lang-switcher.active .lang-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Kart linkleri üstte kalsın */
.service-card {
  position: relative;
  min-width: 0;
}

.service-card__num,
.service-card__icon,
.service-card__title,
.service-card__desc,
.service-card__link {
  position: relative;
  z-index: 3;
}

.service-card__hover-bg {
  z-index: 0 !important;
}

/* Link ve buton dokunma düzeltmesi */
a,
button,
.btn,
.header__nav-link,
.mobile-menu__nav a,
.service-card__link,
.blog-card a,
.project-card a,
.contact-info a,
.footer a,
.whatsapp-float,
.back-to-top {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(201,168,76,.2);
}

/* Swiper taşma yapmasın */
.swiper,
.projects-slider,
.testimonialSwiper,
.projectSwiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Marquee ve marka alanı taşma yapmasın */
.marquee-strip,
.marquee-strip__inner,
.brands-track {
  overflow: hidden !important;
  max-width: 100%;
}

.marquee-strip__track,
.brands-track__inner {
  width: max-content;
  max-width: none;
}

/* Uzun yazılar ve butonlar mobilde taşmasın */
.section-title,
.section-desc,
.hero__title,
.hero__subtitle,
.service-card__title,
.service-card__desc,
.blog-card__title,
.contact-info__desc,
.footer__brand-desc,
.btn {
  overflow-wrap: break-word;
  word-break: normal;
}

.btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

/* Mobilde AOS sağdan soldan taşırmasın */
@media (max-width: 767px) {
  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

/* Mobil tam uyum */
@media (max-width: 768px) {
  html,
  body {
    min-width: 0;
  }

  .header__inner {
    padding: 12px 14px !important;
    gap: 8px !important;
    width: 100%;
    max-width: 100vw;
  }

  .header__logo {
    min-width: 0;
    gap: 10px;
  }

  .header__logo-mark {
    width: 42px;
    height: 42px;
    font-size: 22px;
    flex: 0 0 42px;
  }

  .header__logo-text {
    min-width: 0;
  }

  .header__logo-brand {
    font-size: clamp(12px, 3.5vw, 15px) !important;
    white-space: nowrap;
  }

  .header__logo-sub {
    font-size: 8px !important;
  }

  .header__actions {
    gap: 4px !important;
    flex-shrink: 0;
  }

  .lang-switcher__btn {
    padding: 4px 5px !important;
    gap: 4px !important;
  }

  .lang-switcher__btn i {
    display: none;
  }

  .hamburger {
    padding: 8px 4px !important;
  }

  .hamburger span {
    width: 30px;
    height: 2px;
  }

  .hero {
    min-height: 100svh;
    height: auto;
    padding: 130px 0 70px;
  }

  .hero__content {
    padding-top: 0;
  }

  .hero__tag {
    justify-content: center;
    text-align: center;
    letter-spacing: .22em;
    gap: 10px;
  }

  .hero__content-inner {
    text-align: center;
    margin: 0 auto;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 38px;
  }

  .services__grid {
    display: block;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
  }

  .service-card {
    width: 100%;
    transform: none !important;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .service-card:last-child {
    border-bottom: none;
  }

  .about__media,
  .about__content,
  .contact-info,
  .contact-form-wrap {
    min-width: 0;
    width: 100%;
  }

  .about__img--secondary {
    display: none !important;
  }

  .project-card__img {
    height: 240px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }

  .contact-tabs {
    width: 100%;
  }

  .footer__newsletter-form {
    width: 100%;
  }

  .footer__newsletter-form input {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .header__logo-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .header__logo-brand {
    font-size: 12px !important;
    letter-spacing: .12em;
  }

  .header__logo-sub {
    letter-spacing: .24em;
  }

  .lang-switcher__btn span:nth-child(2) {
    font-size: 11px;
  }

  .mobile-menu {
    width: min(330px, 88vw);
  }

  .service-card {
    padding: 28px 22px;
  }

  .section-title {
    font-size: clamp(30px, 9vw, 42px);
  }

  .section-desc {
    font-size: 15px;
  }
}

/* ============================================================
   ALFA REFIT — SVG ICON FINAL FIX
   Font Awesome font dosyası engellense bile ikonlar görünür.
============================================================ */
.alfa-svg-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.alfa-svg-icon polygon,
.alfa-svg-icon rect,
.alfa-svg-icon circle,
.alfa-svg-icon path {
  vector-effect: non-scaling-stroke;
}

.alfa-icon-star polygon,
.alfa-icon-play polygon {
  fill: currentColor;
  stroke: currentColor;
}

.alfa-icon-facebook-f path,
.alfa-icon-linkedin-in path {
  fill: currentColor;
  stroke: none;
}

.alfa-icon-youtube polygon {
  fill: currentColor;
  stroke: currentColor;
}

.fa-spin.alfa-svg-icon,
.alfa-icon-spinner {
  animation: alfaIconSpin 1s linear infinite;
}

@keyframes alfaIconSpin {
  to { transform: rotate(360deg); }
}

.header__phone .alfa-svg-icon,
.mobile-menu__contact .alfa-svg-icon,
.footer__contact-item .alfa-svg-icon,
.footer__newsletter-form .alfa-svg-icon,
.mega-menu__col ul li a .alfa-svg-icon {
  color: var(--gold) !important;
}

.lang-switcher__btn .alfa-svg-icon,
.header__nav-arrow.alfa-svg-icon {
  color: var(--gold) !important;
  width: .9em;
  height: .9em;
}

.service-card__link .alfa-svg-icon,
.blog-card__link .alfa-svg-icon,
.about__link .alfa-svg-icon {
  color: var(--gold) !important;
}

.whatsapp-float .alfa-svg-icon {
  color: #fff !important;
  width: 1.15em;
  height: 1.15em;
  stroke-width: 1.8;
}

.back-to-top .alfa-svg-icon {
  color: var(--gold) !important;
  width: 1em;
  height: 1em;
}

.video-play-btn__circle .alfa-svg-icon {
  color: var(--gold) !important;
  margin-left: 3px;
}
