/* LL American Donuts - shared site styles */

:root {
    --bg: #f7f2e8;
    --surface: #fffdf8;
    --surface-soft: #f5ecda;
    --text: #2f2b25;
    --muted: #615a50;
    --brand: #1f5f3b;
    --brand-deep: #18492e;
    --accent: #e69b2b;
    --accent-strong: #d9891a;
    --line: #e6d8bc;
    --shadow-soft: 0 12px 30px rgba(28, 25, 20, 0.08);
    --shadow-card: 0 10px 24px rgba(28, 25, 20, 0.07);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 10%, #fbf6eb 0%, rgba(251, 246, 235, 0) 48%),
        radial-gradient(circle at 90% 0%, #f2ebdc 0%, rgba(242, 235, 220, 0) 40%),
        var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
}

/* Header + Nav */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(24, 73, 46, 0.94);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(24, 73, 46, 0.25);
}

nav {
    max-width: 1140px;
    margin: auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    color: #fff;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    letter-spacing: 0.02em;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(245, 234, 210, 0.45);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    padding: 0;
    gap: 4px;
    flex-direction: column;
}

.nav-toggle .bar {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #f6eddc;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle:focus-visible {
    outline: 2px solid #f3d48e;
    outline-offset: 2px;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(4) {
    transform: translateY(-6px) rotate(-45deg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.nav-links a {
    color: #f5f2e7;
    text-decoration: none;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 999px;
    transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.nav-links a[aria-current="page"] {
    color: #173824;
    background: #f5ead2;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(17, 58, 37, 0.78), rgba(23, 70, 44, 0.88)),
        url("images/donutsBanner.png");
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero-home {
    padding: 82px 24px 76px;
}

.hero-compact {
    padding: 70px 24px 62px;
}

.hero-inner {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    animation: fade-up 650ms ease;
}

.eyebrow {
    margin: 0 0 14px;
    color: #efd9aa;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.78rem;
}

.hero h1 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2rem, 6vw, 3.45rem);
    line-height: 1.12;
}

.hero p {
    margin: 18px auto 0;
    max-width: 760px;
    font-size: clamp(1rem, 2.3vw, 1.14rem);
    color: #f0ece4;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid rgba(231, 168, 66, 0.8);
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #20170b;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
    box-shadow: 0 10px 20px rgba(223, 141, 26, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(223, 141, 26, 0.36);
}

.hero-metrics {
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 920px;
}

.metric {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(245, 240, 230, 0.13);
    border: 1px solid rgba(240, 222, 185, 0.25);
    backdrop-filter: blur(2px);
}

.metric strong {
    display: block;
    font-size: 0.96rem;
    letter-spacing: 0.01em;
    color: #fff7e8;
}

.metric span {
    display: block;
    margin-top: 4px;
    font-size: 0.88rem;
    color: #f0e9dc;
}

/* Shared layout sections */
.section,
.wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 64px 24px;
}

.section {
    text-align: center;
}

h2 {
    margin: 0 0 18px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.2;
    color: #2a2a23;
}

h3 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.3rem;
    color: #1f5737;
}

p {
    margin: 0;
    color: var(--muted);
}

.features,
.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.feature-box,
.card,
.panel,
.we-do,
.goal-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    text-align: left;
}

.feature-box h3,
.card h3 {
    margin-bottom: 10px;
}

.we-do,
.goal-box {
    margin-top: 20px;
}

.goal-box {
    background: linear-gradient(120deg, #fffdf8 0%, #fff5e0 100%);
}

.about-content > h2 {
    margin-top: 28px;
}

.about-content > p {
    max-width: 820px;
    margin: 0 auto;
}

.irish-owned {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.inline-flag {
    width: 1.2em;
    height: 1.2em;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Contact page */
.layout {
    align-items: start;
}

.panel h2 {
    margin-bottom: 8px;
    font-size: 1.6rem;
}

.panel p {
    margin-top: 6px;
}

label {
    display: block;
    margin-top: 14px;
    font-weight: 700;
    color: #2f372f;
}

input,
textarea,
select {
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid #d8ccb4;
    background: #fffdfa;
    color: #332c24;
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #cf8d27;
    box-shadow: 0 0 0 4px rgba(207, 141, 39, 0.18);
}

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

.btn {
    width: 100%;
    margin-top: 18px;
    border: none;
    border-radius: 999px;
    padding: 13px 18px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #21180d;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
    box-shadow: 0 8px 18px rgba(217, 137, 26, 0.27);
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.75;
    cursor: wait;
}

.error,
.success {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.92rem;
    display: none;
}

.error {
    color: #8b1029;
    background: #fff0f3;
    border: 1px solid #efc5cf;
}

.success {
    color: #1f5638;
    background: #edf8f1;
    border: 1px solid #c2e0cb;
}

/* Footer */
footer {
    margin-top: 56px;
    padding: 28px 20px;
    text-align: center;
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #f1ece0;
    font-size: 0.95rem;
}

/* Motion + responsive */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-box,
.card,
.panel,
.we-do,
.goal-box {
    animation: fade-up 550ms ease;
}

@media (max-width: 980px) {
    .features,
    .grid,
    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-home {
        padding-top: 76px;
    }
}

@media (max-width: 760px) {
    nav {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }

    .js .nav-toggle {
        display: inline-flex;
    }

    .js .nav-links {
        display: none;
        margin-top: 10px;
        border-top: 1px solid rgba(245, 234, 210, 0.2);
        padding-top: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .js .nav-links.is-open {
        display: flex;
    }

    .js .nav-links a {
        display: block;
    }

    .hero-home,
    .hero-compact {
        padding: 60px 20px 54px;
    }

    .section,
    .wrap {
        padding: 52px 20px;
    }

    .features,
    .grid,
    .hero-metrics {
        grid-template-columns: 1fr;
    }
}
