:root {
  --color-gold: #c9a227;
  --color-gold-dark: #a68521;
  --color-leaf: #87a083;
  --color-leaf-dark: #6b8568;
  --color-white: #faf9f7;
  --color-cream: #f5f3ef;
  --color-text: #000000;
  --color-text-light: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  overflow-x: hidden;
}

html, body {
  height: 100%;
  background: url('paper.jpg') repeat;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-text);
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow-x: hidden;
  background: url('paper.jpg') repeat;
}

.wisteria-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.wisteria {
  height: 240px;
  width: auto;
  opacity: 0.9;
  flex-shrink: 0;
}

.container {
  max-width: 600px;
  width: 100%;
  margin: auto;
  padding: 0;
  padding-top: 180px;
}

.content {
  padding: 0 2.5rem 1rem;
  text-align: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.save-the-date {
  font-family: 'Pinyon Script', cursive;
  font-size: 7rem;
  font-weight: normal;
  color: var(--color-gold);
  margin-bottom: 1rem;
  line-height: 1;
}

.save-line,
.the-date-line {
  display: block;
}

.the-word {
  font-size: 0.5em;
  position: relative;
  top: -0.4em;
}

.names {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.getting-married {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.date {
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.date-small {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-gold);
}

.date-big {
  font-family: 'Pinyon Script', cursive;
  font-size: 4rem;
  color: var(--color-gold);
  line-height: 1;
}

.venue {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.venue a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid var(--color-gold);
  transition: border-color 0.2s ease;
}

.venue a:hover {
  border-bottom-color: var(--color-gold-dark);
}

.calendar-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.save-date-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
  background: var(--color-leaf);
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.save-date-btn:hover {
  background: var(--color-leaf-dark);
  transform: translateY(-1px);
}

.invitations-follow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}


/* Responsive adjustments */
@media (min-width: 601px) {
  .container {
    padding-top: 220px;
  }
}

@media (max-width: 600px) {
  body {
    padding: 1rem;
  }

  .content {
    padding: 0 1.5rem 1rem;
  }

  .save-the-date {
    font-size: 4rem;
  }

  .date-big {
    font-size: 2.75rem;
  }

  .names {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
  }

  .date-month {
    font-size: 3rem;
  }

  .venue {
    font-size: 0.9rem;
  }
}

