/* INTRO */
.contact-intro {
  text-align: center;
  margin-bottom: 50px;
}

.contact-intro h2 {
  margin-bottom: 20px;
}

/* FORM */
.contact-form {
  max-width: 600px;
  margin: auto;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  background: #111;
  border: 2px solid #333;
  padding: 15px;
  color: white;
  font-family: inherit;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ff1a1a;
  outline: none;
}

/* BUTTON */
.contact-form button {
  background: transparent;
  border: 2px solid #ff1a1a;
  color: #ff1a1a;
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #ff1a1a;
  color: black;
}

/* SPLIT FIX (IMPORTANT - same issue as before) */
.split-text {
  flex: 1;
  padding: 80px;
  background: #111;

  max-width: 700px;
  margin: auto;

  border-left: 4px solid #b30000;
}

/* CONTACT LINKS */
.contact-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* TRANSMIT BUTTON */
.transmit-btn {
  position: relative;
  background: transparent;
  border: 2px solid #ff1a1a;
  color: #ff1a1a;
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
  overflow: hidden;
  transition: 0.3s;
}

/* glitch layers */
.transmit-btn span {
  position: relative;
  z-index: 2;
}

.transmit-btn::before,
.transmit-btn::after {
  content: "TRANSMIT MESSAGE";
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
}

/* red glitch */
.transmit-btn::before {
  color: #ff1a1a;
  transform: translate(2px, -2px);
}

/* blue glitch */
.transmit-btn::after {
  color: cyan;
  transform: translate(-2px, 2px);
}

/* HOVER EFFECT */
.transmit-btn:hover {
  background: #ff1a1a;
  color: black;
}

.transmit-btn:hover::before,
.transmit-btn:hover::after {
  opacity: 1;
  animation: glitch 0.3s infinite;
}

/* GLITCH ANIMATION */
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

.contact-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.contact-links a:hover {
  color: white;
  transform: translateX(5px);
}

/* IMAGE */
.contact-image {
  background: url("imgs/editedBG.png") center/cover no-repeat;
}

/* EXTRA */
.extra-contact {
  text-align: center;
}

/* MOBILE */
@media (max-width: 800px) {

  .split-text {
    padding: 40px 20px;
  }

}


