@font-face {
    font-family: 'Ceremonious';
    src: url('../fonts/ceremonioustwo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal; 
}

.font-soft {
  font-family: 'Quicksand', sans-serif;
}

html,
body {
    position: relative;
    height: 100%; /* Явная высота для Swiper */
    margin: 0;
    scroll-behavior: auto; /* Отключаем smooth для Swiper */
}

body {
    position: relative;
    font-size: 14px;
    margin: 0;
    padding: 0;
    color: #707070;
    overflow-y: hidden; /* Отключаем скролл body, Swiper управляет прокруткой */
    font-family: "Cormorant", serif;
}

a {
    text-decoration: none;
    color: #545454;
}

.font-corm {
    font-family: "Cormorant", serif;
}

.font-edw {
    font-family: "Ceremonious", sans-serif;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* swiper */

.swiper {
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
}
.swiper-pagination-bullet-active {
    background: #7b9274 !important;
}

/* timer */
.timer {
    display: flex;
    justify-content: center;
    gap: calc(20px + 5%);
    font-size: 32px;
    margin-top: 105px;
    -webkit-font-smoothing: antialiased;
}

.unit {
    text-align: center;
}

.value {
    transition: none !important;
    font-size: 40px;
    backface-visibility: hidden;
    will-change: contents;
}

.label {
    font-size: 16px;
    color: #555;
}


@media(max-height: 850px) {
    .timer {
        margin-top: 20px;
    }
}
@media(max-width: 768px) {
    .timer {
        margin-top: 30px;
    }
}

/* header */
.header {
    position: absolute;
    width: 100%;
    padding: 10px 0;
    background: #fff;
    z-index: 5;
}

.header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.header-nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(5% + 20px);
    font-weight: 500;
    font-size: 15px;
    font-family: "Lucida Sans", sans-serif;
    text-align: center;
}
.header-btn {
    background: #ded1c6;
    color: #5c4a3a;
    font-weight: 800;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-family: sans-serif;
}

.header-btn.mobile {
    display: none;
}
.header-logo {
    width: 100%;
    max-width: 100px;
    margin: 0 auto;
}


.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.burger span {
  height: 3px;
  background: #5c4a3a;
  border-radius: 2px;
  width: 100%;
}
.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
#nav {
    display: none;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
    position: absolute;
    left: 20px;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    display: none;
    z-index: 1000;
  }

  #nav.active {
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 20px;
    top: 95px;
    left: 0;
    align-items: start;
    background: #fff;
    width: fit-content;
    padding: 10px 20px;
    height: 100%;
    font-size: 28px;
    z-index: 10;
  }
  .header-btn.mobile {
    display: block;
    position: absolute;
    right: 20px;
    font-size: 18px;
    font-weight: 600;
    padding: 7px 10px;
    border-radius: 10px;
  }
}

@media (max-width: 600px) {
    .header-logo {
        max-width: 75px;
    }
    .header-nav {
        font-size: 13px;
        margin-left: 5px;
        gap: 15px;
    }

    .header-btn {
        padding: 10px;
    }
}
@media (max-width: 400px) {
    .burger {
        left: 10px;
    }
    .header-btn.mobile {
        right: 10px;
        font-size: 16px;
    }
}

/*  */
.event-title_block {
    margin-bottom: 5px;
}
.event-title {
    font-weight: 500;
    margin-top: 0;
}
.event-title span {
    font-size: 24px;
}

.event-title_block figure {
    margin: 0 auto;
    height: 470px;
    overflow: hidden;
    width: 1230px;
    margin-bottom: 50px;
    
}
.event-title_img {
    margin: 0 auto;
    /* ВАШЕ ИЗОБРАЖЕНИЕ ЛОГО */
    background: url(../images/logo.png);
    /*  */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 550px;
    height: 100%;
}

.event-description {
    text-align: center;
    max-width: calc(60% + 100px);
    margin: 0 auto;
}

.event-description_2 {
    font-size: 36px;
    margin: 15px 0 10px 0;
}

.event-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    max-width: calc(40% + 300px);
    margin: 0 auto;
}

.event-info p {
    margin: 0;
}



@media(max-width:1280px) {
    .event-title_block figure {
        width: 800px;
        margin: 0 auto;
        max-height: 400px;
    }
    .event-title_img {
        min-height: 500px;
        height: 100%;
        width: 100%;
    }
}
@media(max-width:768px) {
    .event-title_block figure {
        max-height: 300px;
        width: 100%;
        display: contents;
    }
    .event-title_img {
        max-height: 400px;
        min-height: calc(20vw + 200px);
        height: 100%;
        margin-bottom: 0;
    }
}
@media (max-height: 850px) {
    .event-title_block figure {
        margin-bottom: 0;
    }
}


@media (max-height: 720px) {
   
    .event-title {
        font-size: 30px;
    }
    
    .event-title_img {
        min-height: 220px;
    }

    .event-description {
        font-size: 15px;
    }

    .event-info {
        font-size: 16px;
    }
}

@media (max-width: 450px) {
    .event-title_img {
        width: 100%;
        min-height: calc(20vw + 125px);
        transform: scale(1.12);
        background-size: contain;
    }
}



/*  */

.details-title {
    font-size: 80px;
    font-weight: 500;
    margin: 0;
    margin-bottom: 30px;
}

.info-block {
    position: relative;
    display: grid;
    grid-template-columns: 150px 1fr;
    row-gap: 40px;
    column-gap: 30px;
    max-width: 800px;
    margin: auto;
    text-align: start;
}

.info-block::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 150px;
    /* линия между колонками */
    width: 2px;
    background-color: #ccc;
}

