@font-face {
    font-family: "AA Stetica Regular";
    src: url(../fonts/AA-Stetica-Regular-BF6749235ad0084.otf);
}

@font-face {
    font-family: "Cormorant SC";
    src: url(../fonts/CormorantSC-Regular.ttf);
}

@font-face {
    font-family: "Czizh";
    src: url(../fonts/Czizh-Body.ttf);
}

/* ------ Главный экран контакты ------ */
/* ------ Хлебные крошки ------ */
.breadcrumbs {
    font-family: "AA Stetica Regular";
    font-size: 18px;
    color: #6B2B00;
}

.breadcrumbs a {
    color: #382D2D;
    text-decoration: none;
    font-family: "AA Stetica Regular";
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 1%;

}

.breadcrumbs span a {
    color: #382D2D80;
}


.event-detail {
    padding: 0 calc(17px + (100 - 17) * ((100vw - 350px) / (1920 - 350)));
    display: flex;
    gap: 24px 50px
}

.event-header {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-info-item {
    display: flex;
    gap: 10px;
}

.event-info-item svg {
    width: 24px;
    height: 24px;
    color: #6B2B00;
}

.event-header h1 {
    font-family: "Cormorant SC";
    font-weight: 700;
    font-size: calc(30px + (48 - 30) * ((100vw - 350px) / (1920 - 350)));
    line-height: 110%;
    text-transform: uppercase;
    color: #6B2B00;
}

.event-short-description, .event-content {
    font-family: "AA Stetica Regular";
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
    color: #382D2D;
}

.event-info-item-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "AA Stetica Regular";
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
    color: #382D2D;
}

.events-main-image {
    flex: 1;
}

.events-main-image img {

    width: 100%;
    border-radius: 16px;
}

.events-main-image-mobile {
    display: none;
}

/* ------ Галерея ------ */
.event-gallery, .back-to-events {
    margin: calc(64px + (120 - 64) * ((100vw - 350px) / (1920 - 320))) calc(20px + (100 - 20) * ((100vw - 350px) / (1920 - 320))) 0;
}

h2.gallery-title {
    font-family: 'Cormorant SC';
    font-weight: 700;
    font-style: Bold;
    font-size: calc(30px + (48 - 30) * ((100vw - 350px) / (1920 - 350)));
    line-height: 110%;
    text-transform: uppercase;
    color: #6B2B00;

}

.photo-gallery-section {
    background-color: #FFFCF7;
    padding: 40px 20px;
}

.photo-gallery-swiper {
    width: 100%;
    overflow: hidden;
}

