:root {
    /* Color palette from the redesign brief */
    --bakery-primary: #5c4033;
    --bakery-secondary: #8b6914;
    --bakery-warm: #d4a574;
    --bakery-cream: #faf6f0;
    --bakery-accent: #9e2a2b;
    --bakery-dark: #2c1810;
    --bakery-linen: #f5f0e8;

    --text-main: #3a2b24;
    --text-muted: #6b584f;
    --border-color: #e3d7cc;
    --card-shadow: 0 12px 30px rgba(44, 24, 16, 0.08);
    --radius: 12px;
    --radius-small: 6px;

    --font-sans: "Inter", "Source Sans Pro", system-ui, -apple-system, sans-serif;
    --font-serif: "Playfair Display", Georgia, serif;
    --font-hand: "Caveat", "Pacifico", cursive;

    --max-width: 1200px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&family=Caveat:wght@500;600&display=swap');

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

body {
    font-family: var(--font-sans);
    background: var(--bakery-linen);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius);
}

a {
    color: var(--bakery-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--bakery-accent);
}

button {
    font: inherit;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    width: min(var(--max-width), 92%);
    margin: 0 auto;
}

section {
    padding: 4.5rem 0;
}

.section-heading {
    margin-bottom: 2.5rem;
}

.section-heading .kicker {
    display: inline-block;
    font-family: var(--font-hand);
    font-size: 1.05rem;
    color: var(--bakery-secondary);
    margin-bottom: 0.4rem;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-family: var(--font-serif);
    color: var(--bakery-dark);
    margin-bottom: 0.75rem;
}

.section-heading p {
    color: var(--text-muted);
    max-width: 720px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

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

.pill {
    display: inline-block;
    background: var(--bakery-cream);
    color: var(--bakery-primary);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.badge {
    background: var(--bakery-accent);
    color: white;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--bakery-primary);
}

.link-arrow::after {
    content: "→";
    transition: transform 0.2s ease;
}

.link-arrow:hover::after {
    transform: translateX(3px);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.logo-mark {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    color: var(--bakery-primary);
}

.logo-mark img {
    height: 52px;
    width: auto;
    border-radius: var(--radius-small);
}

.logo-mark .wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-mark .wordmark span:first-child {
    font-family: var(--font-hand);
    font-size: 1.2rem;
}

.logo-mark .wordmark span:last-child {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-weight: 600;
}

.nav-links a {
    color: var(--bakery-dark);
    padding: 0.35rem 0.5rem;
}

.nav-links a:hover {
    color: var(--bakery-accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.opening-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--bakery-cream);
    border-radius: 999px;
    padding: 0.25rem 0.5rem;
}

.lang-btn {
    cursor: pointer;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--bakery-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: white;
    border-color: var(--bakery-secondary);
    color: var(--bakery-dark);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    background: white;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-small);
    background: var(--bakery-primary);
    color: white;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(92, 64, 51, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    background: #4b3228;
    box-shadow: 0 10px 26px rgba(92, 64, 51, 0.24);
}

.btn-ghost {
    background: transparent;
    color: var(--bakery-primary);
    border: 1px solid var(--bakery-primary);
    box-shadow: none;
}

.btn-ghost:hover {
    background: var(--bakery-cream);
    transform: translateY(-1px);
}

.btn-warm {
    background: var(--bakery-secondary);
    color: white;
    box-shadow: 0 8px 20px rgba(139, 105, 20, 0.15);
}

.btn-warm:hover {
    background: #755412;
}

/* Hero */
.hero-bakery,
.page-hero {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 68vh;
    display: flex;
    align-items: center;
}

.page-hero {
    min-height: 52vh;
}

.hero-bakery::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(44, 24, 16, 0.65), rgba(44, 24, 16, 0.2));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 0 8%;
    max-width: 720px;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 620px;
    color: #f2eae2;
    margin-bottom: 1.25rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Special banner */
.today-special {
    padding: 1rem 0;
}

.special-banner {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--card-shadow);
}

.special-banner p {
    margin: 0;
    color: var(--text-muted);
}

/* Cards */
.card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}

.product-card {
    background: var(--bakery-cream);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
}

.product-card img {
    border-radius: 0;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.03);
}

.product-card .content {
    padding: 1.25rem;
}

.product-card h3 {
    font-family: var(--font-serif);
    margin-bottom: 0.35rem;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.info-card {
    background: white;
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.info-card h3 {
    font-family: var(--font-serif);
    margin-bottom: 0.6rem;
}

.info-card ul {
    margin-top: 0.5rem;
    display: grid;
    gap: 0.35rem;
}

.hours-list {
    display: grid;
    gap: 0.45rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.35rem;
    color: var(--text-muted);
}

.story-images {
    position: relative;
    display: grid;
    gap: 0.75rem;
}

.story-images .secondary {
    position: absolute;
    width: 45%;
    bottom: -12%;
    right: 8%;
    box-shadow: var(--card-shadow);
}

.story-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.story-content p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.cta-box {
    background: var(--bakery-primary);
    color: white;
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 14px 30px rgba(44, 24, 16, 0.25);
}

.cta-box h2 {
    font-family: var(--font-serif);
    margin-bottom: 0.35rem;
}

.cta-box p {
    color: #f5ebe1;
    max-width: 600px;
}

.cta-box .cta-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.9rem;
}

.list-grid li {
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    background: white;
    color: var(--text-muted);
}

.two-column-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.blockquote {
    border-left: 4px solid var(--bakery-secondary);
    padding-left: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th,
.table td {
    padding: 0.85rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.table th {
    font-weight: 700;
    color: var(--bakery-dark);
}

.news-card,
.gallery-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.news-card .body,
.gallery-card .body {
    padding: 1.25rem;
}

.news-card h3 {
    font-family: var(--font-serif);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    box-shadow: var(--card-shadow);
}

.faq-item h3 {
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

form {
    display: grid;
    gap: 1rem;
}

label {
    font-weight: 600;
    color: var(--bakery-dark);
}

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    background: white;
    font: inherit;
    color: var(--text-main);
}

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

/* Footer */
footer {
    background: var(--bakery-dark);
    color: #f8ede2;
    padding: 3rem 0 2rem;
}

footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

footer h4 {
    margin-bottom: 0.6rem;
    font-family: var(--font-serif);
}

footer p,
footer a {
    color: #f0e3d8;
    font-size: 0.96rem;
}

footer a:hover {
    color: var(--bakery-warm);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

/* Language visibility */
[lang="en"] { display: none; }
body.lang-en [lang="en"] { display: inline; }
body.lang-en [lang="da"] { display: none; }
body.lang-da [lang="da"] { display: inline; }
body.lang-da [lang="en"] { display: none; }

/* Responsive */
@media (max-width: 960px) {
    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--border-color);
        padding: 1rem;
        flex-direction: column;
        display: none;
    }

    .site-header.open .nav-links {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .hero-bakery,
    .page-hero {
        min-height: 58vh;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .story-images .secondary {
        position: relative;
        width: 100%;
        bottom: auto;
        right: auto;
    }
}

@media (max-width: 640px) {
    section {
        padding: 3.5rem 0;
    }

    .hero-content {
        padding: 0 6%;
    }

    .special-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hours-list li {
        gap: 0.6rem;
        flex-direction: column;
    }
}
