/* =========================================
   ROOT
========================================= */

:root {

    --orange: #f5a623;
    --orange-dark: #e88e0a;
    --orange-light: #fff3df;

    --black: #171717;
    --dark: #202020;

    --text: #242424;
    --muted: #777;

    --white: #ffffff;
    --cream: #fcfaf6;
    --line: #eae7e1;

    --radius: 22px;

    --container: 1440px;

}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "DM Sans", sans-serif;
    background: var(--cream);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}


img {
    display: block;
    width: 100%;
}


button,
input {
    font: inherit;
}


button {
    border: 0;
    cursor: pointer;
}


a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   HEADER
========================================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
}


.header-inner {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: auto;

    height: 92px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1px;
}


.logo span {
    color: var(--orange-dark);
}


.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}


.nav a {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    transition: .25s ease;
}


.nav a:hover,
.nav a.active {
    color: var(--black);
}


.nav a.active::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -9px;

    width: 5px;
    height: 5px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: var(--orange);
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


.icon-btn,
.profile-btn,
.menu-btn {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(255,255,255,.8);

    color: var(--black);

    transition: .25s ease;
}


.icon-btn:hover,
.profile-btn:hover {
    background: var(--black);
    color: white;
}


.menu-btn {
    display: none;
}


/* =========================================
   MOBILE MENU
========================================= */

.mobile-menu {
    position: fixed;

    inset: 0;

    z-index: 100;

    background: var(--white);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 25px;

    transform: translateX(100%);

    transition: .35s ease;
}


.mobile-menu.show {
    transform: translateX(0);
}


.mobile-menu a {
    font-size: 25px;
    font-weight: 700;
}


.mobile-close {
    position: absolute;

    top: 25px;
    right: 25px;

    width: 44px;
    height: 44px;

    border-radius: 50%;

    background: var(--orange-light);

    font-size: 20px;
}


/* =========================================
   SEARCH OVERLAY
========================================= */

.search-overlay {
    position: fixed;

    inset: 0;

    z-index: 200;

    background: rgba(20,20,20,.75);

    backdrop-filter: blur(10px);

    display: grid;
    place-items: center;

    opacity: 0;
    visibility: hidden;

    transition: .3s ease;
}


.search-overlay.show {
    opacity: 1;
    visibility: visible;
}


.search-close {
    position: absolute;

    top: 35px;
    right: 45px;

    width: 50px;
    height: 50px;

    border-radius: 50%;

    background: white;

    font-size: 20px;
}


.search-box {
    width: min(700px, calc(100% - 40px));
    color: white;
}


.search-box > span {
    display: block;

    margin-bottom: 15px;

    font-size: 18px;
}


.search-input-wrap {
    position: relative;
}


.search-input-wrap i {
    position: absolute;

    left: 25px;
    top: 50%;

    transform: translateY(-50%);

    color: #777;

    font-size: 20px;
}


.search-input-wrap input {
    width: 100%;

    height: 72px;

    border: 0;

    border-radius: 18px;

    padding: 0 25px 0 65px;

    outline: none;

    font-size: 20px;
}


.search-box p {
    margin-top: 12px;

    color: #ddd;

    font-size: 13px;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    min-height: 760px;

    padding: 145px 0 80px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 86% 42%,
            rgba(245,166,35,.16),
            transparent 28%
        );
}


.hero::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    background: var(--orange-light);

    top: -300px;
    right: -250px;

    z-index: -1;
}


.hero-content {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(380px, .9fr)
        minmax(520px, 1.1fr);

    align-items: center;

    gap: 40px;
}


.hero-copy {
    position: relative;

    z-index: 2;
}


.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 18px;

    color: var(--orange-dark);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


.eyebrow span {
    width: 24px;
    height: 2px;

    background: var(--orange);

    display: block;
}


.hero h1 {
    max-width: 590px;

    font-family: "Playfair Display", serif;

    font-size: clamp(
        54px,
        6vw,
        88px
    );

    line-height: .98;

    letter-spacing: -3px;

    margin-bottom: 25px;
}


.hero h1 span,
.section-heading h2 span,
.chef-content h2 span,
.popular-content h2 span,
.newsletter h2 span {
    color: var(--orange-dark);
}


.hero-copy > p {
    max-width: 520px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 32px;
}


