
/* Сброс стандартных отступов */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: 'Lighthaus';
  src: url('ofont.ru_Lighthaus.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Обновите стили для body и текста */
body {
  font-family: 'Lighthaus', serif; /* Основной шрифт для всего текста */
  color: #000;
}

.fullscreen-text {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  width: 100vw;
  background: transparent;
  
}

.text-content {
  max-width: 800px;
  padding: 20px;
}

 /* Блок 1*/
.wedding-title-image {
  max-width: 100%; /* чтобы изображение не выходило за границы контейнера */
  height: auto; /* сохраняет пропорции */
  margin-bottom: 20px; /* отступ снизу, как был у текста */
}
/* Имена жениха и невесты*/
.marck-script {
  font-family: 'Marck Script', cursive;
  font-size: 1.6rem;
}
/* таймер*/
#countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 2rem;
  font-weight: bold;
  color: #131212;
  margin: 20px 0;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.countdown-number {
  font-size: 2rem;
  margin-bottom: 5px;
}

.countdown-label {
  font-size: 1.5rem;
}

@media (max-width: 600px) {
  #countdown {
      font-size: 1.5rem;
      gap: 10px;
  }

  .countdown-number {
      font-size: 2rem;
  }

  .countdown-label {
      font-size: 1rem;
  }
}


/* Блок 2*/

/* Стили для календаря */
.calendar {
  background: rgba(255, 255, 255, 0.9); /* Полупрозрачный белый фон */
  width: 280px;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.calendar-header {
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 18px;
  color: #0c0c0c;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-day {
  text-align: center;
  padding: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #010101;
  transition: background 0.3s ease;
}

.calendar-day:hover {
  background: #f0f0f0;
  border-radius: 50%;
}

.calendar-day.selected {
  background: #e988ca;
  color: white;
  border-radius: 50%;
}

/* Пустые дни */
.calendar-day.empty {
  visibility: hidden;
}


/* Блок 3*/


.pacifico-text {
  font-family: 'Pacifico', cursive;
  font-size: 3rem;
}

.caveat-text {
  font-family: 'Caveat', cursive;
  font-weight: 400; /* или 700 */
  font-size: 3rem;
}




.caveat-text {
  font-family: 'Caveat', cursive;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #333;
}

.color-palette {
  display: flex;
  flex-direction: column;
  text-align: center;
  max-width: 800px;
  
}



.color-row {
  display: flex;
  justify-content: center;
  margin: 5px 0;
  opacity: 0;
}

.top-row {
  animation: slideInFromLeft 1s ease-out forwards;
  animation-delay: 0.3s;
}

.bottom-row {
  animation: slideInFromRight 1s ease-out forwards;
  animation-delay: 0.6s;
}

.color-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin: 0 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
  transform: scale(0);
  animation: scaleIn 0.5s ease-out forwards;
}

