:root {
    --primary: #285646;
    --primary-hover: #1c4033;
    --accent: #c5ac79;
    --text: #253c34;
    --text-light: #5d6c64;
    --bg: #fffdf8;
    --bg-alt: #f1f0e7;
    --card-bg: #fffdf8;
    --border: #dedfd4;
    --shadow: 0 14px 35px rgba(31, 41, 55, 0.10);
    --nav-height: 80px;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --primary: #9ac9ae;
    --primary-hover: #c5ac79;
    --accent: #c5ac79;
    --text: #f5f4ec;
    --text-light: #c7d2c9;
    --bg: #14251e;
    --bg-alt: #253c34;
    --card-bg: #2c4035;
    --border: #2c4035;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    font-size: 1.05rem;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    flex: 1;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    z-index: 2000;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus { top: 0; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
}

.text-wrapper {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.text-wrapper p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.15rem;
}

.button {
    display: inline-block;
    padding: 14px 28px;
    background-color: #285646;
    color: white;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    width: auto;
    font-size: 1rem;
}

.button:hover {
    background-color: #1c4033;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(40, 86, 70, 0.28);
}

.button-secondary {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.72);
    backdrop-filter: blur(8px);
}
.button-secondary:hover { background: white; color: var(--primary); }

.main-header {
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(25px, calc((100vw - 1180px) / 2));
}

[data-theme="dark"] .main-header { background-color: rgba(17, 24, 39, 0.95); }

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.7px;
    font-family: Georgia, "Times New Roman", serif;
}

.main-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.desktop-nav { display: flex; gap: 30px; }

.desktop-nav a {
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    font-size: 0.95rem;
}

.desktop-nav a:hover, .desktop-nav a.active { color: var(--primary); }
.desktop-nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    background: var(--accent);
}

.theme-toggle {
    background: transparent;
    color: var(--text);
    padding: 8px;
    border-radius: 50%;
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme-toggle:hover { background-color: var(--bg-alt); }
.light-icon { display: block; }
.dark-icon { display: none; }
[data-theme="dark"] .light-icon { display: none; }
[data-theme="dark"] .dark-icon { display: block; }

.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text); cursor: pointer; }

.mobile-nav {
    display: none; 
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
}
.mobile-nav.open { display: flex; }
.mobile-nav li { margin-bottom: 15px; }
.mobile-nav a { display: block; padding: 9px 4px; font-weight: 650; }

.hero {
    min-height: min(680px, 72vh);
    padding: 100px 20px;
    background-size: cover;
    background-position: center 52%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(100deg, rgba(10, 20, 40, .82), rgba(10, 20, 40, .44));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -0.035em;
}

.hero-eyebrow { margin-bottom: 15px; color: #bfdbfe; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; }
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.4rem); opacity: 0.95; max-width: 690px; margin: 0 auto; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.venue-highlights { background: var(--primary); color: white; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 22px; padding-bottom: 22px; }
.highlight-grid > div { text-align: center; padding: 6px 18px; border-right: 1px solid rgba(255,255,255,.2); }
.highlight-grid > div:last-child { border-right: 0; }
.highlight-grid strong, .highlight-grid span { display: block; }
.highlight-grid strong { font-size: 1.05rem; }
.highlight-grid span { opacity: .76; font-size: .83rem; }

.section { padding: 80px 0; }
.secondary-bg { background-color: var(--bg-alt); }

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text);
    font-weight: 700;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -.025em;
}

.tagline {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.balanced-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px; 
    margin: 0 auto;
}

@media (min-width: 800px) {
    .balanced-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.gallery-grid a, .gallery-grid > div, .pricing-card, .balanced-grid > div {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--card-bg);
    border: 1px solid var(--border);
    height: 100%;
}

.gallery-grid > div, .pricing-card, .balanced-grid > div { padding: 35px; }

.gallery-img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-grid a:hover .gallery-img { transform: scale(1.05); }

.pricing-card h3, .balanced-grid h3 { color: var(--primary); margin-bottom: 15px; font-size: 1.4rem; }
.pricing-card p, .balanced-grid p { color: var(--text-light); margin-bottom: 15px; }

