/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://goalive.eu
 Description:  Child theme for Hello Elementor — GO Alive custom footer
 Author:       GO Alive
 Author URI:   https://goalive.eu
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

/* ============================================================
   GO Alive — Custom Footer Styles
   ============================================================ */

/* ==========================================================================
   FOOTER  (matches news / opportunities pages)
   ========================================================================== */
.goalive-site-footer {
  background-color: #181818;
  background-image: linear-gradient(160deg, rgba(232,57,42,0.04) 0%, rgba(139,91,181,0.04) 100%);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  border-top: 3px solid transparent;
  border-image: var(--gradient-brand) 1;
  font-family: var(--font-main);
  line-height: 1.6;
}

.goalive-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.6fr;
  gap: 50px;
  padding: 80px 24px 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  max-width: 1240px;
  margin: 0 auto;
}

.goalive-site-footer a { color: rgba(255,255,255,0.6); transition: var(--transition-smooth); }
.goalive-site-footer a:hover { color: var(--color-primary); }

.goalive-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  transition: var(--transition-smooth, 0.3s ease);
}

.goalive-footer-logo:hover {
  opacity: 1;
}

.goalive-footer-logo-img {
  height: 70px;
  width: auto;
  opacity: 0.95;
  transition: var(--transition-smooth, 0.3s ease);
}

.goalive-footer-brand p {
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 24px;
  margin-top: 0;
}

.goalive-footer-contact {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.goalive-footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.goalive-footer-contact svg { color: var(--color-primary); flex-shrink: 0; }

.goalive-footer-heading {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 22px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.goalive-footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.goalive-footer-links a:hover { color: var(--color-primary); padding-left: 4px; }

.goalive-social-icons { display: flex; gap: 12px; margin-bottom: 24px; }

.goalive-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: #fff;
  transition: var(--transition-smooth);
}

.goalive-social-icon:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232,57,42,0.3);
  color: #fff;
}

.goalive-site-footer .newsletter-form { display: flex; flex-direction: column; gap: 8px; max-width: 100%; }

.goalive-site-footer .nl-email {
  width: 100%;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm, 6px) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  background: rgba(255,255,255,0.07) !important;
  color: #fff !important;
  font-size: 14px;
  font-family: inherit;
  outline: none !important;
  transition: var(--transition-smooth, 0.3s ease);
}

.goalive-site-footer .nl-email::placeholder { color: rgba(255,255,255,0.38) !important; }
.goalive-site-footer .nl-email:focus { background: rgba(255,255,255,0.12) !important; border-color: rgba(255,255,255,0.45) !important; box-shadow: none !important; }

.goalive-site-footer .btn-newsletter-footer {
  width: 100%;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm, 6px);
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition-smooth, 0.3s ease);
  text-align: center;
}

.goalive-site-footer .btn-newsletter-footer:hover {
  background: #fff;
  color: #000;
}

.goalive-footer-bottom {
  padding: 26px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.goalive-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   SCROLL-REVEAL UTILITY
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .goalive-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-only-nav { display: block; }

  /* Full-screen mobile nav */
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
    padding: 100px 32px 40px;
    flex-direction: column;
    overflow-y: auto;
  }

  .main-nav.open { display: flex; transform: translateX(0); }

  .main-nav ul { flex-direction: column; gap: 0; align-items: flex-start; }

  .main-nav a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }

  .main-nav a::after { display: none; }

  .hero-title { letter-spacing: -1px; }
  .slide-arrow { display: none; }
  .scroll-cue { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card:nth-child(2),
  .about-card:nth-child(3) { margin-left: 0; }

  .projects-cards { grid-template-columns: 1fr; }
  .projects-section-header { flex-direction: column; align-items: flex-start; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-card  { padding: 28px 18px; }

  .testimonial-card { padding: 36px 28px; }

  .goalive-footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 50px; }
  .goalive-footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .logo-img { height: 52px; }

  .partners-track { gap: 36px; }
}
