/* Подключение шрифта Kindentosca */
@font-face {
    font-family: 'Kindentosca';
    src: url('fonts/Kindentosca.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    overflow-x: hidden;
    background-color: #e0d1c4;
}

/* Первый блок — Hero */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
    background-image: url('img/clouds.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Затемнение для контраста текста */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgb(255 255 255 / 50%) 0%, rgb(255 255 255 / 40%) 50%, rgb(255 255 255) 100%);
    z-index: 1;
}

/* Слой для приближения к цвету #ded1c0 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(222, 209, 192, 0.5); /* #ded1c0 с прозрачностью 50% */
    mix-blend-mode: multiply;
    z-index: 1;
    pointer-events: none;
}

/* Контент блока */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: -80px;
}

.flight-text {
    position: absolute;
    bottom: 170px;
    left: 100px;
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(3rem, 4vw, 2.5rem);
    font-weight: 500;
    color: #ffffff;
    transform: rotate(-6deg);
    z-index: 2;
    line-height: 0.9;
}

.names-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: -30px;
}

.name {
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(2.8rem, 15vw, 4.5rem);
    font-weight: 500;
    font-style: italic;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 0.02em;
    transform: rotate(-6deg);
    transition: transform 0.3s ease;
}


.ampersand-svg {
    width: clamp(60px, 8vw, 120px);
    height: auto;
    fill: #ffffff;
    opacity: 0.95;
    transform: rotate(0deg);
    flex-shrink: 0;
}

.wedding-day {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: sans-serif;
    font-size: clamp(1.1rem, 3vw, 2rem);
    font-weight: 700;
    color: #252525;
    letter-spacing: 0.3em;
    z-index: 2;
    text-align: center;
}

/* Самолетик в правом нижнем углу */
.airplane {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: clamp(150px, 18vw, 250px);
    height: auto;
    z-index: 2;
    
    /* animation: airplaneFloat 3s ease-in-out infinite; */
    transform-origin: center;
    
    filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.25));
}

/* Анимация легкого покачивания самолетика */


/* Плавное появление при загрузке */
.hero-content {
    animation: fadeInUp 1.2s ease-out;
}

.airplane {
    animation: fadeInRight 1s ease-out 0.5s both, airplaneFloat 3s ease-in-out 1.5s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .name {
        font-size: clamp(2.8rem, 15vw, 4.5rem);
    }
    
    .ampersand {
        font-size: clamp(2rem, 7vw, 3rem);
    }
    
    .airplane {
        bottom: 20px;
        right: 20px;
        width: clamp(120px, 99vw, 180px);
    }
     .invitation {
        padding: 40px 15px;
    }
    
    .invitation-content {
        padding: 30px 20px;
        gap: 20px;
    }
    
    .invitation-side {
        width: 40px;
    }
    
    .side-text {
        font-size: 0.8rem;
    }
    
    .flower {
        width: clamp(100px, 25vw, 150px);
    }
}

/* Второй блок — Приглашение */
.invitation {
    width: 100%;
    padding: 80px 20px;
    background-color: #ded1c0;
    display: block;
    position: relative;
}

.invitation-card {
    display: flex;
    max-width: 900px;
    width: calc(100% - 40px);
    background-color: #fff4e8;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.invitation-content {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.invitation-title {
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.2;
}

.invitation-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #4a4a4a;
    line-height: 1.6;
}

.invitation-date {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-top: 2px dashed #ad988e;
    padding-top: 20px;
}

.date-label {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 0.9rem;
    color: #8a7a6a;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.date-value {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #2c3e50;
}

.invitation-side {
    position: relative;
    width: 60px;
    background-color: #ad988e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.side-text {
    position: absolute;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1rem;
    color: #ffffff;
    white-space: nowrap;
    transform: rotate(90deg);
    letter-spacing: 0.1em;
}

