@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Nunito+Sans:wght@400;600;700;800&display=swap');

:root {
    --cream: #fffdf6;
    --paper: rgba(255, 253, 246, 0.96);
    --paper-soft: rgba(255, 252, 243, 0.88);
    --white: #fffef9;
    --butter: #f4e39b;
    --butter-deep: #e3c95d;
    --sage: #dfe7c9;
    --mint: #edf3df;
    --leaf: #95ab6f;
    --forest: #536640;
    --moss: #6f7f55;
    --accent-red: #a66a45;
    --ink: #4e4737;
    --line: rgba(111, 127, 85, 0.14);
    --line-soft: rgba(78, 71, 55, 0.08);
    --shadow-soft: 0 10px 24px rgba(83, 102, 64, 0.07);
    --shadow-card: 0 18px 36px rgba(83, 102, 64, 0.11);
    --radius-xl: 0px;
    --radius-lg: 26px;
    --radius-md: 18px;
}

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; overflow-x: hidden; min-height: 100%; }

body {
    font-family: 'Nunito Sans', Arial, sans-serif;
    color: var(--ink);
    line-height: 1.78;
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.78), transparent 34%),
        linear-gradient(180deg, #fffef8 0%, #fbf6de 44%, #f2f5e7 100%);
}

a { transition: color 0.2s ease; }

.site-shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
}

.banner {
    position: relative;
    width: 100%;
    height: clamp(90px, 12vw, 155px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,254,248,0.99), rgba(244,227,155,0.18));
    border: 0 !important;
    box-shadow: none !important;
}

.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
    pointer-events: none;
}

.banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center 32%;
    border: 0 !important;
    box-shadow: none !important;
}

.navbar {
    justify-content: flex-start;
    padding: 0.9rem 1.4rem;
    background: linear-gradient(180deg, rgba(255,254,248,0.99), rgba(247,244,224,0.99)) !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.navbar::before, .navbar::after, .banner::before, header::before, header::after, nav::before, nav::after { display: none !important; }
.navbar-toggler, .navbar-toggler:focus { border: 0 !important; box-shadow: none !important; outline: none !important; }
.navbar-light .navbar-toggler-icon, .navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2883,102,64,0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.1' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav { align-items: center; gap: 0.28rem; }
.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .show > .nav-link,
.dropdown-item {
    color: var(--forest) !important;
    font-family: 'Nunito Sans', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.62rem 1.08rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .active > .nav-link,
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background-color: rgba(223, 231, 201, 0.86);
    color: var(--accent-red) !important;
    transform: translateY(-1px);
}

.dropdown-menu {
    border: 0 !important;
    border-radius: 18px;
    background: rgba(255, 253, 246, 0.98);
    padding: 0.45rem;
    box-shadow: var(--shadow-card);
}

.page-section {
    padding: 30px 0 0;
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
}
.page-grid { display: grid; gap: 24px; align-items: stretch; }
.two-column { grid-template-columns: 1.18fr 0.92fr; }
.three-column { grid-template-columns: 0.95fr 1.1fr 0.95fr; }

.hero-card, .panel, .soft-card, .location-card, .info-card, .registry-card, .rsvp-form, .map-box, .carousel-card, .ceremony-card, .ceremony-intro {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.hero-card, .panel, .soft-card, .location-card, .info-card, .registry-card, .carousel-card, .ceremony-card, .ceremony-intro { padding: 26px; }
.rsvp-form { padding: 10px; }

h1, h2, h3, .h1-like {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--forest);
    line-height: 1.06;
    margin-bottom: 0.85rem;
    letter-spacing: 0.01em;
}

h1, .h1-like { font-size: clamp(2.3rem, 3.2vw, 3.4rem); text-align: center; }
h2 { font-size: clamp(1.8rem, 2.6vw, 2.45rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); }

p, li, a, label, input, textarea, button { font-size: 1.02rem; }
.lead { font-size: 1.1rem; }
.center-text { text-align: center; }
.accent-text { color: var(--accent-red); }
.thick { font-weight: 800; color: var(--forest); font-family: 'Nunito Sans', Arial, sans-serif; letter-spacing: 0.09em; text-transform: uppercase; }
.small-note { font-size: 0.96rem; color: rgba(78, 71, 55, 0.78); }

.pretty-list { list-style: none; padding: 0; margin: 0; }
.pretty-list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.72rem; }
.pretty-list li::before {
    content: "*";
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--butter-deep);
    font-size: 0.95rem;
}

.quote-block {
    background: linear-gradient(180deg, rgba(255,253,246,0.99), rgba(244,227,155,0.3));
    text-align: center;
}

.hero-actions, .quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 1rem;
}

.btn-wes, .btn-outline-wes, .cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.86rem 1.55rem;
    border-radius: 999px;
    font-family: 'Nunito Sans', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    position: relative;
}

