@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --ivory: #fbf8f2;
    --white: #ffffff;
    --ink: #262522;
    --soft-ink: #67645f;
    --gold: #b48a38;
    --pale-gold: #d8c398;
    --line: #ebe4d8;
    --shadow: 0 15px 42px rgba(44, 36, 24, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: 'Montserrat', Arial, sans-serif;
}
.guest-page main { overflow: hidden; }

.luxury-hero {
    position: relative;
    min-height: 555px;
    display: grid;
    place-items: center;
    padding: 70px 22px;
    background: #f2eadf;
    background-position: center;
    background-size: cover;
}
.luxury-hero.has-image { background-image: var(--hero-image); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 252, 247, .52);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1050px;
    text-align: center;
}
.luxury-logo {
    display: block;
    width: min(245px, 58vw);
    max-height: 175px;
    object-fit: contain;
    margin: 0 auto 30px;
}
.luxury-eyebrow,
.luxury-date,
.luxury-venue {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .22em;
}
.luxury-eyebrow {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
}
.luxury-hero h1 {
    margin: 18px 0 28px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.15rem, 8vw, 6.2rem);
    font-weight: 500;
    line-height: .95;
}
.luxury-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}
.luxury-venue {
    margin-top: 14px;
    color: var(--gold);
    font-size: clamp(.8rem, 1.7vw, 1rem);
    line-height: 1.8;
}

.seat-section {
    padding: 78px 20px 75px;
    background: rgba(255,255,255,.84);
}
.content-width {
    width: min(820px, 100%);
    margin: 0 auto;
    text-align: center;
}
.seat-section h2,
.event-information h2 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 7vw, 4.1rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.seat-instruction {
    margin: 20px 0 28px;
    color: var(--soft-ink);
    font-size: 1rem;
}
.luxury-search {
    display: grid;
    grid-template-columns: 55px 1fr auto;
    align-items: center;
    overflow: hidden;
    border: 1px solid #ded7cb;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(49, 39, 24, .08);
}
.search-icon {
    width: 20px;
    height: 20px;
    margin-left: 22px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    position: relative;
}
.search-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 2px;
    right: -6px;
    bottom: -3px;
    background: var(--ink);
    transform: rotate(45deg);
}
.luxury-search input,
.luxury-search button {
    min-height: 68px;
    border: 0;
    font: inherit;
}
.luxury-search input {
    width: 100%;
    padding: 0 18px;
    outline: none;
    background: transparent;
    font-size: 1.05rem;
}
.luxury-search button {
    padding: 0 38px;
    background: var(--gold);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .13em;
    cursor: pointer;
}
.status {
    min-height: 24px;
    margin: 24px 0 8px;
    color: var(--soft-ink);
}
.results {
    display: grid;
    gap: 18px;
}
.luxury-result {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    min-height: 210px;
    text-align: left;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    box-shadow: var(--shadow);
}
.luxury-result.with-result-image {
    grid-template-columns: minmax(180px, 34%) 1fr;
}
.result-floral {
    min-height: 210px;
    background-position: center;
    background-size: cover;
}
.result-copy {
    align-self: center;
    padding: 34px 46px;
}
.guest-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.7rem, 4vw, 2.45rem);
    font-weight: 500;
}
.table-label {
    margin-top: 23px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .17em;
    font-size: .82rem;
}
.table-number {
    margin-top: 5px;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.9rem, 7vw, 4.4rem);
    line-height: 1;
    text-transform: uppercase;
}
.search-help {
    margin: 28px 0 0;
    color: var(--soft-ink);
    line-height: 1.7;
}

