*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* -- Mobile-first base styles -- */
body {
  font-family: system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  /* scroll avoids the frozen-background bug on iOS Safari */
  background: url('assets/surfers-bg.JPG') no-repeat center center / cover scroll;
  color: #fff;
}

main {
  text-align: center;
  width: 92%;
  margin: 1.5rem auto;
  padding: 1.5rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 1rem;
}

.logo {
  max-width: 140px;
  margin-bottom: 1.25rem;
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.subtitle {
  font-size: 1rem;
  font-style: italic;
  color: #ddd;
  margin-bottom: 1.25rem;
}

.coming-soon {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f0c040;
  margin-bottom: 1.5rem;
}

.contact {
  margin-bottom: 1.5rem;
}

.contact h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.contact h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #ddd;
  margin-bottom: 0.75rem;
}

.contact p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.contact a {
  color: #90caf9;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

.contact .fa-whatsapp {
  color: #25d366;
}

.contact .fa-phone {
  color: #1a73e8;
}

.contact .fa-envelope {
  color: #ea4335;
}

.services {
  margin-top: 1.25rem;
}

.services h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.services-list li {
  font-size: 1rem;
  color: #ddd;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.services-list i {
  color: #f0c040;
}

/* -- Tablet (>= 640 px) -- */
@media (min-width: 640px) {
  main {
    width: auto;
    max-width: 480px;
    padding: 2rem;
    margin: 2rem auto;
  }

  .logo {
    max-width: 180px;
    margin-bottom: 1.5rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  .subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .coming-soon {
    font-size: 1.3rem;
  }

  .contact h2,
  .services h2 {
    font-size: 1.2rem;
  }

  .contact p {
    font-size: 1.1rem;
  }

  .services-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
  }

  .services-list li {
    font-size: 1.1rem;
  }
}

/* -- Desktop (>= 1024 px) -- */
@media (min-width: 1024px) {
  body {
    /* Safe to use fixed attachment on desktop */
    background-attachment: fixed;
  }

  main {
    max-width: 560px;
  }

  .logo {
    max-width: 200px;
    margin-bottom: 2rem;
  }

  h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .coming-soon {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }
}
