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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fff9f5 ;
}

main {
    width: 100%;
    margin: 0 auto;
}

.header {                  /*========ШАПКА==========*/
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    align-items: center;
    background-color: #830626;
    height: 80px;
    width: 98%;
    margin-top: 8px;
    margin-left: 1%;
    border-radius: 20px;
}

.logo {                   /*=========ЛОГОТИП=========*/
    font-size: 45px;
    font-family:'Lavishly Yours';
    color: #fff9f5;
    margin-left: 10px;
}

                          /*=========НАВИГАЦИЯ==========*/


.menu-button {
    width: 45px;
    height: 100px;

    padding: 30px 60px;

    background: none;
    border: none;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    cursor: pointer;

    position: relative;
    z-index: 10;
}

.menu-button span {
    width: 30px;
    height: 4px;

    background-color: white;

    border-radius: 10px;
}

.navigation {
    display: flex;
    flex-direction: row;
    gap: 20px;

    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.navigation a {
    background-color: #830626;
    color: #f5eeee;

    text-decoration: none;
    text-align: center;

    font-size: 20px;

    padding: 15px 45px;

    border-radius: 30px;

    opacity: 0;
    transform: translateY(-10px);

    transition: 
        transform 0.2s ease,
        background-color 0.2s ease;
}

.navigation.active {
    pointer-events: auto;
}

.navigation.active a {
    animation: appear 0.4s ease forwards;
}

.navigation.active a:nth-child(1) {
    animation-delay: 0s;
}

.navigation.active a:nth-child(2) {
    animation-delay: 0.1s;
}

.navigation.active a:nth-child(3) {
    animation-delay: 0.2s;
}

.navigation.active a:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navigation a:hover {
    transform: scale(1.08);

    box-shadow:
        0 0 10px #830626,
        0 0 25px rgba(255, 255, 255, 0.5);
}




                  /*=========СЕКЦИЯ HERO==========*/
.hero {
    position: relative;

    width: 100%;
    height: 600px;

    overflow: hidden;
}          

.hero-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}

.hero-overlay {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(120, 35, 50, 0.45);
}

.hero-content {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 2;

    text-align: center;
}

.hero-content h1 {
    color: white;
    font-size: clamp(45px, 1.4vw, 70px);
    font-family: 'Marck Script';
    margin-bottom: 70px;
    white-space: nowrap;
}

.buy-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 18px 45px;

    background-color: #ffffff;
    color: #830626;

    text-decoration: none;

    border-radius: 35px;

    font-size: 25px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

    margin-bottom: 50px;    
}

.buy-button:hover {
    transform: scale(1.08);

    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 25px rgba(255, 255, 255, 0.5);
}

                       /*===========САМЫЕ ЧАСТЫЕ ЗАКАЗЫ===========*/
.popular {
    width: 100%;
    padding: 80px 40px;
    text-align: center;
}                       

.popular h2 {
    margin-bottom: 50px;

    font-size: clamp(35px, 1.4vw, 60px);
    font-family: 'Marck Script';
    color: #830626;
}

.popular-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;

    gap: 60px;
}

.popular-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 350px;
    height: 400px;

    border: 1px solid #963847;
    border-radius: 20px;

    padding: 25px 20px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popular-card img {
    width: 295px;
    height: 250px;

    object-fit: cover;

    border-radius: 8%;
}

.popular-card h3 {
    margin-top: 20px;
    margin-bottom: 8px;

    font-size: 22px;
    font-family: 'Playfair Display SC';
}

.price {
    margin-bottom: 10px;

    font-size: 18px;
    font-family: 'Playfair Display SC';
}

.popular-card a {
    color: inherit;

    text-decoration: underline;

    font-size: 16px;

    transition: transform 0.2s ease;
}

.popular-card a:hover {
    transform: scale(1.08);
}

                  /*==========ПОЧЕМУ ВЫБИРАЮТ НАС===========*/
.advantages {
    width: 100%;
    padding: 80px 40px;
}

.advantages h2 {
    text-align: center;
    font-size: 60px;
    margin-bottom: 70px;
    color: #830626;
    font-family: 'Marck Script';
}

.advantage {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 80px;

    margin-bottom: 70px;
}
.advantage-text {
    width: 40%;
    height: 200px;
    background-color: #830626;
    color: #ffffff;
    border-radius: 30px;
    padding: 20px;
    text-align: center;
    font-family: 'Playfair Display SC';
}

.advantage-text h3 {
    font-size: 30px;
    margin-bottom: 15px;
}

.advantage-text p {
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
}

.advantage img {
    width: 40%;
    height: 200px;

    object-fit: cover;

    border-radius: 30px;
}

                       /*==========КАТАЛОГ===========*/
