/**
 * Файл: css/catalog.css
 * Назначение: Стили для каталога платных услуг
 * Содержит: Hero-секция, сетка услуг, карточки услуг, информационные блоки
 * Зависимости: main.css, components.css
 * Подключается: services/catalog.php, services/service-detail.php
 */

/* ========== HERO СЕКЦИЯ ========== */
.catalog-hero {
    padding: 60px 0 40px;
    text-align: center;
}

.catalog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.catalog-hero p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 217, 102, 0.15);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
}

.note-badge {
    font-size: 1.2rem;
}

/* ========== ОСНОВНОЙ КОНТЕНТ ========== */
.catalog-content {
    padding: 20px 0 80px;
}

/* ========== КАТЕГОРИИ ========== */
.category-section {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd966;
    display: inline-block;
}

/* ========== СЕТКА УСЛУГ ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* ========== КАРТОЧКА УСЛУГИ ========== */
.service-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #ffd966;
}

.service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.service-image-placeholder {
    width: 100%;
    height: 180px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    min-height: 50px;
}

.service-description {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 60px;
    flex: 1;
}

/* ========== ИНФОРМАЦИЯ О ЦЕНЕ ========== */
.service-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.price-block {
    display: flex;
    flex-direction: column;
}

.service-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffd966;
}

.bonus-hint {
    font-size: 0.65rem;
    opacity: 0.6;
}

.service-duration {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ========== ПУСТОЙ КАТАЛОГ ========== */
.empty-catalog {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-catalog h3 {
    margin-bottom: 0.5rem;
}

.empty-catalog p {
    margin-bottom: 1.5rem;
}

/* ========== ИНФОРМАЦИОННЫЙ БЛОК ========== */
.info-note {
    display: flex;
    gap: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    margin-top: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.info-icon {
    font-size: 2.5rem;
}

.info-text p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ========== БЛОК ССЫЛКИ НА БЕСПЛАТНЫЕ ЗАЯВКИ ========== */
.free-link-block {
    margin-top: 50px;
}

.free-link-card {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(0, 0, 0, 0.3));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.free-link-icon {
    font-size: 3rem;
}

.free-link-text {
    flex: 1;
}

.free-link-text h3 {
    margin-bottom: 5px;
    color: #10b981;
}

.free-link-text p {
    margin-bottom: 15px;
    opacity: 0.7;
}