/* ===== RESET + SAFE AREA ===== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #EBEBEB;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  overscroll-behavior: none;
  overflow-x: hidden;
  max-width: 100vw;

  /* iPhone notch + home bar safe area fix */
  padding-top: env(safe-area-inset-top);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  font-family: 'Roboto', sans-serif;
  color: #fff;
  line-height: 1.6;
}

/* ===== NAV BAR ===== */
.navbar {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Back button on left, empty space on right if needed */
  width: 90%;
  max-width: 1100px;
  border-radius: 50px; /* Pill shape */
  padding: 10px 20px;

  /* ✅ Frosted glass effect */
  background: rgba(30, 12, 56, 0.25);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);

  /* ✅ subtle shadow for depth */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Back button inside nav — matches pill style from other pages */
.nav-content .btn-header {
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid #00bfa5;
  background: transparent;
  color: black; /* ✅ text black */
  font-weight: 600;
  border-radius: 25px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease, color 0.3s ease;
}

.nav-content .btn-header:hover {
  background: #00bfa5;
  color: black;
}

/* ===== CONTACT PAGE CONTENT ===== */
.contact-container {
  max-width: 640px;
  padding: 60px 20px 20px; /* reduced top padding because of nav */
  margin: 0 auto;
}

.contact-container h1 {
  text-align: center;
  margin-bottom: 16px;
}

/* Form layout */
#contactForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row input {
  flex: 1;
}

/* Form fields */
#contactForm input,
#contactForm textarea {
  padding: 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

#contactForm textarea {
  min-height: 240px;
  resize: vertical;
}

/* Send button */
#contactForm button {
  display: inline-block;
  align-self: center;
  width: auto;
  padding: 8px 20px;
  border: 2px solid #00bfa5;
  background: #00bfa5;
  color: black; /* ✅ text black */
  font-weight: 600;
  border-radius: 25px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.3s ease;
}

#contactForm button:hover {
  background: #00bfa5;
  color: white;
}

/* Status message */
#formStatus {
  text-align: center;
  margin-top: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .contact-container {
    padding: 40px 16px 20px;
  }

  .form-row {
    flex-direction: column;
  }

  #contactForm input,
  #contactForm textarea {
    font-size: 15px;
    padding: 14px;
  }

  #contactForm textarea {
    min-height: 180px;
  }
}

/* Page container to push footer naturally */
.page-container {
  min-height: auto; /* Remove full height forcing footer to bottom */
  display: block;   /* No flex layout pushing footer */
}