.photo-gallery-swiper .swiper-slide {
    width: auto;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.photo-gallery-swiper .swiper-slide img {
    width: 100%;
    height: 25rem;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.photo-gallery-swiper .swiper-slide img:hover {
    transform: scale(1.02);
}


.back-to-events {
    position: relative;
    margin-top: calc(40px + (80 - 40) * ((100vw - 350px) / (1920 - 350)));
}

.back-to-events a {
    display: flex;
    gap: 10px;
    text-align: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    font-family: "AA Stetica Regular";
    color: #382D2D;
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;

}

.back-to-events a:hover {
    text-decoration: underline;
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    display: block;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.event-gallery .swiper-nav-buttons {
    display: none;
}

/* ------ форма  ------ */
.planningForm {
    padding: calc(24px + (64 - 24) * ((100vw - 350px) / (1920 - 350))) calc(20px + (100 - 20) * ((100vw - 350px) / (1920 - 350))) 0
}

.planningForm h2 {
    font-family: "Cormorant SC";
    font-weight: 700;
    font-size: calc(30px + (48 - 30) * ((100vw - 350px) / (1920 - 350)));
    line-height: 110%;
    text-transform: uppercase;
    text-align: center;
    color: #6B2B00;

}

.planningForm p {
    font-family: "AA Stetica Regular";
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 1%;
    text-align: center;
    margin: 16px 0 48px 0;
}

.planningForm {
    background: url('../images/starsForm.webp');
    background-repeat: no-repeat;
    background-position: left;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid #6B2B00;
    border-radius: 16px;
    font-family: "AA Stetica Regular";
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 1%;
    outline: none;
    box-sizing: border-box;
}

.form-group textarea {
    width: 100%;
    height: 180px;
    padding: 16px;
    border: 1px solid #6B2B00;
    border-radius: 16px;
    font-family: "AA Stetica Regular";
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 1%;
    outline: none;
    box-sizing: border-box;
}

.submit-btn {
    display: block;
    width: 100%;
    background-color: #6B2B00;
    color: #fff;
    font-size: 16px;
    padding: 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    margin-bottom: 8px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #8a3c00;
}

.form-policy {
    font-size: 12px;
    color: #333;
    text-align: center;
}

.form-group img {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.full-width img {
    position: absolute;
    top: 15%;
    right: 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* ------ Мероприятия ------ */
.Events {
    margin: calc(120px + (200 - 120) * ((100vw - 350px) / (1920 - 320))) calc(20px + (100 - 20) * ((100vw - 350px) / (1920 - 320)));
}

.events-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.events-header h2,
.notice_header_and_buttons h2 {
    font-family: "Cormorant SC";
    font-weight: 700;
    font-size: calc(30px + (48 - 30) * ((100vw - 350px) / (1920 - 350)));
    line-height: 110%;
    text-transform: uppercase;
    color: #6B2B00;
}

.event-card {
    position: relative;
    border: 1px solid #6B2B00;
    border-radius: 16px;
    padding: calc(16px + (24 - 16) * ((100vw - 350px) / (1920 - 350)));
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-image-container {
    position: relative;
    width: 100%;
    height: 15rem;
    border-radius: 12px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
}

.event-content {
    width: 100%;
}

.event-ended-label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    z-index: 2;
    background-color: #43CD58;
    font-family: 'AA Stetica Regular', sans-serif;
    color: white;
}


.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.events-header .swiper-nav-buttons {
    display: flex;
    gap: 12px;
}

.swiper-nav-buttons button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #6B2B00;
    border: 1px solid #6B2B00;
    border-radius: 16px;
    width: 56px;
    height: 56px;
    cursor: pointer;

}

.swiper-nav-buttons button:hover {
    background-color: #7a4000;
    color: white;
}

.eventsSwiper .swiper-slide .card {
    border: 1px, solid, #6B2B00;
    background: white;
    padding: calc(16px + (24 - 16) * ((100vw - 350px) / (1920 - 350)));
    border-radius: 16px;
}

.eventsSwiper .swiper-slide .card .cardImg {
    width: 100%;
    height: 15rem;
    overflow: hidden;
}

.eventsSwiper .swiper-slide .card .cardImg img {
    width: 100%;
    border-radius: 16px;
    height: 15rem;
}


.eventsSwiper .swiper-slide .card .cardText {
    margin-top: calc(16px + (24 - 16) * ((100vw - 350px) / (1920 - 350)));
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eventsSwiper .swiper-slide .card .cardText h3 {
    font-family: "AA Stetica Regular";
    color: #382D2D;
    font-weight: 700;
    font-size: calc(18px + (22 - 18) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
}

.eventsSwiper .swiper-slide .card .cardText p {
    font-family: "AA Stetica Regular";
    color: #382D2D;
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
}

.eventsSwiper .swiper-slide .card .cardData p {
    margin-top: calc(24px + (32 - 24) * ((100vw - 350px) / (1920 - 350)));
    display: flex;
    gap: 11px;
    font-family: "AA Stetica Regular";
    color: #382D2D;
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
}

.eventsSwiper .swiper-slide .card .cardButton button {
    margin-top: calc(24px + (32 - 24) * ((100vw - 350px) / (1920 - 350)));
    width: 100%;
    padding: 16px 56px;
    border-radius: 16px;
    border: none;
    background-color: #6B2B00;
    cursor: pointer;
    font-family: "AA Stetica Regular";
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
    color: #FFFDF9;
}

.eventsSwiper .swiper-slide .card .cardButton button:hover {
    background-color: #8a3c00;

}

.read-more {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px 56px;
    border-radius: 16px;
    background-color: #6B2B00;
    color: #FFFDF9;
    font-family: "AA Stetica Regular";
    font-weight: 300;
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
}

/* ------ Футер ------ */
footer {
    background-color: #6B2B00;
    background-image: url('../images/starsforFooter.webp');
    background-repeat: no-repeat;
    background-position: left bottom;
    padding: calc(32px + (64 - 32) * ((100vw - 350px) / (1920 - 350))) 100px 0;
}

.upperFooter {
    display: flex;
    justify-content: space-between;
    margin-bottom: calc(32px + (64 - 32) * ((100vw - 350px) / (1920 - 350)));
}

.Navigation h4,
.SocialMedia h4,
.ContactsAndAddress h4,
.SocialMediaIcons h4 {
    font-family: "AA Stetica Regular";
    font-weight: 700;
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
    color: #FFFDF9;
    margin-bottom: 16px;
}

.Navigation nav,
.ContactsAndAddress p {
    display: flex;
    flex-direction: column;
    gap: 8px 0;
    font-family: "AA Stetica Regular";
    font-weight: 300;
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
    color: #FFFDF9;
}

.Navigation nav a {
    text-decoration: none;
    color: #FFFDF9;
}

.SocialMedia {
    gap: 8px 0;
    font-family: "AA Stetica Regular";
    font-weight: 300;
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
}

.SocialMedia a {
    text-decoration: none;
    color: #FFFDF9;
}

.ContactsAndAddress {
    display: flex;
    flex-direction: column;
    gap: 40px 0;
}

.ContactsAndAddress a {
    text-decoration: none;
}

.lowerFooter {
    display: flex;
    padding: 40px 0;
    justify-content: space-between;
    border-top: 1px solid #FFFDF980;
    font-family: "AA Stetica Regular";
    font-weight: 400;
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
    color: #FFFDF9;
    flex-wrap: wrap;
}

.lowerFooter a {
    text-decoration: none;
    color: #FFFDF9;
    cursor: pointer;
}


@media (min-width: 1024px) {

    .SocialMedia {
        display: flex;
        flex-direction: column;
    }

    .SocialMediaIcons {
        display: none;
    }
}

@media (max-width: 1024px) {
    .contactsInfo {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /*----- Главная картинка  -----*/
    .events-main-image {
        display: none;
    }

    .events-main-image-mobile {
        display: flex;
        width: 100%;
    }

    .related-events {
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }

    .info_notice_text {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 16px;
        max-width: 100%;
        margin: 0 auto;
        font-family: "AA Stetica Regular", sans-serif;
        color: #3A3A3A;
    }

    .gallery-title-and-buttons {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        margin-bottom: 16px;
    }

    .info_image_notice_mobile {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .info_image_notice_mobile img {
        width: 100%;
        max-height: 350px;
        border-radius: 12px;
        object-fit: cover;
    }


    /*----- Форма -----*/
    .form-row {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    /*----- Галерея -----*/
    .events-header {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .event-gallery .swiper-nav-buttons {
        display: flex;
        gap: 10px;
    }

    .notice_photoGallery .swiper-nav-buttons {
        display: flex;
        margin: 20px 0;
    }

    /*----- Футер -----*/
    footer {
        background-image: url('../images/starsfooterRightCorner.webp');
        background-repeat: no-repeat;
        background-position: right top;
    }

    .lowerFooter {
        gap: 16px 140px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .upperFooter {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 40px 0;
    }

    .SocialMedia {
        display: none;
    }

    .SocialMediaIcons {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .iconsNav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .iconsNav a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        padding: 6px;
        background-color: #FFFDF9;
        border-radius: 100%;
    }

}

@media (max-width: 680px) {
    .socialmedia_email {
        display: flex;
        flex-direction: column;
    }

    .socialmedia_email .socialmedia {
        width: auto;
    }

    .socialmedia_email .email {
        width: auto;
    }
}

.event-card {
    position: relative;
    border: 1px solid #6B2B00;
    border-radius: 16px;
    padding: calc(16px + (24 - 16) * ((100vw - 350px) / (1920 - 350)));
    background: white;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.event-card h3 {
    font-family: "AA Stetica Regular";
    font-weight: 700;
    font-size: calc(18px + (22 - 18) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
    margin: 24px 0 8px 0;
    color: #382D2D;
}

.event-card p {
    font-family: "AA Stetica Regular";
    font-weight: 400;
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
    margin-bottom: 32px;
    color: #382D2D;
}

.event-card .calendarDate {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.event-card img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

button {
    display: block;
    width: 100%;
    padding: 16px 56px;
    border-radius: 16px;
    border: 1px solid transparent;
    outline: none;
    background-color: #6B2B00;
    color: #FFFDF9;
    font-family: "AA Stetica Regular", sans-serif;
    font-weight: 300;
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #8a3c00;
    border: 1px solid #6B2B00;
}

/* News Swiper - Related Events Style - FIXED VERSION */
.related-news {
    margin: calc(120px + (200 - 120) * ((100vw - 350px) / (1920 - 320))) calc(20px + (100 - 20) * ((100vw - 350px) / (1920 - 320)));
}

.related-news h2 {
    font-family: "Cormorant SC";
    font-weight: 700;
    font-size: calc(30px + (48 - 30) * ((100vw - 350px) / (1920 - 350)));
    line-height: 110%;
    text-transform: uppercase;
    color: #6B2B00;
}

.related-news .events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.related-news .swiper-nav-buttons {
    display: flex;
    gap: 12px;
    z-index: 10;
}

.related-news .swiper-nav-buttons button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #6B2B00;
    border: 1px solid #6B2B00;
    border-radius: 16px;
    width: 56px;
    height: 56px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 20;
    outline: none;
}

.related-news .swiper-nav-buttons button:hover {
    background-color: #7a4000;
    color: white;
    transform: scale(1.05);
}

.related-news .swiper-nav-buttons button:active {
    transform: scale(0.95);
}

.related-news .swiper-nav-buttons button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.related-news .swiper-nav-buttons button svg {
    pointer-events: none; /* Prevent SVG from blocking clicks */
}

/* Main Swiper Container */
.newsSwiper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 10px; /* Add some bottom padding for shadows */
}

.newsSwiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.newsSwiper .swiper-slide {
    height: auto;
    flex-shrink: 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .newsSwiper .swiper-slide {
        max-width: 33%;
    }
}

.newsSwiper .swiper-slide .card {
    border: 1px solid #6B2B00;
    padding: calc(16px + (24 - 16) * ((100vw - 350px) / (1920 - 350)));
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
}

.newsSwiper .swiper-slide .card .cardImg {
    margin-bottom: calc(16px + (24 - 16) * ((100vw - 350px) / (1920 - 350)));
}

.newsSwiper .swiper-slide .card .cardImg img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
}

.newsSwiper .swiper-slide .card .cardText {
    margin-top: calc(16px + (24 - 16) * ((100vw - 350px) / (1920 - 350)));
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.newsSwiper .swiper-slide .card .cardText h3 {
    font-family: "AA Stetica Regular";
    color: #382D2D;
    font-weight: 700;
    font-size: calc(18px + (22 - 18) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.newsSwiper .swiper-slide .card .cardText p {
    font-family: "AA Stetica Regular";
    color: #382D2D;
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsSwiper .swiper-slide .card .cardData {
    margin-top: auto;
}

.newsSwiper .swiper-slide .card .cardData p {
    margin-top: calc(24px + (32 - 24) * ((100vw - 350px) / (1920 - 350)));
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: "AA Stetica Regular";
    color: #382D2D;
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
}

.newsSwiper .swiper-slide .card .cardData img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.newsSwiper .swiper-slide .card .cardButton {
    margin-top: calc(24px + (32 - 24) * ((100vw - 350px) / (1920 - 350)));
}

.newsSwiper .swiper-slide .card .cardButton a {
    display: block;
    text-decoration: none;
}

.newsSwiper .swiper-slide .card .cardButton button {
    width: 100%;
    padding: 16px 56px;
    border-radius: 16px;
    border: none;
    background-color: #6B2B00;
    cursor: pointer;
    font-family: "AA Stetica Regular";
    font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1920 - 350)));
    line-height: 130%;
    letter-spacing: 1%;
    color: #FFFDF9;
    transition: background-color 0.3s ease;
}

.newsSwiper .swiper-slide .card .cardButton button:hover {
    background-color: #8a3c00;
}
