/* Custom Footer CSS - Save as /assets/css/custom-footer.css in your child theme */

/* === FOOTER CONTAINER === */
.gc-footer .custom-footer {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  color: #fff;
  line-height: 1.6;
  max-width: 1800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  box-shadow: 
    0 32px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gc-footer .custom-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* === NEWSLETTER SECTION === */
.gc-footer .footer-newsletter {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: center;
  padding: 60px 32px;
  position: relative;
  z-index: 1;
}

.gc-footer .footer-newsletter h2 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  letter-spacing: 0.5px;
}

.gc-footer .footer-newsletter p {
  margin: 0 0 32px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.gc-footer .newsletter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 600px;
  margin: auto;
}

.gc-footer .newsletter-form input[type="email"] {
  flex: 1 1 300px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gc-footer .newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.gc-footer .newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 3px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gc-footer .newsletter-form button {
  padding: 16px 32px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gc-footer .newsletter-form button:hover {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.gc-footer .terms-check {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  width: 100%;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gc-footer .terms-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.gc-footer .terms-check span {
  user-select: none;
  cursor: pointer;
}

/* === PAYMENT LOGOS === */
.gc-footer .payment-logos {
  background: rgba(0, 0, 0, 0.2);
  padding: 32px 20px;
  text-align: center;
  font-size: 13px;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gc-footer .payment-logos span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  margin: 6px 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 12px;
}

.gc-footer .payment-logos span:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* === FOOTER COLUMNS === */
.gc-footer .footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  padding: 60px 32px;
  position: relative;
  z-index: 1;
}

.gc-footer .footer-columns > div {
  flex: 1 1 200px;
  min-width: 200px;
}

.gc-footer .footer-columns h4 {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  padding-bottom: 8px;
}

.gc-footer .footer-columns h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 1px;
}

.gc-footer .footer-columns ul {
  list-style: none;
  padding: 0;
}

.gc-footer .footer-columns li {
  margin-bottom: 12px;
}

.gc-footer .footer-columns a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.gc-footer .footer-columns a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  transition: width 0.3s ease;
}

.gc-footer .footer-columns a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.gc-footer .footer-columns a:hover::before {
  width: 100%;
}

/* === FOOTER BOTTOM === */
.gc-footer .footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  font-size: 14px;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gc-footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.gc-footer .socials {
  display: flex;
  gap: 16px;
}

.gc-footer .socials a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-decoration: none;
}

.gc-footer .socials a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.gc-footer .socials a:nth-child(1):hover {
  background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
  border-color: #1877f2;
}

.gc-footer .socials a:nth-child(2):hover {
  background: linear-gradient(135deg, #e4405f 0%, #fd5949 100%);
  border-color: #e4405f;
}

.gc-footer .socials a:nth-child(3):hover {
  background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
  border-color: #5865f2;
}

/* === FLOATING PARTICLES === */
.gc-footer .floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.gc-footer .particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(59, 130, 246, 0.6);
  border-radius: 50%;
  animation: footer-float 15s ease-in-out infinite;
}

@keyframes footer-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0; }
  50% { transform: translateY(-30px) rotate(180deg); opacity: 1; }
}

/* === MOBILE RESPONSIVENESS === */
@media (max-width: 768px) {
  .gc-footer .custom-footer {
    border-radius: 24px;
    margin: 0 16px;
  }

  .gc-footer .footer-newsletter {
    padding: 40px 24px;
  }

  .gc-footer .footer-newsletter h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .gc-footer .footer-newsletter p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .gc-footer .newsletter-form input[type="email"],
  .gc-footer .newsletter-form button {
    flex: 1 1 100%;
  }

  .gc-footer .newsletter-form input[type="email"] {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .gc-footer .newsletter-form button {
    padding: 14px 24px;
    border-radius: 12px;
  }

  .gc-footer .payment-logos {
    padding: 24px 16px;
  }

  .gc-footer .payment-logos span {
    margin: 4px 6px;
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 16px;
  }

  .gc-footer .footer-columns {
    gap: 40px;
    padding: 40px 24px;
    text-align: center;
  }

  .gc-footer .footer-columns > div {
    flex: 1 1 100%;
  }

  .gc-footer .footer-columns h4 {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .gc-footer .footer-columns h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .gc-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 20px 24px;
    gap: 16px;
  }

  .gc-footer .footer-bottom p {
    font-size: 13px;
  }

  .gc-footer .socials a {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .gc-footer .custom-footer {
    border-radius: 20px;
    margin: 0 12px;
  }

  .gc-footer .footer-newsletter {
    padding: 32px 20px;
  }

  .gc-footer .footer-newsletter h2 {
    font-size: 20px;
  }

  .gc-footer .footer-newsletter p {
    font-size: 13px;
  }

  .gc-footer .newsletter-form {
    gap: 12px;
  }

  .gc-footer .newsletter-form input[type="email"],
  .gc-footer .newsletter-form button {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
  }

  .gc-footer .payment-logos {
    padding: 20px 12px;
  }

  .gc-footer .footer-columns {
    padding: 32px 20px;
    gap: 32px;
  }

  .gc-footer .footer-bottom {
    padding: 16px 20px;
  }

  .gc-footer .socials {
    gap: 12px;
  }

  .gc-footer .socials a {
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: 8px;
  }
}