/* ------------ Colours/Fonts/Content  ---------- */

:root {
    --color-sage: #9CAF88;
    --color-sage-dark: #57634b;
    --color-sage-pale: #c7cec0;
    --color-blush: #E8C5C1;
    --color-off-white: #FAF7F2;
    --color-crimson: #A63A3A;
    --color-crimson-dark: #842d2d;
    --color-text: #2C2C2C;
    --color-text-muted: #6b6b6b;
    --color-on-dark: #FAF7F2;
    --color-on-dark-muted: #e7ecde;

    --font-heading: 'Italiana', serif;
    --font-display: 'Marcellus', serif;
    --font-body: 'Inter', 'Helvetica', sans-serif;

    --content-max: 1100px;
    --content-narrow: 720px;
    --space-section: 6rem;
}


/* ---------- Reset ---------- */

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

img,
iframe {
    display: block;
    max-width: 100%;
}


/* ---------- Base ---------- */

body {
    background-color: var(--color-off-white);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}


/* ---------- Text ---------- */

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

h2 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
}

h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

p {
    font-size: 1rem;
}

.muted {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.section-eyebrow {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: var(--color-sage-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    margin: 1.5rem auto 0;
    max-width: 38rem;
}


/* ---------- Sections structure ---------- */

section,
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-section) 0;
    position: relative;
    overflow: hidden;
}

.section-content {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section-content-narrow {
    max-width: var(--content-narrow);
}


/* ---------- Dark-section  ---------- */

.section-dark {
    background-color: var(--color-sage);
    color: var(--color-on-dark);
}

.section-dark h2,
.section-dark h3 {
    color: var(--color-on-dark);
}

.section-dark .section-eyebrow {
    color: var(--color-on-dark-muted);
}

.section-dark .muted {
    color: var(--color-on-dark-muted);
}

.section-dark a {
    color: var(--color-on-dark);
}


/* ---------- Hero/Banner ---------- */

.hero {
    text-align: center;
}

.hero-content > * + * {
    margin-top: 1.25rem;
}

.hero-date {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.8rem;
    color: var(--color-sage-dark);
}

.hero-tagline {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.essentials {
    min-height: auto;
    padding: 3rem 0 0;
    width: 100%;
}

.essentials .columns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-top: 2rem;
}

.essentials .column {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 0 1.5rem;
}

.essentials .column + .column {
    border-left: 1px solid var(--color-sage);
}

.essentials .column h3 {
    margin-bottom: 0.5rem;
}

.essentials .column p {
    font-size: 0.95rem;
    line-height: 1.5;
}


/* ---------- Sticky nav ---------- */

nav {
    position: sticky;
    top: 0;
    background-color: var(--color-off-white);
    border-bottom: 1px solid rgba(87, 99, 75, 0.15);
    z-index: 10;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    padding: 1.25rem 2rem;
    max-width: var(--content-max);
    margin: 0 auto;
}

nav a {
    color: var(--color-sage-dark);
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    text-decoration: none;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--color-crimson);
}


/* ---------- CTA button ---------- */

.cta {
    display: inline-block;
    background-color: var(--color-crimson);
    color: var(--color-off-white);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.8rem;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border: 1px solid var(--color-crimson);
    transition: background-color 0.2s ease, color 0.2s ease;
    margin-top: 1.5rem;
}

.cta:hover {
    background-color: var(--color-crimson-dark);
    border-color: var(--color-crimson-dark);
}

.cta-secondary {
    background-color: transparent;
    color: var(--color-crimson);
    margin-top: 1rem;
}

.cta-secondary:hover {
    background-color: var(--color-crimson);
    color: var(--color-off-white);
}


/* ---------- Two-column split layout ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10rem;
    margin-top: 3rem;
    align-items: start;
}

.split-left h3,
.split-right h3 {
    margin-bottom: 0.75rem;
}

.split-left > * + *,
.split-right > * + * {
    margin-top: 1rem;
}

.split-left address {
    font-style: normal;
    line-height: 1.8;
    font-size: 1.05rem;
}


/* ---------- Media frame (image / map containers) ---------- */

.media-frame {
    width: 100%;
    overflow: hidden;
}

.media-frame img,
.media-frame iframe {
    width: 100%;
    height: auto;
}

.media-frame iframe.map {
    height: 320px;
}

.media-frame + .media-frame {
    margin-top: 1.5rem;
}


/* ---------- Schedule (On the Day) ---------- */

.schedule {
    list-style: none;
    margin-top: 1rem;
    border-top: 1px solid rgba(44, 44, 44, 0.15);
}

.schedule li {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 1.5rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(44, 44, 44, 0.15);
    align-items: baseline;
}

.schedule-time {
    font-family: var(--font-display);
    letter-spacing: 0.15em;
    font-size: 0.95rem;
}

.schedule-event {
    font-size: 1rem;
}


/* ---------- Accommodation cards ---------- */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: rgba(250, 247, 242, 0.08);
    border: 1px solid rgba(250, 247, 242, 0.25);
    padding: 1.5rem;
    text-align: left;
}

.card-image {
    aspect-ratio: 4 / 3;
    background-color: var(--color-sage-pale);
    margin-bottom: 1.25rem;
}

.card h3 {
    margin-bottom: 0.25rem;
}

.card-meta {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
    color: var(--color-on-dark-muted);
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-link {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}


/* ---------- RSVP section ---------- */

.rsvp-split {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
}

.rsvp-prompt {
    text-align: left;
}

.rsvp-prompt > * + * {
    margin-top: 1rem;
}

iframe.form {
    width: 100%;
    height: 800px;
    border: 0;
}


/* ---------- FAQ ---------- */

.faq-list {
    margin-top: 3rem;
}

.faq-item {
    border-top: 1px solid rgba(250, 247, 242, 0.3);
    padding: 1.25rem 0;
}

.faq-item:last-child {
    border-bottom: 1px solid rgba(250, 247, 242, 0.3);
}

.faq-item summary {
    cursor: pointer;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.95rem;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
    font-family: var(--font-body);
    transition: transform 0.2s ease;
}

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

.faq-item p {
    margin-top: 0.75rem;
    font-size: 0.95rem;
}


/* ---------- Footer ---------- */

footer {
    background-color: var(--color-sage-dark);
    color: var(--color-on-dark);
    padding: 4rem 0 3rem;
    text-align: center;
}

.footer-content > * + * {
    margin-top: 0.75rem;
}

.footer-signoff {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    color: var(--color-on-dark-muted);
}

.footer-names {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-contact {
    color: var(--color-on-dark-muted);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

footer a {
    color: var(--color-on-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* ---------- Floral corner zones (placeholders) ---------- */
/*
   Empty divs positioned in each section's corners. images on these elements
*/

.floral {
    position: absolute;
    width: 280px;
    height: 280px;
    pointer-events: none;
    z-index: 0;
    /* background-image: url('...'); */
    /* background-size: contain; */
    /* background-repeat: no-repeat; */
}

.floral-top-left {
    top: 0;
    left: 0;
}

.floral-bottom-right {
    bottom: 0;
    right: 0;
}