/*===============================================
  Mentis Agency - site özel stilleri
  (theme.css'e dokunmadan eklenen bileşenler)
===============================================*/

/* Zengin metin editöründen gelen içerik (tipografi mentis.css .m-prose içinde) */
.rich-content img { max-width: 100%; height: auto; }
.rich-content iframe { max-width: 100%; }

/*-----------------------------------------------
  Footer
-----------------------------------------------*/
.site-footer {
  /* Tasarım sistemi değişkenlerinden (mentis.css) beslenir */
  --footer-red: var(--m-red, #e20612);
  --footer-text: rgba(255, 255, 255, 0.62);
  --footer-line: rgba(255, 255, 255, 0.09);
  position: relative;
  overflow: hidden;
  background: var(--m-black, #0a0a0b);
  color: var(--footer-text);
  font-size: 15px;
  line-height: 1.7;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
  text-decoration: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
  /* İçerik kenarlarıyla hizalı (mentis.css .m-wrap) */
  max-width: var(--m-wrap, 1360px);
  padding-right: var(--m-gutter, 30px);
  padding-left: var(--m-gutter, 30px);
}

/* Çağrı bandı */
.footer-cta {
  padding: 100px 0 70px;
  border-bottom: 1px solid var(--footer-line);
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(226, 6, 18, 0.18), transparent 70%),
    radial-gradient(500px 260px at 0% 100%, rgba(255, 255, 255, 0.05), transparent 70%);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px;
  border: 1px solid var(--footer-line);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.footer-status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
}

.footer-status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(46, 204, 113, 0.5);
  animation: footer-pulse 2s ease-out infinite;
}

@keyframes footer-pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.footer-cta-title {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.footer-dot {
  color: var(--footer-red);
}

.footer-cta-text {
  max-width: 520px;
  margin: 0;
  font-size: 16px;
}

.footer-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 34px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--m-font, "Poppins", sans-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.footer-btn:hover,
.footer-btn:focus {
  transform: translateY(-2px);
}

.site-footer .footer-btn-primary {
  background: var(--footer-red);
  color: #fff;
}

.site-footer .footer-btn-primary:hover,
.site-footer .footer-btn-primary:focus {
  background: var(--m-red-dark, #c00510);
  color: #fff;
}

.footer-btn-primary i {
  transition: transform 0.2s ease;
}

.footer-btn-primary:hover i {
  transform: translateX(4px);
}

.site-footer .footer-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.site-footer .footer-btn-ghost:hover,
.site-footer .footer-btn-ghost:focus {
  border-color: #fff;
  color: #fff;
}

/* Ana bölüm */
.footer-main {
  padding: 70px 0 0;
}

.footer-logo {
  width: 116px;
  height: auto;
  border-style: none;
}

/* Logo yüklenmemişse yazı logosu */
.footer-logo--text {
  display: inline-block;
  width: auto;
  color: #fff;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.footer-about {
  max-width: 340px;
  margin: 22px 0 26px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--footer-line);
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-footer .footer-social a:hover,
.site-footer .footer-social a:focus {
  border-color: var(--footer-red);
  background: var(--footer-red);
  color: #fff;
}

.footer-col-title {
  position: relative;
  margin: 0 0 22px;
  padding-left: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--footer-red);
}

.footer-links,
.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  transform: translateX(4px);
}

.site-footer .footer-links-more {
  color: var(--footer-red);
  font-weight: 500;
}

.footer-links-more i {
  margin-left: 4px;
  font-size: 12px;
}

.footer-contact li {
  position: relative;
  padding-left: 30px;
}

.footer-contact li + li {
  margin-top: 16px;
}

.footer-contact li > i {
  position: absolute;
  top: 6px;
  left: 0;
  width: 16px;
  color: var(--footer-red);
  text-align: center;
}

.footer-contact a {
  display: block;
}

.footer-contact address {
  margin: 0;
  font-style: normal;
}

