/* Contact.css - Updated: Reduced top padding, smaller image, white form text, h1 headline */

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  color: #ffffff;
  background: #000;
  overflow-x: hidden;
}

.background {
  min-height: 100vh;
  background: linear-gradient(to bottom, #000, #111);
  position: relative;
}

.content {
  margin: 0 auto;
  width: 85%;
  max-width: 1200px;
  padding: 280px 40px 120px;          /* Base, but reduced in breakpoints */
  text-align: center;
  box-sizing: border-box;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Headline - now h1 styling from Index */
h1 {
  font-size: 44px;
  margin: 0 0 40px;
  color: #ff9900;
  font-family: "CyberDyne", Arial, sans-serif;
  text-shadow:
    -1px -1px 0 black,
    1px -1px 0 black,
    -1px 1px 0 black,
    1px 1px 0 black;
}

/* Form container - smaller image */
.form-container {
  position: relative;
  width: 100%;
  max-width: 900px;                   /* Reduced from previous */
  margin: 40px auto 80px;
  border: 4px solid #ff9900;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 153, 0, 0.4);
}

.form-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.85;
}

/* Form overlay */
.contact-form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  max-width: 580px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.75);
  border: 3px solid #ff9900;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 153, 0, 0.5);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-size: 22px;
  margin: 0 0 5px;
  text-align: left;
  color: #ffffff;                    /* ← Changed to white */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;                    /* ← White typed text */
  border: 2px solid #ff9900;
  border-radius: 10px;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.g-recaptcha {
  margin: 15px auto;
  transform: scale(0.9);
  transform-origin: center;
}

.contact-form button {
  width: 100%;
  max-width: 260px;
  margin: 20px auto 0;
  padding: 14px 28px;
  font-size: 18px;
  background: #ff9900;
  color: black;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  font-weight: bold;
}

.contact-form button:hover {
  transform: scale(1.05);
  background: #ffcc66;
}

/* ── RESPONSIVE BREAKPOINTS (exact from Index.css) ───────────────────────── */

@media (max-width: 480px) {
  .content {
    width: 85%;
    padding: 140px 15px 80px;
  }

  h1 {
    font-size: 32px;
  }

  .form-container {
    max-width: 100%;
  }

  .contact-form {
    width: 92%;
    padding: 20px;
    gap: 10px;
  }

  .contact-form label {
    font-size: 18px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
    padding: 10px;
  }

  .g-recaptcha {
    transform: scale(0.75);
  }

  .contact-form button {
    font-size: 16px;
    padding: 12px 24px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .content {
    width: 90%;
    padding: 180px 20px 100px;
  }

  h1 {
    font-size: 38px;
  }

  .form-container {
    max-width: 95%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .content {
    width: 88%;
    padding: 220px 30px 100px;
  }

  h1 {
    font-size: 40px;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .content {
    max-width: 1100px;
    padding: 260px 40px 120px;
  }

  .form-container {
    max-width: 850px;                /* Slightly smaller */
  }
}

@media (min-width: 1441px) {
  .content {
    max-width: 1200px;
    padding: 260px 60px 140px;       /* ← Reduced top padding for 1920px+ */
  }

  h1 {
    font-size: 48px;
  }

  .form-container {
    max-width: 800px;                /* Reduced size */
  }
}

@media (min-width: 2560px) {
  .content {
    max-width: 1400px;
    padding: 280px 80px 160px;       /* Slightly more space on ultra-wide */
  }

  h1 {
    font-size: 56px;
  }

  .form-container {
    max-width: 700px;                /* Further reduced for very large screens */
  }
}