/* ============================================================
   VEXA STUDIO — contact.css
   contact page styles
   ============================================================ */

/* FONTS */
@font-face {
  font-family: 'Vanosky';
  src: url('/fonts/Vanosky.woff2') format('woff2'),
       url('/fonts/Vanosky.woff') format('woff'),
       url('/fonts/Vanosky.otf') format('opentype');
}

@font-face {
  font-family: 'Digital7';
  src: url('/fonts/Digital7.woff2') format('woff2'),
       url('/fonts/Digital7.woff') format('woff'),
       url('/fonts/Digital7.ttf') format('truetype');
}

/* ROOT VARIABLES */
:root {
  --bg: #2a2a2a;
  --white: #ffffff;
  --pink: #ff9dce;
  --font-label: 'Vanosky', sans-serif;
  --font-input: 'Digital7', monospace;
}

/* RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* TEXT SELECTION COLOR */
::selection{
  background: var(--pink);
  color: var(--white);
}

/* BODY */
body {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 20px 60px;
}

/* CURSORS */
* {
   cursor: url('/assets/pinkcursorbig.png'), auto;
}

a, button, [type="submit"] {
  cursor: url('/assets/pinkpointerbig.png'), pointer;
}

input, textarea {
  cursor: url('/assets/pinktype.png'), text;
}

/* HOME SVG */
.home-link {
  position: fixed;
  top: 20px;
  left: 20px;
  color: var(--white);
  line-height: 0;
  transition: color 0.15s;
}

.home-link:hover {
  color: var(--pink);
}

.home-link svg {
  width: 42px;
  height: 42px;
  pointer-events: none;
}

/* MAIN */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 420px;
  margin-top: 60px;
}

/* SIDEKICK */
.phone-wrap {
  margin-bottom: 32px;
}

.phone {
  max-width: 450px;
  display: block;
}

/* FORM */
form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: transparent;
}

/* FORM FIELDS */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-family: var(--font-label);
  font-weight: bold;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--white);
  padding-top: 20px;
}

input, textarea {
  background: var(--bg);
  border: 4px solid var(--white);
  border-radius: 0;
  color: var(--white);
  font-family: var(--font-input);
  font-size: 24px;
  padding: 12px 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.15s;
}

input:focus, textarea:focus {
  border-color: var(--pink);
}

textarea {
  height: 250px;
  resize: vertical;
}

/* REMOVE YELLOW AUTOFILL IN BROWSER */
input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px var(--bg) inset;
  -webkit-text-fill-color: var(--white);
}

/* SUBMIT BUTTON */
button[type="submit"] {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: var(--white);
  border: 3px solid var(--white);
  border-radius: 10px;
  font-family: var(--font-label);
  font-weight: bold;
  font-size: 25px;
  letter-spacing: 3px;
  padding: 14px 44px 4px 44px;
  margin-top: 8px;
  transition: transform 0.1s, background 0.15s;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

button[type="submit"]:hover {
  background: #ff7fbf;
  cursor: url('/assets/pinkpointerbig.png'), pointer;
}

button[type="submit"]:active {
  transform: scale(0.95);
  cursor: url('/assets/pinkpointerbig.png'), pointer !important;
}

/* BUTTON WIGGLE */
@keyframes wiggle {
  0%   { transform: rotate(0deg) scale(1); }
  15%  { transform: rotate(-6deg) scale(1.08); }
  30%  { transform: rotate(6deg) scale(1.08); }
  45%  { transform: rotate(-4deg) scale(1.05); }
  60%  { transform: rotate(4deg) scale(1.05); }
  75%  { transform: rotate(-2deg) scale(1.02); }
  90%  { transform: rotate(2deg) scale(1.02); }
  100% { transform: rotate(0deg) scale(1); }
}

button[type="submit"].wiggling {
  animation: wiggle 0.55s ease;
}

/* HEARTS BURST */
@keyframes heart-fly {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0.4); opacity: 0; }
}

.heart-particle {
  position: fixed;
  pointer-events: none;
  font-size: 18px;
  z-index: 999;
  animation: heart-fly 0.9s ease-out forwards;
}

/* SUCCESS OVERLAY */
#success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 42, 42, 0.92);
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#success-overlay.visible {
  visibility: visible;
}

#success-box {
  border: 2px solid var(--white);
  background: var(--bg);
  padding: 40px 48px;
  text-align: center;
}

#success-text {
  font-family: var(--font-label);
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--white);
}

