 /* Основные стили */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Georgia', serif;
            line-height: 1.6;
            color: #333;
            background-color: #f9f5f0;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            font-family: 'Inter';
           
        }
        
        
        .hello{
            font-family: "Inter";
            font-size: 1.2rem;
        }
        
        /* Секции */
        section {
            padding: 20px 0;
        }
        
        /* Заголовки */
        h1, h2, h3 {
            font-weight: normal;
            text-align: center;
            margin-bottom: 30px;
            font-family: 'Viaoda Libre', cursive;
        }
        
        h1 {
            font-size: 5rem;
            margin-bottom: 20px;
        }
        
        h2 {
            font-size: 2.5rem;
            color: #222323;
        }
        
        h3{
            font-size: 2rem;
        }

        /* Кнопки */
        .btn {
            display: inline-block;
            background-color: #800020;
            color: white;
            padding: 12px 30px;
            text-decoration: none;
            border-radius: 30px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1.2rem;
            font-family: 'Inter';
            margin-top: 20px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .btn:hover {
            background-color: #4d0a18;
            transform: translateY(-3px);
        }
        
        /* Шапка */
        header {
            background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/headerPhoto.jpg');
            background-size: cover;
            background-position: center;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
            position: relative;
        }
        
        .names {
            font-size: 4rem;
            margin-bottom: 20px;
            letter-spacing: 3px;
        }
        
        .date {
            font-size: 5rem;
            margin-top: 30px;
            margin-bottom: 30px;
            font-family: 'Viaoda Libre', cursive;
;
        }
        
        /* О нас */
        #about {
            text-align: center;
        }
        
        .couple-info {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            margin-top: 50px;
        }
        
        .person {
            width: 300px;
            margin: 20px;
        }
        
        .person-img {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            object-fit: cover;
            object-position: top;
            margin-bottom: 20px;
            
        }
        
        
        
        .detail-card {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            width: 300px;
            margin: 20px;
            text-align: center;
        }
        
        .detail-card i {
            font-size: 2rem;
            color: #cbc0b2;
            margin-bottom: 20px;
        }
        
        .address {
             font-size: 1rem;
            color: #222323;
            margin: 15px 0 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f0e6d9;
        }

        .gathering {
            font-size: 1rem;
            color: #222323;
            margin: 15px 0 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f0e6d9;
        }
        
       .end-party{
            font-size: 1rem;
            color: #222323;
            margin: 15px 0 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f0e6d9;
       } 

        .location-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(139, 90, 43, 0.1);
        }
        .schedule-list {
            list-style: none;
            padding: 0;
        }

        .schedule-list li {
            display: flex;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #f0e6d9;
            }       

        .schedule-list .time {
            font-weight: bold;
            color: #222323;
            min-width: 60px;
        }

        .dress-code-box {
            margin-top: 30px;
            padding: 25px;
            background: #f9f5f0;
            border-radius: 10px;
        }

        .dress-style {
            font-size: 1.1rem;
            color: #222323;
            font-weight: bold;
            margin-bottom: 20px;
        }

    .dress-recommendations {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

    
    .Dress-announced{
        margin-top: 30px;
        text-align: center;
        margin-bottom: 30px;
    }
    
    
        /* === Карусель === */
.carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 700px;
}

.carousel-item {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-bottom: 30px
}
@media (min-width: 992px) {
    .carousel-item img {
        object-fit: contain;
    }
}

/* Кнопки и индикаторы — оставьте как есть */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 44px;
    height: 44px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 2;
}

.prev { left: 20px; }
.next { right: 20px; }

.carousel-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    cursor: pointer;
}
.indicator.active { background: #8b5a7d; }

/* Кнопки */
    .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 44px;
    height: 44px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 2;
}

    .carousel-btn:hover {
        background: #fff;
        transform: translateY(-50%) scale(1.05);
}

    .prev {
        left: 20px;
    }

    .next {
        right: 20px;
    }

/* Индикаторы */
    .carousel-indicators {
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 2;
    }

    .indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255,255,255,0.7);
        cursor: pointer;
        transition: background 0.3s;
    }