.hero-buttons {
    display: flex;
    align-items: center;

    gap: 25px;

    flex-wrap: wrap;
}


.btn {
    min-height: 54px;

    padding: 0 23px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    border-radius: 12px;

    font-size: 13px;

    font-weight: 700;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


.btn:hover {
    transform: translateY(-3px);
}


.btn-dark {
    background: var(--black);
    color: white;

    box-shadow:
        0 12px 25px rgba(0,0,0,.12);
}


.btn-dark:hover {
    background: var(--orange-dark);
}


.btn-outline {
    background: white;

    border: 1px solid var(--line);
}


.play-btn {
    display: flex;
    align-items: center;

    gap: 11px;

    background: transparent;

    font-weight: 600;

    font-size: 13px;
}


.play-btn span {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    background: var(--orange-light);

    color: var(--orange-dark);
}


.hero-meta {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 45px;
}


.avatars {
    display: flex;
}


.avatar {
    width: 37px;
    height: 37px;

    overflow: hidden;

    border: 3px solid var(--cream);

    border-radius: 50%;

    margin-left: -8px;
}


.avatar:first-child {
    margin-left: 0;
}


.avatar img {
    height: 100%;
    object-fit: cover;
}


.hero-meta strong {
    display: block;

    font-size: 13px;
}


.hero-meta span {
    display: block;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================
   HERO VISUAL
========================================= */

.hero-visual {
    position: relative;

    min-height: 570px;

    display: flex;

    align-items: center;
    justify-content: center;
}


.hero-image {
    position: relative;

    width: min(590px, 100%);

    height: 550px;

    overflow: hidden;

    border-radius: 38px;

    transform: rotate(2deg);

    box-shadow:
        0 35px 70px rgba(0,0,0,.15);
}


.hero-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(0,0,0,.12)
        );
}


.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.orange-circle {
    position: absolute;

    width: 130px;
    height: 130px;

    right: 5%;
    bottom: 1%;

    border-radius: 50%;

    background: var(--orange);

    z-index: -1;
}


.floating-rating {
    position: absolute;

    left: -10px;
    top: 95px;

    padding: 14px 17px;

    background: white;

    border-radius: 15px;

    display: flex;

    align-items: center;

    gap: 10px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.12);

    z-index: 4;
}


.rating-icon {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: #fff0cc;

    color: var(--orange-dark);
}


.floating-rating strong {
    display: block;

    font-size: 13px;
}


.floating-rating span {
    display: block;

    font-size: 9px;

    color: #888;
}


.floating-recipe {
    position: absolute;

    right: -5px;
    bottom: 80px;

    width: 245px;

    padding: 10px;

    border-radius: 15px;

    background: white;

    display: flex;

    gap: 11px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.13);

    z-index: 5;
}


.mini-image {
    width: 65px;
    height: 65px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 11px;
}


.mini-image img {
    height: 100%;

    object-fit: cover;
}


.floating-recipe small {
    display: block;

    color: var(--orange-dark);

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;
}


.floating-recipe strong {
    display: block;

    margin: 2px 0;

    font-size: 12px;
}


.floating-recipe span {
    display: block;

    color: #888;

    font-size: 10px;
}


/* =========================================
   FEATURES
========================================= */

.features {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: 0 auto;

    padding: 25px 0 60px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-bottom: 1px solid var(--line);

    gap: 20px;
}


.feature {
    display: flex;

    align-items: center;

    gap: 13px;

    padding-right: 20px;

    border-right: 1px solid var(--line);
}


.feature:last-child {
    border-right: 0;
}


.feature-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--orange-light);

    color: var(--orange-dark);

    font-size: 17px;
}


.feature h3 {
    font-size: 13px;

    margin-bottom: 2px;
}


.feature p {
    color: var(--muted);

    font-size: 10px;
}


/* =========================================
   GENERAL SECTION
========================================= */

.section {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: auto;

    padding-top: 110px;
}


.section-heading {
    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 40px;
}


.section-heading h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 4vw, 56px);

    line-height: 1.05;

    letter-spacing: -1.5px;
}


.text-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    font-size: 12px;

    font-weight: 700;

    border-bottom: 1px solid #aaa;

    padding-bottom: 5px;
}


/* =========================================
   CATEGORY GRID
========================================= */

