* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
}

@font-face {
    font-family: 'Forum';
    src: url('../fonts/Forum-Regular.ttf');
}

@font-face {
    font-family: 'Sloop';
    src: url('../fonts/Sloop.otf');
}

.banner {
    min-height: 90vh;
}

.branches {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.branch {
    width: 150px;
    height: 150px;
}

.title {
    text-align: center;
}

.title h1 {
    font-family: 'Sloop';
    font-size: 100px;
    font-weight: 400;
    color: #59382C;
    letter-spacing: 2px;
}

.divider {
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            #59382C 30%,
            #59382C 70%,
            transparent);
    margin: 15px 60px;
}

.photos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    margin: 20px 0;
    padding: 0 10px;
}


.photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.photo-small {
    width: 300px;
    height: 400px;
}

.photo-large {
    width: 300px;
    height: 450px;
}

.banner-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.banner-decoration img {
    width: 450px;
    height: auto;
    opacity: 0.6;
}

/* Секция даты */
.date-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Отдельный элемент даты */
.date-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Линии сверху и снизу - цельные */
.date-line-top,
.date-line-bottom {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            #59382C 15%,
            #59382C 85%,
            transparent);
    margin: 8px 0;
}

/* Текст даты */
.date-item .month {
    font-family: 'Sloop';
    font-size: 70px;
    color: #59382C;
    padding: 0 10px;
}

.date-item .day {
    font-family: 'Sloop';
    font-size: 170px;
    color: #59382C;
}

.date-item .year {
    font-family: 'Sloop';
    font-size: 70px;
    color: #59382C;
    padding: 0 10px;
}


.info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 60px auto 20px;
    padding: 30px 20px;
    background-color: #F4F0EF;
    border-radius: 16px;
    max-width: 700px;
}

.flower {
    position: absolute;
    top: -30px;
    left: -30px;
}

.info_divider {
    width: 200px;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            #59382C 20%,
            #59382C 80%,
            transparent);
    margin: 15px 0 25px;
}

.info_title {
    font-family: 'Sloop';
    font-size: 100px;
    font-weight: 400;
    color: #59382C;
}

.info_text {
    font-family: 'Forum';
    font-size: 20px;
    text-align: center;
    color: #59382CCC;
    margin-bottom: 30px;
}

.calendar-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    background: #fff;
}

/* Веточки */
.branch_info {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 20px;
}

.branch-left {
    left: 20px;
}

.branch-right {
    right: 40px;
}

/* 
.branch_info img {
    width: 100px;
    height: 100px;
    object-fit: contain;
} */

/* Заголовок календаря */
.calendar-header {
    text-align: center;
    margin-bottom: 30px;
}

.calendar-date {
    font-family: 'Sloop';
    font-size: 60px;
    color: #59382C;
    letter-spacing: 2px;
}

.calendar-divider {
    width: 100px;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            #59382C 20%,
            #59382C 80%,
            transparent);
    margin: 10px auto 15px;
}

.calendar-month {
    font-family: 'Sloop';
    font-size: 50px;
    color: #59382C;
}

/* Сетка календаря */
.calendar {
    padding: 20px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 15px;
    text-align: center;
}

