/* Layout styles */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 0; /* Default for desktop, no extra padding */
}

.main-content {
  position: relative;
  z-index: 1;
  flex: 1;
  padding-top: 0;
}

.container {
  max-width: 1200px;
}

/* Responsive adjustments for the top contact bar and main header */
.top-contact-bar {
  background-color: var(--dark-color);
  color: var(--light-color);
  font-size: 0.875rem;
  position: relative;
  z-index: 1030;
}

.main-header {
  position: relative;
  z-index: 1040;
}

.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Mobile-specific layout adjustments */
@media (max-width: 991.98px) {
  /* Remove body padding since header is no longer fixed */
  body {
    padding-top: 0;
  }

  .top-contact-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1060;
    height: 64px; /* Fixed height */
  }

  /* Header flows normally but needs to account for fixed contact bar */
  .main-header {
    position: relative; /* Normal flow, will scroll with content */
    margin-top: 64px; /* Push it down below the fixed contact bar */
    width: 100%;
    z-index: 1040;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    height: 80px; /* Fixed height */
  }

  .navbar {
    padding: 0;
    height: 80px;
    margin: 0;
  }
}

/* Map container for responsiveness */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: .25rem;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
