@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: #fafcf9;
    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: #4b6741;
    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: #8ca284;
}



















.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(0, 0, 0, 0.15);
    background: #4b6741;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-card-center {
    width: 300px;       /* центральная карточка чуть больше */
    height: 500px;
    background: #869a7f;
}

.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: #4b6741;
    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 var(--shadow-green, rgba(46, 125, 50, 0.25));
}

.carousel-arrow:hover {
    background: var(--accent-lime, #9CCC65);
    transform: scale(1.1);
    box-shadow: 0 6px 12px var(--shadow-green, rgba(46, 125, 50, 0.35));
}

.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: white;
    border-radius: 24px;
    padding: 30px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    border: 1px solid var(--card-border, #2E7D32);
}

.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: var(--btn-green, #8BC34A);
    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: #4b6741;
    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 var(--shadow-green, rgba(46, 125, 50, 0.3));
    text-transform: uppercase;
    letter-spacing: 1px;

}

.save-button:hover {
    background: #869a7f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-green, rgba(46, 125, 50, 0.4));
}

.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: #4b6741;  /* ваш цвет */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(134, 154, 127, 0.3);
}

.step-item.active .step-circle {
    background-color: #324f28;
    box-shadow: 0 4px 12px rgba(134, 154, 127, 0.5);
    transform: scale(1.05);
}

.step-content {
    display: flex;
    flex-direction: column;
}

.step-label {
    font-size: 14px;
    color: #324f28;
    font-weight: 600;
    margin-bottom: 2px;
}

.step-item.active .step-label {
    color: #324f28;
    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;
    }
}