.event-information {
    padding: 0 20px 78px;
    background: rgba(255,255,255,.84);
}
.info-width {
    width: min(1120px, 100%);
    margin: 0 auto;
    text-align: center;
}
.event-information h2 {
    margin-bottom: 30px;
    font-size: clamp(2rem, 5vw, 2.8rem);
}
.info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
}
.info-tile {
    width: 142px;
    min-height: 155px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 19px 12px;
    color: var(--ink);
    text-decoration: none;
    background: rgba(255,255,255,.88);
    border: 1px solid var(--pale-gold);
    border-radius: 6px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.info-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(49, 39, 24, .10);
}
.info-icon svg {
    width: 42px;
    height: 42px;
    margin-bottom: 13px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.info-tile strong {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.info-tile small {
    margin-top: 6px;
    color: var(--soft-ink);
    font-size: .75rem;
}

.luxury-footer {
    position: relative;
    min-height: 250px;
    display: grid;
    place-items: center;
    padding: 60px 20px;
    background: #f3ede4;
    background-position: center;
    background-size: cover;
}
.luxury-footer.has-footer-image { background-image: var(--footer-image); }
.footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(250, 247, 241, .76);
}
.footer-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.closing-message {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-style: italic;
}
.closing-subtitle {
    margin: 20px 0 0;
    text-transform: uppercase;
    letter-spacing: .24em;
    font-family: 'Cormorant Garamond', serif;
}
.event-hashtag {
    margin: 18px 0 0;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
}
.site-credit {
    margin: 27px 0 0;
    font-size: .67rem;
    text-transform: uppercase;
    letter-spacing: .16em;
}
.site-credit span {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
}

/* Administration */
.admin-shell {
    width: min(820px, calc(100% - 28px));
    margin: 0 auto;
    padding: 34px 0 50px;
}
.admin-shell > h1 {
    margin: 0 0 24px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    font-weight: 500;
}
.admin-card {
    margin-bottom: 20px;
    padding: clamp(24px, 5vw, 42px);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.admin-card h2 {
    margin: 0 0 8px;
    color: var(--soft-ink);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 1rem;
}
.admin-subheading {
    margin: 32px 0 3px;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-weight: 500;
}
.admin-card label {
    display: block;
    margin: 18px 0 7px;
    font-weight: 600;
}
.field-help {
    margin: -2px 0 9px;
    color: var(--soft-ink);
    font-size: .85rem;
    line-height: 1.55;
}
input, textarea, button {
    width: 100%;
    font: inherit;
}
.admin-card input,
.admin-card textarea {
    padding: 13px 14px;
    background: #fff;
    border: 1px solid #c8c2b7;
    border-radius: 4px;
}
.admin-card button,
.button-link {
    display: inline-block;
    margin-top: 20px;
    padding: 13px 20px;
    border: 0;
    border-radius: 4px;
    background: var(--gold);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.admin-card button { width: 100%; }
.admin-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.admin-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-actions form { margin: 0; }
.admin-actions .button-link,
.admin-actions button { margin-top: 0; width: auto; }
.secondary { background: #676b68 !important; }
.notice {
    margin: 0 0 18px;
    padding: 14px;
    border-radius: 4px;
}
.notice.success { background: #e7f5e8; }
.notice.error { background: #fde9e7; }
.current-file {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: #f8f5ef;
    border: 1px solid var(--line);
}
.current-file a { color: var(--ink); }
.remove-option {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    margin: 0 !important;
    font-weight: 400 !important;
}
.remove-option input { width: auto; margin: 0; }
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

@media (max-width: 700px) {
    .luxury-hero { min-height: 490px; padding: 55px 18px; }
    .luxury-search { grid-template-columns: 48px 1fr; }
    .luxury-search button {
        grid-column: 1 / -1;
        min-height: 58px;
    }
    .luxury-result.with-result-image { grid-template-columns: 1fr; }
    .result-floral { min-height: 160px; }
    .result-copy { padding: 30px 25px; text-align: center; }
    .admin-top, .admin-actions { align-items: stretch; flex-direction: column; }
    .admin-actions .button-link, .admin-actions button { width: 100%; text-align: center; }
}


/* Mobile-safe hero and footer images */
.hero-background-image,
.footer-background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.hero-overlay,
.footer-overlay {
    z-index: 1;
}
.hero-content,
.footer-content {
    z-index: 2;
}
@media (max-width: 700px) {
    .hero-background-image {
        object-position: center center;
    }
    .footer-background-image {
        object-position: center center;
    }
}

/* Home Button */
a.home-button,
a.home-button:link,
a.home-button:visited {
    display: inline-block;
    margin: 0 0 18px 0;
    padding: 9px 20px;
    background-color: #f8f4eb;
    border: 1px solid #d8c9aa;
    border-radius: 22px;
    color: #7a6337 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

a.home-button:hover,
a.home-button:active {
    background-color: #eee6d7;
    color: #5f4c2b !important;
    text-decoration: none !important;
}