:root {
    --primary-color: #FF9800;
    --secondary-color: #F44336;
    --text-color: #333;
    --bg-color: #FFF8E1;
    --card-bg: #FFFFFF;
    --shadow: 0 10px 20px rgba(0,0,0,0.1);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Hero --- */
header {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://pixabay.com/get/g52e44f603a50a890b6bec4428a85af7d1e6d53d3b9595720962581779ea4ffdf96b2e9aa047fbaa3d8aa53b535e618b62bc533b547cc84aec98aac2f3501b8c6_640.jpg') center/cover no-repeat;
    color: white;
    padding: 6em 0;
    text-align: center;
}

header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

header p {
    font-size: 1.2em;
    margin-top: 0.5em;
}

/* --- Navigation --- */
nav {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1em 1.5em;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #E68900;
}

/* --- Main Content --- */
main {
    padding: 3em 0;
}

section {
    background-color: var(--card-bg);
    margin-bottom: 3em;
    padding: 2.5em;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

section:hover {
    transform: translateY(-5px);
}

.recipe-detail {
    background-color: var(--card-bg);
    margin-bottom: 3em;
    padding: 2.5em;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.recipe-detail header {
    text-align: center;
    margin-bottom: 2em;
}

h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary-color);
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 1em;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0.3em auto 0;
}

/* --- Gallery --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* --- Recipe --- */
.recipe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
}

.recipe-grid h3 {
    color: var(--primary-color);
    grid-column: 1 / -1;
    text-align: center;
}

.recipe-grid ul {
    list-style: none;
    padding: 0;
}

.recipe-grid li {
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FF9800"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 0.8em;
}

.instructions ol {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
}

.instructions li {
    counter-increment: step-counter;
    margin-bottom: 1.5em;
    position: relative;
    padding-left: 45px;
}

.instructions li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.back-link {
    display: inline-block;
    margin-top: 2em;
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary-color);
}

/* --- Shops --- */
.shop-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.shop-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.5em;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s, transform 0.3s;
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.shop-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* --- Footer --- */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2em 0;
    margin-top: 3em;
}

/* --- Responsive tweaks --- */
@media (max-width: 600px) {
    header h1 {
        font-size: 2em;
    }

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

    nav ul {
        flex-direction: column;
    }
}
