@import url('https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@100..800&display=swap');


:root {
    --bg-dark: #455A44;
    --card-light: #E8F5E9;
    --accent-lime: #9CCC65;
    --btn-green: #8BC34A;
    --text-black: #212121;
    --text-gray: #616161;
    --footer-link: #CFD8DC;
    --footer-text: #B0BEC5;
    --card-border: #2E7D32;
    --shadow-green: rgba(46, 125, 50, 0.25);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Playpen Sans", cursive;
    background: #f3f3f3;
    color: var(--text-black);
    min-height: 100vh;
}

.page {
    max-width: 1500px;
    margin: 0 auto;
    min-height: 100vh; /*Убрать лишние отступы между футером и контейнером */
    display: flex;
    flex-direction: column;
    padding: 0 16px 24px;
}

.header {
    margin:0 auto;
    padding: 10px 10px;
}

.header-img {
    width: 200px;
    height: 100px;
    object-fit: contain;
}


/* Футер */
.footer {
    margin-top: auto;
    padding: 40px 16px;
    text-align: center;
    background-color: #982030;
    border-radius: 20px 20px 0 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin-bottom: 16px;
}

.footer-links a {
    color: white;
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-info {
    color: var(--footer-text);
    font-size: 13px;
    line-height: 1.5;
}

.footer-info p {
    margin: 4px 0;
    color: #e2576a;
}



















.carousel {
    display: flex;
    justify-content: center; /* центрируем всю карусель */
    align-items: flex-start;
    gap: 16px;               /* расстояние между карточками */
    margin: 32px 0;
}

.carousel-card {
    width: 250px;
    height: 430px;
    border-radius: 16px;
    border: 1px solid rgba(221, 191, 195, 1);;
    background: #982030;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-card-center {
    width: 300px;       /* центральная карточка чуть больше */
    height: 500px;
    background: #982030;
}

.card-placeholder {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.carousel-section {
    position: relative;
    width: 100%;
    margin: 32px 0;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #982030;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(221, 191, 195, 1);;
}

.carousel-arrow:hover {
    background: #ddbfc3;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(221, 191, 195, 1);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Обновите существующий медиа-запрос */
@media (max-width: 600px) {
    .carousel-wrapper {
        padding: 20px 15px;
    }

    .carousel-title {
        font-size: 20px;
        margin-bottom: 20px;

    }

    .carousel-container {
        gap: 10px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel-card-center {
        width: 250px;
        height: 400px;
    }

    .save-button {
        min-width: 160px;
        padding: 12px 30px;
        font-size: 16px;
        margin-top: 20px;
    }
}

.carousel-section {
    width: 100%;
    margin: 32px 0;
    display: flex;
    justify-content: center;
}

.carousel-wrapper {
    background: #ffe7ea;
    border-radius: 24px;
    padding: 30px 40px;
    box-shadow: 0 10px 30px rgba(221, 191, 195, 1);;
    max-width: 800px;
    width: 100%;

}

.carousel-title {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 25px 0;
    color: var(--text-black, #212121);
    position: relative;
}

.carousel-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #982030;
    margin: 10px auto 0;
    border-radius: 2px;
}

.save-button {
    display: block;
    width: fit-content;
    min-width: 200px;
    margin: 30px auto 0;
    padding: 14px 40px;
    background: #982030;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(221, 191, 195, 1);
    text-transform: uppercase;
    letter-spacing: 1px;

}

.save-button:hover {
    background: #ddbfc3;
    transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(221, 191, 195, 1);
}

.save-button:active {
    transform: translateY(0);
}



/* Навигация по шагам */
.steps-navigation {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin: 30px 0 50px 0;
    padding: 0 20px;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.step-item.active {
    opacity: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    background-color: #982030;  /* ваш цвет */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 8px rrgba(221, 191, 195, 1);;
}

.step-item.active .step-circle {
    background-color: #982030;
    box-shadow: 0 4px 12px rgba(221, 191, 195, 1);;
    transform: scale(1.05);
}

.step-content {
    display: flex;
    flex-direction: column;
}

.step-label {
    font-size: 14px;
    color: #982030;
    font-weight: 600;
    margin-bottom: 2px;
}

.step-item.active .step-label {
    color: #982030;
    font-weight: 700;
}

.step-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.step-item.active .step-title {
    color: #000;
    font-weight: 600;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .steps-navigation {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .step-item {
        width: 100%;
        max-width: 250px;
    }
}













/* ========== АДАПТАЦИЯ ТОЛЬКО ДЛЯ КНОПОК ========== */

@media (max-width: 768px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    .carousel-arrow {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    .carousel-arrow {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}