.flower {
    position: absolute;
    width: clamp(150px, 20vw, 250px);
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.flower-left {
    left: -20px;
    top: -10px;
    transform: rotate(0deg);
    z-index: 0;
}

.flower-right {
    right: -30px;
    bottom: 4%;
    transform: rotate(-10deg);
}

/* Третий блок — Локация */
.location {
    width: 100%;
    padding: 80px 20px;
    background-color: #ded1c0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.location-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-title {
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(3rem, 5vw, 3.5rem);
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.2;
}

.location-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #4a4a4a;
    line-height: 1.6;
}

.location-image {
    flex: 1;
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* Адаптивность для блока локации */
@media (max-width: 768px) {
    .location {
        flex-direction: column;
        padding: 40px 20px;
        gap: 25px;
    }
    
    .location-image {
        max-width: 100%;
        order: 2;
    }
    
    .location-content {
        order: 1;
    }
}

.location {
    width: 100%;
    padding: 80px 20px;
    background-color: #ded1c0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.location-button-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    order: 3;
}

.location-button {
    display: inline-block;
    padding: 18px 50px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    color: #ffffff;
    background-color: rgb(233 107 150);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* В мобильной версии */
@media (max-width: 768px) {
    .location {
        flex-direction: column;
        padding: 40px 20px;
        gap: 25px;
    }
    
    .location-content {
        order: 1;
    }
    
    .location-image {
        order: 2;
        max-width: 100%;
    }
    
    .location-button-wrapper {
        order: 3;
    }
}

/* Четвертый блок — Тайминги */
.timeline {
    width: 100%;
    padding: 80px 20px;
    background-color: #ded1c0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-title {
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(3rem, 5vw, 3.5rem);
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 50px;
    text-align: center;
}

.timeline-container {
    position: relative;
    max-width: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    border-left: 2px dashed #ad988e;
    transform: translateX(-50%);
}

.timeline-plane {
    position: absolute;
    left: 50%;
    top: 0;
    width: 40px;
    height: 40px;
    transform: translateX(-50%);
    animation: planeMove 8s ease-in-out infinite;
    z-index: 2;
}

@keyframes planeMove {
    0% {
        top: 0;
        transform: translateX(-50%) rotate(90deg);
    }
    50% {
        top: calc(100% - 40px);
        transform: translateX(-50%) rotate(90deg);
    }
    100% {
        top: 0;
        transform: translateX(-50%) rotate(90deg);
    }
}

.timeline-item {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.timeline-item.left {
    align-self: flex-start;
    text-align: right;
    padding-right: 40px;
}

.timeline-item.right {
    align-self: flex-end;
    text-align: left;
    padding-left: 40px;
}

.timeline-time {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #2c3e50;
}

.timeline-desc {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #4a4a4a;
    line-height: 1.4;
}

/* Точки на линии */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #ad988e;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item {
    position: relative;
}

/* Адаптивность */
@media (max-width: 768px) {
    .timeline {
        padding: 40px 15px;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        width: 42%;
    }
    
    .timeline-item.left {
        padding-right: 20px;
    }
    
    .timeline-item.right {
        padding-left: 20px;
    }
}
/* Пятый блок — Дресс код */
.dresscode {
    width: 100%;
    padding: 80px 20px;
    background-color: #ded1c0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dresscode-title {
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(3rem, 5vw, 3.5rem);
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 30px;
    text-align: center;
}

.dresscode-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #4a4a4a;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin-bottom: 50px;
}

.dresscode-colors {
    display: flex;
    justify-content: center;
    align-items: center;
}

.color-circle {
    width: clamp(60px, 10vw, 100px);
    height: clamp(60px, 10vw, 100px);
    border-radius: 50%;
    margin-left: -20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: 3px solid #ded1c0;
}

.color-circle:first-child {
    margin-left: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .dresscode {
        padding: 40px 15px;
    }
    
    .color-circle {
        width: clamp(40px, 12vw, 60px);
        height: clamp(40px, 12vw, 60px);
        margin-left: -12px;
    }
}

/* Шестой блок — Слайдеры */
.slider-section {
    width: 100%;
    padding: 80px 20px;
    background-color: #ded1c0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.slider-header {
    display: flex;
    align-items: center;
    gap: 30px;
}

.slider-title {
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.2;
    text-align: center;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ad988e;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-arrow:hover {
    background-color: #9a8579;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.slider-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.slider-image {
    width: calc(50% - 5px);
    max-width: 200px;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* На десктопе показываем все 5 фото в ряд, скрываем стрелки */
@media (min-width: 769px) {
    .slider-track {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .slider-image {
        width: calc(20% - 16px);
        min-width: 180px;
        max-width: 250px;
    }
    
    .slider-arrow {
        display: none;
    }
}

/* На мобильных показываем слайдер */
@media (max-width: 768px) {
    .slider-section {
        padding: 40px 15px;
        gap: 30px;
    }
    
    .slider-track {
        flex-wrap: nowrap;
        gap: 10px;
    }
    
    .slider-image {
        width: calc(50% - 5px);
        max-width: 180px;
    }
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}
/* Седьмой блок — Обратный отсчет */
.countdown {
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(135deg, #ded1c0 0%, #f5e6d3 50%, #ded1c0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.countdown-title {
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.2;
    text-align: center;
}

.countdown-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.countdown-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(173, 152, 142, 0.2);
    stroke-width: 4;
}

.progress-ring-fill {
    fill: none;
    stroke: #ad988e;
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 0;
}

.progress-ring-fill.days {
    stroke: #5d4643;
}

.progress-ring-fill.hours {
    stroke: #5e5b33;
}

.progress-ring-fill.minutes {
    stroke: #3a975c;
}

.progress-ring-fill.seconds {
    stroke: #b49c9a;
}

.countdown-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

#days, #hours, #minutes, #seconds {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.countdown-label {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 0.8rem;
    color: #8a7a6a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.countdown-message {
    text-align: center;
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #2c3e50;
    line-height: 1.4;
}

/* Адаптивность */
@media (max-width: 768px) {
    .countdown {
        padding: 40px 15px;
        gap: 30px;
    }
    
    .countdown-container {
        gap: 20px;
    }
    
    .countdown-circle {
        width: 80px;
        height: 80px;
    }
    
    .progress-ring {
        width: 80px;
        height: 80px;
    }
    
    .progress-ring-bg, .progress-ring-fill {
        r: 36px;
        cx: 40px;
        cy: 40px;
    }
    
    #days, #hours, #minutes, #seconds {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.6rem;
    }
}
/* Восьмой блок — Бегущая строка */
.marquee {
    width: 100%;
    background-color: rgb(233 107 150);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 100px;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
}

.marquee-text {
    font-family: serif;
    font-size: clamp(1rem, 5vw, 3.5rem);
    font-weight: 500;
    color: #f1ced3;
    line-height: 1;
    letter-spacing: 0.05em;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Девятый блок — Пожелания */
.wishes {
    width: 100%;
    padding: 80px 20px;
    background-color: #ded1c0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wishes-card {
    max-width: 700px;
    width: 100%;
    background-color: #fff4e8;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.wishes-title {
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(3rem, 5vw, 3.5rem);
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.2;
    text-align: center;
}

.wishes-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.wishes-track {
    display: flex;
    transition: transform 0.5s ease;
}

.wish-slide {
    min-width: 100%;
    padding: 20px;
    text-align: center;
}

.wish-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #4a4a4a;
    line-height: 1.7;
    font-style: italic;
}

.wishes-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wish-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ad988e;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.wish-arrow:hover {
    background-color: #9a8579;
    transform: scale(1.1);
}

.wishes-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d4c5b8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #ad988e;
    transform: scale(1.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .wishes {
        padding: 40px 15px;
    }
    
    .wishes-card {
        padding: 30px 20px;
        gap: 20px;
    }
}

/* Десятый блок — Контакты */
.contacts {
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(135deg, #ded1c0 0%, #f5e6d3 50%, #ded1c0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.contacts-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 0.2em;
    text-align: center;
}

.contacts-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #4a4a4a;
    line-height: 1.6;
    text-align: center;
    max-width: 500px;
}

.contacts-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.contact-link.telegram {
    background-color: #0088cc;
    color: #ffffff;
}

.contact-link.telegram:hover {
    background-color: #006699;
}

.contact-link.max {
    background-color: #5d4643;
    color: #ffffff;
}

.contact-link.max:hover {
    background-color: #4a3532;
}

.contact-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contacts {
        padding: 40px 15px;
        gap: 20px;
    }
    
    .contact-link {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .contacts-links {
        gap: 15px;
    }
}
/* Одиннадцатый блок — Анкета гостя */
.rsvp {
    width: 100%;
    padding: 80px 20px;
    background-color: #ded1c0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rsvp-card {
    max-width: 600px;
    width: 100%;
    background-color: #e96b96;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.rsvp-title {
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(3rem, 5vw, 3.5rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
}

.rsvp-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #ffffff;
    line-height: 1.6;
}

.rsvp-date {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #ffffff;
}

.rsvp-button {
    padding: 15px 40px;
    background-color: #ffffff;
    color: #5d4643;
    border: none;
    border-radius: 50px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}

.rsvp-button:hover {
    background-color: #9a8579;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff4e8;
    border-radius: 30px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
    z-index: 100;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #8a7a6a;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #5d4643;
    transform: scale(1.2);
}

.modal-title {
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(3rem, 5vw, 3.5rem);
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 10px;
}

.modal-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 5px;
}

.modal-date {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #5d4643;
    margin-bottom: 30px;
}

/* Форма */
.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
}

