/* === Добавлено: Импорт шрифта Poiret One с поддержкой кириллицы === */
@import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap&subset=cyrillic');

/* Basic styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* --- Navbar --- */
.navbar {
     box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.navbar-brand img {
    max-height: 35px; /* Adjust to match logo size */
}

/* --- Hero Section with Background Image --- */
.hero-section {
    /* ====> Укажите правильный путь к фоновому изображению BCL.ONE <==== */
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('./media/bchero.png'); /* Пример пути */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 8rem 0;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-section h1 {
    font-family: 'Poiret One', sans-serif; /* === Изменено: Применен шрифт Poiret One === */
    font-size: 3.8rem; /* === Изменено: Слегка увеличен размер для Poiret One === */
    font-weight: 400; /* === Изменено: Poiret One имеет только вес 400 === */
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-section h2 {
    font-family: 'Poiret One', sans-serif; /* === Изменено: Применен шрифт Poiret One === */
    font-size: 1.8rem; /* === Изменено: Слегка увеличен размер для Poiret One === */
    font-weight: 400; /* Poiret One имеет только вес 400 */
    margin-bottom: 1.5rem;
    color: #f8f9fa;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    font-size: 1.2rem;
    color: #e9ecef;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

 /* Hero Buttons */
 .hero-section .btn-primary {
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
 }
 .hero-section .btn-outline-secondary {
     border-color: #fff;
     color: #fff;
     padding: 0.8rem 1.8rem;
     font-size: 1.1rem;
     transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
 }
  .hero-section .btn-outline-secondary:hover {
      background-color: rgba(255, 255, 255, 0.9);
      color: #333;
      border-color: rgba(255, 255, 255, 0.9);
  }

/* --- General Sections --- */
.section-padding {
    padding: 4rem 0;
}
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    font-weight: 600;
    color: #343a40;
    font-size: 2rem;
}

/* --- Service Cards --- */
.service-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.service-card .card-body {
    text-align: center;
    padding: 1.8rem 1.5rem;
    flex-grow: 1;
}
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: #0d6efd;
}
.service-card h5 {
     font-size: 1.1rem;
     font-weight: 600;
     margin-bottom: 0.8rem;
}
.service-card p {
    font-size: 0.95rem;
    color: #495057;
}

/* --- Book Cards Section --- */
.book-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    /* height: 100%; уже задан через d-flex align-items-stretch в HTML */
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.book-card .book-cover {
    /* Задаем фиксированную высоту для обложек для единообразия */
    height: 300px; /* Подберите оптимальную высоту */
    object-fit: cover; /* Масштабирует изображение, сохраняя пропорции и обрезая лишнее */
    border-top-left-radius: 8px; /* Скругляем углы вместе с карточкой */
    border-top-right-radius: 8px;
    /* Можно добавить легкую рамку, если нужно */
    /* border-bottom: 1px solid #eee; */
}

.book-card .card-body {
    padding: 1.2rem; /* Немного уменьшим паддинги внутри карточки */
}

.book-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    min-height: 2.5em; /* Резервируем место для 2 строк заголовка */
}

.book-card .card-text {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.book-card .book-actions .btn {
    /* Стили для кнопок, если нужно переопределить */
    padding: 0.3rem 0.8rem; /* Чуть меньше стандартных кнопок */
    font-size: 0.85rem;
}

/* Убираем стандартное подчеркивание для иконок внутри кнопок */
.book-card .book-actions .btn i {
    text-decoration: none;
}

/* --- Process Steps --- */
.process-step {
    text-align: center;
    margin-bottom: 2rem;
}
 .process-step .step-icon {
     font-size: 2.8rem;
     margin-bottom: 1rem;
     color: #6c757d;
 }
.process-step h5 {
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 1.05rem;
}

/* --- Call to Action Section --- */
.cta-section {
    background-color: #0d6efd;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}
.cta-section h2 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}
 .cta-section p {
     max-width: 600px;
     margin-left: auto;
     margin-right: auto;
     margin-bottom: 2rem;
     opacity: 0.9;
 }

/* --- Footer --- */
footer {
    background-color: #343a40;
    color: #adb5bd;
    padding: 3rem 0 1rem 0;
    font-size: 0.9rem;
}
footer a {
    color: #dee2e6;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}
footer a:hover {
    color: #fff;
    text-decoration: underline;
}
footer .footer-logo img {
    max-height: 30px;
    margin-bottom: 1.5rem;
}
footer h5 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}
footer ul {
    list-style: none;
    padding-left: 0;
}
footer ul li {
    margin-bottom: 0.6rem;
}
footer .requisites p {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}
 footer .requisites strong {
     color: #fff;
 }
footer .copyright {
    border-top: 1px solid #495057;
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #6c757d;
}
 footer .copyright a {
     color: #adb5bd;
 }
 footer .copyright a:hover {
      color: #fff;
 }