.category-grid {
    display: grid;

    grid-template-columns:
        1.35fr
        1fr
        1fr;

    grid-template-rows:
        270px
        270px;

    gap: 18px;
}


.category-card {
    position: relative;

    overflow: hidden;

    border-radius: 22px;
}


.category-card.category-large {
    grid-row: span 2;
}


.category-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .6s ease;
}


.category-card:hover img {
    transform: scale(1.07);
}


.category-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 35%,
            rgba(0,0,0,.7)
        );
}


.category-content {
    position: absolute;

    left: 24px;
    right: 24px;
    bottom: 23px;

    color: white;
}


.category-content span {
    font-size: 10px;

    opacity: .75;
}


.category-content h3 {
    font-family: "Playfair Display", serif;

    font-size: 25px;

    margin: 2px 0 7px;
}


.category-content a {
    font-size: 11px;

    display: inline-flex;

    gap: 7px;

    align-items: center;

    opacity: .9;
}


/* =========================================
   FILTERS
========================================= */

.recipe-filters {
    display: flex;

    gap: 7px;

    flex-wrap: wrap;
}


.filter {
    padding: 9px 15px;

    border-radius: 30px;

    background: white;

    border: 1px solid var(--line);

    font-size: 11px;

    color: #666;

    transition: .25s ease;
}


.filter.active,
.filter:hover {
    background: var(--black);

    color: white;

    border-color: var(--black);
}


/* =========================================
   RECIPE GRID
========================================= */

.recipe-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


.recipe-card {
    background: white;

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid #eee;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.recipe-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 25px 50px rgba(0,0,0,.09);
}


.recipe-card.hidden {
    display: none;
}


.recipe-image {
    position: relative;

    height: 270px;

    overflow: hidden;
}


.recipe-image img {
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}


.recipe-card:hover .recipe-image img {
    transform: scale(1.05);
}


.favorite {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 37px;
    height: 37px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: white;

    color: #333;

    box-shadow:
        0 7px 18px rgba(0,0,0,.12);
}


.favorite.liked {
    background: var(--orange);

    color: white;
}


.recipe-tag {
    position: absolute;

    bottom: 14px;
    left: 14px;

    padding: 6px 10px;

    border-radius: 7px;

    background: white;

    font-size: 9px;

    font-weight: 800;
}


.recipe-body {
    padding: 19px;
}


.recipe-rating {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 6px;
}


.recipe-rating span {
    color: var(--orange);

    font-size: 11px;

    letter-spacing: 1px;
}


.recipe-rating small {
    color: #777;

    font-size: 10px;
}


.recipe-body h3 {
    font-family: "Playfair Display", serif;

    font-size: 21px;

    line-height: 1.2;

    margin-bottom: 7px;
}


.recipe-body p {
    color: var(--muted);

    font-size: 11px;

    line-height: 1.6;

    margin-bottom: 17px;
}


.recipe-footer {
    display: flex;

    justify-content: space-between;

    padding-top: 13px;

    border-top: 1px solid var(--line);

    color: #777;

    font-size: 10px;
}


.recipe-footer span {
    display: flex;

    gap: 5px;

    align-items: center;
}


.recipe-footer i {
    color: var(--orange-dark);
}


.center-btn {
    display: flex;

    justify-content: center;

    margin-top: 45px;
}


/* =========================================
   CHEF SECTION
========================================= */

.chef-section {
    margin-top: 130px;

    background: var(--orange-light);

    overflow: hidden;
}


.chef-inner {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: auto;

    padding: 100px 0;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 100px;

    align-items: center;
}


.chef-images {
    position: relative;

    min-height: 580px;
}


.chef-main-image {
    position: absolute;

    left: 0;
    top: 0;

    width: 72%;
    height: 500px;

    overflow: hidden;

    border-radius: 30px;
}


.chef-main-image img {
    height: 100%;

    object-fit: cover;
}


.chef-small-image {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 48%;
    height: 250px;

    overflow: hidden;

    border: 12px solid var(--orange-light);

    border-radius: 30px;
}


.chef-small-image img {
    height: 100%;

    object-fit: cover;
}


.experience-badge {
    position: absolute;

    left: 25px;
    bottom: 45px;

    width: 105px;
    height: 105px;

    border-radius: 50%;

    background: var(--black);

    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    text-align: center;
}