.weekday {
    font-family: 'Forum';
    font-size: 16px;
    color: #59382C;
    font-weight: 600;
    padding: 10px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.day {
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Forum';
    font-size: 18px;
    font-weight: 500;
    color: #59382C;
    position: relative;
    cursor: default;
}

/* Выделенный день с сердечком */
.day.highlighted {
    position: relative;
}

.day.highlighted span {
    position: relative;
    z-index: 2;
}

.day.highlighted .heart {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: #E8DCD5;
    z-index: 1;
    opacity: 0.8;
}

.location {
    margin: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.location_title {
    font-size: 100px;
    font-weight: 400;
    color: #59382C;
    font-family: 'Sloop';
}

.location_divider {
    width: 300px;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            #59382C 20%,
            #59382C 80%,
            transparent);
    margin: 10px auto 15px;
}

.location_image {
    margin-bottom: 40px;
    width: 600px;
}

.address {
    font-family: 'Forum';
    font-size: 26px;
    color: #59382CCC;
    margin-bottom: 10px;
    text-align: center;
}

.time {
    font-family: 'Forum';
    font-size: 34px;
    color: #59382CCC;
    margin-bottom: 20px;
}

.map {
    font-family: 'Forum';
    font-size: 24px;
    color: #59382CCC;
    border: 1px solid #59382C;
    padding: 10px 50px;
}


@media (max-width: 600px) {

    .banner {
        height: auto;
        min-height: auto;
    }

    .banner-decoration {
        display: none;
    }

    .branch {
        width: 106px;
        height: 106px;
    }

    .title h1 {
        font-size: 50px;
    }

    .photos {
        gap: 20px;
    }

    .photo-small {
        width: 118px;
        height: 150px;
    }

    .photo-large {
        width: 118px;
        height: 207px;
    }

    .photos {
        gap: 12px;
    }

    .date-section {
        gap: 20px;
    }

    .date-item .month {
        font-size: 45px;
    }

    .date-item .day {
        font-size: 120px;
    }

    .date-item .year {
        font-size: 45px;
    }

    .info {
        max-width: 320px;
    }

    .info_divider {
        width: 150px;
        margin: 10px 0 20px;
    }

    .info_title {
        font-size: 45px;
        line-height: 1.3;
    }

    .info_text {
        font-size: 18px;
        line-height: 1.3;
    }

    .calendar-wrapper {
        /* padding: 80px 10px 20px; */
        max-width: 100%;
        margin: 0;
        padding: 20px 0;
    }

    .branch_info {
        width: 70px;
        height: 70px;
        top: 10px;
    }

    .branch-left {
        left: 0;
    }

    .branch-right {
        right: 60px;
    }

    .calendar-date {
        font-size: 45px;
    }

    .calendar-month {
        font-size: 24px;
    }

    .weekday {
        font-size: 14px;
        padding: 8px 0;
    }

    .day {
        aspect-ratio: 1;
        font-size: 16px;
    }

    .day.highlighted .heart {
        top: 70%;
    }

    .location_title {
        font-size: 45px;
        text-align: center;
    }

    .location_divider {
        width: 100px;
    }

    .location_image {
        width: 260px;
        margin-bottom: 20px;
    }

    .address {
        font-size: 18px;
        max-width: 270px;
        line-height: 1.3;
    }

    .time {
        font-size: 28px;
    }

    .map {
        font-size: 20px;
    }
}

/* Секция тайминга */
.timing-section {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

.timing-wrapper {
    position: relative;
    background: #FAF8F7;
    border-radius: 16px;
    padding: 40px 30px;
    max-width: 600px;
    width: 100%;
}

.timing-title {
    font-family: 'Sloop';
    font-size: 60px;
    font-weight: 400;
    color: #59382C;
    text-align: center;
    margin-bottom: 10px;
}

.timing-divider {
    width: 150px;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            #59382C 20%,
            #59382C 80%,
            transparent);
    margin: 15px auto 35px;
}

.timing-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.timing-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.timing-event {
    font-family: 'Forum';
    font-size: 22px;
    color: #59382C;
    text-align: right;
    flex: 1;
    max-width: 250px;
}

.timing-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom,
            transparent,
            #59382C 10%,
            #59382C 90%,
            transparent);
    flex-shrink: 0;
}

.timing-time {
    font-family: 'Forum';
    font-size: 26px;
    color: #59382C;
    font-weight: 500;
    flex: 0 0 100px;
    text-align: left;
}

