:root {
    --primary-color: #059669;
    --accent-color: #d97706;
    --hover-color: #b45309;
    --text-color: #2d3748;
    --secondary-color: #f7fafc;
    --shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}

html {
    scroll-behavior: smooth;
}


*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    scroll-behavior: inherit;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


/* General */
.page {
    font-family: Arial, sans-serif;
    color: var(--text-color);
}


/* Button */
.button {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all .5s ease;
}

.button:hover {
    background-color: var(--accent-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background-color: var(--secondary-color);
    color: var(--text-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.header__logo {
    display: inline-block;
    background: #F9F5D8;
    border-radius: 100%;
    line-height: 0;
}

.header__logo img {
    max-width: 60px;
    width: 100%;
}

.nav__list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav__link {
   color: inherit;
    text-decoration: none;
    transition: all .5s ease;
}

.nav__link:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* Header Mobile */
.nav__toggle {
    display: none;
    cursor: pointer;
    background-color: transparent;
    border: none;
    padding: 0;
    position: relative;
    z-index: 20;
    align-self: center;
    margin-left: auto;
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}


.nav__toggle-icon {
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    will-change: transform, opacity;
}

.nav__toggle-icon:nth-child(1) {
    transform: translateY(-6px);
}

.nav__toggle-icon:nth-child(2) {
    transform: translateY(0);
}

.nav__toggle-icon:nth-child(3) {
    transform: translateY(6px);
}

.nav__toggle.active .nav__toggle-icon:nth-child(1) {
    transform: rotate(45deg) translateY(2px);
}

.nav__toggle.active .nav__toggle-icon:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .nav__toggle-icon:nth-child(3) {
    transform: rotate(-45deg) translateY(-3px);
}

/* Media Queries */
@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
        flex-direction: column;
    }
    .nav__list {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--secondary-color);
        width: 100%;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .nav__list.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__link {
        padding: 1rem 0;
        display: block;
    }

    .header__container {
        justify-content: space-between;
    }
}

/* Hero */
.hero {
    background-image: url('../img/hero-bg.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 9;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

.hero__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 100vh;
    align-items: center;
    gap: 3rem;
}

.hero__media-inner {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);
    padding: 2rem;
    border-radius: 1.5rem;
    background-color: #fffc;
    position: relative;
}
.hero__img-decor{
    display: block;
    max-width: 100%;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.hero__img-decor--2 {
    position: absolute;
    bottom: -10px;
    left: -19px;
    width: 130px;
}

.hero__icon-decor {
    max-width: 24px;
}

.hero__media-overlay {
    background-color: rgb(245 158 11 / 1);
    position: absolute;
    color: #fffc;
    padding: 0.75rem;
    border-radius: 100px;
    line-height: 0;
}
.hero__media-overlay--top {
    top: -1rem;
    right: -1rem;
}

.hero__media-overlay--bottom {
    bottom: -1rem;
    left: -1rem;
    background-color: rgb(5 150 105 / 1);
}

.hero__title {
    font-size: 4.5rem;
    line-height: 1;
    font-weight: bold;
    margin-bottom: 1.5rem;
}
.hero__subtitle {
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 2rem;
    font-style: italic;
}
.hero__text {
    font-size: 1.125rem;
    line-height: 1.625;
    margin-bottom: 2.5rem;
}

.hero__button {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
}


/* About */
.about {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.about__title {
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

.about__subtitle {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.about__content {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: center;
}
@media (max-width: 768.98px) {
    .about__content {
        grid-template-columns: 1fr;
    }
}

.about__media {
    background-color: #ECFDF5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 100px;
    max-width: 5rem;
    width: 100%;
    height: 5rem;
    margin-bottom: 1.5rem;
    color: rgb(5 150 105 / 1);
    transition: all .5s ease-in-out;
}
.about__item:hover .about__media {
    background-color: rgb(209 250 229 / 1);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}
.about__media svg {
    width: 2rem;
    height: 2rem;
}
.about__item-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgb(6 78 59 / 1);
}
.about__item-text {
    font-size: 1rem;
    line-height: 1.5;
    color: rgb(75 85 99 / 1);
}

.adventure {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: #ffffff;
    text-align: center;
}

.adventure__title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}
.adventure__text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}
.adventure__btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.adventure__button {
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: 1px solid var(--secondary-color);
    font-weight: 600;
}
.adventure__button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color)
}