.experience-badge strong {
    color: var(--orange);

    font-family: "Playfair Display", serif;

    font-size: 31px;

    line-height: 1;
}


.experience-badge span {
    font-size: 9px;

    line-height: 1.3;
}


.chef-content h2 {
    max-width: 580px;

    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 4vw, 62px);

    line-height: 1.03;

    letter-spacing: -2px;

    margin-bottom: 23px;
}


.chef-content > p {
    max-width: 530px;

    color: #6e655a;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 35px;
}


.chef-points {
    margin-bottom: 35px;
}


.chef-points > div {
    display: flex;

    gap: 17px;

    padding: 15px 0;

    border-bottom: 1px solid rgba(0,0,0,.08);
}


.chef-points > div > span {
    color: var(--orange-dark);

    font-size: 11px;

    font-weight: 800;

    padding-top: 3px;
}


.chef-points h3 {
    font-size: 13px;

    margin-bottom: 2px;
}


.chef-points p {
    color: #81776b;

    font-size: 10px;
}


/* =========================================
   POPULAR
========================================= */

.popular {
    padding-bottom: 110px;
}


.popular-card {
    background: white;

    border-radius: 30px;

    overflow: hidden;

    display: grid;

    grid-template-columns: 1fr 1fr;

    border: 1px solid var(--line);
}


.popular-image {
    min-height: 500px;
}


.popular-image img {
    height: 100%;

    object-fit: cover;
}


.popular-content {
    padding: 65px;

    display: flex;

    justify-content: center;

    flex-direction: column;
}


.popular-content h2 {
    max-width: 470px;

    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 4vw, 61px);

    line-height: 1.02;

    letter-spacing: -2px;

    margin-bottom: 20px;
}


.popular-content > p {
    max-width: 490px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.8;

    margin-bottom: 30px;
}


.popular-info {
    display: flex;

    gap: 28px;

    margin-bottom: 32px;
}


.popular-info > div {
    display: flex;

    gap: 9px;

    align-items: center;
}


.popular-info i {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--orange-light);

    color: var(--orange-dark);
}


.popular-info span {
    display: flex;

    flex-direction: column;

    font-size: 9px;

    color: #888;
}


.popular-info strong {
    color: var(--black);

    font-size: 10px;
}


/* =========================================
   NEWSLETTER
========================================= */

.newsletter {
    padding-bottom: 110px;
}


.newsletter-inner {
    position: relative;

    overflow: hidden;

    padding: 65px 70px;

    border-radius: 30px;

    background: var(--black);

    color: white;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}


.newsletter-inner::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: var(--orange);

    right: -110px;
    bottom: -180px;

    opacity: .9;
}


.newsletter-copy {
    position: relative;

    z-index: 2;
}


.newsletter .eyebrow {
    color: var(--orange);
}


.newsletter h2 {
    max-width: 550px;

    font-family: "Playfair Display", serif;

    font-size: clamp(35px, 4vw, 50px);

    line-height: 1.05;

    margin-bottom: 14px;
}


.newsletter p {
    color: #aaa;

    max-width: 480px;

    font-size: 12px;
}


.newsletter-form {
    position: relative;

    z-index: 3;

    min-width: 390px;

    display: flex;

    padding: 6px;

    border-radius: 13px;

    background: white;
}


.newsletter-form input {
    width: 100%;

    min-width: 0;

    border: 0;

    outline: 0;

    padding: 0 15px;

    color: var(--black);

    font-size: 12px;
}


.newsletter-form button {
    flex-shrink: 0;

    min-height: 45px;

    padding: 0 17px;

    border-radius: 9px;

    background: var(--orange);

    color: var(--black);

    font-size: 11px;

    font-weight: 800;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: white;

    border-top: 1px solid var(--line);
}


.footer-top {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: auto;

    padding: 75px 0 55px;

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap: 50px;
}


.footer-brand p {
    max-width: 290px;

    margin: 17px 0 20px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.8;
}


.socials {
    display: flex;

    gap: 8px;
}


.socials a {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--orange-light);

    color: var(--black);

    font-size: 12px;

    transition: .25s ease;
}


.socials a:hover {
    background: var(--orange);

    transform: translateY(-3px);
}


