/* ========== FOOTER - Click & Gruda ========== */

.footer {
  background: linear-gradient(180deg, #0a0a0a, #050505);
  border-top: 1px solid rgba(234, 88, 12, 0.1);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-main), transparent);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  font-size: 1.8rem;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-300);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--gradient-orange);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.3);
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-orange);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  font-size: 1.2rem;
  color: var(--orange-main);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-links a:hover {
  color: var(--orange-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gray-400);
  font-size: 0.85rem;
}

.footer-contact-item .icon {
  color: var(--orange-main);
  font-size: 1.1rem;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 0.8rem;
}

.footer-bottom-menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-menu a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.footer-bottom-menu a:hover {
  color: var(--orange-light);
}

.footer-highlight {
  color: var(--orange-main);
  font-weight: 600;
}

/* Newsletter */
.footer-newsletter {
  margin-top: 8px;
}

.footer-newsletter p {
  color: var(--gray-400);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--orange-main);
}

.newsletter-form button {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  background: var(--gradient-orange);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.4);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }
}