/* Global resets and typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  background-color: #000;
  line-height: 1.5;
}

/* Navigation bar styles */
nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

nav .logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

nav .logo img {
  height: 40px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ddd;
  text-decoration: underline;
}

/* Smaller hero variant for secondary pages */
.hero.small {
  min-height: 60vh;
}

.hero.small .content {
  margin-top: 4rem;
}

/* Container for content sections */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #111;
}

.container p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Form styling for nanny application page reuses existing classes */
.nanny-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nanny-form input {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
}

.nanny-form input::placeholder {
  color: #999;
}

.nanny-form button {
  padding: 0.75rem 1rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nanny-form button:hover {
  background-color: #222;
}

.nanny-thank-you p {
  font-size: 1.25rem;
  font-weight: 400;
  margin-top: 1.5rem;
  color: #333;
}

/* Hero section styling */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('hero-background.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Dark overlay to improve readability of text on busy backgrounds */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: saturate(150%) brightness(60%);
}

/* Container for hero text and form */
.content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 90%;
  padding: 1rem;
}

/* Headline styling */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

/* Tagline and subheading styling */
.tagline {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.subheading {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

/* Form styling */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.waitlist-form input {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
}

.waitlist-form input::placeholder {
  color: #999;
}

.waitlist-form button {
  padding: 0.75rem 1rem;
  background-color: #fff;
  color: #000;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.waitlist-form button:hover {
  background-color: #f2f2f2;
}

/* Thank you message styling */
.thank-you p {
  font-size: 1.25rem;
  font-weight: 400;
  margin-top: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  h1 {
    font-size: 2.2rem;
  }
  .tagline,
  .subheading {
    font-size: 1rem;
  }
}