.footer-column {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.footer-column h3 {
    font-size: 13px;

    margin-bottom: 8px;
}


.footer-column a {
    width: fit-content;

    color: #777;

    font-size: 11px;

    transition: .2s ease;
}


.footer-column a:hover {
    color: var(--orange-dark);

    transform: translateX(3px);
}


.footer-bottom {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: auto;

    padding: 20px 0;

    border-top: 1px solid var(--line);

    display: flex;

    justify-content: space-between;

    color: #999;

    font-size: 9px;
}


.footer-bottom i {
    color: var(--orange);
}


/* =========================================
   MODAL
========================================= */

.recipe-modal {
    position: fixed;

    inset: 0;

    z-index: 300;

    background: rgba(0,0,0,.72);

    backdrop-filter: blur(8px);

    display: grid;
    place-items: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;

    transition: .3s ease;
}


.recipe-modal.show {
    opacity: 1;
    visibility: visible;
}


.modal-card {
    width: min(850px, 100%);

    max-height: 90vh;

    overflow: auto;

    background: white;

    border-radius: 25px;

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    position: relative;
}


.modal-close {
    position: absolute;

    right: 15px;
    top: 15px;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    background: white;

    z-index: 3;

    box-shadow:
        0 5px 20px rgba(0,0,0,.12);
}


.modal-image {
    min-height: 480px;
}


.modal-image img {
    height: 100%;

    object-fit: cover;
}


.modal-content {
    padding: 45px;
}


.modal-content h2 {
    font-family: "Playfair Display", serif;

    font-size: 38px;

    line-height: 1.05;

    margin-bottom: 15px;
}


.modal-content > p {
    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;

    margin-bottom: 25px;
}


.ingredients h3 {
    font-size: 15px;

    margin-bottom: 10px;
}


.ingredients ul {
    list-style: none;

    margin-bottom: 25px;
}


.ingredients li {
    padding: 7px 0;

    border-bottom: 1px solid var(--line);

    color: #666;

    font-size: 11px;
}


.ingredients li::before {
    content: "✓";

    color: var(--orange-dark);

    font-weight: 800;

    margin-right: 8px;
}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.hero-copy > * {
    animation: fadeUp .7s ease both;
}


.hero-copy .eyebrow {
    animation-delay: .1s;
}


.hero-copy h1 {
    animation-delay: .2s;
}


.hero-copy > p {
    animation-delay: .3s;
}


.hero-buttons {
    animation-delay: .4s;
}


.hero-meta {
    animation-delay: .5s;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1150px) {

    .header-inner,
    .hero-content,
    .features,
    .section,
    .chef-inner,
    .footer-top,
    .footer-bottom {
        width: min(
            calc(100% - 50px),
            var(--container)
        );
    }


    .hero-content {
        grid-template-columns:
            1fr
            1fr;
    }


    .hero h1 {
        font-size: 60px;
    }


    .hero-visual {
        min-height: 480px;
    }


    .hero-image {
        height: 470px;
    }


    .category-grid {
        grid-template-columns:
            1fr 1fr;

        grid-template-rows:
            300px
            300px;
    }


    .category-card.category-large {
        grid-column: span 2;
        grid-row: auto;
    }


    .recipe-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .chef-inner {
        gap: 55px;
    }


    .newsletter-inner {
        padding: 55px 45px;
    }

}


@media (max-width: 850px) {

    .header-inner {
        height: 76px;
    }


    .nav,
    .profile-btn {
        display: none;
    }


    .menu-btn {
        display: grid;
    }


    .hero {
        padding-top: 120px;
    }


    .hero-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .hero-copy {
        max-width: 700px;
    }


    .hero h1 {
        max-width: 700px;

        font-size: clamp(
            50px,
            10vw,
            75px
        );
    }


    .hero-visual {
        max-width: 650px;

        margin: auto;

        width: 100%;
    }


    .features {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 25px;
    }


    .feature {
        border-right: 0;
    }


    .category-grid {
        grid-template-columns:
            1fr 1fr;
    }


    .chef-inner {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .chef-images {
        max-width: 650px;

        width: 100%;

        margin: auto;
    }


    .popular-card {
        grid-template-columns: 1fr;
    }


    .popular-image {
        min-height: 400px;
    }


    .popular-content {
        padding: 50px;
    }


    .newsletter-inner {
        flex-direction: column;

        align-items: flex-start;
    }


    .newsletter-form {
        width: 100%;

        min-width: 0;
    }


    .footer-top {
        grid-template-columns:
            1.5fr
            1fr
            1fr;
    }


    .footer-brand {
        grid-column: span 3;
    }


    .modal-card {
        grid-template-columns: 1fr;
    }


    .modal-image {
        min-height: 280px;

        max-height: 300px;
    }

}


@media (max-width: 600px) {

    body {
        font-size: 14px;
    }


    .header-inner,
    .hero-content,
    .features,
    .section,
    .chef-inner,
    .footer-top,
    .footer-bottom {
        width: calc(100% - 32px);
    }


    .header-inner {
        height: 70px;
    }


    .logo {
        font-size: 20px;
    }


    .hero {
        padding-top: 105px;

        min-height: auto;

        padding-bottom: 50px;
    }


    .hero h1 {
        font-size: 49px;

        letter-spacing: -2px;
    }


    .hero-copy > p {
        font-size: 14px;
    }


    .hero-buttons {
        gap: 15px;
    }


    .btn {
        min-height: 50px;

        padding: 0 18px;
    }


    .hero-meta {
        margin-top: 30px;
    }


    .hero-visual {
        min-height: 370px;
    }


    .hero-image {
        width: 92%;

        height: 350px;

        border-radius: 25px;
    }


    .floating-rating {
        left: 0;

        top: 35px;

        padding: 10px;
    }


    .floating-recipe {
        right: 0;

        bottom: 25px;

        width: 210px;
    }


    .orange-circle {
        width: 80px;
        height: 80px;
    }


    .features {
        grid-template-columns: 1fr;

        padding-bottom: 35px;
    }


    .feature {
        border-bottom: 1px solid var(--line);

        padding-bottom: 15px;
    }


    .feature:last-child {
        border-bottom: 0;
    }


    .section {
        padding-top: 75px;
    }


    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 25px;
    }


    .section-heading h2 {
        font-size: 38px;
    }


    .recipe-filters {
        width: 100%;
    }


    .filter {
        flex: 1;

        padding-left: 10px;
        padding-right: 10px;
    }


    .category-grid {
        grid-template-columns: 1fr;

        grid-template-rows:
            repeat(4, 240px);
    }


    .category-card.category-large {
        grid-column: auto;

        grid-row: auto;
    }


    .recipe-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .recipe-image {
        height: 280px;
    }


    .chef-section {
        margin-top: 80px;
    }


    .chef-inner {
        width: calc(100% - 32px);

        padding: 70px 0;
    }


    .chef-images {
        min-height: 440px;
    }


    .chef-main-image {
        width: 78%;

        height: 380px;
    }


    .chef-small-image {
        width: 50%;

        height: 190px;

        border-width: 8px;
    }


    .experience-badge {
        width: 85px;
        height: 85px;

        left: 10px;

        bottom: 20px;
    }


    .experience-badge strong {
        font-size: 25px;
    }


    .chef-content h2 {
        font-size: 42px;
    }


    .popular {
        padding-bottom: 75px;
    }


    .popular-image {
        min-height: 300px;
    }


    .popular-content {
        padding: 35px 25px;
    }


    .popular-content h2 {
        font-size: 40px;
    }


    .popular-info {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 15px;
    }


    .newsletter {
        padding-bottom: 75px;
    }


    .newsletter-inner {
        padding: 40px 25px;

        border-radius: 22px;
    }


    .newsletter h2 {
        font-size: 36px;
    }


    .newsletter-form {
        flex-direction: column;

        background: transparent;

        padding: 0;

        gap: 8px;
    }


    .newsletter-form input {
        height: 50px;

        border-radius: 10px;
    }


    .newsletter-form button {
        width: 100%;
    }


    .footer-top {
        grid-template-columns:
            1fr 1fr;

        gap: 40px 25px;
    }


    .footer-brand {
        grid-column: span 2;
    }


    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }


    .modal-content {
        padding: 30px 22px;
    }


    .modal-content h2 {
        font-size: 31px;
    }


    .modal-image {
        min-height: 240px;
    }

}


@media (max-width: 390px) {

    .hero h1 {
        font-size: 43px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .play-btn {
        justify-content: center;
    }


    .hero-visual {
        min-height: 330px;
    }


    .hero-image {
        height: 310px;
    }


    .floating-recipe {
        width: 190px;
    }

}