/* ===== FOOTER GENERAL ===== */
.footer {
  color: #ccc;
  padding: 1.5rem 1rem;
  /* font-family: sans-serif; */
}

/* === SEPARAT: Contact + Hartă (NU este în footer) === */
.footer-contact-wrapper {
  padding: 3rem 1rem 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

@media (min-width: 769px) {
  .footer-content {
    flex-wrap: nowrap;
    align-items: stretch;
  }
}

.footer-contact,
.footer-map {
  flex: 1 1 300px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}

.footer-contact {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(13, 13, 13, 0.95) 100%);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(29, 185, 84, 0.1);
  justify-content: center;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.footer-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #1db954, transparent);
  opacity: 0.6;
}

.footer-contact h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: #d0d0d0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  cursor: pointer;
  padding: 1.2rem;
  background: rgba(20, 20, 20, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(29, 185, 84, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #1db954;
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
  color: #fff;
  background: rgba(29, 185, 84, 0.08);
  border-color: rgba(29, 185, 84, 0.3);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(29, 185, 84, 0.15);
}

.contact-item:hover::before {
  transform: scaleY(1);
}

.contact-item p {
  margin: 0;
  padding: 0;
  line-height: inherit;
  flex: 1;
}

.contact-icon {
  color: #1db954;
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 4px rgba(29, 185, 84, 0.3));
}

.contact-item:hover .contact-icon {
  color: #1db954;
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(29, 185, 84, 0.6));
}

.contact-item a {
  color: #1db954;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-block;
}

.contact-item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1db954;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item a:hover {
  color: #1db954;
  text-shadow: 0 0 8px rgba(29, 185, 84, 0.4);
}

.contact-item a:hover::after {
  width: 100%;
}

.location-label {
  color: #1db954;
  font-weight: 700;
  margin-right: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.social-items {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(29, 185, 84, 0.15);
}

.social-icon {
  font-size: 1.6rem;
  color: #d0d0d0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
  color: #1db954;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
}

.footer-map {
  justify-content: center;
}

.footer-map iframe {
  flex: 1;
  min-height: 300px;
  border: 0;
}

/* === FOOTER FINAL INFO === */
.footer-info {
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.8rem;
  padding: 1.5rem 1rem;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
}

/* Link default în footer */
.footer-info a {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  line-height: inherit;
}

/* Link special Horia Stan */
.footer-info a.designer-link {
  color: #1db954 !important;
  font-weight: 600;
  margin-left: 0.3rem !important; /* spațiu între “by” și nume */
  transition: color 0.3s ease;
}

.footer-info a.designer-link:hover {
  color: #1db954;
  text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 1rem;
  }

  .footer-contact-wrapper {
    padding: 2rem 1rem 1rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-map {
    width: 100%;
    margin-top: 1rem;
  }

  .contact-block {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Actualizare pentru social-items pentru a avea icon-urile unul lângă altul */
  .social-items {
    flex-direction: row;
    gap: 1.2rem;
    justify-content: center;
  }

  .footer-info {
    flex-direction: column;
    line-height: 1.6rem;
    padding-top: 1.2rem;
  }
}