.contact-form-container {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-group { margin-bottom: 20px; }
.form-botcheck { display: none !important; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text); }
.form-input, .form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(40, 86, 70, 0.1);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    text-align: center;
    font-weight: 600;
}
.form-status.success { background-color: #d1fae5; color: #065f46; display: block; }
.form-status.error { background-color: #fee2e2; color: #991b1b; display: block; }

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
}
.privacy-content h2 { margin: 30px 0 8px; color: var(--primary); font-size: 1.3rem; }
.privacy-content p { color: var(--text-light); }
.privacy-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.privacy-notice { padding: 18px; border-left: 4px solid var(--primary); background: var(--bg-alt); border-radius: 8px; }

[data-theme="dark"] .form-status.success { background-color: #065f46; color: #d1fae5; }
[data-theme="dark"] .form-status.error { background-color: #991b1b; color: #fee2e2; }

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 40px 0;
}

.page-hero { padding: 75px 0; text-align: center; background: linear-gradient(135deg, #eff6ff, var(--bg-alt)); border-bottom: 1px solid var(--border); }
[data-theme="dark"] .page-hero { background: linear-gradient(135deg, #14223b, var(--bg-alt)); }
.page-hero .tagline { margin-bottom: 12px; }
.page-hero h1 { font: 700 clamp(2.25rem, 5vw, 3.7rem) Georgia, serif; letter-spacing: -.035em; line-height: 1.1; }
.page-hero p:last-child { max-width: 620px; margin: 16px auto 0; color: var(--text-light); }
.listing-grid { display: grid; gap: 18px; max-width: 900px; margin: auto; }
.event-card { display: grid; grid-template-columns: 82px 1fr; gap: 24px; padding: 27px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.event-date { width: 72px; height: 77px; border-radius: 12px; background: var(--primary); color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.event-date span { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.event-date strong { font-size: 1.8rem; margin-top: 6px; }
.event-card h2 { font: 700 1.5rem Georgia, serif; margin: 3px 0 8px; }
.event-card p { color: var(--text-light); }
.event-meta { color: var(--primary) !important; font-size: .82rem; font-weight: 750; }
.event-detail { margin-top: 10px; font-size: .92rem; }
.empty-state { text-align: center; padding: 50px 25px; background: var(--card-bg); border: 1px dashed var(--border); border-radius: 18px; }
.empty-state h2 { font: 700 1.5rem Georgia, serif; }
.empty-state p, .loading-message { color: var(--text-light); }
.document-list { max-width: 900px; margin: auto; }
.document-year { margin: 30px 0 10px; font: 700 1.6rem Georgia, serif; }
.document-year:first-child { margin-top: 0; }
.document-row { display: grid; grid-template-columns: 54px 1fr auto; gap: 17px; align-items: center; padding: 18px; margin-bottom: 10px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; }
.document-row:hover { border-color: var(--primary); transform: translateY(-1px); box-shadow: var(--shadow); }
.document-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 8px; color: white; background: var(--primary); font-size: .7rem; font-weight: 850; }
.document-row strong, .document-row small { display: block; }
.document-row small { color: var(--text-light); margin-top: 2px; }
.document-action { color: var(--primary); font-weight: 700; font-size: .87rem; }
.footer-links { margin-top: 15px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.site-footer .footer-links a { margin: 0; }

@media (max-width: 1060px) and (min-width: 769px) {
    .desktop-nav { gap: 15px; }
    .desktop-nav a { font-size: .84rem; }
    .main-nav { gap: 12px; }
}

.site-footer {
    background-color: var(--bg-alt);
    padding: 60px 0 30px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    margin-top: auto;
}
.site-footer a { margin: 0 10px; font-weight: 500; }
.site-footer a:hover { color: var(--primary); }

.footer-credit {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    opacity: 0.8;
}
.footer-credit a { color: var(--primary); margin: 0; }

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox-image { max-width: 90%; max-height: 80vh; border-radius: 4px; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
.lightbox-caption { color: white; margin-top: 20px; font-size: 1.1rem; }
.lightbox-close { position: absolute; top: 30px; right: 30px; color: white; font-size: 40px; cursor: pointer; transition: transform 0.2s; }
.lightbox-close:hover { transform: scale(1.1); }

.cookie-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 3000;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.cookie-buttons { display: flex; gap: 10px; }
.cookie-btn-decline { background-color: transparent; color: var(--text); border: 1px solid var(--border); }
.cookie-btn-decline:hover { background-color: var(--bg-alt); }

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
    .cookie-content { flex-direction: column; text-align: center; }
    .main-header { height: 68px; --nav-height: 68px; }
    .hero { min-height: 590px; padding: 80px 20px; }
    .highlight-grid { grid-template-columns: 1fr; padding-top: 10px; padding-bottom: 10px; }
    .highlight-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); padding: 13px 18px; }
    .highlight-grid > div:last-child { border-bottom: 0; }
    .section { padding: 58px 0; }
    .section-title { font-size: 1.9rem; margin-bottom: 32px; }
    .container { padding-left: 20px; padding-right: 20px; }
    .gallery-grid > div, .pricing-card, .balanced-grid > div, .contact-form-container { padding: 26px; }
    .page-hero { padding: 58px 0; }
    .event-card { grid-template-columns: 62px 1fr; gap: 16px; padding: 21px; }
    .event-date { width: 58px; height: 65px; }
    .event-date strong { font-size: 1.45rem; }
    .document-row { grid-template-columns: 48px 1fr; }
    .document-action { grid-column: 2; }
}

@media (max-width: 390px) {
    .brand-name { font-size: 1.25rem; }
    .main-nav { gap: 10px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-title { font-size: 2.45rem; }
}

/* A warm, countryside-inspired refresh shared across the public site. */
:root { --shadow: 0 12px 30px rgba(35, 59, 45, .06); }
[data-theme="dark"] { --bg-alt: #1d3127; --border: #3b5144; }
.main-header { background: rgba(255, 253, 248, .97); }
[data-theme="dark"] .main-header { background: rgba(20, 37, 30, .97); }
.brand-name { font-size: 1.6rem; letter-spacing: -.055em; white-space: nowrap; }
.desktop-nav { gap: 23px; }
.desktop-nav a { font-size: .88rem; font-weight: 600; }
.desktop-nav a.active::after { background: var(--primary); bottom: -8px; }
.button { border-radius: 7px; padding: 13px 25px; font-weight: 650; }
.button-secondary { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.button-secondary:hover { background: var(--primary); color: white; }
.hero { min-height: 610px; padding: 95px max(25px, calc((100vw - 1050px) / 2)); justify-content: flex-start; text-align: left; }
.hero::before { background: linear-gradient(90deg, rgba(16, 35, 26, .88), rgba(16, 35, 26, .57) 52%, rgba(16, 35, 26, .18)); }
.hero-content { max-width: 680px; }
.hero-title { max-width: 650px; font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 500; line-height: 1.05; }
.hero-eyebrow { color: #e6d3aa; font-size: .75rem; letter-spacing: .23em; }
.hero-subtitle { max-width: 510px; margin: 0; font-size: 1.18rem; color: #f2f1e8; }
.hero-actions { justify-content: flex-start; }
.hero .button:not(.button-secondary) { background: #e6d3aa; color: #203b2e; }
.hero .button:not(.button-secondary):hover { background: #f2e5ca; }
.hero .button-secondary { color: white; border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.06); }
.hero .button-secondary:hover { background: white; color: #285646; }
.venue-highlights { background: #254c3d; }
.highlight-grid { padding-top: 25px; padding-bottom: 25px; }
.highlight-grid strong { font: 500 1.5rem Georgia, serif; margin-bottom: 5px; }
.highlight-grid span { opacity: .9; }
.section-title { font-weight: 500; font-size: 2.6rem; margin-bottom: 30px; }
.tagline { font-size: .75rem; letter-spacing: .19em; }
.text-wrapper p { font-size: 1.08rem; }
.gallery-grid a, .gallery-grid > div, .pricing-card, .balanced-grid > div { border-radius: 10px; }
.gallery-grid a { position: relative; }
.gallery-label { position: absolute; inset: auto 0 0; padding: 35px 22px 18px; background: linear-gradient(transparent, rgba(16,35,26,.85)); color: white; font: 500 1.35rem Georgia, serif; pointer-events: none; }
.page-hero { background: linear-gradient(120deg, #eeeee2, #f8f5ec); padding: 80px 0; }
[data-theme="dark"] .page-hero { background: linear-gradient(120deg, #243d30, #1d3127); }
main > .section:first-child > h1.section-title { font-size: clamp(2.4rem, 5vw, 3.7rem); }
.pricing-card h3, .balanced-grid h3 { font-family: Georgia, serif; font-weight: 500; }
.site-footer { background: #1d382c; color: #e0e7dd; border-top: 0; padding-top: 42px; }
.site-footer a:hover { color: #e6d3aa; }
.footer-credit { text-align: right; border-color: rgba(255,255,255,.17); opacity: 1; color: #bfcec2; margin-top: 30px; padding-top: 20px; }
.footer-credit a { color: #e6d3aa; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 769px) and (max-width: 1120px) {
    .desktop-nav { gap: 12px; }
    .desktop-nav a { font-size: .8rem; }
    .main-nav { gap: 12px; }
    .brand-name { font-size: 1.4rem; }
}
@media (max-width: 768px) {
    .hero { min-height: 560px; padding: 75px 24px; background-position: 58% center; }
    .hero::before { background: linear-gradient(90deg, rgba(16,35,26,.88), rgba(16,35,26,.5)); }
    .hero-title { font-size: clamp(2.8rem, 10vw, 4rem); }
    .hero-subtitle { font-size: 1.08rem; }
    .highlight-grid { grid-template-columns: repeat(3, 1fr); padding: 20px 10px; }
    .highlight-grid > div { padding: 8px; border-bottom: 0; border-right: 1px solid rgba(255,255,255,.2); }
    .highlight-grid strong { font-size: 1.05rem; }
    .highlight-grid span { font-size: .72rem; }
    .section-title { font-size: 2rem; }
    .content-grid { grid-template-columns: minmax(0, 1fr); }
    .site-footer a { display: inline-block; margin-top: 5px; }
}
