@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap');
:root {
  --bg: linear-gradient(to bottom, #0f2027, #203a43, #2c5364);
  --color-dark: #0f2027;
  --color-mid-dark: #203a43;
  --color-mid: #2c5364;
  --shadow-dark: rgba(15, 32, 39, 0.7);
  --shadow-mid: rgba(32, 58, 67, 0.5);
  --shadow-light: rgba(44, 83, 100, 0.3);
  --header-bg: rgba(44, 83, 100, 0.2);
  --card-bg: rgba(32, 58, 67, 0.3);
  --btn-bg: #1de9b6;
  --header-border: #1de9b6;
  --clip-glow: rgba(108, 92, 231, 0.3);
  --text: #e0e7eb;
  --text-muted: #a0b1bb;
  --hover-brightness: 1.15;
  --radius: 16px;
  --blur: 8px;
  --card-shadow: 0 8px 24px var(--shadow-dark);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Merriweather', serif;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px;
}

.page-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  margin-top: 40px;
  flex-wrap: wrap;
}

.left-column {
  flex: 1 1 400px;
  min-width: 300px;
}

.right-column {
  flex: 1 1 500px;
  min-width: 300px;
}

.Top-Section {
  padding: 2rem 3rem 2rem 9rem;
}

header {
  background: var(--header-bg);
  border: 1px solid var(--header-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  max-width: 700px;
  width: 100%;
  padding: 32px;
  text-align: center;
  margin-bottom: 40px;
  animation: fadeIn 0.8s ease-out;
}

header:hover {
  box-shadow: 0 12px 30px var(--clip-glow);
  transform: translateY(-2px);
}

header h1 {
  font-size: 2rem;
  color: var(--header-border);
  margin-bottom: 12px;
}

header p {
  color: var(--text-muted);
  font-size: 1rem;
}

#sendImageOnly {
  color: var(--header-border);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
  transition: filter 0.3s ease, transform 0.3s ease;
  display: inline-block;
  margin-top: 8px;
}

#sendImageOnly:hover {
  filter: brightness(var(--hover-brightness));
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-form {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(var(--blur));
  box-shadow: var(--card-shadow);
  max-width: 700px;
  width: 100%;
  padding: 32px 24px;
  animation: fadeIn 1s ease-out;
}

.contact-form h2 {
  color: var(--btn-bg);
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  font-weight: 600;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 1rem;
  transition: border 0.3s, background 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--header-border);
  background-color: rgba(255, 255, 255, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.contact-form button {
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-form button[type="submit"] {
  background: var(--btn-bg);
  color: white;
}

.contact-form button[type="reset"],
.contact-form button[type="button"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.contact-form button:hover {
  transform: translateY(-2px);
  filter: brightness(var(--hover-brightness));
}

footer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

select,
select option {
  background-color: var(--color-mid-dark);
  color: var(--text);
}

select:focus {
  border-color: var(--header-border);
  outline: none;
  background-color: var(--color-mid);
}

#selected-file,
#form-response {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 12px;
  color: var(--text);
  font-size: 0.95rem;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(var(--blur));
  animation: fadeIn 0.5s ease-out;
  transition: background 0.3s ease;
}

#form-response.success {
  border-color: var(--btn-bg);
  color: var(--btn-bg);
}

#form-response.error {
  border-color: #ff7675;
  color: #ff7675;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.6rem;
  }

  .contact-form h2 {
    font-size: 1.3rem;
  }

  .contact-form button {
    width: 100%;
  }

  .buttons {
    flex-direction: column;
  }
}
