﻿/* Language Bar Styles */
.language-bar {
  background: rgba(26, 6, 42, 0.9);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001; /* Above header */
  backdrop-filter: blur(10px);
  height: 37px; /* Match the height used in business-services */
  box-sizing: border-box;
}

.language-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: calc(var(--space-lg) + 8px); /* Aligns with Schedule Call button */
  height: 100%;
}

.top-contact-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: 1;
  margin-right: var(--space-xl);
}

.top-contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-contact-link:hover {
  color: var(--color-white);
}

.top-contact-link svg {
  color: var(--color-primary-light);
}

.top-contact-separator {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.lang-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  padding: 2px 4px;
}

.lang-link:hover {
  color: var(--color-white);
}

.lang-link.active {
  color: var(--color-primary-light);
  font-weight: var(--font-weight-bold);
}

.lang-separator {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .language-bar {
    padding: 6px 0;
    background: rgba(26, 6, 42, 0.95);
  }

  .language-content {
    justify-content: center;
    padding-right: 0;
  }

  .top-contact-info {
    display: none; /* Hide contact info on mobile */
  }

  .language-toggle {
    margin: 0;
  }

  .lang-link {
    font-size: 0.9rem;
    padding: 4px 8px;
  }
}

@media (max-width: 480px) {
  .language-bar {
    padding: 4px 0;
  }

  .language-content {
    justify-content: center;
  }

  .lang-link {
    font-size: 0.85rem;
    padding: 3px 6px;
  }
}

/* Adjust header position when language bar is present */
.header {
  top: 37px !important; /* Match business-services height */
}


/* For pages with hero sections, add padding only to sections after hero */
.hero-page main > section:not(.hero) {
  padding-top: calc(37px + var(--header-height)) !important;
}