/*.catalog{
    padding-bottom:24px
}

.product-list{
    display:grid;gap:30px
}

.product{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;gap:10px
}

.product-copy{
    opacity:0;transform:translateY(14px);
    transition:opacity .5s .95s,transform .5s .95s
}

.product.is-visible .product-copy{
    opacity:1;
    transform:none
}

.product-copy h3{
    margin-bottom:5px;
    font-size:clamp(1.15rem,5vw,1.55rem);
    line-height:1.05;
    font-weight:400
}

.product-copy p{
    margin-bottom:3px;
    font-size:clamp(.82rem,3.2vw,1rem);
    line-height:1.22
}

.product-right .product-copy{
    text-align:right
}

.product-right .product-copy h3{
    text-align:center
}

.order-button{
    padding:0;color:var(--wine);
    font-size:.92rem
}

.bubble-wrap{
    position:relative;
    min-height:160px
}

.bubble{
    position:absolute;
    display:block;
    border-radius:50%;
    background:#efb7c255;
    transform:scale(0);
    transition:transform .32s ease
}

.bubble-small{
    width:15px;
    height:15px;
    left:3%;
    bottom:27%;
    transition-delay:.05s
}

.bubble-medium{
    width:28px;
    height:28px;
    left:13%;
    bottom:17%;
    transition-delay:.35s
}

.bubble-image{
    width:min(100%,146px);
    aspect-ratio:1;
    right:0;
    top:4px;
    overflow:hidden;
    background:var(--pink);
    transition-delay:.65s
}

.product-right .bubble-small{
    left:auto;
    right:3%
}

.product-right .bubble-medium{
    left:auto;
    right:13%
}

.product-right .bubble-image{
    left:0;
    right:auto
}

.product.is-visible .bubble{
    transform:scale(1)
}

.bubble-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block
}/








/* =========================
   ВЫБЕРИ СВОЮ ВКУСНЯШКУ
========================= */

.catalog-section {
    width: 100%;
    padding: 80px 8vw;
    background-color: #FFF9F5;
    overflow: hidden;
}


/* Заголовок */

.catalog-title {
    margin: 0 0 45px;
    margin-bottom: clamp(50px, 8vw, 120px);

    color: #830626;

    text-align: center;

    font-family: 'Marck Script', serif;
    font-size: clamp(32px, 4vw, 70px);
    font-weight: 400;
}


/* Все товары */

.products {
    display: flex;
    flex-direction: column;
    gap: 70px;
}


/* Один товар */

.product {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: clamp(30px, 8vw, 150px);
}


/* Текст */

.product-text {
    width: 45%;
    

    color: #830626;

    opacity: 0;

    transform: translateY(20px);
}


/* Название */

.product-text h3 {
    margin: 0 0 12px;

    font-family: "Playfair Display", serif;
    font-size: clamp(24px, 3vw, 50px);
    font-weight: 400;

    line-height: 1.1;
}


/* Описание */

.product-text p {
    margin: 0 0 8px;

    font-family: "Playfair Display", serif;
    font-size: clamp(14px, 1.5vw, 24px);
    line-height: 1.4;
}


/* Заказать */

.product-text a {
    color: #ffffff;
    background-color: #830626;

    border-radius: 15px;
    padding: 8px;
    width: 30px;
    height: 15px;

    font-family: "Playfair Display", serif;
    font-size: clamp(14px, 1.4vw, 22px);

    text-decoration: none;

    cursor: pointer;
}

.product-text a :hover {
    transform: scale(1.08);

    box-shadow:
        0 0 10px #830626,
        0 0 25px rgba(255, 255, 255, 0.5);
}


/* =========================
   ОБЛАЧКО
========================= */

.cloud {
    position: relative;
    width: clamp(180px, 28vw, 430px);
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}


/* Общие настройки кружков */

.circle,
.big-circle {
    position: absolute;

    border-radius: 50%;

    transform: scale(0);

    opacity: 0;
}


/* Маленький кружочек */

.small-circle {
    position: absolute;

    width: 9%;
    aspect-ratio: 1;

    left: 0;
    bottom: 38%;

    border-radius: 50%;
    background-color: #F1B6C3;
}


/* Средний кружочек */

.medium-circle {
    position: absolute;

    width: 17%;
    aspect-ratio: 1;

    left: 8%;
    bottom: 18%;

    border-radius: 50%;
    background-color: #F1B6C3;
}


/* Большой круг с картинкой */

.big-circle {
    position: absolute;

    width: 78%;
    aspect-ratio: 1;

    right: 0;
    top: 0;

    border-radius: 50%;
    overflow: hidden;
}


/* Картинка */

.big-circle img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================
   ТОВАРЫ СПРАВА
========================= */


/* Когда облачко находится слева */

