body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #fffaf5;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23eaeaea'/%3E%3C/svg%3E");
    background-repeat: repeat;
    color: #3e3e3e;
}


.hero {
    padding: 60px 20px;
    background: linear-gradient(to bottom right, #fdf6ec,#fbe4e9); /* пастельно-розовый → бежевый */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;  /* добавим оборачивание */
    max-width: 100%;
}

.line p {
    font-size: 45px;
    font-weight: 300;
    margin: 0;
    white-space: nowrap;
    color: #553a36;
}

h1 {
    font-size: 82px;
    font-weight: 700;
    color: #b45e5e;
    margin: 0;
    white-space: nowrap;
    text-align: center;
}

.side-img {
    max-width: 100%;
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.welcome {
    padding: 40px 20px;
    text-align: center;
}

.welcome h2 {
    font-size: 28px;
    font-weight: 600;
    color: #a0716a;
    font-family: 'Open Sans', sans-serif;
}

/* Адаптив */
@media (max-width: 900px) {
    .line {
        flex-direction: column;
        align-items: center; /* выравнивание по центру */
        gap: 20px;
    }

    .line p {
        font-size: 28px;
        white-space: normal;
        text-align: center;
        max-width: 90%;
    }

    .side-img {
        width: 160px;
        height: 160px;
    }

    h1 {
        font-size: 32px;
        white-space: normal;
        text-align: center;
    }
}

.countdown-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(to bottom right, #fdf6ec, #e4f5e9); /* бежевый → зелёный */
}

.countdown-section h2 {
    font-size: 40px;
    font-weight: 700;
    color: #a06060;
    margin-bottom: 10px;
}

.light-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: #5c5c5c;
    margin-bottom: 20px;
}

.wedding-date {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #4b6752;
}

.countdown-label {
    font-size: 28px;
    color: #444;
    margin-bottom: 20px;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 22px;
    font-weight: 400;
    color: #3a3a3a;
}

.timer div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer span {
    font-size: 36px;
    font-weight: 500;
}

.timer small {
    font-size: 14px;
    margin-top: 4px;
    color: #888;
}

/* Адаптив */
@media (max-width: 768px) {
    .timer {
        flex-wrap: wrap;
        gap: 20px;
    }

    .timer span {
        font-size: 28px;
    }

    .wedding-date {
        font-size: 24px;
    }

    .light-subtitle {
        font-size: 18px;
    }
}

.divider-stars {
    font-size: 28px;
    color: #c6a69e;
    margin: 20px 0;
    letter-spacing: 10px;
    font-weight: 400;
}

.highlight-box {
    border: 2px solid #6f9e89; /* пастельно-зелёная рамка */
    border-radius: 24px;
    padding: 20px;
    margin: 30px auto;
    max-width: 700px;
    background: linear-gradient(to bottom right, #f1f9f4, #ffffff);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.schedule-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom right, #fdf6ec, #edf5fa); /* бежевый → голубой */
    text-align: center;
}

.schedule-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #a75c4e;
    margin-bottom: 40px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* <-- фиксируем 2 колонки */
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.schedule-card {
    background-color: #ffffffcc;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.schedule-card .time {
    font-size: 24px;
    font-weight: 400; /* Regular */
    color: #f37b3f;
    margin-bottom: 10px;
}

.schedule-card .title {
    font-size: 22px;
    font-weight: 700; /* Bold */
    margin-bottom: 12px;
    color: #333;
}

.schedule-card .desc {
    font-size: 16px;
    font-weight: 300; /* Light */
    color: #555;
    line-height: 1.5;
}

/* Адаптив */
@media (max-width: 768px) {
        .schedule-grid {
        grid-template-columns: 1fr;
    }
    .schedule-title {
        font-size: 28px;
    }

    .schedule-card {
        padding: 20px 15px;
    }

    .schedule-card .time {
        font-size: 18px;
    }

    .schedule-card .title {
        font-size: 22px;
    }

    .schedule-card .desc {
        font-size: 15px;
    }
}

.dresscode-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom right, #fdf6ec, #e8e0f5);/* голубой → фиолетовый */
    text-align: center;
}

.dresscode-title {
    font-size: 36px;
    font-weight: 600;
    color: #a75c4e;
    margin-bottom: 40px;
}

.dresscode-image-wrapper {
    display: inline-block;
    border: 5px solid ghostwhite;
    border-radius: 16px;
    padding: 0px;
    background-color: #ffffffdd;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* более заметная тень */
}

.dresscode-image {
    width: 100%; /* 100% от обёртки */
    max-width: 700px; /* ограничим макс. ширину картинки */
    height: auto;
    border-radius: 12px;
    display: block;
}

@media (max-width: 600px) {
    .dresscode-title {
        font-size: 28px;
    }

    .dresscode-image-wrapper {
        padding: 4px;
    }
}

.location-section {
    padding: 60px 20px;
     background: linear-gradient(to bottom right, #fdf6ec, #fbe4e9); /* фиолетовый → розовый */
    text-align: center;
}

.location-title {
    font-size: 36px;
    font-weight: 600;
    color: #a75c4e;
    margin-bottom: 20px;
}

.location-subtext {
    font-size: 18px;
    font-weight: 300; /* light */
    color: #555;
    margin-bottom: 30px;
}

.map-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.map-link-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #5e3c78; /* тёмно-фиолетовый */
    color: white;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.map-link-button:hover {
    background-color: #482e5e;
}

.details-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom right, #e8ebe5, #d4d8cb); /* розово-бежевый */
    text-align: center;
}

.details-title {
    font-size: 36px;
    font-weight: 600;
    color: #a75c4e;
    margin-bottom: 20px;
}

.dots-divider {
    font-size: 28px;
    color: #a75c4e;
    margin: 20px 0;
    letter-spacing: 12px;
}

.details-text p {
    font-size: 20px;
    font-weight: 300; /* light */
    color: #444;
    margin: 0 auto;
    max-width: 900px;
    line-height: 1.6;
    padding: 0 10px;
}

.rsvp-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom right, #f5f2ef, #e9ddf2);
    text-align: center;
}