/* E-bülten kartı */
.footer-newsletter {
  margin-top: 60px;
  padding: 36px 40px;
  border: 1px solid var(--footer-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.footer-newsletter-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.footer-newsletter-text {
  margin: 0;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease;
}

.newsletter-form:focus-within {
  border-color: rgba(255, 255, 255, 0.45);
}

.site-footer .newsletter-form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  box-shadow: none;
}

.site-footer .newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.site-footer .newsletter-form input[type="email"]:focus {
  outline: none;
}

.newsletter-form button {
  flex: 0 0 auto;
  height: 48px;
  margin: 0;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--m-black, #0a0a0b);
  font-family: var(--m-font, "Poppins", sans-serif);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.newsletter-form button:hover,
.newsletter-form button:focus {
  background: var(--footer-red);
  color: #fff;
}

.newsletter-form button i {
  margin-left: 6px;
  font-size: 12px;
}

.footer-alert {
  margin: 0 0 14px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
}

.footer-alert-success {
  background: rgba(46, 204, 113, 0.12);
  color: #7ee2a8;
}

.footer-alert-info {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-alert-danger {
  background: rgba(226, 6, 18, 0.15);
  color: #ff8a90;
}

/* Alt şerit */
.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  padding: 26px 0;
  border-top: 1px solid var(--footer-line);
  font-size: 13px;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 30px;
}

.footer-copy {
  margin: 0;
}

.footer-made {
  white-space: nowrap;
}

.footer-made i {
  color: var(--footer-red);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Sağ alttaki WhatsApp butonu alt şeritteki bağlantıların üstüne binmesin */
@media (max-width: 1299.98px) {
  .site-footer.has-whatsapp .footer-bottom .container {
    padding-right: 90px;
  }
}

@media (max-width: 575.98px) {
  .site-footer.has-whatsapp .footer-bottom .container {
    padding-right: 15px;
    padding-bottom: 70px;
  }
}

.footer-to-top i {
  margin-left: 4px;
  font-size: 11px;
}

/* Dekoratif dev logo yazısı */
.footer-watermark {
  position: absolute;
  right: -1vw;
  bottom: -5.2vw;
  z-index: 0;
  color: transparent;
  font-family: var(--m-font, "Poppins", sans-serif);
  font-size: 23vw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
  user-select: none;
}

.footer-watermark span {
  -webkit-text-stroke-color: rgba(226, 6, 18, 0.35);
}

@media (max-width: 991.98px) {
  .footer-cta {
    padding: 80px 0 56px;
  }
  .footer-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 30px;
  }
  .footer-brand {
    margin-bottom: 44px;
  }
  .footer-col {
    margin-bottom: 36px;
  }
  .footer-newsletter {
    margin-top: 20px;
  }
}

@media (max-width: 575.98px) {
  .footer-cta-actions .footer-btn {
    width: 100%;
  }
  .footer-newsletter {
    padding: 26px 22px;
  }
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .site-footer .newsletter-form input[type="email"] {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
  }
  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-watermark {
    bottom: -3vw;
    font-size: 30vw;
  }
}

/* Bot tuzağı alanı ekran dışında tutulur */
.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/*-----------------------------------------------
  WhatsApp butonu
-----------------------------------------------*/
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--m-z-float, 990);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 30px;
  -webkit-transition: ease-out 0.2s;
  transition: ease-out 0.2s;
}

.whatsapp-float:hover, .whatsapp-float:focus {
  background: #1ebe5b;
  color: #fff;
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

body.cookie-notice-open .whatsapp-float {
  bottom: 110px;
}

/*-----------------------------------------------
  Çerez / KVKK bildirimi
-----------------------------------------------*/
.cookie-notice {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--m-z-cookie, 991);
  padding: 15px 0;
  border-top: 1px solid var(--m-line-dark, rgba(255, 255, 255, 0.1));
  background: rgba(10, 10, 11, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-notice p {
  margin: 0 20px 0 0;
  line-height: 1.6;
}

.cookie-notice a {
  color: #fff;
  text-decoration: underline;
}

.cookie-notice .button {
  flex: 0 0 auto;
  margin: 0;
}

@media (max-width: 575.98px) {
  .cookie-notice .container {
    flex-direction: column;
    text-align: center;
  }
  .cookie-notice p {
    margin: 0 0 10px;
  }
  body.cookie-notice-open .whatsapp-float {
    bottom: 150px;
  }
}

/*-----------------------------------------------
  Video galerisi: dosyası bulunamayan video
-----------------------------------------------*/
.video-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e8eb;
  color: #7C7C7C;
  font-size: 14px;
  text-align: center;
}

.gallery-video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

.rich-content > :last-child {
  margin-bottom: 0;
}
