/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/*:root {*/
/*    --primary-color: #e8c4c4;*/
/*    --secondary-color: #d4a5a5;*/
/*    --dark-color: #3a3a3a;*/
/*    --light-color: #f8f9fa;*/
/*    --accent-color: #b87c7c;*/
/*    --black-color: #1a1a1a;*/
/*}*/

:root {
    --primary-color: #f3e5ab;   /* Светлое шампанское */
    --secondary-color: #e0cda9; /* Песочно-золотистый */
    --dark-color: #2c2c2c;      /* Мягкий черный (графит) */
    --light-color: #fffdf5;     /* Теплый белый */
    --accent-color: #c5a059;    /* Насыщенное золото */
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body.theme-dark {
    color: var(--light-color);
    background-color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', serif;
    font-weight: 700;
}

/* Анимация курсора */
.cursor-hoverr {
    transition: all 0.3s ease;
}

.cursor-hoverrr:hover {
    transform: scale(1.05);
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23b87c7c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'></circle></svg>"), auto;
}

/* Hero section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../../photo/hero.webp') no-repeat center center;
    background-size: cover;
    height: 100vh;
    min-height: 600px;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.theme-dark .hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../../photo/hero-black.webp') no-repeat center center;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link.btn:hover {
    color: black;
}

.couple-names {
    font-size: 4rem;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.wedding-date {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

/* Countdown timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 2rem 0;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 15px;
    min-width: 100px;
    text-align: center;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.3);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Invitation section */
.invitation-section {
    padding: 5rem 0;
    background-color: white;
    position: relative;
}

.theme-dark .invitation-section {
    color: var(--dark-color);
}

.invitation-text {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
}

.invitation-text::before,
.invitation-text::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
}

.invitation-text::before {
    top: 0;
    left: 0;
}

.invitation-text::after {
    bottom: -1.5rem;
    right: 0;
}

/* Schedule section */
.schedule-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.theme-dark .schedule-section {
    background-color: var(--black-color);
    color: var(--dark-color);
}

.theme-dark .schedule-section h2 {
    color: var(--light-color);
}

.schedule-item {
    display: flex;
    margin-bottom: 3rem;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.schedule-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.schedule-img {
    flex: 0 0 40%;
    min-height: 250px;
    background-size: cover;
    background-position: center;
}

.schedule-content {
    flex: 1;
    padding: 2rem;
}

.schedule-time {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.schedule-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--accent-color);
}

/* Color palette */
.palette-section {
    padding: 5rem 0;
    background-color: white;
}

.theme-dark .palette-section {
    background-color: var(--light-color);
    color: var(--black-color);
}

.color-palette {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 3rem;
}

@media(max-width: 767px) {
    .color-palette {
        display: grid;
        grid-template-columns: max-content max-content;
    }
}

.color-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.color-box:hover {
    transform: scale(1.1) rotate(10deg);
}

.color-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
}

#weddingCarousel {
    max-width: 530px;
    margin: 0 auto;
}

/* Photo slider */
.photo-slider-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.theme-dark .photo-slider-section {
    background-color: var(--black-color);
    color: var(--light-color);
}

.photo-slide {
    height: 700px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin: 0 15px;
    position: relative;
    overflow: hidden;
}

.photo-slide::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.photo-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    max-width: 80%;
}

/* FAQ section */
.faq-section {
    padding: 5rem 0;
   
}

.theme-dark .faq-section {
    background-color: var(--light-color);
    color: var(--black-color);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(232, 196, 196, 0.2);
    color: var(--dark-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(184, 124, 124, 0.25);
}

/* RSVP section */
.rsvp-section {
    padding: 10rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../../photo/RSVP.webp') no-repeat center center;
    background-size: cover;
    color: white;
    position: relative;
}

.rsvp-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 15px;
    color: var(--dark-color);
}

.theme-dark .rsvp-content {
    background: white ;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(184, 124, 124, 0.25);
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: #9c6969;
    border-color: #9c6969;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}
.theme-dark .footer {
    background-color: var(--black-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon i {
    font-size: 40px;
}

.social-icon:hover {
    /*background-color: var(--accent-color);*/
    transform: translateY(-5px);
}

.icon-whatsapp {
    color: #3ddb59;
}

.icon-max i img {
    width: 40px;
    height: 40px;
    transform: translateY(-3px);
}

.icon-telegram {
    color: #41afe8;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .couple-names {
        font-size: 3rem;
    }

    .schedule-item {
        flex-direction: column;
    }

    .schedule-img {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .couple-names {
        font-size: 2.5rem;
    }

    .wedding-date {
        font-size: 1.5rem;
    }

    .countdown-item {
        min-width: 80px;
        padding: 10px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .rsvp-content {
        padding: 2rem;
    }
    
    .schedule-content {
    padding: 1.6rem;
}

.photo-slide {
    height: 500px;
}
}

@media (max-width: 576px) {
    .couple-names {
        font-size: 2rem;
    }

    .countdown {
        flex-wrap: wrap;
        gap: 10px;
    }

    .countdown-item {
        min-width: 100px;
    }

    .invitation-text {
        padding: 1rem;
    }

    .invitation-text::before,
    .invitation-text::after {
        font-size: 3rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9c6969;
}

/* Floating animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}