.info-title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    color: #5c504b;
    text-align: end;
    padding-right: 20px;
}

.info-text {
    font-size: 21px;
    font-weight: 600;
    line-height: 0.9;
}

.colors {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.color-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.c1 {
    background-color: #e7ded6;
}

/* светло-бежевый */
.c2 {
    background-color: #ded1c6;
}

/* теплый бежевый */
.c3 {
    background-color: #a5b2a5;
}

/* серо-зеленый */
.c4 {
    background-color: #000000;
}

/* черный */



@media(max-width: 768px) {
    .info-text {
        font-size: 16px;
        font-weight: 600;
    }
}
@media (max-height: 650px) {
    .details-title {
        margin: 10px 0 0 0;
    }
}

@media (max-width: 600px) {
    .details-title {
        margin: 0;
    }

    .info-block:before {
        display: none;
    }

    .info-block {
        display: flex;
        flex-direction: column;
        row-gap: 20px;
    }

    .info-title {
        text-align: center;
        padding: 0;
        margin-top: 10px;
    }

    .info-text {
        text-align: center;
        font-size: 14px;
    }

    .colors {
        justify-content: center;
    }
}

/*  */

.map-slide {
    display: flex;
    justify-content: center;
    position: relative;
    text-align: start;
    display: flex;
    flex-direction: column;
    gap: 70px;
}


.map-img {
    width: 100%;
    height: 75%;
    position: relative;
    overflow: hidden;
    
}
.map-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;         
    object-position: center;  
    display: block;
    transform-origin: center;
}

.create-route-btn {
    background: #ded1c6;
    color: ##5c4a3a;
    font-weight: 700;
    border-radius: 10px;
    max-width: fit-content;
    margin: 0 auto;
    padding: 10px 20px;
    outline: none;
    cursor: pointer;
    font-size: 18px;
   
}

.create-route-btn:hover {
    background: #d5c8bd;
}

@media (max-width: 768px) {
    .map-slide img {
        transform: scale(1.5); 
    }
    .map-slide {
        gap: 50px;
    }
    .create-route-btn {
        font-size: 16px;
    }
}
/*  */
.quetion-block {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -35%);
    width: 100%;
    max-width: 600px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.quetion-block p {
    font-weight: 600;
    font-size: 24px;
    margin: 0;
    text-align: center;
}
.quetion-block a {
    font-size: 24px;
    text-decoration: underline;
    outline: none;
}

.quetion-block a:hover, .quetion-block a:focus {
    outline: none;
    box-shadow: none;
    color: #5c4a3a;
}

.confirm-btn {
    background: #ded1c6;
    color: #5c4a3a;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none !important;
    font-size: 18px !important;
    outline: none;
    transition: background 0.2s ease;
    margin-top: 15px; /* Положительный margin для отступа */
}

.confirm-btn:hover, .confirm-btn:focus {
    background: #d5c8bd;
    outline: none;
    box-shadow: none;
}

/* Мобильные устройства — опустить контент чуть ниже и уменьшить размеры */
@media (max-width: 767px) {
    .quetion-block {
        justify-content: flex-start;
        padding-top: 100px; /* Регулируй значение по вкусу */
        gap: 10px;
    }

    .quetion-block p,
    .quetion-block a {
        font-size: 18px;
    }

    .confirm-btn {
        font-size: 16px !important;
        padding: 8px 16px;
        margin-top: 10px;
    }
}

/* Десктоп — вернуть в центр */
@media (min-width: 768px) {
    .quetion-block {
        justify-content: center;
        padding-top: 0;
        gap: 15px;
    }
}


@media (max-width: 600px) {
.quetion-block {
        gap: 10px;
    }
    .quetion-block p {
        font-size: 18px;
    }
    .quetion-block a {
        font-size: 18px;
    }
    .confirm-btn {
        font-size: 16px !important;
        padding: 8px 16px;
        margin-top: 10px;
    }
}

/*  */
.flower-bg1 {
    position: absolute;
    top: 5%;
    right: 0;
    background: url(../images/1.png);
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 1/2;
    max-width: calc(20% + 100px);
    width: 100%;
    z-index: 10;
} 
.flower-bg2 {
    position: absolute;
    bottom: 0;
    left: 0;
    background: url(../images/2.png);
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 1.2/1;
    width: 100%;
    max-width: calc(25% + 100px);
} 
.flower-bg3 {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: url(../images/3.png);
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 2.4/1;
    width: 100%;
    max-width: calc(10% + 780px);
    max-height: calc(30% + 100px);
    margin: 0 auto;
} 
.flower-bg4 {
    position: absolute;
    left: 0;
    background: url(../images/4.png);
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 1/1.5;
    width: 100%;
    max-width: calc(25% + 0px);
    margin: 0 auto;
    transform: rotate(180deg);
} 
.flower-bg5 {
    position: absolute;
    right: -5%;
    background: url(../images/5.png);
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 1/1;
    width: 100%;
    max-width: calc(25% + 100px);
    margin: 0 auto;
    transform: rotate(45deg);
} 
@media(max-width: 1280px) {
    .flower-bg5, .flower-bg4 {
        display:none;
    }
}


@media(max-height: 800px) {
    .flower-bg3 {
        max-height: calc(20% + 100px);
        max-width: calc(10% + 480px);
    }
  
}

@media (max-width: 768px) {
    .flower-bg1, .flower-bg2 {
        display: none;
    }
}

        .header-btn:hover {
            background-color: #d5c8bd;
        }
        .font-corm {
            font-family: 'Cormorant Garamond', serif; /* Пример шрифта, замените на ваш */
        }
/*  */