
/* =========================================
   GÜVERCİN SİTESİ - SABİT İLETİŞİM BUTONLARI
   Sol: WhatsApp / Sağ: Telefon Et
   Joomla 6 - Cassiopeia
========================================= */

.guvercin-iletisim-sabit {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 100000;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  width: 100%;
  padding: 8px 16px;
  box-sizing: border-box;
  pointer-events: none;
}

/* Ortak buton tasarımı */
.guvercin-whatsapp-yeni,
.guvercin-telefon-yeni {
  pointer-events: auto;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  flex: 0 1 235px;
  min-width: 0;
  min-height: 58px;
  padding: 10px 17px;
  box-sizing: border-box;

  color: #ffffff !important;
  text-decoration: none !important;

  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 40px;

  font-family: inherit;
  line-height: 1.25;

  transition: transform 0.25s ease,
              box-shadow 0.25s ease;
}

/* YEŞİL WHATSAPP BUTONU */
.guvercin-whatsapp-yeni {
  background: linear-gradient(135deg, #25d366, #128c4a);

  box-shadow:
    0 0 12px rgba(37, 211, 102, 0.8),
    0 0 28px rgba(37, 211, 102, 0.55),
    0 0 48px rgba(37, 211, 102, 0.3),
    0 6px 18px rgba(0, 0, 0, 0.22);

  animation: guvercin-wa-isik 2s ease-in-out infinite;
}

/* MAVİ TELEFON ET BUTONU */
.guvercin-telefon-yeni {
  background: linear-gradient(135deg, #38bdf8, #1d4ed8);

  box-shadow:
    0 0 12px rgba(56, 189, 248, 0.9),
    0 0 28px rgba(59, 130, 246, 0.7),
    0 0 48px rgba(37, 99, 235, 0.4),
    0 6px 18px rgba(0, 0, 0, 0.22);

  animation: guvercin-mavi-isik 2s ease-in-out infinite;
}

/* Fareyle üzerine gelindiğinde */
.guvercin-whatsapp-yeni:hover {
  background: linear-gradient(135deg, #4ade80, #16a34a);
  color: #ffffff !important;
  transform: translateY(-3px);

  box-shadow:
    0 0 18px rgba(37, 211, 102, 1),
    0 0 38px rgba(37, 211, 102, 0.8),
    0 0 60px rgba(37, 211, 102, 0.45);
}

.guvercin-telefon-yeni:hover {
  background: linear-gradient(135deg, #7dd3fc, #2563eb);
  color: #ffffff !important;
  transform: translateY(-3px);

  box-shadow:
    0 0 18px rgba(56, 189, 248, 1),
    0 0 38px rgba(59, 130, 246, 0.9),
    0 0 60px rgba(37, 99, 235, 0.5);
}

/* Simge boyutları */
.guvercin-whatsapp-yeni svg,
.guvercin-telefon-yeni svg {
  display: block;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
}

/* Buton yazıları */
.guvercin-whatsapp-yeni span,
.guvercin-telefon-yeni span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.guvercin-whatsapp-yeni strong,
.guvercin-telefon-yeni strong {
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.guvercin-whatsapp-yeni small,
.guvercin-telefon-yeni small {
  margin-top: 3px;
  color: #ffffff !important;
  font-size: 11px;
  white-space: nowrap;
}

/* WhatsApp ışık animasyonu */
@keyframes guvercin-wa-isik {
  0%, 100% {
    box-shadow:
      0 0 10px rgba(37, 211, 102, 0.65),
      0 0 24px rgba(37, 211, 102, 0.4),
      0 6px 18px rgba(0, 0, 0, 0.22);
  }

  50% {
    box-shadow:
      0 0 17px rgba(37, 211, 102, 1),
      0 0 36px rgba(37, 211, 102, 0.75),
      0 0 52px rgba(37, 211, 102, 0.35),
      0 6px 18px rgba(0, 0, 0, 0.22);
  }
}

/* Mavi telefon ışık animasyonu */
@keyframes guvercin-mavi-isik {
  0%, 100% {
    box-shadow:
      0 0 10px rgba(56, 189, 248, 0.7),
      0 0 24px rgba(59, 130, 246, 0.45),
      0 6px 18px rgba(0, 0, 0, 0.22);
  }

  50% {
    box-shadow:
      0 0 18px rgba(56, 189, 248, 1),
      0 0 38px rgba(59, 130, 246, 0.85),
      0 0 55px rgba(37, 99, 235, 0.4),
      0 6px 18px rgba(0, 0, 0, 0.22);
  }
}

/* MOBİL UYUMLULUK */
@media (max-width: 480px) {
  .guvercin-iletisim-sabit {
    bottom: calc(10px + env(safe-area-inset-bottom));
    gap: 9px;
    padding: 6px 10px;
  }

  .guvercin-whatsapp-yeni,
  .guvercin-telefon-yeni {
    flex: 1 1 0;
    gap: 7px;
    min-height: 54px;
    padding: 9px 8px;
  }

  .guvercin-whatsapp-yeni svg,
  .guvercin-telefon-yeni svg {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .guvercin-whatsapp-yeni strong,
  .guvercin-telefon-yeni strong {
    font-size: 13px;
  }

  .guvercin-whatsapp-yeni small,
  .guvercin-telefon-yeni small {
    font-size: 10px;
  }
}

/* Animasyon hassasiyeti olan ziyaretçiler */
@media (prefers-reduced-motion: reduce) {
  .guvercin-whatsapp-yeni,
  .guvercin-telefon-yeni {
    animation: none;
    transition: none;
  }
}

/* YouTube Shorts Video Galerisi */
.shorts-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 10px;
}

.shorts-item {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 14px;
    background: #111;
}

.shorts-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

@media (max-width: 991px) {
    .shorts-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .shorts-gallery {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}