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

body {
  background-color: #faf0e6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 4rem 1rem;
  font-family: 'Great Vibes', cursive;
}

.page {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.cards-layout {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
}

@media (max-width: 960px) {
  .cards-layout {
    flex-direction: column;
    align-items: center;
  }
}

/* Card shell — outer gold border */
.card {
  background-color: #fffdf5;
  width: min(920px, 100%);
  padding: 18px;
  box-shadow: -21px 27px 15px rgba(0, 0, 0, 0.32), 4px 6px 20px rgba(0, 0, 0, 0.01);
  border: 1.5px solid #c9a755;
}

.split-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  gap: 0;
  padding: 0 !important;
}

.split-left,
.split-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2.4rem;
  background-image: url('assets/card-bg2.png');
  background-size: cover;
  background-position: center;
  min-height: 620px;
  justify-content: center;
}

.split-divider {
  width: 1px;
  background: rgba(201, 167, 85, 0.5);
  margin: 2rem 0;
  align-self: stretch;
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .split-card {
    flex-direction: column !important;
  }
  .split-divider {
    width: auto;
    height: 1px;
    margin: 0 2rem;
  }
}

/* Inner border — creates the double-line frame */
.card-inner {
  border: 1px solid rgba(201, 167, 85, 0.6);
  padding: 2rem 2.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.card-texture {
  background-image: url('assets/card-bg2.png');
  background-size: cover;
  background-position: center;
}

.monogram {
  font-family: 'Great Vibes', cursive;
  font-size: 3.2rem;
  font-weight: 400;
  color: #1a1814;
  letter-spacing: 0.14em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.greeting {
  font-style: italic;
  font-size: 1.1rem;
  color: #5a5448;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.divider {
  color: #c9a755;
  font-size: 0.5rem;
  letter-spacing: 0.5em;
  margin: 0.4rem 0;
}

.names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  text-transform: none;
  color: #1a1814;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 0.3rem 0;
}

.names-and {
  font-family: 'Great Vibes', cursive;
  font-style: normal;
  font-size: 1.6rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.05em;
  color: #5a5448;
}

.invite {
  font-style: italic;
  font-size: 1.2rem;
  color: #5a5448;
  letter-spacing: 0.05em;
  margin: 0.3rem 0 0.2rem;
}

.details {
  font-style: italic;
  font-size: 1.3rem;
  color: #1a1814;
  line-height: 1.6;
  margin-top: 0.2rem;
}

.time {
  font-style: italic;
  font-size: 1.1rem;
  color: #5a5448;
  margin-top: 0.2rem;
}

.venue {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
  color: #1a1814;
  margin-top: 1rem;
}

.location {
  font-family: 'Great Vibes', cursive;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: none;
  color: #7a7068;
  margin-top: 0.25rem;
}

.reception {
  font-style: italic;
  font-size: 1.2rem;
  color: #5a5448;
  letter-spacing: 0.06em;
}

.guest-heading {
  font-family: 'Great Vibes', cursive;
  font-size: 2.4rem;
  color: #1a1814;
  margin-bottom: 0.2rem;
}

.guest-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin: 0.5rem 0;
}

.guest-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: 'Great Vibes', cursive;
  font-size: 1.4rem;
  color: #5a5448;
  text-align: left;
}

.guest-input {
  font-family: 'Great Vibes', cursive;
  font-size: 1.3rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(201, 167, 85, 0.55);
  border-radius: 6px;
  background: rgba(255, 253, 245, 0.7);
  color: #1a1814;
  outline: none;
  transition: border-color 0.2s;
}

.guest-input:focus {
  border-color: #c9a755;
}

.guest-input::placeholder {
  color: #b0a898;
}

.enter-btn {
  font-family: 'Great Vibes', cursive;
  font-size: 1.6rem;
  color: #fffdf5;
  background: #2f2923;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 2.2rem;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.4rem;
}

.enter-btn:hover {
  background: #4a3f34;
  transform: translateY(-2px);
}

.guest-error {
  font-family: 'Great Vibes', cursive;
  font-size: 1.2rem;
  color: #9b3a3a;
  margin-top: 0.5rem;
  text-align: center;
}

.guest-name {
  font-family: 'Great Vibes', cursive;
  font-size: 2.6rem;
  color: #1a1814;
  margin-bottom: 0.2rem;
}

.rsvp-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  margin: 0.5rem 0;
}

.rsvp-btn {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem;
  border-radius: 999px;
  padding: 0.55rem 2rem;
  cursor: pointer;
  border: 1.5px solid #c9a755;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.03em;
}

.rsvp-yes {
  background: #2f2923;
  color: #fffdf5;
}

.rsvp-yes:hover {
  background: #4a3f34;
  transform: translateY(-2px);
}

.rsvp-no {
  background: transparent;
  color: #5a5448;
}

.rsvp-no:hover {
  background: rgba(201, 167, 85, 0.1);
  transform: translateY(-2px);
}

.venue-section {
  max-width: min(920px, 100%);
  margin: 3rem auto;
  padding: 0 1rem 4rem;
  text-align: center;
}

.venue-section-tag {
  font-family: 'Great Vibes', cursive;
  font-size: 1.2rem;
  color: #c9a755;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.venue-section-title {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  color: #1a1814;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.venue-section-sub {
  font-family: 'Great Vibes', cursive;
  font-size: 1.3rem;
  color: #7a7068;
  margin-bottom: 2rem;
}

.venue-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.venue-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid rgba(201, 167, 85, 0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  display: block;
}

.location-section {
  max-width: min(920px, 100%);
  margin: 0 auto;
  padding: 0 1rem 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.map-frame {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(201, 167, 85, 0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}

.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.maps-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  width: 100%;
  align-items: start;
}

.map-col-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
}

.map-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.map-col .map-frame {
  width: 100%;
}

.map-btn {
  display: inline-block;
  text-decoration: none;
}

.location-address {
  font-family: 'Great Vibes', cursive;
  font-size: 1.2rem;
  color: #5a5448;
  margin-top: -0.8rem;
}

@media (max-width: 600px) {
  .venue-photos {
    grid-template-columns: 1fr;
  }
  .maps-row {
    grid-template-columns: 1fr;
  }
}
