/* Global Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

a {
  color: #0056b3;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: none;
  color: #003d7a;
}

/* Updated Top Bar Styles */
.top-bar {
  font-size: 0.95rem;
  background-color: #0056b3 !important;
  padding: 8px 0;
}

.top-bar .list-inline-item {
  margin-right: 15px;
}

.top-bar .social-icons a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.top-bar .social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  .top-bar .list-inline {
    text-align: center;
    margin-bottom: 5px;
  }

  .top-bar .text-md-right {
    text-align: center !important;
  }
}

/* Main Header */
.main-header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
  font-weight: 600;
  padding: 0.5rem 1rem;
  color: #333 !important;
}

.nav-item.active .nav-link {
  font-weight: bold;
  color: #007bff !important;
}

.navbar-nav .nav-item:hover .nav-link {
  color: #0056b3 !important;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #0056b3;
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.card-header {
  background-color: #0056b3;
  color: white;
  font-weight: 600;
  border-bottom: none;
}

/* Media Objects */
.media img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.25rem;
}

@media (max-width: 767.98px) {
  .media {
    flex-direction: column;
  }

  .media img {
    margin-bottom: 15px;
    width: 100%;
    height: auto;
  }
}

/* Footer */
footer {
  background-color: #222;
}

.footer-links a,
.contact-info li {
  color: #adb5bd;
  margin-bottom: 10px;
  display: block;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  align-items: center;
}

.contact-info li i {
  margin-right: 10px;
  color: #0056b3;
}

hr.bg-secondary {
  opacity: 0.1;
}

/* Site Plan Image */
.site-plan-container {
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #444;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.site-plan-container:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.site-plan-image {
  max-width: 100%;
  height: auto;
}

/* Login and Register Pages */
.login-page {
  min-height: 100vh;
  background-color: #f8f9fa;
}

.login-info {
  background-color: #8b0000;
  min-height: 100vh;
}

.login-form-container {
  max-width: 500px;
  margin: 0 auto;
}

.divider {
  position: relative;
  text-align: center;
  display: block;
  color: #6c757d;
}

.divider:before,
.divider:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background-color: #dee2e6;
}

.divider:before {
  left: 0;
}

.divider:after {
  right: 0;
}

@media (max-width: 767.98px) {
  .top-bar {
    text-align: center;
  }

  .top-bar .text-md-right {
    text-align: center !important;
    margin-top: 10px;
  }

  .login-info {
    min-height: auto;
    padding: 50px 0;
  }

  .site-plan-container {
    max-width: 100%;
  }
}

/* Button Styles */
.btn-primary {
  background-color: #0056b3;
  border-color: #0056b3;
}

.btn-primary:hover {
  background-color: #003d7a;
  border-color: #003d7a;
}

.btn-outline-primary {
  color: #0056b3;
  border-color: #0056b3;
}

.btn-outline-primary:hover {
  background-color: #0056b3;
  color: white;
}

/* Login and Register specific styles */
.login-page .btn-primary {
  background-color: #8b0000;
  border-color: #8b0000;
}

.login-page .btn-primary:hover {
  background-color: #6d0000;
  border-color: #6d0000;
}

.login-page .btn-outline-primary {
  color: #8b0000;
  border-color: #8b0000;
}

.login-page .btn-outline-primary:hover {
  background-color: #8b0000;
  color: white;
}

.login-page a {
  color: #8b0000;
}

.login-page a:hover {
  color: #6d0000;
}

/* Embed Responsive */
.embed-responsive {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
