/*
   Delicia Eiscafe Website
   Mobile-first Flask template with a warm, classic café look.
*/
:root {
    --cream: #fff8ed;
    --paper: #fffdf7;
    --vanilla: #f7dfad;
    --caramel: #b77938;
    --coffee: #4c2d1e;
    --chocolate: #2f1d16;
    --berry: #8b2d3e;
    --mint: #355f49;
    --muted: #715f52;
    --line: #ead8bd;
    --shadow: 0 18px 45px rgba(76, 45, 30, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--chocolate);
    background: var(--cream);
    line-height: 1.55;
    padding-bottom: 78px;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    padding: .7rem 1rem;
    background: var(--coffee);
    color: #fff;
    z-index: 20;
}
.skip-link:focus { left: 0; }

.site-header {
    background: var(--paper);
    border-bottom: 2px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 6px 22px rgba(47, 29, 22, .08);
}

.top-ribbon {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .45rem .85rem;
    font-size: .92rem;
    color: #fff;
    background: var(--coffee);
}

.top-ribbon a { text-decoration: none; font-weight: 700; }

.navbar {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    padding: .75rem .9rem;
    max-width: 1180px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--coffee), var(--caramel));
    font-size: 1.55rem;
    font-weight: 700;
    border: 2px solid var(--vanilla);
}

.brand strong {
    display: block;
    font-size: 1.1rem;
    letter-spacing: .02em;
}

.brand em {
    display: block;
    font-size: .82rem;
    color: var(--muted);
    font-style: normal;
}

.menu-toggle {
    border: 1px solid var(--coffee);
    background: #fff;
    color: var(--coffee);
    border-radius: 999px;
    padding: .65rem .95rem;
    font-family: inherit;
    font-weight: 700;
}

