/* ============================================
   topbar.css - Top Bar Styling
   Dark, slim top bar with contact buttons
   ============================================ */

/* ----- TOP BAR STYLES ----- */
.top-bar {
  background: linear-gradient(135deg, #050709 0%, #0f1318 100%);
  border-bottom: 1px solid rgba(230, 90, 90, 0.15);
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  width: 100%;
}

.top-bar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: flex-end;
}

.top-bar-content {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  height: 30px;
}

.top-bar-btn {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: #EDF2F8;
  text-decoration: none;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}

.top-bar-btn:hover {
  background-color: rgba(230, 90, 90, 0.15);
  color: #FF6B6B;
  transform: translateY(-1px);
}

.top-bar-btn i {
  font-size: 0.65rem;
  color: #E65A5A;
}

.top-bar-btn:hover i {
  color: #FF6B6B;
}

.top-bar-btn span {
  display: inline;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
  .top-bar-content {
    gap: 0.4rem;
    height: 32px;
  }

  .top-bar-btn {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
    gap: 0.2rem;
  }

  .top-bar-btn span {
    display: none;
  }

  .top-bar-btn i {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .top-bar-container {
    padding: 0 0.75rem;
  }

  .top-bar-content {
    gap: 0.2rem;
    height: 30px;
  }

  .top-bar-btn {
    padding: 0.2rem 0.4rem;
    font-size: 0.6rem;
  }
}

/* Ensure sections with id anchors scroll properly below the fixed navbar + topbar */
[id] {
  scroll-margin-top: 90px;
}