.rsvp-title {
    font-size: 42px;
    font-weight: 600;
    color: #5e3c78;
    margin-bottom: 20px;
}

.rsvp-subtext {
    font-size: 20px;
    font-weight: 300;
    color: #555;
}

.rsvp-deadline {
    font-size: 22px;
    font-weight: 400;
    color: #7b6e82;
    margin: 20px 0;
    letter-spacing: 1px;
}

.question {
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 20px;
}

.options {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 30px;
}


input[type="radio"] {
  transform: scale(1.5); /* увеличь значение при необходимости */
  margin-right: 8px;      /* небольшой отступ между кружком и текстом */
}

textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 10px;
    resize: vertical;
}

.submit-button {
    background-color: #5e3c78;
    color: white;
    font-size: 24px;
    font-weight: 600;
    border: none;
    padding: 16px 34px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
}

#guest-names-block {
    margin: 15px 0 20px;
}

.guest-input {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
    padding: 10px;
    font-size: 18px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.add-button {
    background-color: #5e3c78;
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 20px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

/*Адаптив для мобильных */
@media (max-width: 1200px) {
    .rsvp-title {
        font-size: 28px;
    }

    .rsvp-subtext,
    .rsvp-deadline,
    .question {
        font-size: 18px;
    }

    .guest-input {
        font-size: 18px;
    }

  .add-button,
  .submit-button {
        font-size: 18px;
        padding: 12px 24px;
  }
}

.music-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    font-size: 28px;
    cursor: pointer;
    background-color: rgba(255,255,255,0.8);
    padding: 8px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.music-button:hover {
    background-color: rgba(255,255,255,1);
}
/* Адаптив для блока hero с фото и текстом */
@media (max-width: 600px) {
    .line {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .line p {
        font-size: 22px;
        white-space: normal;
        max-width: 90%;
    }

    h1 {
        font-size: 28px;
        white-space: normal;
        padding: 0 10px;
    }

    .side-img {
        width: 150px;
        height: 150px;
    }
}

select,
select option {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif !important;
}

.option-item {
    margin-bottom: 20px; /* регулируй отступ */
}
