:root {
    --primary: #f05f40;
    --primary-dark: #df4d2f;
    --earth: #2a2a2a;
    --cream: #f6f1e7;
    --text: #212529;
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.85);
    --success: #346b3a;
    --error: #8b2d2d;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Open Sans", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: "Merriweather", Georgia, serif;
    margin-top: 0;
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

.narrow {
    width: min(560px, 100%);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(24, 24, 24, 0.84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
}

.nav-shell {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand-block {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(240, 95, 64, 0.22);
    color: #ffd6cc;
    display: grid;
    place-items: center;
    font-size: 0.86rem;
}

.brand-title {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.92);
}

.brand-logo {
    width: 34px;
    height: 44px;
    object-fit: contain;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.top-nav a:hover {
    color: var(--white);
}

.page-content {
    min-height: calc(100vh - 64px);
}

.masthead {
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
    background:
        linear-gradient(rgba(30, 26, 22, 0.66), rgba(30, 26, 22, 0.66)),
        radial-gradient(circle at 50% 15%, rgba(240, 95, 64, 0.36), transparent 50%),
        linear-gradient(120deg, #4a3a2b 0%, #2d261f 45%, #1b1b1b 100%);
}

.masthead3 {
    min-height: 100vh;
}

.masthead-with-image {
    background:
        linear-gradient(rgba(22, 20, 18, 0.65), rgba(22, 20, 18, 0.65)),
        var(--hero-image) center/cover no-repeat;
}

.masthead-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 22%, rgba(240, 95, 64, 0.18), transparent 45%);
}

.masthead-inner {
    position: relative;
    z-index: 1;
    margin-top: 34px;
}

.masthead h1 {
    font-size: clamp(1.8rem, 4.4vw, 3.4rem);
    font-weight: 700;
    margin-bottom: 0;
}

.masthead hr,
.section-title-wrap hr,
.section-primary hr {
    width: 60px;
    max-width: 100%;
    border: 0;
    border-top: 3px solid var(--primary);
    margin: 24px auto;
}

.section-primary hr.light {
    border-top-color: rgba(255, 255, 255, 0.92);
}

.masthead-text {
    margin: 0 auto 28px;
    max-width: 760px;
    font-size: 1.08rem;
    color: var(--muted);
}

.btn {
    display: inline-block;
    border-radius: 300px;
    font-size: 0.77rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 15px 28px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}

.btn-xl {
    padding: 1rem 2rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-light {
    background: var(--white);
    color: #222;
}

.btn-light:hover {
    background: #f2f2f2;
}

.section-primary {
    background: var(--primary);
    color: var(--white);
    padding: 92px 0;
}

.section-narrow {
    width: min(760px, 92%);
}

.bg-primary {
    background: var(--primary);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.d-flex {
    display: flex;
}

.section-heading {
    font-size: 2rem;
    margin-bottom: 0;
}

.section-text {
    white-space: pre-line;
    max-width: 850px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.92);
}

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

.text-faded {
    color: rgba(255, 255, 255, 0.86);
}

.section-details {
    padding: 84px 0 74px;
    background: #ffffff;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 30px;
}

.service-box {
    background: var(--white);
    border-radius: 10px;
    border: 1px solid #ece8e1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: min(420px, 100%);
}

.service-grid {
    display: flex;
    justify-content: center;
}

.mt-5 {
    margin-top: 3rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.service-image-wrap {
    min-height: 280px;
    background: #d8c7b1;
}

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

.service-image-placeholder {
    min-height: inherit;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #6c5f51;
}

.service-content {
    padding: 28px;
}

.service-content h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.muted {
    color: #6c757d;
    margin-top: 0;
}

.event-meta-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: block;
    text-align: left;
}

.event-meta-list li {
    margin-bottom: 8px;
}

.contact {
    margin-bottom: 0;
}

.admin-section {
    padding: 120px 0 70px;
    background: #f6f6f6;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.form-card,
.event-empty {
    background: var(--white);
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

label {
    display: block;
    margin-top: 12px;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 0.92rem;
}

input,
textarea {
    width: 100%;
    border: 1px solid #cfd5da;
    border-radius: 6px;
    padding: 10px;
    background: #fff;
    color: #222;
    font: inherit;
}

textarea {
    min-height: 120px;
}

.grid-2 {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.admin-preview {
    margin-top: 8px;
    max-width: 260px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.flash-list {
    position: fixed;
    right: 16px;
    top: 76px;
    z-index: 1200;
    width: min(360px, 90vw);
}

.flash {
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.flash.success,
.flash.info {
    background: #e7f2e7;
    color: var(--success);
}

.flash.error {
    background: #f6e7e7;
    color: var(--error);
}

.site-footer {
    background: #f8f9fa;
    color: #6c757d;
    padding: 22px 0;
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6c757d;
}

@media (max-width: 900px) {
    .top-nav {
        gap: 10px;
    }

    .service-image-wrap {
        min-height: 240px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .brand-title {
        font-size: 0.76rem;
    }

    .top-nav {
        display: none;
    }

    .masthead {
        min-height: 76vh;
    }

    .masthead-text {
        font-size: 0.98rem;
    }

    .section-heading {
        font-size: 1.6rem;
    }
}
