@font-face {
    font-family: 'Courgette';
    src: url('/assets/fonts/courgette/Courgette-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Art Nuvo';
    src: url('/assets/fonts/art-nuvo/Art-Nuvo-400.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #2b2b28;
    --paper: #f4f4f9;
    --accent: #333;
    --accent-dark: #222;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.6;
}

header {
    background-color: var(--accent);
    color: #fff;
    text-align: center;
    padding: 1em 0 0.5em;
}

header h1 {
    font-family: 'Courgette', cursive;
    font-weight: normal;
    font-size: 2.5rem;
    margin: 0.3em 0 0;
}

.logo {
    width: min(60vw, 320px);
    height: auto;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #444;
    gap: 0.5em;
    padding: 0.3em 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
}

nav a:hover {
    text-decoration: underline;
}

nav details {
    position: relative;
}

nav summary {
    color: #fff;
    font-size: 18px;
    margin: 0 15px;
    cursor: pointer;
    list-style: none;
}

nav summary::-webkit-details-marker {
    display: none;
}

nav details ul {
    list-style: none;
    margin: 0;
    padding: 0.5em 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #444;
    min-width: 220px;
    z-index: 10;
}

nav details li {
    padding: 0.3em 1em;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding: 2em 0;
}

h1, h2, h3 {
    color: var(--accent-dark);
}

footer {
    background-color: var(--accent);
    color: #fff;
    text-align: center;
    padding: 1em 0;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5em;
    padding: 0;
    list-style: none;
}

.section-grid a {
    display: block;
    background: #fff;
    border-radius: 8px;
    padding: 1.5em 1em;
    text-align: center;
    text-decoration: none;
    color: var(--accent-dark);
    font-size: 1.1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.15s ease;
}

.section-grid a:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.item-card {
    background: #fff;
    border-radius: 8px;
    padding: 1em 1.2em;
    margin-bottom: 1em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.item-card img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.item-card summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 1.15rem;
}

.item-price {
    color: var(--accent-dark);
    font-weight: bold;
}
