/* =========================================================
   GLOBAL STYLES
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, serif;
  background: #efeff3;
  color: black;
}


/* =========================================================
   HEADER
   ========================================================= */

.top-header {
  min-height: 95px;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  background: white;
  border-bottom: 1px solid #d8d8d8;
}

.title-block {
  flex-shrink: 0;
}

.title-block h1 {
  font-size: 1.9rem;
  font-weight: 400;
}

.title-block p {
  margin-top: 5px;
  font-size: 1rem;
}

.title-block a,
.title-block a:visited,
.title-block a:hover {
  color: black;
  text-decoration: none;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 30px;
  padding-top: 5px;
}

.menu a {
  color: black;
  text-decoration: none;
  font-size: 1.08rem;
}

.menu a:hover {
  opacity: 0.6;
}


/* =========================================================
   HOME PAGE
   ========================================================= */

.hero {
  height: calc(100vh - 95px);
  width: 100%;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  filter: grayscale(100%);
}


/* =========================================================
   SCHEDULE PAGE
   ========================================================= */

.schedule-page {
  min-height: calc(100vh - 95px);
  padding: 30px 40px 45px;
  background: #efeff3;
}

.dress-note {
  text-align: center;
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 26px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 65px;
}

.schedule-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 24px;
}

.schedule-card img.church-image {
  object-position: center top;
}