.nav-links {
    display: none;
    position: absolute;
    left: .9rem;
    right: .9rem;
    top: calc(100% - .3rem);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.nav-links.is-open { display: block; }

.nav-links a {
    display: block;
    padding: 1rem 1.1rem;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
}
.nav-links a:last-child { border-bottom: 0; }
.nav-links a:hover { background: #fff5df; }

.hero, .page-hero, .section, .site-footer {
    width: min(1120px, calc(100% - 1.4rem));
    margin-inline: auto;
}

.hero {
    padding: 1.2rem 0 1.6rem;
    display: grid;
    gap: 1.2rem;
}

.hero-copy, .page-hero {
    background: linear-gradient(180deg, #fffdf7 0%, #fff1d4 100%);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.1rem;
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 .4rem;
    color: var(--berry);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    font-weight: 700;
    font-family: Arial, sans-serif;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
    font-size: clamp(2.35rem, 11vw, 4.6rem);
    line-height: .95;
    margin-bottom: .8rem;
    color: var(--coffee);
}

h2 {
    font-size: clamp(1.65rem, 6vw, 2.45rem);
    line-height: 1.08;
    color: var(--coffee);
    margin-bottom: .8rem;
}

h3 {
    color: var(--coffee);
    font-size: 1.2rem;
    margin-bottom: .35rem;
}

.lead {
    font-size: 1.12rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.hero-actions, .contact-card .btn {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: .85rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid transparent;
    font-family: Arial, sans-serif;
}

.btn-primary {
    background: var(--berry);
    color: #fff;
    box-shadow: 0 10px 20px rgba(139, 45, 62, .22);
}

.btn-secondary {
    background: #fff;
    border-color: var(--caramel);
    color: var(--coffee);
}

.quick-facts {
    margin: 1rem 0 0;
    display: grid;
    gap: .7rem;
}
.quick-facts div {
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .75rem;
}
.quick-facts dt {
    color: var(--berry);
    font-family: Arial, sans-serif;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
}
.quick-facts dd { margin: .15rem 0 0; }

.hero-image {
    margin: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
figcaption {
    padding: .75rem .9rem;
    color: var(--muted);
    font-size: .95rem;
}

.section { padding: 1.7rem 0; }

.cream-section {
    background: #fffdf7;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.1rem;
    box-shadow: var(--shadow);
}

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

.special-grid, .review-grid, .gallery-grid, .contact-grid, .menu-section {
    display: grid;
    gap: 1rem;
}

.special-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}
.special-card img {
    width: 100%;
    aspect-ratio: 1.15 / 1;
    object-fit: cover;
}
.special-card div { padding: .95rem; }
.special-card p { color: var(--muted); margin-bottom: 0; }

.split-section {
    display: grid;
    gap: 1rem;
}
.menu-preview, .notice-card, .menu-card, .contact-card, blockquote {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1rem;
    box-shadow: 0 10px 28px rgba(76, 45, 30, .08);
}

.notice-card {
    background: linear-gradient(145deg, var(--coffee), #6e3a28);
    color: #fffdf7;
}
.notice-card h2 { color: #fff; }
.notice-card .btn-primary { background: var(--vanilla); color: var(--coffee); }

.menu-list { display: grid; gap: .45rem; }
.menu-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .7rem;
    align-items: end;
    padding: .45rem 0;
    border-bottom: 1px dotted #c7a37a;
}
.menu-row span { min-width: 0; }
.menu-row small {
    display: block;
    color: var(--muted);
    font-size: .9rem;
    margin-top: .1rem;
}
.menu-row b { color: var(--berry); white-space: nowrap; }

.text-link {
    display: inline-block;
    margin-top: .9rem;
    color: var(--berry);
    font-weight: 800;
}

.reviews-section blockquote { margin: 0; }
.reviews-section p { font-size: 1.05rem; }
.reviews-section footer { color: var(--muted); font-weight: 700; }

.small-hero {
    margin-top: 1rem;
    padding: 1.2rem;
}
.small-hero h1 { font-size: clamp(2rem, 9vw, 3.5rem); }
.small-hero p { color: var(--muted); }

.menu-card h2 { border-bottom: 2px solid var(--vanilla); padding-bottom: .45rem; }
.featured-menu { background: #fff7e8; }
.extra-note {
    margin: .9rem 0 0;
    color: var(--muted);
    font-size: .95rem;
}
.classic-list p {
    background: #fff9ec;
    padding: .75rem;
    border-radius: 14px;
    border: 1px solid var(--line);
}
.classic-list p:last-child { margin-bottom: 0; }

.gallery-item {
    margin: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(76, 45, 30, .08);
}
.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / .9;
    object-fit: cover;
}

.contact-hero { margin-top: 1rem; }
.contact-card p { color: var(--muted); }
.check-list {
    padding-left: 1.2rem;
    margin: 0;
}
.check-list li { margin-bottom: .45rem; }
.map-placeholder {
    min-height: 240px;
    display: grid;
    place-items: center;
    text-align: center;
    border: 1px dashed var(--caramel);
    background:
      radial-gradient(circle at 25% 30%, rgba(247, 223, 173, .8), transparent 30%),
      linear-gradient(145deg, #fffdf7, #fff0d0);
    border-radius: 24px;
    padding: 1.2rem;
}

.site-footer {
    margin-top: 1rem;
    padding: 1.4rem 0 6rem;
    color: #fffdf7;
    background: var(--coffee);
    width: 100%;
    display: grid;
    gap: .8rem;
    justify-items: start;
    padding-inline: 1rem;
}
.site-footer a { color: #fff; }
.footer-note { color: var(--vanilla); }

.mobile-action-bar {
    position: fixed;
    left: .7rem;
    right: .7rem;
    bottom: .7rem;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .4rem;
    background: rgba(47, 29, 22, .92);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    padding: .45rem;
    box-shadow: 0 12px 35px rgba(0,0,0,.24);
}
.mobile-action-bar a {
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    font-family: Arial, sans-serif;
    background: rgba(255,255,255,.11);
    border-radius: 13px;
    padding: .75rem .3rem;
    font-size: .9rem;
}
.mobile-action-bar a:first-child { background: var(--berry); }

@media (min-width: 620px) {
    body { padding-bottom: 0; }
    .hero-actions { flex-direction: row; }
    .special-grid, .review-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .menu-section { grid-template-columns: repeat(2, 1fr); align-items: start; }
    .mobile-action-bar { display: none; }
    .site-footer { padding: 1.8rem calc((100% - 1120px)/2); padding-inline: max(1rem, calc((100% - 1120px)/2)); grid-template-columns: 1fr auto; }
}

@media (min-width: 900px) {
    .top-ribbon { padding-inline: max(1rem, calc((100% - 1120px)/2)); }
    .menu-toggle { display: none; }
    .nav-links {
        display: flex;
        position: static;
        border: 0;
        box-shadow: none;
        background: transparent;
        border-radius: 0;
        width: auto;
    }
    .nav-links a {
        border: 0;
        padding: .7rem .85rem;
        border-radius: 999px;
    }
    .hero { grid-template-columns: 1.02fr .98fr; align-items: center; padding-top: 2.2rem; }
    .hero-copy { padding: 2rem; }
    .quick-facts { grid-template-columns: repeat(3, 1fr); }
    .cream-section { padding: 1.5rem; }
    .special-grid { grid-template-columns: repeat(4, 1fr); }
    .split-section { grid-template-columns: .95fr 1.05fr; align-items: stretch; }
    .review-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
