footer {
  width: 100%;
  background-color: #1a1a1a;
  color: white;
  padding: 50px 15px 0px;
  margin-top: 80px;
  clear: both;
}

/* CONTAINER */
.footer_holder {
  max-width: 1350px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

/* LOGO */
.footer_logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer_logo img {
  width: 70px;
  margin-bottom: 10px;
}

.footer_logo p {
  font-size: 18px;
  font-weight: 700;
}

/* COLUMNS */
.kategoriler h3 {
  margin-bottom: 15px;
  font-size: 16px;
}

/* LINKS */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

/* NEWSLETTER */
.kategoriler input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 6px;
}

.kategoriler button {
  width: 100%;
  padding: 10px;
  background: #ff6b35; /* your theme color */
  border: none;
  color: white;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
}

.kategoriler button:hover {
  opacity: 0.85;
}
.copyright {
  padding: 10px;
  text-align: center;
  border-top: 1px solid lightgray;
  margin-top: 20px;
  font-size: 14px;
}

/* ---------------- RESPONSIVE ---------------- */

/* TABLET */
@media (max-width: 1024px) {
  .footer_holder {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .footer_holder {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer_logo {
    align-items: center;
  }

  .kategoriler {
    margin-top: 20px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    animation: pulse 2s infinite;
}

.whatsapp-btn svg {
    color: white !important;
    width: 32px;
    height: 32px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    animation: none; /* Stop pulse on hover */
}

/* Pulsing Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Speech Bubble Tooltip */
.whatsapp-tooltip {
    position: relative;
    display: none; /* Hidden by default, shown on hover */
}

.whatsapp-float:hover .whatsapp-tooltip {
    display: block;
    animation: fadeIn 0.3s ease;
}

.speech-bubble {
    position: relative;
    background: white;
    color: #333;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    max-width: 200px;
    text-align: center;
    margin-bottom: 10px;
    margin-right: 10px;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

/* New Message Badge */
.new-message-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FF3B30;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 1s infinite alternate;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(255, 59, 48, 0.3);
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-5px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .speech-bubble {
        font-size: 13px;
        padding: 10px 14px;
        max-width: 180px;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn svg {
        width: 26px;
        height: 26px;
    }
    
    .speech-bubble {
        display: none; /* Hide speech bubble on very small screens */
    }
}

/* Always show speech bubble on mobile (alternative) */
@media (max-width: 768px) {
    .whatsapp-tooltip {
        display: block !important;
        opacity: 0.9;
    }
    
    .whatsapp-float:hover .whatsapp-tooltip {
        animation: none;
    }
}