@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Montserrat:wght@300;400&display=swap');

:root {
    --accent: #c9a27c;
    --accent-light: #f3d1b0;
}

/* базовое */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: #fdf8f5;
}

/* фон */
.background-blur {
    position: fixed;
    width: 100%;
    height: 100%;
    background: url('/static/images/main1.jpg') center/cover no-repeat;
    filter: blur(8px) brightness(0.6);
    z-index: 0;
}

/* glass */
.glass {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* контейнер */
.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    text-align: center;
    background: white;
}

/* логин */
.login {
    position: relative;
    z-index: 1;
    width: 350px;
    margin: auto;
    margin-top: 15vh;
    padding: 40px;
    text-align: center;
    color: white;
}

/* input */
.input-group input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
}

/* кнопка */
button {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
}

/* фото */
.gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.gallery img {
    width: 45%;
    border-radius: 15px;
}

/* имя */
.guest-name {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin: 20px 0;
    color: var(--accent);
}

/* текст */
.invite-text {
    max-width: 600px;
    margin: auto;
}

/* Фото гостей */
.guest-photo {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.guest-photo img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);

    transition: 0.3s;
}
.guest-item {
    text-align: center;
}

.guest-item span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #555;
}

/* hover эффект */
.guest-photo img:hover {
    transform: scale(1.05);
}

/* даты */
.dates {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.card {
    padding: 20px;
    border-radius: 15px;
    background: white;
}

.date {
    color: var(--accent);
}
/* Стили для времени */
.time {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
}

/* Блок цветовой гаммы */
.color-theme-section {
    margin-top: 50px;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,248,240,0.9));
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.theme-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #5c3d2e;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.theme-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent);
}

/* Палитра цветов */
.color-palette {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.color-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    cursor: default;
    position: relative;
}

.color-circle:hover {
    transform: scale(1.1) rotate(5deg);
}

.color-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    background: rgba(0,0,0,0.3);
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Для светлых кругов - темный текст */
.color-circle:nth-child(4) .color-name {
    color: #5c3d2e;
    text-shadow: none;
    background: rgba(255,255,255,0.7);
}

/* Блок дресс-кода */
.dresscode-block {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 20px;
    margin-top: 15px;
}

.dresscode-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.dresscode-text {
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 15px;
}

.dresscode-text strong {
    color: var(--accent);
    font-weight: 600;
}

.dresscode-note {
    font-size: 14px;
    color: #8b7355;
    padding-top: 12px;
    border-top: 1px dashed #e0d0c0;
    margin-top: 10px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .color-circle {
        width: 70px;
        height: 70px;
    }

    .color-name {
        font-size: 11px;
        padding: 3px 8px;
    }

    .color-palette {
        gap: 15px;
    }

    .dresscode-text {
        font-size: 14px;
    }
}

/* анимация */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}


@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Новые стили для красивого приглашения от Игоря и Марии */
.invitation-heading {
    margin: 30px 0 20px;
}

.invite-subtitle {
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 300;
    margin-bottom: 10px;
}

.couple-name {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 10px 0 5px;
    letter-spacing: 2px;
}

.invite-date-line {
    font-size: 18px;
    font-style: italic;
    color: #666;
    margin: 5px 0 10px;
}

.date-decoration {
    font-size: 18px;
    color: var(--accent);
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 10px;
}

.date-decoration span {
    display: inline-block;
    padding: 0 15px;
    position: relative;
}