/* Адаптивная версия для мобильных */
@media (max-width: 600px) {
    .timing-section {
        padding: 40px 15px;
    }

    .timing-wrapper {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .timing-title {
        font-size: 45px;
    }

    .timing-divider {
        width: 100px;
        margin: 10px auto 25px;
    }

    .timing-list {
        gap: 20px;
    }

    .timing-item {
        gap: 15px;
    }

    .timing-event {
        font-size: 18px;
        max-width: 160px;
    }

    .timing-line {
        height: 30px;
    }

    .timing-time {
        font-size: 22px;
        flex: 0 0 75px;
    }
}

/* Секция дресс-кода */
.dresscode-section {
    display: flex;
    justify-content: center;
    padding: 80px 20px;
    background-color: #fff;
}

.dresscode-wrapper {
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.dresscode-title {
    font-family: 'Sloop';
    font-size: 60px;
    font-weight: 400;
    color: #59382C;
    margin-bottom: 10px;
}

.dresscode-divider {
    width: 200px;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            #59382C 20%,
            #59382C 80%,
            transparent);
    margin: 15px auto 40px;
}

.dresscode-text {
    margin-bottom: 50px;
}

.dresscode-text p {
    font-family: 'Forum';
    font-size: 22px;
    color: #59382C;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Палитра цветов */
.color-palette {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 40px 0 50px;
    flex-wrap: wrap;
}

.color-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.color-circle:hover {
    transform: translateY(-5px);
}

.dresscode-note {
    margin-top: 30px;
}

.dresscode-note p {
    font-family: 'Forum';
    font-size: 20px;
    color: #59382C;
}

/* Адаптивная версия для мобильных */
@media (max-width: 600px) {
    .dresscode-section {
        padding: 50px 15px;
    }

    .dresscode-title {
        font-size: 45px;
    }

    .dresscode-divider {
        width: 150px;
        margin: 10px auto 30px;
    }

    .dresscode-text p {
        font-size: 18px;
        line-height: 1.5;
    }

    .color-palette {
        gap: 10px;
        margin: 30px 0 40px;
    }

    .color-circle {
        width: 50px;
        height: 50px;
    }

    .dresscode-note p {
        font-size: 18px;
    }
}

/* Секция банкета */
.banquet-section {
    padding: 80px 20px;
    background-color: #fff;
    position: relative;
}

.banquet-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

/* Декоративные цветочки */
.banquet-flower-left,
.banquet-flower-right {
    position: absolute;
    top: 40px;
    width: 120px;
    height: 120px;
    opacity: 0.4;
    pointer-events: none;
}

.banquet-flower-left {
    left: 0;
    transform: rotate(-15deg);
}

.banquet-flower-right {
    right: 0;
    transform: rotate(15deg);
}

.banquet-flower-left img,
.banquet-flower-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banquet-title {
    font-family: 'Sloop';
    font-size: 60px;
    font-weight: 400;
    color: #59382C;
    margin-bottom: 10px;
}

.banquet-divider {
    width: 200px;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            #59382C 20%,
            #59382C 80%,
            transparent);
    margin: 15px auto 40px;
}

.banquet-image {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.banquet-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.banquet-address {
    font-family: 'Forum';
    font-size: 22px;
    color: #59382C;
    margin: 40px 0 20px;
    line-height: 1.6;
}

.banquet-time {
    font-family: 'Forum';
    font-size: 34px;
    color: #59382C;
    margin: 20px 0 40px;
    font-weight: 500;
}

.banquet-map {
    display: inline-block;
    font-family: 'Forum';
    font-size: 20px;
    color: #59382C;
    border: 1px solid #59382C;
    padding: 12px 50px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.banquet-map:hover {
    background-color: #59382C;
    color: #fff;
}

/* Адаптивная версия для мобильных */
@media (max-width: 600px) {
    .banquet-section {
        padding: 50px 15px;
    }

    .banquet-flower-left,
    .banquet-flower-right {
        top: 30px;
        width: 80px;
        height: 80px;
    }

    .banquet-flower-left {
        left: -10px;
    }

    .banquet-flower-right {
        right: -10px;
    }

    .banquet-title {
        font-size: 45px;
    }

    .banquet-divider {
        width: 150px;
        margin: 10px auto 30px;
    }

    .banquet-image {
        margin: 30px 0;
    }

    .banquet-image img {
        max-width: 280px;
    }

    .banquet-address {
        font-size: 18px;
        margin: 30px 0 15px;
        line-height: 1.5;
    }

    .banquet-time {
        font-size: 28px;
        margin: 15px 0 30px;
    }

    .banquet-map {
        font-size: 18px;
        padding: 10px 40px;
    }
}

/* Финальная секция */
.closing-section {
    padding: 80px 20px;
    background-color: #fff;
}

.closing-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background-color: #F4F0EF;
    border-radius: 20px;
    text-align: center;
}

.closing-title {
    font-family: 'Sloop';
    font-size: 75px;
    font-weight: 400;
    color: #59382C;
    line-height: 1.1;
    margin-bottom: 20px;
}

.closing-divider {
    width: 200px;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            #59382C 20%,
            #59382C 80%,
            transparent);
    margin: 25px auto 35px;
}

.closing-signature {
    font-family: 'Forum';
    font-size: 22px;
    color: #59382C;
    line-height: 1.6;
}

/* Адаптивная версия для мобильных */
@media (max-width: 600px) {
    .closing-section {
        padding: 50px 15px;
    }

    .closing-wrapper {
        padding: 40px 25px;
        border-radius: 16px;
    }

    .closing-title {
        font-size: 50px;
        line-height: 1;
    }

    .closing-divider {
        width: 150px;
        margin: 20px auto 25px;
    }

    .closing-signature {
        font-size: 18px;
    }
}

/* Секция контактов */
.contacts-section {
    padding: 80px 20px;
    background-color: #fff;
}

.contacts-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contacts-title {
    font-family: 'Sloop';
    font-size: 60px;
    font-weight: 400;
    color: #59382C;
    margin-bottom: 10px;
}

.contacts-divider {
    width: 200px;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            #59382C 20%,
            #59382C 80%,
            transparent);
    margin: 15px auto 50px;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.contact-name {
    font-family: 'Forum';
    font-size: 30px;
    color: #59382C;
    text-align: right;
}

.contact-phone {
    font-family: 'Forum';
    font-size: 24px;
    color: #59382C;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-phone:hover {
    opacity: 0.7;
}

/* Адаптивная версия для мобильных */
@media (max-width: 600px) {
    .contacts-section {
        padding: 50px 15px;
    }

    .contacts-title {
        font-size: 45px;
    }

    .contacts-divider {
        width: 150px;
        margin: 10px auto 40px;
    }

    .contacts-list {
        gap: 20px;
    }

    .contact-item {
        gap: 15px;
    }

    .contact-name {
        font-size: 24px;
    }

    .contact-phone {
        font-size: 20px;
    }
}