@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
.montserrat-font {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 1.3em;
}

/* Общий стиль */
body {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: #000;
    background-color:  #eeeeee;
   /* background: url('Assets/background.webp') no-repeat center center fixed;  Фоновое изображение */
    background-size: cover;
    text-align: center;
    margin: 0;
    padding: 0;
}
h1 {
    font-size: 3em;
}

/* Вступительный блок */
.intro {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:  #eeeeee;
    height: 100vh;
    color: #292929;
    font-family: 'Great Vibes';
    font-size: 6em;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden; /* Убираем скроллинг */
    position: relative; /* Для наложения текста */
}
#ArrowDOWN {
    background-image: url(assets/arrow-down.png);
    border: none;
    position: absolute;
    bottom: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    height: 40px;
    width: 40px;
    border-radius: 0;
    opacity: 0;
    transition-property: opacity;
    transition-duration: 3s;
    transition: transform 0.3s ease-in-out;
}
.continuous-jump {
    animation: jumpAnimation 1s ease infinite;
}

@keyframes jumpAnimation {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}
#ArrowDOWN.active {
    opacity: 100;
}

/* Текст анимации */
#intro-text {
    opacity: 0; /* Начальная прозрачность */
    transform: scale(0.8); 
    animation: fadeInZoom 2s forwards; /* Анимация */
}

/* Определение анимации */
@keyframes fadeInZoom {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

#intro-text {
    opacity: 0;
    transform: scale(0.8);
}

/* Шапка Видео*/
#hero {
    position: relative;
    width: 100%;
    height: 94vh; /* Высота секции на весь экран */
    overflow: hidden;
}

#wedding-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Видео обрезается для заполнения контейнера */
    z-index: -1; /* Расположение позади других элементов */
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-family: 'Cormorant Garamond', serif;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    width: inherit;
} 

.hero-content p {
    font-size: 55px;
    color: #ffffff;
    font-family: 'Cormorant Garamond', serif;
    z-index: 1;
    text-transform: uppercase;
}

/* Header с навигацией */
#dynamic-header {
    position: fixed;
    top: -100px; /* Изначально шапка скрыта */
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    transition: top 0.3s ease;
    z-index: 1000;
    box-sizing: border-box;
    text-transform: uppercase;
}

.header-left {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

.heart-icone {
    height: 45px;
}
#sandwich {
    display: none;
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}
.header-nav a {
    margin: 0 15px;
    text-decoration: none;
    color: black;
    font-size: 21px;
    font-weight: normal;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: rgb(220, 153, 20);
}

/* Отступ для секций, чтобы они не перекрывались шапкой */
section {
    padding-top: 20px;
    margin-bottom: 20px;
}


/* Таймер */
.timer {
    /* margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;  */
    text-align: center;
    font-family: 'Crimson Text', serif;
    font-weight: 400;
    position: relative;
    z-index: 1;
    top: 55vh;
    color: #ffffff;
}

.timer h2 {
    font-size: 2.5em;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300; 
    margin: 2px;
}

#countdown {
    display: flex; /* Равномерное расположение секций */
    justify-content: center;
    gap: 20px; /* Расстояние между секциями */
}

.time-section {
    display: flex;
    flex-direction: column; /* Вертикальное расположение: число сверху, текст снизу */
    align-items: center;
}

.time-section span {
    font-size: 55px;
}

.time-section p {
    margin: 1px 0 0;
    font-size: 20px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300; 
}

.separator {
    font-size: 6em;
}

@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateY(-10px); /* Лёгкое движение вверх */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Возвращение на место */
    }
}

/* Анимация текста для таймера */
.time-section span {
    font-size: 100px;
    font-weight: bold;
    animation: fadeInText 0.5s ease-in-out; /* Анимация на 0.5 секунды */
}

.time-section p {
    margin: 1px 0 0;
    font-size: 30px;
    animation: fadeInText 0.5s ease-in-out; /* Тот же эффект для текста */
}




/* Расписание дня */
/*.schedule {
    margin: 20px;
    padding: 20px;
}*/ 

.schedule h2 {
    padding-bottom: 50px ;
    padding-top: 20px;
    font-size: 3em;
} 

.timeline {
    display: flex;
    justify-content: center; /* Центровка по горизонтали */
    align-items: center; /* Центровка иконок и текста */
    gap: 150px; /* отступ */
    flex-wrap: wrap;
}

.event {
    text-align: center;
    color: #000;
    flex-shrink: 0; /* Уменьшаем растягивание */
}

