/* ═══════════════════════════════════════════════════════════
   SOCIAL MEDIA ICONS - Visible & Accessible
   ═══════════════════════════════════════════════════════════ */

/* ═══ FLOATING SOCIAL SIDEBAR - DISABLED ═══ */
.social-sidebar {
  display: none !important;
}

/* ═══ HEADER SOCIAL ICONS (Top Navigation) ═══ */
.nav-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  flex-shrink: 0;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-social a:hover {
  transform: translateY(-2px);
}

.nav-social .social-facebook {
  background: #1877f2;
}

.nav-social .social-facebook:hover {
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.nav-social .social-instagram {
  background: linear-gradient(135deg, #e1306c, #fd1d1d, #f77737);
}

.nav-social .social-instagram:hover {
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
}

.nav-social .social-whatsapp {
  background: #25d366;
}

.nav-social .social-whatsapp:hover {
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.nav-social svg {
  width: 18px;
  height: 18px;
  fill: white;
  flex-shrink: 0;
}

/* ═══ FOOTER SOCIAL ICONS (Enhanced) ═══ */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

.footer-social a:hover {
  transform: translateY(-4px);
}

.footer-social a::after {
  content: attr(title);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 13, 26, 0.95);
  color: #f5e6d3;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.footer-social a:hover::after {
  opacity: 1;
}

.footer-social .social-facebook {
  background: #1877f2;
}

.footer-social .social-facebook:hover {
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.5);
}

.footer-social .social-instagram {
  background: linear-gradient(135deg, #e1306c, #fd1d1d, #f77737);
}

.footer-social .social-instagram:hover {
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.5);
}

.footer-social .social-whatsapp {
  background: #25d366;
}

.footer-social .social-whatsapp:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.footer-social .social-phone {
  background: linear-gradient(135deg, #c9a84c, #e8c96a);
}

.footer-social .social-phone:hover {
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.5);
}

.footer-social .social-email {
  background: linear-gradient(135deg, #6b2fa0, #8e44ad);
}

.footer-social .social-email:hover {
  box-shadow: 0 6px 20px rgba(107, 47, 160, 0.5);
}

.footer-social svg {
  width: 22px;
  height: 22px;
  fill: white;
}

/* ═══ MOBILE RESPONSIVE ═══ */
@media (max-width: 1200px) {
  /* Adjust nav-brand text for medium screens */
  .nav-brand {
    max-width: 180px;
  }
  
  .nav-brand-name {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .nav-brand-sub {
    font-size: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 992px) {
  /* Hide nav-social on tablets and below to prevent crowding */
  .nav-social {
    display: none;
  }
  
  /* Give more space to nav-brand */
  .nav-brand {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  /* Make header social icons smaller */
  .nav-social a {
    width: 32px;
    height: 32px;
  }
  
  .nav-social svg {
    width: 16px;
    height: 16px;
  }
  
  /* Adjust nav-brand for mobile */
  .nav-brand {
    max-width: 150px;
  }
  
  .nav-brand-name {
    font-size: 0.85rem;
  }
  
  .nav-brand-sub {
    font-size: 0.55rem;
  }
  
  /* Footer social icons */
  .footer-social a {
    width: 40px;
    height: 40px;
  }
  
  .footer-social svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .nav-social {
    gap: 6px;
    margin-left: 8px;
  }
  
  .nav-social a {
    width: 28px;
    height: 28px;
  }
  
  .nav-social svg {
    width: 14px;
    height: 14px;
  }
}

/* ═══ ACCESSIBILITY ═══ */
.social-sidebar a:focus,
.nav-social a:focus,
.footer-social a:focus {
  outline: 2px solid #c9a84c;
  outline-offset: 2px;
}

/* ═══ ANIMATION ═══ */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.social-sidebar a:hover,
.nav-social a:hover,
.footer-social a:hover {
  animation: pulse 0.6s ease-in-out;
}
