/* ========================================
   AgentBaba Common Header & Footer Styles
   Add this to pages for consistent navigation
   ======================================== */

/* These use specific class names to avoid conflicts with existing page styles */

/* ========================================
   Header Styles
   ======================================== */
.ab-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(206, 89, 29, 0.2);
}

.ab-brand {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.ab-brand-image {
  height: 40px;
  width: auto;
}

.ab-header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ab-header-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.ab-header-link:hover,
.ab-header-link--active {
  color: #ffffff;
}

.ab-header-btn-primary {
  background: #e64a19;
  color: #f5e9dc;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(206, 89, 29, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.ab-header-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 74, 25, 0.3);
  color: #f5e9dc;
}

.ab-header-btn-mobile {
  display: none;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  background: transparent;
  border: 1px solid rgba(206, 89, 29, 0.2);
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.ab-header-btn-mobile--primary {
  background: #e64a19;
  border-color: #e64a19;
  color: #f5e9dc;
}

.ab-mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ========================================
   Mobile Menu
   ======================================== */
.ab-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #171717;
  z-index: 2000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(206, 89, 29, 0.2);
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

.ab-mobile-menu.open {
  right: 0;
}

.ab-mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(206, 89, 29, 0.2);
}

.ab-mobile-menu-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
}

.ab-mobile-menu-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

.ab-mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: #9ca3af;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
}

.ab-mobile-menu-item:hover,
.ab-mobile-menu-item--active {
  background: rgba(230, 74, 25, 0.1);
  color: #ffffff;
}

.ab-mobile-menu-item i {
  width: 24px;
  text-align: center;
  color: #e64a19;
}

.ab-mobile-menu-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(206, 89, 29, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ab-mobile-menu-cta {
  display: block;
  text-align: center;
  padding: 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(206, 89, 29, 0.2);
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.ab-mobile-menu-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.ab-mobile-menu-cta--primary {
  background: #e64a19;
  border-color: #e64a19;
  color: #f5e9dc;
}

.ab-mobile-menu-cta--primary:hover {
  background: #d84315;
  box-shadow: 0 4px 15px rgba(230, 74, 25, 0.3);
}

.ab-mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ab-mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ========================================
   Footer Styles
   ======================================== */
.ab-site-footer {
  margin-top: 60px;
  padding: 40px 32px 32px;
  border-top: 1px solid rgba(206, 89, 29, 0.2);
  background: #171717;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

.ab-footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.ab-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.ab-footer-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ab-footer-link:hover {
  color: #e64a19;
}

.ab-footer-copyright {
  font-size: 13px;
  color: #9ca3af;
}

.ab-footer-copyright a {
  color: #e64a19;
  font-weight: 600;
  text-decoration: none;
}

.ab-footer-copyright a:hover {
  color: #ff9d00;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 900px) {
  .ab-header-link {
    display: none;
  }
  
  .ab-header-btn-primary {
    display: none;
  }
  
  .ab-header-btn-mobile {
    display: block;
  }
  
  .ab-mobile-menu-toggle {
    display: block;
  }
  
  .ab-header-actions {
    gap: 0.75rem;
  }
  
  .ab-top-bar {
    padding: 1rem;
  }
}

@media (max-width: 640px) {
  .ab-top-bar {
    padding: 0.85rem 1rem;
  }
  
  .ab-header-btn-mobile {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .ab-footer-links {
    flex-direction: column;
    gap: 12px;
  }
  
  .ab-footer-link {
    font-size: 13px;
  }
  
  .ab-brand-image {
    height: 36px;
  }
  
  .ab-site-footer {
    padding: 32px 16px 24px;
  }
}

@media (max-width: 380px) {
  .ab-brand-image {
    height: 32px;
  }
  
  .ab-header-btn-mobile {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }
}


    .ftr-social {
      display: flex;
      gap: 10px;
      justify-content: center;
      margin-bottom: 14px
    }

    .ftr-social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--brd);
      color: var(--t3);
      font-size: .85rem;
      text-decoration: none;
      transition: all .22s
    }

    .ftr-social a:hover { color: #fff; transform: translateY(-2px) }
    .ftr-social a.s-x:hover       { background: #000;    border-color: #000;    box-shadow: 0 4px 12px rgba(0,0,0,.5) }
    .ftr-social a.s-li:hover      { background: #0077b5; border-color: #0077b5; box-shadow: 0 4px 12px rgba(0,119,181,.4) }
    .ftr-social a.s-yt:hover      { background: #ff0000; border-color: #ff0000; box-shadow: 0 4px 12px rgba(255,0,0,.4) }
    .ftr-social a.s-ig:hover      { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: #e1306c; box-shadow: 0 4px 12px rgba(225,48,108,.4) }