.indicator.active {
    background: #8b5a7d;
}
    
    
    
    
        .recommendation {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        }

    .recommendation .icon {
        font-size: 1.8rem;
        margin-top: 5px;
    }

        .recommendation .title {
            font-weight: bold;
            margin-bottom: 5px;
        }

        .recommendation .colors {
            font-size: 0.9rem;
            color: #222323;
            margin-top: 5px;
        }

        .location-map {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .map-container {
            margin-top: 10px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            filter: grayscale(100%);
            
        }

        .map-placeholder {
            background: #f9f5f0;
            padding: 30px;
            text-align: center;
            height: 400px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }


        .map-frame {
            margin-top: 20px;
            padding: 20px;
            background: white;
            border-radius: 10px;
            max-width: 300px;
        }

        .map-link {
            display: block;
            text-decoration: none;
            margin: 24px auto 0;
            width: fit-content;
            margin-bottom: 10px;
        }

       

        .transport-info {
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

        .transport-options {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 20px;
        }

        .option {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px;
            background: #f9f5f0;
            border-radius: 10px;
        }

                .transport-icon {
            font-size: 1.5rem;
        }
               
        /* Таймер */
        #countdown {
            background-color: #f0e6d9;
            color: black;
            text-align: center;
        }
        
        .timer {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 30px;
        }
        
        .timer-item {
            margin: 0 15px;
            text-align: center;
        }
        
        .timer-number {
            font-size: 3rem;
            font-weight: bold;
        }
        
        .timer-label {
            font-size: 1rem;
        }
        
        
        .confirmation-presence{
            text-align: center;
            margin-bottom: 15px;
        }


        /* RSVP форма */
        #rsvp {
            background-color: #f0e6d9;
        }
        
        .rsvp-form {
            max-width: 600px;
            margin: 0 auto;
            background: #f0e6d9;
            padding: 40px;
            border-radius: 10px;
            

	}
	
		        
        .form-group {
            margin-bottom: 20px;
            font-family: 'Inter';
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
        }
        
        .form-control {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }
        
        textarea.form-control {
            height: 120px;
            resize: vertical;
        }
        
        /* Контакты */
        .contacts {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 30px;
            font-family: 'Viaoda Libre', cursive;
        }
        
        .contact-person {
            margin: 0 20px;
            text-align: center;
        }
        
        
        
        .final-photo-section {
            padding: 40px 0;
            text-align: center;
        }

        .final-photo {
            width: 100%;
            max-width: 800px; /* как у блока Dress Code */
            height: auto;
            border-radius: 8px;
            box-shadow: 0 6px 16px rgba(0,0,0,0.08);
            display: block;
            margin: 0 auto;
        }
        
        .bye-text{
            margin-top: 30px;
        }
        
        
        /* Подвал */
        footer {
            background-color: #f0e6d9;
            color: black;
            text-align: center;
            padding: 30px 0;
        
        }
        
        /* Адаптивность */
        @media (max-width: 768px) {
            h1 {
                font-size: 2.5rem;
            }
            
            .names {
                font-size: 2.5rem;
            }
            
            .person {
                width: 100%;
            }
            
            .timer-item {
                margin: 10px;
            }
            
            .timer-number {
                font-size: 2rem;
            }
            .date{
                font-size: 2.5rem;
            }
        }
    



 /* Стили для формы RSVP */
        .consent-checkbox {
            background: #f9f5f0;
            padding: 15px;
            border-radius: 10px;
            margin: 20px 0;
        }

        .consent-checkbox label {
            display: flex;
            align-items: flex-start;
            cursor: pointer;
            font-size: 0.9rem;
            color: #555;
        }

        .consent-checkbox input[type="checkbox"] {
            margin-right: 10px;
            margin-top: 3px;
        }

        #formMessage {
            transition: all 0.3s ease;
        }

/* Адаптивность для мобильных */
        @media (max-width: 768px) {
            .rsvp-form {
                padding: 0 10px;
            }
            
            .form-control {
                font-size: 16px; /* Предотвращает зум на iOS */
            }
        }
