.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.hero--overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0) 30%
    );
    pointer-events: none;
}

.hero--content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

h1 {
    font-size: clamp(1.75rem, 5vw + 1rem, 3.25rem);
    color: white;
    font-weight: 500;
    font-family: var(--font-serif);
    line-height: 1.2;
}

h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent-color-light);
}

.save-recipe {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 500px;
}

.save-recipe input[type="text"] {
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
    padding: 13px 15px;
    border-radius: 3px;
    border: 1px solid #ccc;
    outline: none;
    color: var(--ink);
    background: var(--background-color);
    font-family: var(--font-sans);
    box-sizing: border-box;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.save-recipe input[type="submit"] {
    height: 100%;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
    .save-recipe {
        flex-direction: column;
        align-items: stretch;
    }

    .save-recipe input[type="submit"] {
        height: auto;
    }
}

.about {
    background: white;
    padding: 5rem 2.5rem;
}

.about--inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.about--image {
    flex: 1 1 320px;
}

.about--image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.about--content {
    flex: 1 1 320px;
}

.about--content h2 {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw + 1rem, 2.25rem);
    color: var(--accent-color-dark);
    margin: 0 0 1rem;
}

.about--content p {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

@media (max-width: 480px) {
    .about {
        padding: 3rem 1.5rem;
    }
}

.how-it-works {
    background: var(--background-color);
    padding: 5rem 2.5rem;
}

.how-it-works--inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.how-it-works h2 {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw + 1rem, 2.25rem);
    color: var(--accent-color-dark);
    margin: 0 0 3rem;
}

.how-it-works--steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: left;
}

.step--number {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.step h3 {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--accent-color-dark);
    margin: 0 0 0.5rem;
}

.step p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

@media (max-width: 768px) {
    .how-it-works--steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .how-it-works {
        padding: 3rem 1.5rem;
    }
}
