/* Global layout & typography */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  /* Calmer, premium dark background */
  background: radial-gradient(circle at top, #181824 0, #050608 55%, #000000 100%);
  color: #222;
}

/* Previously used for the big background logo.
   Now intentionally left without a background image so it doesn't
   clutter the page (thanks Ronald Truong for "its too busy") */
body.has-logo-bg {
  /* no background image here anymore */
}

/* Optional hero logo inside the card 
   Example usage inside <main>:
   <img src="Almesallmy Enterprises.png" alt="Almesallmy Enterprises, LLC logo" class="hero-logo">
*/
.hero-logo {
  display: block;
  margin: 0 auto 1.75rem;
  max-width: 240px;
  height: auto;
  opacity: 0.95;
}

/* Top navigation */
.header {
  background: linear-gradient(90deg, #050608, #1c1c26);
  color: #f9f9f9;
  padding: 0.45rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.navbar-title {
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: #f9f9f9;
  text-decoration: none;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background-color: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease,
              color 0.2s ease, transform 0.1s ease;
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Main content container */
.main {
  max-width: 840px;  /* slightly narrower for a calmer layout */
  margin: 5rem auto 2.5rem;
  padding: 2.25rem 2.5rem 2.5rem;
  background-color: rgba(255, 255, 255, 0.95); /* more solid, less busy */
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
}

.main h1 {
  margin-top: 0;
}

.main h2 {
  margin-top: 1.75rem;
}

.main h3 {
  margin-top: 1.4rem;
}

.main ul {
  padding-left: 1.25rem;
}

/* Links inside main */
.main a {
  color: #1b4a8f;
  text-decoration: none;
}

.main a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  margin-top: 2.5rem;
  background-color: rgba(0, 0, 0, 0.85);
  color: #f5f5f5;
  padding: 0.75rem 1rem 1rem;
  font-size: 0.85rem;
}

footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse;  /* links ABOVE the copyright */
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

footer .footer-inner > div:first-child {
  font-weight: 600; /* copyright bold */
}

footer a {
  color: #f5f5f5;
  text-decoration: none;
}

/* Mobile / small screens */
@media (max-width: 768px) {
  /* Header & nav */
  .header {
    padding: 0.5rem 1rem;
  }

  .navbar {
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .navbar-title {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.85rem;
  }

  .nav-links a {
    padding: 0.2rem 0.7rem;
  }

  /* Main card */
  .main {
    max-width: 100%;
    margin: 4rem 1rem 2rem;
    padding: 1.75rem 1.5rem 2.1rem;
    border-radius: 12px;
  }

  .main h1 {
    font-size: 1.7rem;
  }

  .main h2 {
    font-size: 1.25rem;
  }

  /* Hero logo on Home */
  .hero-logo {
    max-width: 200px;
    margin-bottom: 1.25rem;
  }

  /* Footer tweaks */
  footer {
    font-size: 0.8rem;
    padding: 0.75rem 0.75rem 0.9rem;
  }

  footer .footer-inner {
    padding: 0 0.5rem;
  }
}

footer a:hover {
  text-decoration: underline;
}