/* Styles for Paula DeAnda landing page */
:root {
  --bg1: #cda7ff;
  --bg2: #8f6bff;
  --text: #fff;
  --accent: #000;
  --accent-light: #fff;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-image:
    linear-gradient(rgba(124,86,255,0.28), rgba(124,86,255,0.28)),
    url('/paula-bg.jpg'),
    linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 100%);
  background-size: cover, cover, cover;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center center, center center, center center;
  background-blend-mode: normal, screen, normal;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text);
  padding: 3rem 1.5rem 2.5rem;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

main {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 10vw, 6.5rem);
  margin: 0.35rem 0 0.1rem;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.04em;
  text-shadow: 0 8px 18px rgba(0,0,0,0.28);
  max-width: 95%;
  text-align: center;
  display: block;
  position: relative;
  z-index: 2;
}

h3 {
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0.5rem 0 0;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

p {
  font-size: 1.05rem;
  margin: 0.5rem 0;
  color: rgba(255,255,255,0.95);
  max-width: 520px;
}

form#signup-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  margin: 1rem 0;
}

.form-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  justify-content: center;
}

form input[type="text"],
form input[type="email"] {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.92);
  outline: none;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  max-width: 280px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s, background 0.2s;
}

form input[type="text"]:focus,
form input[type="email"]:focus {
  background: #fff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

button#submit-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.95rem 1.5rem;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  white-space: nowrap;
}

button#submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.28);
}

button#submit-btn[disabled] {
  opacity: 0.65;
  cursor: default;
  transform: none;
  box-shadow: none;
}

#form-message {
  width: 100%;
  text-align: center;
  min-height: 1.25rem;
  color: #0a5b1d;
  font-size: 0.95rem;
  font-weight: 500;
}

.socials {
  margin: 1rem 0 1.4rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.socials a {
  background: #fff;
  padding: 0.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.socials img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.socials a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.16);
}

footer {
  margin-top: 2rem;
  font-size: 0.92rem;
  color: rgba(12, 8, 32, 0.75);
}

/* Desktop: form in a single row */
@media (min-width: 900px) {
  body {
    padding: 4rem 2.25rem 3rem;
  }

  main {
    gap: 2.5rem;
  }

  .form-inputs {
    flex-direction: row;
    gap: 0.5rem;
  }

  form input[type="text"] {
    max-width: 180px;
  }

  form input[type="email"] {
    max-width: 220px;
  }

  button#submit-btn {
    min-width: 170px;
  }
}

@media (max-width: 640px) {
  body {
    padding: calc(5rem + env(safe-area-inset-top, 0px)) 1.25rem 2.25rem;
  }
  main {
    gap: 1.1rem;
    padding-top: 4.5rem;
  }
  h1 {
    font-size: clamp(3rem, 12vw, 5rem);
    letter-spacing: 0.03em;
    text-shadow: 0 6px 14px rgba(0,0,0,0.32);
    line-height: 1.05;
    margin-top: 0.2rem;
  }
  p {
    font-size: 1rem;
  }
  /* Mobile: ease tint so photo shows more */
  body {
    background-image:
      linear-gradient(rgba(124,86,255,0.14), rgba(124,86,255,0.14)),
      url('/paula-bg.jpg'),
      linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 100%);
    background-size: cover, cover, cover;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center center, center center, center center;
    background-blend-mode: normal, screen, normal;
  }
  .socials {
    margin: 1rem 0 0.6rem;
    gap: 1.25rem;
  }
  .socials img {
    width: 42px;
    height: 42px;
  }
  footer {
    font-size: 0.82rem;
    padding: 0.4rem 0 0.6rem;
    text-align: center;
  }
}


/* EXTRA MOBILE TWEAKS AFTER TESTING ON DEVICE */
@media (max-width: 640px) {

  /* Push everything slightly lower so PAULA DEANDA isn't cut off by the notch */
  body {
    padding: calc(6rem + env(safe-area-inset-top, 0px)) 1.25rem 2.25rem;
  }

  /* Keep content spacing comfortable */
  main {
    padding-top: 3.5rem;
  }

  /* Raise the socials to sit just under the button */
  .socials {
    transform: translateY(-80px);
  }

  /* Tighten the footer spacing so the copyright text sits nicely in the white area */
  footer {
    margin-top: 0.5rem;
    padding: 0.6rem 0 1.1rem;
    text-align: center;
  }
}
