/* Custom site styles with dark mode support */

:root {
  --bg-color: #f5f5f5; /* Light background */
  --text-color: #333333; /* Dark text */
  --accent-color: #ff1493; /* Pink accent */
  --secondary-bg: #ffffff; /* Light secondary */
  --light-bg: #e8e8e8; /* Light gray background */
  --form-bg: #f0f0f0; /* Light form background */
  --input-bg: #ffffff; /* Light input background */
  --muted-text: #000000; /* Black text */
  --footer-color: #999999; /* Footer text */
  --border-color: #ffffff; /* White border for contrast */
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #1a1a1a; /* Dark background */
    --text-color: #ffffff; /* White text */
    --accent-color: #ff1493; /* Pink accent */
    --secondary-bg: #2a2a2a; /* Dark secondary */
    --light-bg: #333333; /* Dark light gray background */
    --form-bg: #2a2a2a; /* Dark form background */
    --input-bg: #3a3a3a; /* Dark input background */
    --muted-text: #d3d3d3; /* Light muted text */
    --footer-color: #a9a9a9; /* Light footer text */
    --border-color: #ffffff; /* White border */
  }
}

body {
  margin: 0;
  font-family: 'Arial', sans-serif !important;
  background-color: var(--bg-color);
  color: var(--text-color);
  text-align: center;
}

.container {
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  background: linear-gradient(135deg, #4b0082, var(--accent-color));
  padding: 40px;
  border-radius: 10px;
}

.header img, .header video {
  width: 100%;
  max-width: 600px;
  height: auto;
  border: 3px solid var(--border-color);
  border-radius: 16px;
}

h1 {
  font-size: 2.5em;
  color: #ff69b4;
  margin: 20px 0;
}

p {
  font-size: 1.2em;
  line-height: 1.6;
  color: var(--muted-text) !important;
}

.form-container {
  margin: 30px 0;
  background: var(--form-bg);
  padding: 20px;
  border-radius: 10px;
}

.form-container h2 {
  color: #ff69b4;
  font-size: 1.8em;
  margin-bottom: 20px;
}

select, input, button {
  padding: 10px;
  margin: 10px;
  border-radius: 5px;
  border: none;
  font-size: 1em;
}

select, input {
  background: var(--input-bg);
  color: var(--text-color);
}

button {
  background: var(--accent-color);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #c71585;
}

.gif-container {
  margin: 20px 0;
}

.gif-container img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.social-links {
  margin: 20px 0;
}

.social-links a {
  color: #ff69b4;
  text-decoration: none;
  margin: 0 15px;
  font-size: 1.1em;
}

.social-links a:hover {
  text-decoration: underline;
}

.footer {
  font-size: 0.9em;
  color: var(--footer-color);
  margin-top: 40px;
}

/* Global link styling */
a {
  color: #ff69b4 !important;
  font-weight: bold !important;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Override theme text colors */
.mid-gray {
  color: var(--muted-text) !important;
}

/* Ensure all text uses Arial */
* {
  font-family: 'Arial', sans-serif !important;
}

/* Override Tachyons classes to respect theme */
.bg-white,
div.bg-white,
article .bg-white,
section .bg-white {
  background-color: var(--secondary-bg) !important;
}

.bg-light-gray,
div.bg-light-gray,
article .bg-light-gray,
section .bg-light-gray,
aside .bg-light-gray {
  background-color: var(--light-bg) !important;
}
