:root {
  --colour-primary: #E71D7E;
  --colour-secondary: #FF751F;
  --colour-illustration: #FF66C4;
  --colour-background: #FAF7F0;

  --font-courier: "Courier Prime", monospace;
  --font-apple: "Homemade Apple", cursive;
  --font-alexandria: "Alexandria", sans-serif;
}

p {
  color: var(--colour-secondary);
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 0px;
  font-family: var(--font-courier);
}

button, input[type="submit"], input[type="reset"] {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

body {
  padding: 0px;
  margin: 0;
  background-color: var(--colour-background);
  overflow-x: hidden;
}

.header {
  height: 80px;
  background-color: var(--colour-primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-left: 32px;
  padding-right: 32px;
}

.header-title {
  font-size: 24px;
  line-height: 20px;
  letter-spacing: 1px;
  color: var(--colour-background);
  font-family: var(--font-courier);
}

.header-items-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  font-family: var(--font-alexandria);

  @media only screen and (max-width: 600px) {
    display: none;
  }
}

.burger-menu-container {
  display: none;
  cursor: pointer;
  position: relative;

  @media only screen and (max-width: 600px) {
    display: block;
  }
}

.burger-menu-graphic {
  width: 24px;
  height: 24px;
  background-image: url("assets/BURGERMENU.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.burger-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: -32px;
  background-color: var(--colour-primary);
  padding: 0px 16px 16px 16px;
  text-align: end;
  border-radius: 3px;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}

.burger-menu.is-open {
  display: block;
  z-index: 999;
  width: 200px;
}

.burger-menu-item {
  color: var(--colour-background);
  font-family: var(--font-alexandria);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1px;
  padding-top: 16px;
}

.burger-menu-item:hover {
  text-decoration: underline;
}

.header-item {
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 0px;
  color: var(--colour-background);
  font-family: var(--font-alexandria);
}

.hero-wrapper {
  height: 468px;
  position: relative;
  width: 100%;
  margin-bottom: 16px;

  @media only screen and (max-width: 600px) {
    height: 550px;
  }

  @media only screen and (min-width: 600px) {
    height: 550px;
  }

  @media only screen and (min-width: 768px) {
    height: 550px;
  }

  @media only screen and (min-width: 2560px) {
    height: 1050px;
  }
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;

  @media only screen and (max-width: 600px) {
    background-image: url("assets/HEROIMAGE_MOBILE.png");
  }

  @media only screen and (min-width: 600px) {
    background-image: url("assets/HEROIMAGE_DESKTOP_COLOURBG.png");
  }
}

.hero-text {
  @media only screen and (max-width: 600px) {
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0px;
  }
}

.hero-position {
  position: absolute;
  left: 0;
  right: 0;
  margin-inline: auto; 
  width: fit-content;
}

.hero-action-position {
  bottom: 64px;

  @media only screen and (max-width: 600px) {
    bottom: 148px;
  }
}

.hero-text-position {
  bottom: 142px;

  @media only screen and (max-width: 600px) {
    bottom: 224px;
  }
}

.rsvp-button {
  background-color: var(--colour-primary);
  color: var(--colour-background);
  padding: 16px;
  font-size: 18px;
  line-height: 18px;
  letter-spacing: 1.5px;
  font-family: var(--font-alexandria);
  font-weight: 400;
  border-radius: 3px;
}

.img-stream-container {
  height: 150px;
  width: 100%;
  overflow: hidden;

  @media only screen and (min-width: 2560px) {
    height: 500px;
  }
}

.img-stream-track {
  display: flex;
  width: max-content;
  animation: img-stream-scroll 30s linear infinite;
}

.img-stream-item {
  object-fit: contain;
  height: 150px;
  width: 150px;
  flex-shrink: 0;

  @media only screen and (min-width: 2560px) {
    height: 500px;
    width: 500px;
    object-fit: cover;
  }
}

@keyframes img-stream-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.page {
  min-height: 700px;
  width: 100%;

  @media only screen and (min-width: 2560px) {
    min-height: 1050px;
  }
}

.the-day {
  height: 700px;
  width: 100%;
  background-color: var(--colour-primary);
  color: var(--colour-background);

  @media only screen and (min-width: 2560px) {
    height: 1050px;
  }
}

.page-graphic {
  height: 100%;
  width: 100%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.the-day-graphic {
  @media only screen and (max-width: 600px) {
    background-image: url("assets/ALLDAYGUESTS_TIMELINE_MOBILE.png");
  }

  @media only screen and (min-width: 600px) {
    background-image: url("assets/ALLDAYGUESTS_TIMELINE_DESKTOP.png");
  }
}

.the-menu {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.menu-graphic {
  height: 80px;
  width: 100%;
  padding-top: 80px;
  margin-top: 48px;
  padding-bottom: 48px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;

  @media only screen and (max-width: 600px) {
    background-image: url("assets/MENUTITLE_MOBILE.png");
  }

  @media only screen and (min-width: 600px) {
    background-image: url("assets/MENUTITLE_DESKTOP.png");
  }
}

.menu-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0px;
  max-width: 1440px;
}

.menu-text-items {
  text-align: start;
  font-family: var(--font-alexandria);
}

.where-to-stay {
  color: var(--colour-background);
  background-color: var(--colour-secondary);
  padding: 72px 128px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  @media only screen and (max-width: 600px) {
    padding: 32px;
  }

  @media only screen and (min-width: 2560px) {
    height: 1050px;
  }
}

.where-to-stay-title {
  color: var(--colour-background);
  font-weight: 400;
  font-family: var(--font-alexandria);
  font-size: 28px;
  line-height: 24px;
  letter-spacing: 0px;
}

.location-list {
  display: flex;
  flex-direction: column;
}

.location-list-item {
  color: var(--colour-background);
  font-family: var(--font-alexandria);
  font-size: 18px;
  line-height: 2px;
  letter-spacing: 0px;

  @media only screen and (max-width: 600px) {
    line-height: normal;
  }
}

.where-to-stay-footer {
  color: var(--colour-background);
  font-family: var(--font-alexandria);
  font-size: 18px;
  line-height: 36px;
  letter-spacing: 0px;

  @media only screen and (max-width: 600px) {
    line-height: normal;
  }
}

.more-details {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 128px;
  height: 700px;

  @media only screen and (max-width: 600px) {
    padding: 0px 32px;
  }
}

.more-details-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0px;
}

.more-details-title {
  height: 190px;
  width: 100%;
  background-position: left;
  background-repeat: no-repeat;
  background-size: contain;
  margin-bottom: 24px;

  @media only screen and (max-width: 600px) {
    background-image: url("assets/MOREDETAILSTITLE_MOBILE.png");
  }

  @media only screen and (min-width: 600px) {
    background-image: url("assets/MOREDETAILSTITLE_DESKTOP.png");
  }
}

.more-details-text {
  color: var(--colour-secondary);
  font-family: var(--font-alexandria);
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0px;
}

.rsvp-footer {
  background-color: var(--colour-primary);
  color: var(--colour-background);
  height: 400px;
  position: relative;
}

.rsvp-footer-graphic {
  height: 100%;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;

  @media only screen and (max-width: 600px) {
    background-image: url("assets/RSVPTITLE_MOBILE.png");
  }

  @media only screen and (min-width: 600px) {
    background-image: url("assets/RSVPTITLE_DESKTOP.png");
  }
}

.rsvp-button-secondary {
  background-color: var(--colour-background);
  color: var(--colour-primary);
  padding: 16px;
  font-size: 18px;
  line-height: 18px;
  letter-spacing: 1.5px;
  font-family: var(--font-alexandria);
  font-weight: 400;
  border-radius: 3px;
}

.menu-text-container {
  display: flex;
  flex-direction: column;
  padding: 0px 32px;
  width: 100%;
  box-sizing: border-box;

  @media only screen and (min-width: 600px) {
    display: grid;
    padding: 0px 128px;
    grid-template-columns: 1fr 1fr;
    grid-gap: 80px;
  }
}

.menu-text-bottom {
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0px;
  font-family: var(--font-alexandria);
}

.menu-text-bottom-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 80px;

  @media only screen and (max-width: 600px) {
    padding: 0px 32px;
  }
}

.menu-cake-graphic {
  margin: 48px 0px;
  height: 333px;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("assets/CAKEANDCANDLES.png");

  @media only screen and (max-width: 600px) {
    margin: 0px;
  }
}

.menu-text-desserts-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0px;
  padding: 0px 32px;
  width: 100%;
  box-sizing: border-box;

  @media only screen and (min-width: 600px) {
    padding: 0px 128px;
  }
}