.event i {
    font-size: 3em; /* Размер иконок */
    color: #000000;
    margin-bottom: 5px;
}

.event p {
    margin: 3px 0; /* Уменьшаем отступы между текстовыми блоками */
    font-size: 1.5em;
}




/* Обертка для карусели */
.carousel {
    position: relative;
    width: 100%;
    /*max-width: 1000px; /* Ширина карусели */
    margin: 0 auto; /* Центрирование на странице */
    overflow: hidden;
}

/* Контейнер для ленты слайдов */
.carousel-track-container {
    overflow: hidden;
    position: relative;
    display: flex;
    overflow: hidden;
}

/* Лента слайдов */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px; /* Отступ между слайдами */
    justify-content: center;
}

/* Слайды */
.carousel-slide {
    width: 50vh; /* Ширина слайда: чуть меньше половины контейнера */
    height: 50vh;
    transition: transform 0.3s ease-in-out;
    position: relative;
    text-align: center;
    list-style-type: none;
    border-radius: 10px;

    overflow: hidden;
}
.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Тень вокруг изображений */
}

/* Эффект для текущего слайда */
.current-slide {
    transform: scale(1.1); /* Увеличение текущего слайда */
    z-index: 2;
}


/* Кнопки управления */
.carousel-button {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300; 
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Центрирование по вертикали */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px; /* Размер кнопок */
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}




/* Форма с опросом */
.rsvp {
    padding: 20px;
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 150; 
    text-align: left;
}

.rsvp h2 {
    font-size: 1.5em;
    text-align: center;
    margin-left: -50px;
}

.rsvp h3 {
    font-size: 1 em;
    text-align: center;
}

#rsvpForm label, .options label {
    margin: 5px;
    font-size: 1.2em;
}*/


.options {
    margin: 10px 0;
}

button {
    border: 1px solid #000000;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 15px;
    font-family: 'Dancing Script', cursive;
    width: 300px;
    max-width: 400px;
}

button:hover {
    /*background-color: #000000;*/
    color: #ffffff;
}

/* Контейнер формы и фотографий */
.form-container {
    display: flex;
    align-items: center; 
    justify-content: center; 
    gap: 50px; /* Расстояние между элементами */
}

/* Фото */
.photo {
    width:500px; 
    height:auto; 
    /* border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); Тень для объема */
}

.photo-left {
    order: 1;
}

/*.photo-right {
    order: 2; 
}*/

/* Форма */
#rsvpForm {
    order: 2;
   /* background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
   /* border: 2px solid #DAA520;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);*/
    max-width: 300px; /* Ограничиваем ширину формы */
}

/* Стили для полей ввода */
input[type="text"],
input[type="tel"] {
    width: 100%; /* Полная ширина поля */
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1em;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Стили для опросов */
.options {
    margin: 20px 0;
    text-align: left; /* Выровнять текст опросов по левому краю */
}

.options p {
    font-size: 1.2em;
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
}

.options label {
    /*display: block;  Каждый вариант ответа в отдельной строке */
    margin: 5px 0;
    font-size: 1em;
}



/* межблочная полоса */
.gradient-divider {
    height: 2px;
    background: linear-gradient(
        to right, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.5) 50%, 
        rgba(0, 0, 0, 0) 100%
    );
    margin: 40px auto;
    width: 0; /* Начальная ширина */
    opacity: 0; /* Полная прозрачность */
    transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.gradient-divider.show {
    width: 30%; /* Конечная ширина */
    opacity: 0.8; /* Полная видимость */
}

/*Место проведения*/

.wending-image{
    width: 50%; 
    height: auto;
    margin-top: 20px;
}

/* Секция "Как добраться" */
.location-container {
    display: flex;
    justify-content: space-between; /* Выравнивание текста и карты по сторонам */
    align-items: center; /* Центровка текста по вертикали относительно карты */
    margin: 120px auto;
    max-width: 1100px;  /* Ограничение ширины */
    height: 100%; /* Высота контейнера равна высоте карты */
}


/* Текстовый блок */
.location-text {
    flex: 1;
    text-align: left;
    margin: 0; /* Убираем внешние отступы */
    padding: 0; /* Убираем внутренние отступы */
}

.location h2 {
    font-size: 1.5em;
    padding-bottom: 20px;
}

.location-text h2 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #333; /* Темный цвет заголовка */
    font-family: 'Cormorant Garamond', serif;
}

