:root {
    /* Colors */
    --color-white: hsl(0, 0%, 100%);
    --color-stone-100: hsl(30, 54%, 90%);
    --color-stone-150: hsl(30, 18%, 87%);
    --color-stone-600: hsl(30, 10%, 34%);
    --color-stone-900: hsl(24, 5%, 18%);
    --color-brown-800: hsl(14, 45%, 36%);
    --color-rose-800: hsl(332, 51%, 32%);
    --color-rose-50: hsl(330, 100%, 98%);

    /* Typography */
    --font-heading: 'Young Serif', serif;
    --font-body: 'Outfit', sans-serif;
    --font-size-base: 16px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-stone-100);
    color: var(--color-stone-600);
    line-height: 1.5;
    font-size: var(--font-size-base);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
}

.recipe-card {
    background-color: var(--color-white);
    border-radius: 0;
    max-width: 736px;
    width: 100%;
    overflow: hidden;
}

.recipe-image {
    width: 100%;
}

.recipe-image img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
    border-radius: 0;
}

.recipe-content {
    padding: 2rem;
}

h1 {
    font-family: var(--font-heading);
    color: var(--color-stone-900);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-family: var(--font-heading);
    color: var(--color-brown-800);
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
}

.recipe-description {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.preparation-time {
    background-color: var(--color-rose-50);
    padding: 1.5rem;
    border-radius: 10px;
}

.preparation-time h2 {
    color: var(--color-rose-800);
    margin-top: 0;
}

.preparation-time ul {
    list-style: none;
}

.preparation-time li {
    margin-bottom: 0.5rem;
}

.preparation-time span {
    font-weight: 600;
}

.ingredients ul,
.instructions ol {
    padding-left: 1.25rem;
    margin-bottom: 2rem;
}

.ingredients li,
.instructions li {
    margin-bottom: 0.75rem;
}

.instructions li strong {
    color: var(--color-stone-600);
}

.nutrition-note {
    margin-bottom: 1rem;
    color: var(--color-stone-600);
}

.nutrition-table {
    width: 100%;
    padding: 0;
    border-radius: 10px;
}

.nutrition-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--color-stone-150);
}

.nutrition-row span:first-child {
    color: var(--color-stone-600);
}

.nutrition-value {
    font-weight: 600;
    color: var(--color-brown-800);
}

.nutrition-row:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    body {
        padding: 4rem 2rem;
    }

    .recipe-card {
        border-radius: 20px;
    }

    .recipe-image {
        padding: 2rem 2rem 0;
    }

    .recipe-image img {
        border-radius: 20px;
    }

    .recipe-content {
        padding: 2rem 3rem 3rem;
    }

    h1 {
        font-size: 3rem;
    }

    .recipe-description {
        font-size: 1.125rem;
    }

    .ingredients {
        margin-top: 2rem;
    }

    .nutrition-table {
        max-width: 100%;
    }
} 