.form-group input[type="text"] {
    padding: 12px 15px;
    border: 2px solid #d4c5b8;
    border-radius: 10px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #ad988e;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    accent-color: #ad988e;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    accent-color: #ad988e;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #d4c5b8;
    border-radius: 10px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1rem;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: #ad988e;
}

.submit-button {
    padding: 15px 40px;
    background-color: #5d4643;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #4a3532;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Адаптивность */
@media (max-width: 768px) {
    .rsvp {
        padding: 40px 15px;
    }
    
    .rsvp-card {
        padding: 30px 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* Двенадцатый блок — До скорой встречи */
.farewell {
    width: 100%;
    padding: 80px 20px;
    background-color: #ded1c0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.farewell-title {
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 10px;
}

.farewell-image {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.farewell-love {
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    color: #5d4643;
    line-height: 1.2;
    margin-top: 10px;
}

.farewell-names {
    font-family: 'Kindentosca', 'Brush Script MT', cursive, serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.2;
}

/* Адаптивность */
@media (max-width: 768px) {
    .farewell {
        padding: 40px 15px;
        gap: 20px;
    }
    
    .farewell-image {
        max-width: 80%;
    }
}
/* Фиксированная кнопка подтверждения */
.fixed-rsvp-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    background-color: #5d4643;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 99;
    white-space: nowrap;
}

.fixed-rsvp-button:hover {
    background-color: #4a3532;
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.invitation-text,
.date-label,
.date-value,
.side-text,
.location-text,
.location-button,
.timeline-time,
.timeline-desc,
.dresscode-text,
.countdown-label,
#days, #hours, #minutes, #seconds,
.wish-text,
.contacts-title,
.contacts-text,
.contact-link,
.rsvp-text,
.rsvp-date,
.rsvp-button,
.modal-text,
.modal-date,
.form-group label,
.form-group input[type="text"],
.radio-label,
.checkbox-label,
.form-group textarea,
.submit-button,
.fixed-rsvp-button {
    font-family: 'Arial', 'Helvetica', sans-serif;
}