.location-text p {
    /*  font-size: 1.5em; */
    line-height: 1.6;
    color: #555; /* Серый цвет текста */
    margin-bottom: 3px; /* Уменьшаем расстояние между абзацами */
    padding-right: 20px;
}

/* Карта */
#map {
    flex: 1; /* Занимает равное пространство */
    width: 600px; /* Полная ширина контейнера */
    height: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6); /* Лёгкая тень под картой */
    margin: 0; /* Убираем отступы карты */
}

#map-container {
    flex: 1;
    margin: 0; /* Убираем внешние отступы */
    padding: 0; /* Убираем внутренние отступы */
}

/* Общий стиль для футера */
.contacts {
    background-color: #f9f9f9; /* Светлый фон */
    padding: 20px 20px 150px; /* Отступы внутри футера */
    text-align: center;
    background-image: url("assets/footr.webp");
    background-size: 100%;
    background-position-y: 70%;
    background-size: cover;
}

/* Контейнер для контактов */
.contact-container {
    display: flex;
    justify-content: space-around; /* Разделение столбцов */
    align-items: flex-start; /* Выравнивание по верхнему краю */
    flex-wrap: wrap; /* Для адаптивности */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto; /* Центровка */
    color:#ffffff;
}

/* Блок контактов */
.contact-block {
    flex: 1; /* Равное пространство для каждого столбца */
    min-width: 200px;
}

.contact-block h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
    text-transform: uppercase;
}


/* Список контактов */
.contact-block ul {
    list-style-type: none;
    margin: 0 auto;
    width: 115px;
}

.contact-block li {
    margin: 10px 0;
}

.contact-block a {
    text-decoration: none;
    font-size: 1.2em;
    color: #ffffff;
    font-family: 'Cormorant Garamond', serif;
    display: flex;
    align-items: center;
    gap: 10px; /* Расстояние между текстом и иконкой */
}

.contact-block a:hover {
    color: #5ba5ff; /* Золотой цвет при наведении */
}

/* Иконки */
.contact-block i {
    font-size: 1.5em;
    color: #ffffff; /* Золотой цвет иконок */
}

.footr {
    font-family: 'Great Vibes'; 
    font-size: 5em;
    font-weight: 300px
}

.footr {
    color: #fff;
}


#Anketa {
    padding: 20px 0 60px;
}
.anketa-content {
    border: 1px solid rgba(57, 56, 56, 0.3);
    padding: 200px 40px 40px;
    width: 600px;
    margin: 0 auto;
    background-image: url("assets/anketa-logo.png");
    background-size: 25%;
    background-repeat: no-repeat;
    background-position: top;
    background-position-y: 50px;
    text-align: center;
}
.anketa-button {
    padding: 20px 40px;
    background: rgb(45, 42, 39);
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}
.anketa-button:hover {
    background-color: rgb(139, 105, 53);
}
.anketa-date {
    font-family: 'Crimson Text', serif;
    font-size: 18px;
}

@media screen and (max-width: 700px) {
    .time-section span {
        font-size: 50px;
    }
    .time-section p {
        font-size: 20px;
    }
    .separator {
        font-size: 3em;
    }
    .timer {
        top: 50vh;
    }

    .hero-content p {
        font-size: 25px;
    }
    .sandwish {
        display: block;
    }

    .hero-content {
        top: 45%;
    }
    .anketa-content {
        width: auto;
        margin: 0 10%;
        padding: 40px;
        background: none;
    }
    .anketa-content h3 {
        font-size: 1em;
    }
    .wending-image{
        width: 100%; 
        height: auto; 
    }
    .intro {
        font-size: 3em;
    }
    .location h2 {
        padding: 0 20px;
        font-size: 2em;
    }
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1em;
        padding: 0 20px;
    }
    .footr {
        font-size: 3em;
    }
    .timeline {
        display: flex;
        gap: 40px;
        flex-direction: column;
    }

    /* Как добраться */
    .location-container {
        flex-direction: column;
        margin: 0;
    }
    #map {
        flex: none;
        width: 100%;
    }
    .location-text h2 {
        text-align: center;
    }
    .location-text p {
        text-align: center;
        font-size: 1.25em;
        line-height: auto;
        padding: 0 20px;
        margin-bottom: 20px;
    }
    /* Шапка */
    .header-nav {
        display: none;
        position:absolute;
        background: #fff;
        top: 50px;
        right: 0px;
        width: 200px;
    }
    .header-nav.opnd {
        display: block;
    }
    .header-nav a {
        padding: 16px;
        display: block;
        margin: 0;
    }
    #sandwich {
        display: inline-flex;
    }
  }