/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --color-bg: #f8f5ef;
    --color-text: #4b4848;
    --color-text-light: #6b6767;
    --color-accent: #c0392b;
    --color-border: #d4cfc5;
    --color-input-bg: #faf8f4;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    padding-top: 220px;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--color-text);
    text-decoration: underline;

    &:hover {
        text-decoration: none;
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    z-index: 1000;
    padding: 8px 0;
    transition: padding 0.3s ease;

    &.scrolled {
        padding: 6px 0;
        border-bottom: 3px solid var(--color-text);

        .logo-circle {
            height: 100px;
        }
    }

    .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-circle {
    height: 240px;
    width: auto;
    transition: height 0.3s ease;
}

.main-nav {
    ul {
        list-style: none;
        display: flex;
        gap: 24px;
    }

    a {
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        letter-spacing: 0.02em;
        text-transform: uppercase;

        &:hover {
            text-decoration: underline;
        }
    }
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;

    span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--color-text);
        transition: all 0.3s ease;
    }
}

/* Hero */
.hero {
    padding: 80px 0 0;
    text-align: center;

    h1 {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 2.2rem;
        line-height: 1.3;
        color: var(--color-text);
    }
}

.hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin-top: 12px;
}

.hero-image {
    display: block;
    margin: 40px auto 0;

    img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
}

/* Section interstitial — small decorative mark between sections */
.section-interstitial {
    text-align: center;
    color: var(--color-text-light);
    line-height: 0;
    margin: -44px 0;

    img {
        height: 36px;
        width: auto;
        transform: rotate(270deg);
    }
}

/* Section break images */
.section-image {
    display: block;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;

    img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
}

/* About */
.about {
    padding: 64px 0;

    .section-image + & {
        padding-top: 32px;
    }

    &:has(+ .section-image) {
        padding-bottom: 32px;
    }

    h2 {
        font-family: var(--font-heading);
        font-weight: 900;
        font-size: 1.8rem;
        margin-bottom: 24px;
    }

    h3 {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 1.3rem;
        margin-top: 32px;
        margin-bottom: 12px;
    }

    h3,
    h3 + p,
    h3 ~ p {
        padding-left: 20px;
    }

    p {
        margin-bottom: 16px;

        &:last-child {
            margin-bottom: 0;
        }
    }
}

.event-list {
    margin: 0 0 16px 24px;
    padding: 0;
}

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

.event-list li:last-child {
    margin-bottom: 0;
}

.steps-list {
    padding-left: 4px;
}

.menu-list strong {
    font-weight: 600;
}

.event-menu-grid {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.event-menu-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 22px;
    background: var(--color-input-bg);
}

.event-menu-card h3 {
    padding-left: 0;
    margin-top: 0;
}

.event-menu-card p,
.event-menu-card .event-list {
    padding-left: 0;
}

.event-menu-card p {
    color: var(--color-text-light);
}

.trust-grid {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.trust-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 18px;
    background: var(--color-input-bg);
}

.trust-card h3,
.trust-card p {
    padding-left: 0;
}

.trust-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.trust-card p {
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 1.55;
}

.box-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.box-quick-links a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.box-quick-links a:hover {
    border-color: var(--color-text);
}

.box-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.box-flavour-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 18px;
    background: var(--color-input-bg);
}

.box-flavour-card h3,
.box-flavour-card p {
    padding-left: 0;
}

.box-flavour-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.box-flavour-card p {
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 1.55;
}

.box-note {
    margin-top: 20px;
    padding: 14px 16px;
    border-left: 3px solid var(--color-text);
    background: var(--color-input-bg);
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 1.55;
}