.schedule-card h2 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.schedule-card .date {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.schedule-section {
  margin-bottom: 20px;
}

.schedule-section h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.schedule-section h3.schedule-highlight {
  font-size: 1.2rem;
}

.schedule-subitem {
  margin-top: 16px;
  padding-left: 16px;
  border-left: 2px solid #ccc;
}

.schedule-subitem h4 {
  font-size: 0.96rem;
  margin-bottom: 6px;
}

.schedule-card p {
  font-size: 0.96rem;
  line-height: 1.5;
  margin-bottom: 6px;
}


/* =========================================================
   TRAVEL PAGE
   ========================================================= */

.travel-page {
  min-height: calc(100vh - 95px);
  padding: 25px 42px 70px;
  background: #efeff3;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 40px;
}

.travel-column {
  border-top: 1.5px solid black;
  border-bottom: 1.5px solid black;
  padding-top: 20px;
  padding-bottom: 4px;
}

.travel-column h2 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.travel-content {
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.travel-content h3 {
  font-size: 1.25rem;
  margin: 22px 0 8px;
}

.travel-content p {
  margin-bottom: 12px;
}

.travel-content ul,
.travel-content ol {
  margin: 8px 0 22px 22px;
}

.travel-map {
  margin-top: 24px;
  text-align: center;
}

.travel-map img {
  width: 100%;
  max-width: 1400px;
}

.travel-map p {
  margin-top: 14px;
  font-style: italic;
  font-size: 0.95rem;
}

.travel-content li {
  margin-bottom: 6px;
}

.travel-content a,
.travel-content a:visited {
  color: black;
  font-weight: 600;
  text-decoration: underline;
}


/* =========================================================
   STAY PAGE
   ========================================================= */

.stay-page {
  min-height: calc(100vh - 95px);
  padding: 25px 40px 45px;
  background: #efeff3;
  text-align: center;
}

.payment-banner {
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 30px 36px;
  border: 2px solid black;
}

.payment-banner h2 {
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.payment-banner p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.payment-banner p:last-child {
  margin-bottom: 0;
}

.payment-banner a,
.payment-banner a:visited {
  color: black;
  font-weight: 600;
  text-decoration: underline;
}

.accommodation-note {
  max-width: 950px;
  margin: 0 auto 34px;
  font-size: 1rem;
  line-height: 1.5;
  font-style: italic;
}

.accommodation-note a,
.accommodation-note a:visited {
  color: black;
  font-weight: 600;
  text-decoration: underline;
}

.stay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
}

.stay-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stay-card img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.stay-card .img-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #d8d8d8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  font-style: italic;
  color: #777;
  margin-bottom: 20px;
}

.stay-card h2 {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.stay-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.55;
}

.map-button {
  display: inline-block;
  width: min(220px, 100%);
  padding: 16px 14px;
  border-radius: 999px;
  background: black;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: auto;
}

.map-button:hover {
  opacity: 0.85;
}


/* =========================================================
   REGISTRY PAGE
   ========================================================= */

.registry-page {
  min-height: calc(100vh - 95px);
  padding: 25px 40px 45px;
  background: #efeff3;
  text-align: center;
}

.registry-page .payment-banner {
  margin-top: 60px;
}

.registry-page .map-button {
  margin: 6px 0 20px;
}


/* =========================================================
   FAQ PAGE
   ========================================================= */

.faq-page {
  min-height: calc(100vh - 95px);
  padding: 25px 42px 70px;
  background: #efeff3;
}

.faq-list {
  max-width: 1050px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1.5px solid black;
}

.faq-item:last-child {
  border-bottom: 1.5px solid black;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h2 {
  font-size: 1.55rem;
  margin: 0;
  text-align: left;
}

.faq-item summary::after {
  content: "+";
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2013";
}

.faq-answer {
  padding: 0 0 34px;
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 900px;
}

.faq-answer a,
.faq-answer a:visited {
  color: black;
  font-weight: 600;
  text-decoration: underline;
}

.faq-contact {
  max-width: 1050px;
  margin: 35px auto 0;
  text-align: center;
}

.faq-contact p {
  display: inline-block;
  font-size: 1rem;
  font-style: italic;
}

.faq-contact a,
.faq-contact a:visited {
  color: black;
  font-weight: 600;
  text-decoration: underline;
}


/* =========================================================
   ROOM PAGE (private per-guest pages, not linked from the site)
   ========================================================= */

.room-page {
  min-height: calc(100vh - 95px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 45px 40px 70px;
  background: #efeff3;
}

.room-top {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.room-greeting {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 8px;
}

.room-top h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 26px;
}

.room-property-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 22px;
}

.room-property {
  font-size: 1.45rem;
}

.room-cols {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}

.room-details {
  margin: 0;
  border-top: 1px solid black;
}

.room-detail {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid black;
}

.room-detail dt {
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
  padding-top: 2px;
}

.room-detail dd {
  font-size: 1rem;
  line-height: 1.5;
}

.room-callout {
  margin: 22px 0 0;
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.6;
  color: #555;
}

.room-callout a,
.room-callout a:visited {
  color: #555;
  text-decoration: underline;
}

.room-note {
  margin: 22px 0 0;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
}

.room-payment-banner {
  margin: 0;
  text-align: left;
}

.room-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.map-button.secondary {
  background: transparent;
  color: black;
  border: 1.5px solid black;
}

.room-guests {
  margin: 55px auto 0;
  padding-top: 6px;
  border-top: 1.5px solid black;
  text-align: center;
}

.room-guests summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 1.15rem;
}

.room-guests summary::-webkit-details-marker {
  display: none;
}

.room-guests summary::after {
  content: " +";
}

.room-guests details[open] summary::after {
  content: " \2013";
}

.room-guests p {
  font-size: 0.92rem;
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.room-guests ul {
  list-style: none;
  padding: 0 0 30px;
  margin: 0;
  columns: 4;
  column-gap: 30px;
  text-align: left;
}

.room-guests li {
  font-size: 0.92rem;
  line-height: 1.85;
  break-inside: avoid;
}


/* =========================================================
   THINGS TO DO PAGE
   ========================================================= */

.things-page {
  max-width: 1200px;
  margin: auto;
  padding: 40px 40px 80px;
}

.things-intro {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
}

.editorial-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid black;
}

.editorial-block:last-child {
  border-bottom: 1px solid black;
}

.editorial-block.reverse .editorial-image {
  order: 2;
}

.editorial-block.reverse .editorial-text {
  order: 1;
}

.editorial-image {
  height: 340px;
  background: #d8d8d8;
  display: flex;
  justify-content: center;
  align-items: center;
  font-style: italic;
  color: #777;
  overflow: hidden;
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-text {
  max-width: 550px;
}

.section-label {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
}

.large-label {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  color: black;
  margin-bottom: 35px;
}

.editorial-text h2 {
  font-size: 2.75rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.editorial-text > p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
}

.mini-grid p {
  padding-bottom: 8px;
  border-bottom: 1px solid black;
}

.recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recommendation-list p {
  padding-bottom: 14px;
  border-bottom: 1px solid black;
}

.recommendation-list strong {
  display: block;
  margin-bottom: 6px;
}


/* =========================================================
   DRESS CODE ACCORDION PAGE
   ========================================================= */

.dress-page {
  min-height: calc(100vh - 95px);
  padding: 25px 40px 100px;
  background: #efeff3;
}

.dress-accordion-page {
  padding-top: 25px;
}

.dress-accordion-item {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1.5px solid black;
}

.dress-accordion-item:last-child {
  border-bottom: 1.5px solid black;
}

.dress-accordion-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 28px 0;
  font-size: 1.8rem;
}

.dress-accordion-item summary::-webkit-details-marker {
  display: none;
}

.dress-accordion-item summary::after {
  content: "+";
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.dress-accordion-item[open] summary::after {
  content: "–";
}

.dress-accordion-subtitle {
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
}

.dress-accordion-content {
  padding: 5px 0 55px;
}

.dress-summary {
  max-width: 1700px;
  margin: 0 auto 40px;
  text-align: center;
}

.dress-guidance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.dress-guidance p {
  font-size: 1rem;
  line-height: 1.65;
}

.dress-extra-note {
  max-width: 700px;
  margin: 25px auto 0;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
}


/* =========================================================
   FRIDAY AND SATURDAY MOODBOARDS
   Five columns × three rows on desktop
   ========================================================= */

.moodboard-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.moodboard-grid .placeholder,
.moodboard-grid figure {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-width: 0;
  margin: 0;
  background: #d8d8d8;
  overflow: hidden;
  border-radius: 2px;
}

.moodboard-grid .placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #777;
  font-size: 0.95rem;
  font-style: italic;
}

.moodboard-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.moodboard-grid figure:hover img {
  transform: scale(1.02);
}


/* =========================================================
   SUNDAY IMAGE
   ========================================================= */

.sunday-image-placeholder {
  width: min(900px, 100%);
  aspect-ratio: 3 / 2;
  margin: 0 auto;
  background: #d8d8d8;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  color: #777;
  text-align: center;
  font-style: italic;
  overflow: hidden;
}

.sunday-image-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .top-header {
    padding: 20px 28px;
  }

  .menu {
    gap: 18px;
  }

  .menu a {
    font-size: 0.96rem;
  }

  .schedule-grid {
    gap: 35px;
  }

  .stay-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 35px;
  }

  .travel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 40px;
  }

  .stay-card img,
  .stay-card .img-placeholder {
    width: 210px;
    height: 210px;
  }

  .faq-item summary {
    gap: 30px;
  }

  /* Four columns on narrower tablets */

  .moodboard-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

}