/* Tour Stops */
.tour-stops {
    padding: 4rem 0;
}

.tour-stops__title {
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

.tour-stops__subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.slider {
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);
    border-radius: 1.5rem;
}

.slider__wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.slider__item {
    overflow: hidden;
    background-color: #fff;
    align-items: center;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    flex: 0 0 auto;
   
}

.slider__media {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider__image {
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


.slider__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
    
}
.slider__geo {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: var(--secondary-color);
}
.slider__location {
    margin-bottom: 1rem;
}

.slider__city {
    font-size: 2.25rem;
    line-height: 2.5rem;
}
.slider__content {
    padding: 3rem;
    position: relative;
}
.slider__content::before {
    content: '';
    position: absolute;
    bottom: -7px;
    right: 0;
    width: 100px;
    height: 100px;
    background-image: url(../img/chiken--left.webp);
    z-index: 10;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.slider__content-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.slider__content-rating,
.slider__content-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.slider__content-rating {
    color: black;
    font-weight: 700;
}
.slider__content-rating svg {
    width: 1.25rem;
    height: 1.25rem;
    color: rgb(251 191 36 / 1);
}

.slider__content-date {
    color: rgb(5 150 105 /  1);
    font-weight: 600;
}
.slider__title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    margin-bottom: 1rem;
}
.slider__text {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: rgb(75 85 99 / 1);
    margin-bottom: 2rem;
}
.slider__subtitle {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.slider__list {
    padding-left: 20px;
}

.slider__list li + li {
    margin-top: 0.5rem;
}
.slider__list li::marker {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.5rem;
}

.slider__button {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    line-height: 0;
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

.slider__button:hover {
    background-color: var(--hover-color);
    transform: scale(1.05) translateY(-50%);
}

.slider__button--next {
    right: 1rem;
    left: auto;
}


/* Recipes */
.recipes {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.recipes__title {
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

.recipes__subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.form {
    padding: 1.5em;
    width: 100%;
    margin: 0 auto 3rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);
    text-align: center;
}
.recipes__form-title {
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 0.5rem;
}
.recipes__form-subtitle {
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.recipes__form-field {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    max-width: 28rem;
    margin: 0 auto 1rem;
}
.recipes__form-note {
    font-size: 0.875rem;
    color: rgb(107 114 128 / 1);
    margin-bottom: 1.5rem;
}

.form__input {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem 0 0 0.375rem;
}

.form__input:focus {
    outline: none;
}

.form__button {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0.375rem 0.375rem 0;
    border: none;
    cursor: pointer;
    transition: all .5s ease;
}

.form__button:hover {
    background-color: var(--accent-color);
}

.recipe-preview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .recipe-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

.recipe-preview__card {
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    border-radius: 1.5rem;
    overflow: hidden;
}

.recipe-preview__image {
    width: 100%;
    aspect-ratio:  2 / 1;
    object-fit: cover;
    display: block;
}
.recipe-preview__content {
    padding: 1.5rem;
}

.recipe-preview__title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.recipe-preview__text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 28rem;
}

.recipe-preview__list {
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

.recipe-preview__list-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}
.recipe-preview__list li::marker {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
}

.recipe-preview__list li + li {
    margin-top: 0.5rem;
}
.recipe-preview__note {
    padding: 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(107 114 128 / 1);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Contacts */
.contacts {
    padding: 4rem 0;
}

.contacts__title {
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

.contacts__subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.contacts__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contacts__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contacts__form {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
/* .contacts__form .form__input {
    margin-bottom: 1rem;
} */
.form__label {
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
}

.form__textarea {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
}

.form__textarea:focus {
    outline: none;
}
.contacts__info {
    padding: 1.5em;
    width: 100%;
    margin: 0 auto 3rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);
    position: relative;
}

.contacts__info::before {
    content: '';
    position: absolute;
    right: -14px;
    bottom: -7px;
    width: 100px;
    height: 100px;
    background-image: url(../img/chiken--left.webp);
    background-repeat: no-repeat;
    background-size: cover;
}
.contacts__info-box:not(:last-child) {
    margin-bottom: 1.5rem;
}

.contacts__info-box  {
    display: flex;
    gap: 1rem;
}
.contacts__info-box-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: .5rem;
}
.contacts__info-box-link {
    color: var(--accent-color);
    text-decoration: none;
    margin-bottom: .25rem; 
    display: inline-block;  
}
.contacts__info-box-text {
    color: var(--text-color);
    margin-bottom: .25rem;
}
.map__iframe {
    width: 100%;
    height: 18.75rem;
}
.contacts__map {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);
}

.error-message {
    color: red;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    text-align: left;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: #ffffff;
    padding: 1.5rem 0;
    text-align: center;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.footer__item {
    flex: 1 0 calc(33.333% - 2rem);
    gap: 1rem;
    text-align: left;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    background: #F9F5D8;
    border-radius: 100%;
    line-height: 0;
}

.footer__logo img {
    max-width: 100px;
    height: auto;
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer__title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer__list-text {
    color: var(--secondary-color);
    margin-bottom: .5rem;
}

.footer__list-link {
    color: var(--secondary-color);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}


/* PAGES START */

.content {
    padding: 4rem 0;
}

.content h2 {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.content__inner {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);
    border-radius: 1.5rem;
    padding: 2rem;
}
.content__title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.content__subtitle {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.content__text {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: rgb(75 85 99 / 1);
    margin-bottom: 2rem;
}

.content__list {
    padding-left: 1rem;
}

.content__button {
    display: block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all .5s ease;
    margin: 0 auto 2rem;
    max-width: 11rem;
    text-align: center;
}


/* COOKIES START */

.cookies-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #111;
    color: #fff;
    padding: 1.5rem 1rem;
    text-align: center;
    z-index: 1000;
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookies-banner__btns {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .cookies-banner__btns {
        flex-direction: column;
        align-items: center;
    }
}

.cookies-banner button {
    margin: 0 5px;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    border-radius: .375rem;
}

#accept-cookies {
    background-color: var(--primary-color); /* Green */
    color: white;
    transition: transform .5s ease;
}
#accept-cookies:hover {
    transform: scale(1.05); 
}

#reject-cookies {
    background-color: #f44336; /* Red */
    color: white;
}

#reject-cookies:hover {
    transform: scale(1.05); 
}

/* MEDIA START */
@media (max-width:1023.98px) {
    .hero {
        padding: 4rem 0;
    }
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .hero__text {
        font-size: 1rem;
    }
    
    .hero__img-decor {
        object-fit: contain;
    }

    .about__item-title {
        font-size: 1.125rem;
    }

    .slider__item {
        grid-template-columns: 1fr;
    }
    .slider__media {
        height: 24rem;
    }
    .slider__content {
        padding: 1.8rem;
    }
    .slider__button {
        top: 25rem;
        transform: translateY(-70%);
        padding: 0.5rem;
    }
    .slider__button:hover {
        transform: scale(1.05) translateY(-70%);
    }
}


@media (max-width: 768.98px) {
    .header__logo {
        max-width: 100px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .about__title {
        font-size: 1.5rem;
    }

    .footer__container {
        flex-direction: column;
    }

    .recipes__form-field {
        flex-direction: column;
        align-items: stretch;
    }

    .recipes__form-field > * {
        border-radius: .375rem;
    }

    .footer__logo {
        display: block;
        margin: 0 auto 1rem;
    }

    .footer__logo-image {
        margin: 0 auto;
        display: block;
    }

    .footer__title {
        font-size: 1.125rem;
    }
}