/* Contact */
.contact {
    padding: 64px 0;
    border-top: 1px solid var(--color-border);

    h2 {
        font-family: var(--font-heading);
        font-weight: 900;
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    > .container > p {
        margin-bottom: 32px;
    }
}

.contact-form {
    max-width: 480px;
}

.contact-alt {
    margin-top: 32px;
    font-size: 16px;
    color: var(--color-text-light);
}

/* Form elements */
.form-group {
    margin-bottom: 20px;

    label {
        display: block;
        font-weight: 600;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 6px;
        color: var(--color-text-light);
    }

    input,
    textarea {
        width: 100%;
        padding: 12px 14px;
        font-family: var(--font-body);
        font-size: 16px;
        color: var(--color-text);
        background: var(--color-input-bg);
        border: 1px solid var(--color-border);
        border-radius: 4px;

        &:focus {
            outline: none;
            border-color: var(--color-text);
        }
    }

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

.field-note {
    font-size: 14px;
    color: var(--color-text-light);
    margin-top: 4px;
}

/* Fieldset reset */
fieldset.form-group {
    border: none;
    padding: 0;

    legend {
        display: block;
        font-weight: 600;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 10px;
        color: var(--color-text-light);
    }
}

/* Radio group */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    cursor: pointer;

    input[type="radio"] {
        width: 18px;
        height: 18px;
        accent-color: var(--color-text);
    }
}

/* Checkbox group */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    cursor: pointer;

    input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: var(--color-text);
    }
}

.other-text {
    width: 100%;
    display: none;
    margin-top: 4px;

    &.visible {
        display: block;
    }

    input {
        width: 100%;
        padding: 10px 14px;
        font-family: var(--font-body);
        font-size: 16px;
        color: var(--color-text);
        background: var(--color-input-bg);
        border: 1px solid var(--color-border);
        border-radius: 4px;

        &:focus {
            outline: none;
            border-color: var(--color-text);
        }
    }
}

/* Star rating */
.star-rating {
    display: flex;
    gap: 4px;
}

.star {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--color-border);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.15s ease;

    &:hover,
    &.active {
        color: var(--color-text);
    }
}

/* Honeypot */
.ohnohoney {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    overflow: hidden;
}

/* Button */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 32px;
    color: var(--color-bg);
    background: var(--color-text);
    border: 2px solid var(--color-text);
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;

    &:hover {
        color: var(--color-text);
        background: transparent;
    }
}

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

/* Simple pages (thanks, 404) */
.simple-page {
    padding: 120px 0 80px;
    text-align: center;

    h1 {
        font-family: var(--font-heading);
        font-weight: 900;
        font-size: 2rem;
        margin-bottom: 16px;
    }

    p {
        margin-bottom: 12px;
    }
}

/* Footer */
.site-footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--color-border);
    text-align: center;

    p {
        font-size: 14px;
        color: var(--color-text-light);
    }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        padding-top: 140px;
    }

    .logo-circle {
        height: 120px;
    }

    .site-header.scrolled .logo-circle {
        height: 60px;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 200;

        &.active {
            span:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }

            span:nth-child(2) {
                opacity: 0;
            }

            span:nth-child(3) {
                transform: rotate(-45deg) translate(5px, -5px);
            }
        }
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 240px;
        height: 100vh;
        background: var(--color-bg);
        padding: 100px 40px 40px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 100;

        &.active {
            right: 0;
        }

        ul {
            flex-direction: column;
            gap: 24px;
        }

        a {
            font-size: 18px;
        }
    }

    .hero {
        padding: 48px 0 0;

        h1 {
            font-size: 1.8rem;
        }
    }

    .about,
    .contact {
        padding: 48px 0;
    }

    .about h2,
    .contact h2 {
        font-size: 1.5rem;
    }

    .box-menu-grid {
        grid-template-columns: 1fr;
    }

    .box-quick-links {
        align-items: stretch;
    }

    .box-quick-links a {
        flex: 1 1 160px;
        min-width: 0;
        text-align: center;
    }

    .section-interstitial {
        margin: -32px 0;

        img {
            height: 28px;
        }
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 120px;
    }

    .logo-circle {
        height: 100px;
    }

    .site-header.scrolled .logo-circle {
        height: 48px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }
}
