/* Глянцевый стиль для шапки */
.glossy-header {
    background:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('https://images.unsplash.com/photo-1555529669-e69e7aa0ba9a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
}

.glossy-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.15), transparent);
}

.header-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 20px;
}

/* Карточки категорий с эффектом плёнки */
.category-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    margin-bottom: 30px;
    height: 350px;
    position: relative;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.03);
    z-index: 1;
    transition: all 0.5s ease;
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.category-card:hover::before {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.1);
}

/* Эффект плёнки при наведении */
.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    transform: skewX(-15deg);
    transition: all 0.6s ease;
    z-index: 2;
}

.category-card:hover::after {
    left: 150%;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 25px;
    color: white;
    z-index: 3;
}

/* Прозрачные глянцевые кнопки */
.glossy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-block;
    margin-top: 15px;
    backdrop-filter: blur(5px);
}

.glossy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: all 0.6s ease;
}

.glossy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    color: white;
}

.glossy-btn:hover::before {
    left: 100%;
}

/* Текстовая часть */
.category-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.category-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.card-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.category-card:hover .card-title {
    transform: translateY(-5px);
}

.card-text {
    margin-bottom: 0;
    opacity: 0.9;
    transition: transform 0.3s ease 0.1s;
}

.category-card:hover .card-text {
    transform: translateY(-5px);
}

/* Адаптивные настройки */
@media (max-width: 768px) {
    .glossy-header {
        height: 50vh;
        min-height: 350px;
    }

    .category-title {
        font-size: 2.5rem;
    }

    .category-subtitle {
        font-size: 1.1rem;
    }

    .category-card {
        height: 300px;
    }
}