.menu-text-desserts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 80px;

  @media only screen and (max-width: 600px) {
    display: flex;
    flex-direction: column;
    grid-gap: 0px;
  }
}

.menu-text-dessert {
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0px;
  font-family: var(--font-alexandria);
}

.menu-text-top {
  margin: 48px 0px;
  font-family: var(--font-alexandria);

  @media only screen and (max-width: 600px) {
    margin: 24px 0px;
    padding: 0px 32px;
  }
}

.menu-text {
  line-height: 24px;
  font-family: var(--font-alexandria);
}

/* ── RSVP Modal ── */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-content {
  background: var(--colour-background);
  border-radius: 8px;
  padding: 40px 36px;
  width: 90%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  animation: modal-enter 0.25s ease;
}

@keyframes modal-enter {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-alexandria);
  font-size: 15px;
  color: var(--colour-secondary);
}

.modal-input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-family: var(--font-alexandria);
  font-size: 15px;
  border: 1.5px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #333;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.modal-input:focus {
  border-color: var(--colour-primary);
}

.modal-input.modal-input-error {
  border-color: red;
}

/* Radio buttons styled as regular buttons */
.modal-radio-group {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.modal-radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.modal-radio-button {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  font-family: var(--font-alexandria);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid #ccc;
  border-radius: 4px;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  user-select: none;
  background-color: white;
  border-color: var(--colour-primary);
}

.modal-radio-button:hover {
  border-color: var(--colour-primary);
}

.modal-radio-input:checked + .modal-radio-button {
  background-color: var(--colour-primary);
  border-color: var(--colour-primary);
  color: var(--colour-background);
}

.modal-submit {
  width: 100%;
  padding: 14px;
  font-family: var(--font-alexandria);
  font-size: 16px;
  letter-spacing: 1px;
  background-color: var(--colour-primary);
  color: var(--colour-background);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.modal-submit:hover {
  opacity: 0.9;
}

.modal-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.footer-position {
  bottom: 48px;
}

.the-evening-graphic {
  @media only screen and (max-width: 600px) {
    background-image: url("assets/EVENINGGUESTS_TIMELINE_MOBILE.png");
  }

  @media only screen and (min-width: 600px) {
    background-image: url("assets/EVENINGGUESTS_TIMELINE_DESKTOP.png");
  }
}
