body:has(.home) {
  background-image: url('/static/images/greek-ruins.jpg');
  background:
    linear-gradient(180deg, rgba(203, 213, 225, 0.9) 0%, rgba(248, 250, 252, 0.8) 40%, transparent 100%),
    url('/static/images/greek-ruins.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding-bottom: 0;
  overflow: hidden;
  height: 100vh;
}

/* Fix for iOS/iPad devices - disable fixed background and animations */
@media (max-width: 1024px) {
  body:has(.home) {
    background-attachment: scroll;
  }

  body:has(.home)::before {
    display: none;
  }

  .home {
    animation: none;
    opacity: 1;
  }
}

.home {
  animation-duration: 3s;
  animation-fill-mode: forwards;
  animation-name: fadeIn;
  animation-delay: 0.1s;
  max-width: 800px;
  opacity: 0;
  margin: 0 auto;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;

  h1 {
    background-color: rgba(203, 213, 225, 0.2);
    line-height: 5rem;
    font-size: 5rem;
    margin-bottom: 5rem;
    margin-top: 0.5rem;
    padding: 0;
    text-align: center;
  }

  .llc {
    font-size: 3rem;
  }

  a {
    background-color: var(--slate-300);
    padding: 0.5rem 1.0rem;
    border-radius: 0.2rem;
  }

  p {
    font-size: 1.1rem;
    text-align: center;
  }

  .tagline {
    font-size: 1.5rem;
    padding: 0.1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: rgba(203, 213, 225, 0.2);
    border-radius: 8px;
  }

  .bottom-message {
    position: fixed;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .contact-button {
    display: inline-block;
    /* background-color: var(--slate-300) !important; */
    background-color: rgba(203, 213, 225, 0.8);
    color: var(--stone-700);
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
  }

  .contact-button:hover {
    background-color: var(--slate-400);
    transform: translateY(-2px);
  }

  .tagline-item {
    padding: 0 0.5rem;
  }

  .tagline-separator {
    padding: 0 0.5rem;
    color: var(--slate-500);
  }

  @media (max-width: 900px) {
    h1 {
      font-size: 3.5rem;
      margin-bottom: 2rem;
    }

    .llc {
      font-size: 2rem;
    }

    .tagline {
      flex-direction: column;
      gap: 0.5rem;
      font-size: 1.3rem;
    }

    .tagline-separator {
      display: none;
    }

    .tagline-item {
      padding: 0;
      position: relative;
    }

    .tagline-item:not(:last-child)::after {
      content: "";
      display: block;
      width: 5.5rem;
      height: 1px;
      background-color: var(--slate-400);
      margin: 1.5rem auto 1rem auto;
    }

    .bottom-message {
      position: relative;
      bottom: auto;
      left: auto;
      transform: none;
      margin-top: 3rem;
    }
  }

  @media (max-width: 900px) {
    justify-content: flex-start;
    padding-top: 2rem;
  }

  .inquire-link {
    display: flex;
    font-size: 1.1rem;
    gap: 2rem;
    justify-content: center;
    list-style-type: none;
    margin-top: 6rem;
    padding: 0;
  }

  .inquire-link {

    li {
      text-decoration: none;
    }

    a {
      background-color: var(--slate-300);
      padding: 0.5rem 1.0rem;
      border-radius: 0.2rem;
    }
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
