:root {
  --color-text: #f0eaea;
  --color-subtle: #e4cfcf;
  --color-header: #6d262c;
  --color-hover: #752e2e;
  --color-button: #6d262c;
  --color-border: #2a2a2a;
  --color-footer: #1b1b1b;
  --color-overlay: rgba(22, 22, 22, 0.7);
  --color-glass: rgba(27, 27, 27, 0.85);

  --font-family: Georgia, serif;
  --radius: 10px;
}

/* Reset & base */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('IMG_0908.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-color: var(--color-overlay);
  z-index: -1;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 0;
}

.content {
  flex: 1;
  padding: 1rem;
}

/* Header */
header {
  background-color: var(--color-header);
  color: #f8f8f8;
  padding: 2rem 1rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

h1 {
  font-size: 2rem;
  margin: 0;
  letter-spacing: 0.5px;
}

header p {
  font-size: 1rem;
  margin-top: 0.5rem;
  color: var(--color-subtle);
}

/* Section layout */
section {
  padding: 1rem 0;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.4rem;
  color: var(--color-text);
}

/* Glass card */
.glass-card {
  background: var(--color-glass);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin: 1rem auto;
  width: 100%;
}

/* Form */
.rsvp-form {
  background-color: var(--color-footer);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

label {
  display: block;
  margin: 1rem 0 0.3rem;
  font-weight: 600;
  color: var(--color-text);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  background: #161616;
  color: var(--color-text);
  border: 1px solid #333;
  border-radius: 5px;
  transition: border-color 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-hover);
  outline: none;
}

textarea {
  resize: vertical;
}

/* Buttons */
button {
  width: 100%;
  margin-top: 1.5rem;
  background-color: var(--color-button);
  color: white;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: var(--color-hover);
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #aaa;
  background-color: var(--color-footer);
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

/* Responsive up */
@media (min-width: 600px) {
  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .glass-card {
    padding: 2rem;
    max-width: 700px;
  }

  button {
    width: auto;
  }

  .button-row {
    flex-direction: row;
    justify-content: center;
  }

  .button-row button,
  .button-row a {
    width: auto;
  }
}

a:link {
  color: #dc5e69;
  
}

a:visited {
  color:#dc5e69;
}

