

/* Start:/bitrix/templates/marianfelis/template_styles.css?17866457367699*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: #fff8fa;
    color: #3d2c33;
    line-height: 1.7;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Шапка === */
header {
    background: rgba(255, 245, 248, 0.9);
    backdrop-filter: blur(6px);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #ffd9e6;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: #c44a7a;
}
.logo span {
    color: #f28ab5;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}
nav a {
    font-weight: 500;
    font-size: 17px;
    color: #5a3e4a;
    transition: color 0.3s;
    position: relative;
}
nav a:hover {
    color: #c44a7a;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f28ab5;
    transition: width 0.3s;
}
nav a:hover::after {
    width: 100%;
}
.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #c44a7a;
    cursor: pointer;
}

/* === Герой === */
.hero {
    background: linear-gradient(145deg, #ffe6ef, #ffd9e6);
    padding: 80px 0 70px;
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 50px;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    color: #b13e6b;
    margin-bottom: 12px;
}
.hero h1 i {
    font-style: normal;
    color: #f28ab5;
}
.hero p {
    font-size: 22px;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #5a3e4a;
}
.hero .btn {
    display: inline-block;
    background: #c44a7a;
    color: #fff;
    padding: 14px 44px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 8px 20px rgba(196, 74, 122, 0.25);
}
.hero .btn:hover {
    background: #a83a66;
    transform: translateY(-2px);
}

/* === Секции === */
section {
    padding: 50px 0;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    color: #b13e6b;
    margin-bottom: 40px;
    position: relative;
}
.section-title::after {
    content: '♥';
    display: block;
    font-size: 24px;
    color: #f28ab5;
    margin-top: 4px;
}

/* === Обо мне === */
.about-grid {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}
.about-text {
    flex: 1 1 300px;
}
.about-text p {
    font-size: 18px;
    margin-bottom: 18px;
    color: #4d3a42;
}
.about-text .quote {
    font-style: italic;
    font-size: 22px;
    color: #c44a7a;
    border-left: 4px solid #f28ab5;
    padding-left: 20px;
    margin: 20px 0;
}
.about-image {
    flex: 0 0 280px;
    text-align: center;
}
.about-image img {
    max-width: 100%;
    border-radius: 30px 10px 30px 10px;
    box-shadow: 0 15px 35px rgba(196, 74, 122, 0.15);
}

/* === Горизонтальные карточки книг === */
.books-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.book-card {
    display: flex;
    flex-direction: row;
    background: #ffffffd9;
    backdrop-filter: blur(4px);
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(196, 74, 122, 0.08);
    border: 1px solid #ffd9e6;
    transition: transform 0.3s, box-shadow 0.3s;
    gap: 25px;
    align-items: stretch;
}
.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(196, 74, 122, 0.18);
}
.book-cover {
    flex: 0 0 200px;
    max-width: 200px;
}
.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.book-info h3 {
    font-size: 26px;
    color: #b13e6b;
    font-weight: 600;
    margin-bottom: 4px;
}
.book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 14px;
    color: #7a5b68;
    margin: 6px 0 10px;
}
.book-meta span {
    background: #fcecf2;
    padding: 2px 12px;
    border-radius: 30px;
    font-weight: 400;
}
.book-rating {
    color: #f5a623;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.book-info p {
    font-size: 16px;
    color: #4d3a42;
    font-weight: 300;
    margin-bottom: 12px;
    flex-grow: 1;
}
.book-info .btn-detail {
    align-self: flex-start;
    background: transparent;
    border: 2px solid #c44a7a;
    color: #c44a7a;
    padding: 8px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    cursor: pointer;
}
.book-info .btn-detail:hover {
    background: #c44a7a;
    color: #fff;
}

/* === Новости === */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.news-item {
    background: #fff2f7;
    padding: 22px 30px;
    border-radius: 20px;
    border-left: 6px solid #f28ab5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.news-item h4 {
    font-size: 21px;
    color: #b13e6b;
    margin-bottom: 4px;
}
.news-item .date {
    color: #a88694;
    font-size: 14px;
    margin-bottom: 8px;
}
.news-item p {
    color: #4d3a42;
    font-weight: 300;
}

/* === Подвал === */
footer {
    background: #ffedf3;
    padding: 35px 0;
    text-align: center;
    border-radius: 40px 40px 0 0;
    margin-top: 40px;
}
footer .social a {
    display: inline-block;
    margin: 0 14px;
    font-size: 28px;
    color: #b13e6b;
    transition: color 0.3s, transform 0.2s;
}
footer .social a:hover {
    color: #c44a7a;
    transform: scale(1.1);
}
footer .contacts {
    margin: 12px 0 8px;
    font-size: 16px;
    color: #5a3e4a;
}
footer .contacts a {
    color: #c44a7a;
    font-weight: 500;
}
footer p {
    color: #7a5b68;
    font-size: 14px;
    margin-top: 6px;
}

/* === Адаптив === */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 20px 0 10px;
        gap: 16px;
        background: #fff8fa;
        border-radius: 0 0 20px 20px;
    }
    nav ul.open {
        display: flex;
    }
    .hero h1 {
        font-size: 38px;
    }
    .hero p {
        font-size: 18px;
    }
    .about-grid {
        flex-direction: column;
        text-align: center;
    }
    .about-image {
        flex: 0 0 auto;
        width: 70%;
        margin: 0 auto;
    }
    .section-title {
        font-size: 30px;
    }

    .book-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .book-cover {
        flex: 0 0 auto;
        max-width: 180px;
        width: 100%;
    }
    .book-info .btn-detail {
        align-self: center;
    }
}
@media (max-width: 480px) {
    .book-cover {
        max-width: 140px;
    }
    .book-info h3 {
        font-size: 22px;
    }
}
/* End */
/* /bitrix/templates/marianfelis/template_styles.css?17866457367699 */
