h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

body {
    background: #f5f1e8;
    color: #5b1312;
    font-weight: 400;
    font-family: "Prata", serif;
}
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
}
a {
    color: #5b1312;
    text-decoration: none;
    font-weight: 500;
}
/* Header */
.header {
    padding: 20px 50px;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}
.header__top {
    display: flex;
    justify-content: space-between;
}
.header__logo {
    height: auto;
    display: block;
}

.header__nav {
    margin: 20px 10px;
    flex: 1;
}

.nav__menu {
    list-style: none;
    display: flex;
    gap: 36px;
    padding: 0;
    margin: 0;
}

.nav__link {
    font-size: 16px;
}
.nav__link:hover {
    color: #da0000;
}

.header__search {
    margin-left: 15px;
}

.header__input {
    padding: 12px 284px 12px 10px;
    border-radius: 10px;
    background: #fff url("img/search-icon.svg") no-repeat right 10px center;
    border: none;
}
@media (max-width: 1000px) {
    .header {
        padding: 20px 20px;
    }
    .header__input {
        padding: 12px 90px 12px 10px;
    }
}

@media (max-width: 750px) {
    .header {
        padding: 20px 10px;
    }
    .header__input {
        padding: 12px 50px 12px 10px;
    }
    .nav__menu {
        gap: 15px;
    }
}
@media (max-width: 625px) {
    .header__input {
        margin-top: 20px;
    }
    .nav__menu {
        gap: 10px;
    }
    .header__container {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* hero */

.hero {
    background: url("img/hero.jpg") no-repeat center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f5f1e8;
}
.hero__content {
    width: 80%;
}
.hero__title {
    font-size: clamp(32px, 8vw, 70px);
    margin-bottom: 35px;
}

.hero__description {
    font-size: clamp(18px, 4vw, 30px);
    margin-bottom: 35px;
}

.hero__button {
    display: inline-block;
    padding: 12px 24px;
    background: #6f4e37;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.hero__button:hover {
    background: #5a3d2a;
}

/* about */
.about {
    background-color: #5b1312;
}

.about__content {
    display: flex;
    justify-content: space-between;
    color: #fcf2f2;
}

.about__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 30px auto;
    max-width: 33%;
    justify-content: center;
    gap: 20px;
}

.about__title {
    font-size: clamp(24px, 5vw, 40px);
}

.about__description {
    font-size: clamp(16px, 3vw, 24px);
    margin: 20px 0;
}

.about__button {
    border: 1px solid #f5f1e8;
    color: #f5f1e8;
    font-size: 16px;
    padding: 16px 22px;
}

.about__image {
    max-width: 50%;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .about__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
    }

    .about__image {
        display: none;
    }

    .about__content::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("img/about.jpg");
        background-size: cover;
        background-position: center;
        filter: brightness(0.5);
        z-index: 0;
    }

    .about__info {
        position: relative;
        z-index: 1;
        width: 90%;
        padding: 40px 50px;
        max-width: 60%;
        background-color: #5b1312;
    }
}

/* menu */

.menu {
    padding: 80px 20px;
    text-align: center;
}

.menu__title {
    font-family: "Prata", serif;
    font-size: 48px;
    margin-bottom: 60px;
    color: #5b1312;
}

.menu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    justify-items: center;
}

.menu__card {
    display: flex;
    flex-direction: column;
    border: 1px solid #b6a09f;
    width: 100%;
    max-width: 250px;
}

.menu__item-info {
    padding: 20px;
}
.menu__img {
    width: 100%;
    border: 1px solid #b6a09f;
}
.menu__item-title {
    text-align: left;
    font-size: 24px;
}
.menu__item-details {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    font-size: 16px;
}

/* footer */

.footer {
    background-color: #5b1312;
    color: #f5f1e8;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 100px 0px;
    max-width: 85%;
    margin: 0 auto;
}
.footer h4 {
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}
.footer__brand {
    display: flex;
    flex-direction: row;
    text-align: left;
}

.footer__text {
    font-size: 16px;
}
.footer__text h5 {
    font-size: 30px;
    text-align: center;
}

.footer__icons {
    margin: 0 auto;
    max-width: 114px;
}
.footer__icons a {
    display: inline-block;
    margin-left: 10px;
}

.footer__logo {
    width: 80px;
    padding-bottom: 20px;
}
.footer__contacts p {
    margin-bottom: 10px;
}
.footer__copyright {
    font-size: 14px;
    color: #d4c7c2;
}
.footer__icon {
    width: 100vw;
    margin: 0 auto;
}
.footer__legal {
    display: flex;
    justify-content: space-between;
    padding: 30px 60px;
}

@media (max-width: 800px) {
    .footer__container {
        padding: 40px 0px;
        max-width: 95%;
    }
    .footer__logo {
        width: 60px;
        padding-bottom: 40px;
    }
    .footer__text h5 {
        font-size: 20px;
    }
    .footer__text {
        font-size: 13px;
    }
    .footer h4 {
        font-size: 16px;
    }
    .footer p {
        font-size: 13px;
    }
    .footer__legal {
        padding: 30px 20px;
        gap: 20px;
    }
}
@media (max-width: 560px) {
    .footer__container {
        padding: 30px 0px 10px 0px;
    }
    .footer__logo {
        width: 40px;
        padding-bottom: 40px;
    }
    .footer__text h5 {
        font-size: 15px;
    }

    .footer h4 {
        font-size: 13px;
    }
    .footer p {
        font-size: 8px;
    }
    .footer__icons {
        margin-left: 10px;
    }
    .footer__icons img {
        width: 20px;
    }
    .footer__icons a {
        margin: 2px;
    }
}
