/* Enhanced Footer No-Logo Fix - Hide Logo and Optimize Layout */

/* Hide the footer logo completely */
.pge-footer .footer-logo {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Adjust footer container layout without logo */
.pge-footer .container {
  display: grid !important;
  grid-template-columns: 1fr auto !important; /* Nav and Contact only */
  gap: 2rem !important;
  align-items: center !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
}

/* Footer navigation - center it since no logo */
.pge-footer nav {
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
  order: 1 !important; /* Nav first */
}

.pge-footer nav ul.pge-footer-menu {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 2rem !important;
}

.pge-footer nav ul.pge-footer-menu li {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
}

.pge-footer nav ul.pge-footer-menu li a {
  display: block !important;
  padding: 0.5rem 1rem !important;
  color: var(--pg-ivory) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
}

.pge-footer nav ul.pge-footer-menu li a:hover,
.pge-footer nav ul.pge-footer-menu li a:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-1px) !important;
}

.pge-footer nav ul.pge-footer-menu li.current-menu-item a,
.pge-footer nav ul.pge-footer-menu li.current_page_item a {
  color: var(--pg-gold) !important;
  font-weight: 700 !important;
  background: rgba(217, 151, 17, 0.1) !important;
}

/* Footer contact - right side */
.pge-footer .contact {
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  text-align: right !important;
  order: 2 !important; /* Contact second */
}

.pge-footer .contact p {
  margin: 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

.pge-footer .contact a {
  color: var(--pg-ivory) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.pge-footer .contact a:hover {
  color: var(--pg-gold) !important;
}

/* Mobile responsiveness - optimize for no logo */
@media (max-width: 980px) {
  .pge-footer .container {
    grid-template-columns: 1fr !important; /* Stack vertically on mobile */
    gap: 1.5rem !important;
    text-align: center !important;
  }
  
  .pge-footer nav {
    order: 1 !important; /* Nav first on mobile */
  }
  
  .pge-footer nav ul.pge-footer-menu {
    flex-wrap: wrap !important;
    gap: 1rem !important;
    justify-content: center !important;
  }
  
  .pge-footer nav ul.pge-footer-menu li a {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.9rem !important;
  }
  
  .pge-footer .contact {
    order: 2 !important; /* Contact second on mobile */
    align-items: center !important;
    text-align: center !important;
  }
}

/* Very small screens - stack navigation vertically */
@media (max-width: 480px) {
  .pge-footer nav ul.pge-footer-menu {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  
  .pge-footer nav ul.pge-footer-menu li a {
    padding: 0.6rem 1rem !important;
    font-size: 0.95rem !important;
  }
  
  .pge-footer .contact {
    font-size: 0.85rem !important;
  }
}