/* =========================================================
   MOBILE HEADER AND GENERAL PAGE LAYOUT
   ========================================================= */

@media (max-width: 900px) {

  .top-header {
    min-height: auto;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .title-block h1 {
    font-size: 1.65rem;
  }

  .title-block p {
    font-size: 0.9rem;
  }

  .menu {
    justify-content: center;
    gap: 12px 20px;
    padding-top: 8px;
  }

  .menu a {
    font-size: 0.9rem;
  }

  .hero {
    height: calc(100vh - 165px);
  }

  .schedule-page,
  .travel-page,
  .stay-page,
  .faq-page,
  .dress-page,
  .room-page,
  .registry-page {
    min-height: calc(100vh - 165px);
  }

  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .schedule-card img {
    height: 320px;
  }

  .stay-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .travel-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .travel-column {
    border-bottom: none;
    padding-top: 20px;
    padding-bottom: 4px;
  }

  .travel-map {
    margin-top: 20px;
  }

  .travel-column:last-child {
    border-bottom: 1.5px solid black;
  }

  .payment-banner {
    padding: 22px 20px;
    margin-bottom: 30px;
  }

  .stay-card img,
  .stay-card .img-placeholder {
    width: 250px;
    height: 250px;
  }

  .faq-item summary {
    padding: 22px 0;
    gap: 16px;
  }

  .faq-item summary h2 {
    font-size: 1.3rem;
  }

  .faq-item summary::after {
    font-size: 1.6rem;
  }

  .faq-answer {
    padding: 0 0 26px;
  }

  .editorial-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .editorial-block.reverse .editorial-image {
    order: 1;
  }

  .editorial-block.reverse .editorial-text {
    order: 2;
  }

  .editorial-image {
    height: 280px;
  }

  .dress-page {
    padding: 25px 22px 80px;
  }

  .dress-accordion-item summary {
    grid-template-columns: 140px 1fr auto;
    gap: 20px;
    font-size: 1.5rem;
  }

  .room-guests ul {
    columns: 2;
  }

  .room-cols {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .room-page {
    padding: 35px 22px 60px;
  }

  .room-detail {
    grid-template-columns: 110px 1fr;
    gap: 12px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 650px) {

  .top-header {
    padding: 18px 14px;
  }

  .menu {
    gap: 10px 15px;
  }

  .menu a {
    font-size: 0.82rem;
  }

  .hero {
    height: calc(100vh - 180px);
  }

  .schedule-page {
    padding: 25px 18px 50px;
  }

  .schedule-card img {
    height: 245px;
  }

  .travel-page {
    padding: 20px 20px 55px;
  }

  .travel-content {
    font-size: 0.9rem;
  }

  .stay-page,
  .registry-page {
    padding: 25px 18px 55px;
  }

  .faq-page {
    padding: 20px 20px 55px;
  }

  .things-page {
    padding: 35px 20px 60px;
  }

  .things-intro {
    margin-bottom: 40px;
  }

  .editorial-block {
    padding: 45px 0;
  }

  .editorial-text h2 {
    font-size: 2.1rem;
  }

  .mini-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dress-page {
    padding: 10px 12px 70px;
  }

  .dress-accordion-page {
    padding-top: 10px;
  }

  .dress-accordion-item summary {
    grid-template-columns: 1fr auto;
    gap: 8px 10px;
    padding: 22px 0;
  }

  .dress-accordion-item summary > span:first-child {
    font-size: 1.35rem;
  }

  .dress-accordion-subtitle {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.9rem;
  }

  .dress-accordion-item summary::after {
    grid-column: 2;
    grid-row: 1;
  }

  .dress-accordion-content {
    padding: 5px 0 40px;
  }

  .dress-summary {
    margin-bottom: 28px;
    padding: 0 8px;
  }

  .dress-guidance {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dress-guidance p {
    font-size: 0.93rem;
  }

  /* Two portrait outfit images per row on mobile */

  .moodboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .moodboard-grid .placeholder,
  .moodboard-grid figure {
    aspect-ratio: 3 / 4;
  }

  /* Center a leftover single image on the last row instead of
     leaving it stranded in the left column */
  .moodboard-grid figure:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(50%, 260px);
    margin: 0 auto;
  }

  .sunday-image-placeholder {
    aspect-ratio: 3 / 4;
    padding: 20px;
  }

  /* Guest names wrap awkwardly in two columns at phone widths */
  .room-guests ul {
    columns: 1;
  }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

  .title-block h1 {
    font-size: 1.45rem;
  }

  .menu {
    gap: 9px 12px;
  }

  .menu a {
    font-size: 0.76rem;
  }

}