/* Яркие цвета */
.color-1 { background-color: #B9ADA1; }
.color-2 { background-color: #745445; }
.color-3 { background-color: #A0A97C; }
.color-4 { background-color: #B47F77; }
.color-5 { background-color: #4E3425; }
.color-6 { background-color: #506954; }

.animate .top-row .color-circle {
  opacity: 1;
  transform: translateX(0);
}

.animate .bottom-row .color-circle {
  opacity: 1;
  transform: translateX(0);
}

/* Начальные позиции */
.top-row .color-circle {
  transform: translateX(-100px);
}

.bottom-row .color-circle {
  transform: translateX(100px);
}

 /* Анимации */
 @keyframes slideInFromLeft {
  0% {
      transform: translateX(-100px);
      opacity: 0;
  }
  100% {
      transform: translateX(0);
      opacity: 1;
  }
}

@keyframes slideInFromRight {
  0% {
      transform: translateX(100px);
      opacity: 0;
  }
  100% {
      transform: translateX(0);
      opacity: 1;
  }
}

@keyframes scaleIn {
  0% {
      transform: scale(0);
  }
  100% {
      transform: scale(1);
  }
}





.text-content {
    
    max-width: 800px;
    text-align: center;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-content h3 {
    
    margin-bottom: 2rem;
    color: #222;
}

.text-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.details {
    margin-top: 3rem;
    font-size: 1.1rem;
}

.details p {
    margin-bottom: 0.8rem;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .image-text h1 {
        font-size: 2.5rem;
    }
    
    .image-text h2 {
        font-size: 1.5rem;
    }
    
    .text-content h3 {
        font-size: 2rem;
    }
    
    .text-content p {
        font-size: 1rem;
    }
    
    .fullscreen-text {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .image-text h1 {
        font-size: 2rem;
    }
    
    .image-text h2 {
        font-size: 1.2rem;
    }
}
#map {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
}
button[onclick="openYandexMap()"] {
    font-family: 'Uncial Antiqua', cursive;
    background-color: #210178; /* Цвет кнопки */
    color: white; /* Цвет текста на кнопке */
    border: none; /* Убираем рамку */
    padding: 15px 25px; /* Отступ внутри кнопки */
    margin: 0 10px; /* Отступ между кнопками */
    font-size: 1em; /* Размер текста кнопки */
    cursor: pointer; /* Курсор при наведении */
    border-radius: 5px; /* Закругление углов кнопки */
    transition: background-color 0.3s ease; /* Плавное изменение цвета */
}

button[onclick="openYandexMap()"]:hover {
    background-color: #4a00b3; /* Цвет кнопки при наведении */
}
.color-palette {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.color-palette img {
    width: 50px;
    height: 50px;
}
.guest-form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.guest-form label {
    margin-top: 10px;
    /* font-family: 'Cinzel Decorative', cursive; */
    
    font-size: 1em;
    color: #000000;
}

.guest-form input[type="text"] {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 1em;
    padding: 10px;
    border: 2px solid rgb(0, 0, 0);
    border-radius: 15px;
    outline: none;
    transition: border-color 0.3s ease;
    margin-top: 5px;
}

.guest-form input[type="text"]:focus {
    border-color: #210178;
}

.guest-form input[type="radio"],
.guest-form input[type="checkbox"] {
    margin-right: 10px;
}

.guest-form button {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 1em;
    padding: 10px 20px;
    background-color: #210178;
    color: rgb(252, 245, 245);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.guest-form button:hover {
    background-color: #4a00b3;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
  }

.event {
    display: flex;
    margin-bottom: 30px;
    position: relative;
  }
  
  .event-time {
    width: 80px;
    font-weight: bold;
    color: #333;
    font-size: 18px;
  }
 /* карточка справа */
  .event-content {
    flex: 1;
    padding-left: 20px;
    border-left: px solid #0c0b0b;
    position: relative;
  }
  
 
  .event-title {
    margin: 0 0 5px 0;
    color: #252121;
    font-size: 20px;
  }
  
  .event-description {
    font-family: 'Allegretto Script One', arial;
    margin: 0;
    color: #666;
            line-height: 1.5}



@keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }
  
  @keyframes blinkCursor {
    from, to { border-color: transparent }
    50% { border-color: white }
  }
  
  .typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid; /* Курсор */
    animation: 
      typing 3.5s steps(30, end),
      blinkCursor 0.75s step-end infinite;
  }

  /* Добавьте в CSS */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .image-text {
    animation: fadeIn 1.5s ease-out forwards;
  }
  
  .text-content {
    animation: fadeIn 2s ease-out 0.5s forwards;
    opacity: 0;
  }



  .timeline-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    font-family: 'Open Sans', sans-serif;
  }
  
  .timeline-heading {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #333;
    position: relative;
  }
  
  .timeline-heading:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #0a0a0a;
    margin: 15px auto 0;
  }
  
  .timeline {
    position: relative;
  }
  
  .event {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
  }
  
  .event:nth-child(1) { animation-delay: 0.2s; }
  .event:nth-child(2) { animation-delay: 0.4s; }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .event-left {
    width: 60px;
    padding-right: 20px;
    display: flex;
    justify-content: center;
  }
  
  .event-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0a0a0a;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
  }
  
  .event-icon svg {
    width: 20px;
    height: 20px;
    fill: #0a0403;
  }
  
  .event-center {
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .event-time {
    font-weight: 600;
    color: #000000;
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .event-line {
    width: 2px;
    flex-grow: 1;
    background: #e0e0e0;
  }
   /* Двойной круг*/
  .event-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0c0c0c;
    border: 3px solid rgb(255, 255, 255);
    box-shadow: 0 0 0 2px #0d0d0d;
    margin-top: 10px;
  }
  
  .event-right {
    flex-grow: 1;
    padding-left: 20px;
  }
  
  .event-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(12, 12, 12, 0.941);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .event:hover .event-content {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .event:hover .event-icon {
    transform: scale(1.1);
    background: #e5a3a3;/* при наведении*/
  }
  
  .event:hover .event-icon svg {
    fill: white;
  }
  
  .event-title {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 1.3rem;
  }
  /* Описание внутри карточки справа */
  .event-description {
    margin: 0;
    color: #666;
    line-height: 1.5;
  }
  
  /* Адаптивность */
  @media (max-width: 768px) {
    .event-left {
      width: 40px;
      padding-right: 10px;
    }
    
    .event-icon {
      width: 36px;
      height: 36px;
    }
    
    .event-center {
      width: 80px;
    }
    
    .event-time {
      font-size: 0.9rem;
    }
    
    .event-content {
      padding: 15px;
    }
  }
  /* Добавляем новые стили для соединительных линий */
  .event-left {
    position: relative;
    width: 60px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  /*
  
  
  /* Адаптируем существующие стили */
  .event-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0e0e0e;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    z-index: 2;
  }
  
  /* Анимация для линии при наведении */
  .event:hover .connector-line {
    opacity: 1;
    background: #c0392b;
  }
  
  /* Адаптивность */
  @media (max-width: 768px) {
    .connector-line {
      height: 30px;
    }
    
    .event-left {
      width: 40px;
      padding-right: 10px;
    }
  }


   