.product-right .small-circle {
    left: auto;
    right: 0;
}


.product-right .medium-circle {
    left: auto;
    right: 8%;
}


.product-right .big-circle {
    left: 0;
    right: auto;
}


/* Текст справа */

.product-right .product-text {
    text-align: right;
}


/* =========================
   АНИМАЦИЯ
========================= */


/* Маленький кружочек */

.animate-product.show .small-circle {
    animation: appear-circle 0.4s ease forwards;
}


/* Средний */

.animate-product.show .medium-circle {
    animation: appear-circle 0.45s ease forwards;

    animation-delay: 0.3s;
}


/* Большой с картинкой */

.animate-product.show .big-circle {
    animation: appear-big-circle 0.6s ease forwards;

    animation-delay: 0.65s;
}


/* Текст */

.animate-product.show .product-text {
    animation: appear-text 0.6s ease forwards;

    animation-delay: 1.25s;
}


/* Маленькие и средние кружки */

@keyframes appear-circle {

    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }

}


/* Большой круг */

@keyframes appear-big-circle {

    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }

}


/* Текст */

@keyframes appear-text {

    from {
        opacity: 0;

        transform: translateY(20px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}












                       /*===========КОНТАКТЫ============*/
.contacts{
    padding-top:14px;
    padding-bottom:70px
}

.contacts, h2{
    font-family: 'Marck Script';
    margin: 0 0 45px;
    margin-bottom: clamp(5px, 8vw, 10px);

    color: #830626;

    text-align: center;

    font-size: clamp(40px, 4vw, 100px);
    font-weight: 400;
}

.contact-lead{
    max-width:90%;
    margin:0 auto 22px;
    font-size:clamp(25px,4.4vw,45px);
    line-height:1.28;
    margin-bottom: clamp(10px, 8vw, 20px);
    font-family: 'Playfair Dysplay SC';
}

.contact-info{
    font-size:clamp(.78rem,3.5vw,1rem);
    line-height:1.45;
    background-color: #830626;
    width: 80%;
    margin: 0 auto;
    border-radius: 30px;
}

.contact-info p{
    margin-bottom:4px;
    font-family: 'Playfair Dysplay SC';
    margin: 0 0 8px;
    font-size: clamp(20px, 1.5vw, 40px);
    line-height: 1.4;
    color: #ffffff;
}

.contact-info a,.contact-info span{
    color:var(--wine);
    text-decoration:none
}

footer{
    height:8px;
    background:linear-gradient(90deg,#83062680,var(--wine),#83062680);
    box-shadow:0 -4px 15px #83062629
}







/* =========================
   ТЕЛЕФОН
========================= */

@media(max-width:370px){
    .product-list{gap:20px}
    .bubble-wrap{min-height:140px}
    .bubble-image{width:128px}
}

@media(min-width:541px){
    .site-header{border-radius:0 0 8px 8px}
    .section{padding-left:24px;padding-right:24px}
}

@media (max-width: 768px) {

    .navigation {
        flex-direction: column;

        top: 80px;
        right: 20px;
        left: auto;

        transform: none;

        gap: 15px;
    }

}

@media (max-width: 768px) {

    .hero {
        height: 500px;
    }

}

@media (max-width: 768px) {

    .popular {
        padding: 60px 20px;
    }

    .popular-list {
        flex-direction: column;
        align-items: center;

        gap: 50px;
    }

}

@media (max-width: 768px) {

    .advantages {
        padding: 60px 20px;
    }

    .advantages h2 {
        font-size: 32px;
        margin-bottom: 50px;
    }

    .advantage {
        flex-direction: column;
        gap: 25px;

        margin-bottom: 60px;

        text-align: center;
    }

    .advantage-text {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .advantage img {
        width: 99%;
        height: 200px;

        object-fit: cover;
        border-radius: 20px;
    }

}

@media (max-width: 600px) {

    .catalog-section {
        padding-left: 18px;
        padding-right: 18px;
    }


    .catalog-title {
        font-size: 30px;

        margin-bottom: 40px;
    }


    .products {
        gap: 60px;
    }


    .product {
        gap: 12px;
    }


    .product-text {
        width: 50%;
    }


    .cloud {
        width: 50%;

        height: 155px;
    }


    .big-circle {
        width: 135px;
        height: 135px;
    }


    .small-circle {
        width: 14px;
        height: 14px;

        bottom: 40px;
    }


    .medium-circle {
        width: 27px;
        height: 27px;

        bottom: 20px;
        left: 18px;
    }


    .product-right .medium-circle {
        left: auto;
        right: 18px;
    }


    .product-text h3 {
        font-size: 20px;
    }


    .product-text p {
        font-size: 12px;

        line-height: 1.3;
    }


    .product-text a {
        font-size: 12px;
    }

}











