/* Base */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #000;  /* all black background */
  color: #dccaff;    /* color of body text */
  display: flex;     /* make the page a column flex container */
  flex-direction: column;

  /* Background image */
  background-image: url('icons/paint_splatter.png');
  background-size: cover;         /* Scale to cover screen */
  background-position: center;    /* Keep centered */
  background-repeat: no-repeat;   /* No tiling */
  background-attachment: fixed;   /* Nice parallax effect on desktop */
}

/* Nav */
nav {
  background: #000;  /* matches the body background */
  color: #fff;
  padding: 1rem;
  display: flex;     /* arrange links horizontally */
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center; /* center links at all sizes */
}
nav a {
  color: #dccaff;
  text-decoration: none;
  padding: 0.25rem 0.5rem;  /* clickable area */
  border-radius: 4px;
}
nav a:hover { text-decoration: underline; }

/* Active link (current page) */
nav a.active {
  background: #222;  /* darker background */
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5); /* pressed effect */
  text-decoration: none;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* center heading block vertically */
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

/* Even spacing using a single gap */
.copy-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;     /* spacing between H1 and the first line */
}

.copy-stack h1 {
  margin: 0;        /* kill default h1 margins */
  line-height: 1.2; /* your heading line height */
}

.two-line {
  margin: 0;                   /* no extra paragraph margins */
  display: flex;               /* stack the two sentences */
  flex-direction: column;
  gap: 0.75rem;                /* spacing between the two sentences */
  line-height: 1.4;            /* body line height */
}

.two-line span { display: block; }

/* Heading stays in the middle */
.heading-section {
  flex: 1; /* takes up all available space above icons */
  display: flex;
  align-items: center; /* vertical center */
  justify-content: center;
}

/* Icons sit at bottom */
.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding-bottom: 2rem; /* space from bottom */
}

/* Icon sizing */
.social-icon {
  width: 48px;
  height: auto;
  display: block;
}

@media (max-width: 520px) {
  .social-icon { width: 48px; }
}

/* Email form */
.email-form {
  margin-top: 1rem;
  display: flex;
  align-items: center;   /* align items without growing row height */
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  overflow: visible;     /* allow scaled icon to extend if needed */
}

.email-form input[type="email"] {
  padding: 0.5rem 0.75rem;
  border: 1.5px solid #dccaff;
  border-radius: 10px;
  background: transparent;
  color: #dccaff;
  font-size: 1rem;
  min-width: 200px;
  height: 44px;          /* fixed input height */
  box-sizing: border-box;
}

/* Icon-only submit button (fixed box same height as input) */
.email-form .icon-button {
  background: transparent;
  border: none;
  padding: 0;
  width: 44px;           /* same as input height */
  height: 44px;          /* keeps the row from getting taller */
  flex: 0 0 44px;        /* don’t let it grow/shrink */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer; 
  overflow: visible;
}

/* Make the icon appear larger without changing layout */
.email-form .icon-button img {
  width: 28px;           /* base size inside the 44px box */
  height: auto;
  display: block;
  transform: scale(2.0); /* visually bigger, no layout change */
  transform-origin: center;
}

.email-form .icon-button:hover img { opacity: 0.8; }

/* Stack form and status vertically so status is always below */
.email-form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;            /* space between form row and status text */
}

/* Status text style */
.form-status {
  font-size: 0.95rem;
  color: #dccaff;
  text-align: center;
  min-height: 1.2em;      /* reserve space so layout doesn’t jump */
}

.contact-note {
  font-size: 1rem;
  color: #dccaff;
  text-align: center;
  margin-bottom: 1rem; /* space before icons */
}

.contact-note a {
  color: #dccaff;       /* same lilac as body text */
  text-decoration: underline;
}

.contact-note a:hover {
  opacity: 0.8;         /* subtle hover effect */
}
