/*
 * Ported from _legacy/natuurlijkgeurpotje/public/css/app.css. Kept as its
 * own Vite entry point (not merged into the shared app.css) so it only
 * loads on natuurlijkgeurpotje's page.
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --ngp-color-bg: #fdf2e3;
    --ngp-color-bg-alt: #f6e2c6;
    --ngp-color-text: #4a3320;
    --ngp-color-muted: #8a6f56;
    --ngp-color-accent: #c1602f;
    --ngp-color-accent-dark: #954a24;
    --ngp-color-accent-green: #7a9463;
    --ngp-color-accent-gold: #d9a441;
    --ngp-color-border: #e8cfa9;
    --ngp-shadow-soft: 0 16px 36px -14px rgba(74, 51, 32, 0.28);
    --ngp-font-heading: "Fraunces", "Georgia", serif;
    --ngp-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@keyframes ngp-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    margin: 0;
    background: var(--ngp-color-bg);
    color: var(--ngp-color-text);
    font-family: var(--ngp-font-body);
    font-size: 18px;
    line-height: 1.5;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url("/sites/natuurlijkgeurpotje/logo.svg") no-repeat center center;
    background-size: min(85vw, 900px);
    opacity: 0.07;
    pointer-events: none;
}

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero {
    position: relative;
    padding: 3rem 0 2.5rem;
    isolation: isolate;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(122, 148, 99, 0.15);
    color: var(--ngp-color-accent-green);
    border: 1px solid rgba(122, 148, 99, 0.35);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: ngp-fade-up 0.6s ease both;
}

.hero h1 {
    font-family: var(--ngp-font-heading);
    font-weight: 600;
    font-size: clamp(3rem, 7vw, 4.5rem);
    line-height: 1;
    margin: 0 0 0.5rem;
    color: var(--ngp-color-accent-dark);
    animation: ngp-fade-up 0.7s ease both;
    animation-delay: 0.08s;
}

.hero p.tagline {
    font-size: 1.2rem;
    color: var(--ngp-color-muted);
    max-width: 480px;
    margin: 0 0 2rem;
    animation: ngp-fade-up 0.7s ease both;
    animation-delay: 0.16s;
}

.button {
    display: inline-flex;
    align-items: center;
    background: var(--ngp-color-accent);
    color: #fff;
    text-decoration: none;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--ngp-shadow-soft);
    transition: background 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.button::after {
    content: "\2192";
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.25s ease;
}

.button:hover {
    background: var(--ngp-color-accent-dark);
    transform: translateY(-2px);
}

.button:hover::after {
    transform: translateX(4px);
}

section {
    padding: 2.5rem 0;
}

section.alt {
    background: rgba(246, 226, 198, 0.9);
}

.alt-layout {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.photo-placeholder {
    flex: 0 0 220px;
    width: 220px;
    height: 220px;
    border-radius: 42% 58% 65% 35% / 55% 45% 60% 40%;
    background: linear-gradient(145deg, var(--ngp-color-bg-alt), var(--ngp-color-bg));
    border: 2px dashed var(--ngp-color-border);
    box-shadow: var(--ngp-shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--ngp-color-muted);
    text-decoration: none;
    cursor: pointer;
    transform: rotate(-4deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.photo-placeholder:hover {
    transform: rotate(0deg) scale(1.03);
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    align-items: center;
    justify-content: center;
    background: rgba(74, 51, 32, 0.75);
    animation: ngp-fade-up 0.2s ease both;
}

.lightbox:target {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
}

.lightbox-content {
    position: relative;
    width: min(90vw, 720px);
    height: min(90vw, 720px);
    border-radius: 16px;
    background: linear-gradient(145deg, var(--ngp-color-bg-alt), var(--ngp-color-bg));
    box-shadow: var(--ngp-shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--ngp-color-muted);
}

.lightbox-content svg {
    width: 96px;
    height: 96px;
}

.lightbox-content span {
    font-weight: 600;
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 640px) {
    .alt-layout {
        flex-direction: column;
    }

    .photo-placeholder {
        margin: 0 auto;
    }
}

.photo-placeholder svg {
    width: 48px;
    height: 48px;
}

.photo-placeholder span {
    font-size: 0.8rem;
    font-weight: 600;
}

.photo-thumb {
    border-style: solid;
    overflow: hidden;
}

.photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 42% 58% 65% 35% / 55% 45% 60% 40%;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

section h2 {
    font-family: var(--ngp-font-heading);
    font-weight: 600;
    font-size: 2.75rem;
    color: var(--ngp-color-accent-dark);
    margin: 0 0 1rem;
}

section h2::after {
    content: "";
    display: block;
    width: 52px;
    height: 6px;
    margin-top: 0.6rem;
    border-radius: 999px;
    background: var(--ngp-color-accent);
}

section:nth-of-type(2) h2::after {
    background: var(--ngp-color-accent-gold);
}

section:nth-of-type(3) h2::after {
    background: var(--ngp-color-accent-green);
}

section h2 + p,
section h2 + .section-intro {
    margin-top: 1.25rem;
}

section .warning strong{
    color: var(--ngp-color-muted);
}

section .section-intro {
    color: var(--ngp-color-muted);
    max-width: 480px;
    margin: 0 0 2rem;
}

.about-text {
    max-width: 560px;
    color: var(--ngp-color-text);
}

.about-text + .about-text {
    margin-top: 1rem;
}

.form-card {
    max-width: 480px;
    background: var(--ngp-color-bg-alt);
    border: 1px solid var(--ngp-color-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--ngp-shadow-soft);
}

form {
    max-width: 480px;
}

.field {
    margin-bottom: 1.25rem;
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: var(--ngp-font-heading);
    font-weight: 600;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--ngp-color-border);
    border-radius: 8px;
    background: var(--ngp-color-bg);
    font-family: inherit;
    font-size: 1rem;
    color: var(--ngp-color-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--ngp-color-accent);
    box-shadow: 0 0 0 3px rgba(193, 96, 47, 0.15);
}

.field .error {
    display: block;
    color: var(--ngp-color-accent);
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

.success-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(122, 148, 99, 0.14);
    color: var(--ngp-color-accent-green);
    border: 1px solid rgba(122, 148, 99, 0.4);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    max-width: 480px;
    margin: 0 0 1.5rem;
    font-weight: 600;
    box-shadow: var(--ngp-shadow-soft);
    animation: ngp-fade-up 0.5s ease both;
}

.success-message svg {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}

.success-message span {
    color: var(--ngp-color-text);
}

footer.site-footer {
    padding: 2rem 0;
    color: var(--ngp-color-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--ngp-color-border);
}