.btn-wes {
    background: linear-gradient(180deg, #fffdf1 0%, #efe0a2 55%, #e3c95d 100%);
    color: #4c472f !important;
    border: 2px solid rgba(147, 165, 116, 0.28);
    box-shadow: 0 8px 0 rgba(147, 165, 116, 0.16), 0 16px 24px rgba(83, 102, 64, 0.12);
}

.btn-outline-wes {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(237,243,223,0.97));
    color: var(--forest) !important;
    border: 2px solid rgba(147,165,116,0.34);
    box-shadow: 0 8px 0 rgba(147,165,116,0.11), 0 14px 24px rgba(83, 102, 64, 0.08);
}

.btn-wes::before, .btn-outline-wes::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    border: 1px dashed rgba(166,106,69,0.28);
    pointer-events: none;
}

.btn-wes:hover, .btn-outline-wes:hover, .cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 0 rgba(147,165,116,0.12), 0 18px 28px rgba(83,102,64,0.13);
}

main a, main a:visited, .panel a, .soft-card a, .hero-card a, .info-card a, .registry-card a, .location-card a, .ceremony-card a {
    color: var(--accent-red);
}

.registry-card { max-width: 780px; margin: 0 auto; text-align: center; }
.location-card, .registry-card, .hero-card, .info-card { height: 100%; }
.map-box { padding: 8px; overflow: hidden; }
.map-box iframe, .rsvp-form iframe { width: 100%; border: 0; display: block; border-radius: 18px; }
.map-box iframe { height: 320px; }
.rsvp-form iframe { min-height: 1450px; background: #fff; }

.carousel-card { padding: 22px; }
.carousel-frame {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(244,227,155,0.48), rgba(255,253,246,0.98));
    padding: 16px;
    box-shadow: inset 0 0 0 1px rgba(111,127,85,0.14);
}
.carousel-stage {
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f3df, #eff4e5);
    min-height: 540px;
}
.carousel-inner, .carousel-item, .carousel-photo-wrap { min-height: 540px; }
.carousel-photo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255,253,246,0.99), rgba(239,244,229,0.94));
    padding: 16px;
}
.carousel-photo-wrap img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    border-radius: 14px;
    background: #fffef8;
    box-shadow: 0 12px 20px rgba(83,102,64,0.1);
}
.carousel-indicators { position: static; margin: 14px 0 0; flex-wrap: wrap; }
.carousel-indicators li {
    width: 10px; height: 10px; border-radius: 999px; background-color: rgba(111,127,85,0.28); border: 0; margin: 4px;
}
.carousel-indicators .active { background-color: var(--forest); }
.carousel-control-prev, .carousel-control-next { width: 12%; }
.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 42px; height: 42px; border-radius: 999px; background-color: rgba(111,127,85,0.82); background-size: 50% 50%;
}

.ceremony-layout > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}

.ceremony-card {
    height: 100%;
}
.ceremony-intro {
    background: linear-gradient(180deg, rgba(255,253,246,0.99), rgba(244,227,155,0.26));
    position: sticky;
    top: 16px;
    align-self: start;
}
.ceremony-card { margin-bottom: 20px; }
.ceremony-card:last-child { margin-bottom: 0; }
.ceremony-card h3 { text-align: center; margin-bottom: 1rem; }

.footer-logo {
    width: 32px; height: 32px; object-fit: contain; margin-left: 0.3rem;
}
footer {
    margin-top: 30px;
    padding: 1.4rem 1rem 1.6rem;
    background: linear-gradient(180deg, rgba(247,244,224,0.99), rgba(236,242,221,0.99));
    color: var(--forest);
    text-align: center;
    border: 0 !important;
    box-shadow: none !important;
}
footer a, footer a:visited { color: var(--forest); }
footer .btn-outline-wes { background: rgba(255,255,255,0.86); color: var(--forest) !important; border-color: rgba(147,165,116,0.32); }

@media (max-width: 991.98px) {
    .two-column, .three-column, .ceremony-layout { grid-template-columns: 1fr; }
    .page-section { padding-top: 22px; }
    .rsvp-form iframe { min-height: 1600px; }
    .ceremony-intro { position: static; }
    .carousel-stage, .carousel-inner, .carousel-item, .carousel-photo-wrap { min-height: 460px; }
    .carousel-photo-wrap img { max-height: 420px; }
}

@media (max-width: 767.98px) {
    .site-shell { width: 100%; margin: 0; border-radius: 0; }
    .banner { height: 82px; }
    .page-section { width: calc(100% - 14px); padding-top: 16px; }
    .hero-card, .panel, .soft-card, .location-card, .info-card, .registry-card, .carousel-card, .ceremony-card, .ceremony-intro { padding: 18px; }
    .navbar { padding: 0.55rem 0.9rem; }
    .navbar-nav { align-items: stretch; }
    .map-box iframe { height: 250px; }
    .rsvp-form iframe { min-height: 1750px; }
    .carousel-stage, .carousel-inner, .carousel-item, .carousel-photo-wrap { min-height: 330px; }
    .carousel-photo-wrap img { max-height: 290px; }
}
