/* 🌌 FLOATING PROJECTS SECTION - ПАРЯЩИЕ КАРТОЧКИ ПРОЕКТОВ */

.floating-projects-section {
    position: relative;
    min-height: 200vh;
    background: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

/* ЗАГОЛОВОК СЕКЦИИ - 20vh */
.floating-projects-header {
    position: relative;
    height: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 2rem;
}

.floating-projects-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    
    /* Энергетическое свечение заголовка */
    text-shadow: 
        0 0 10px rgba(45, 212, 191, 0.3),
        0 0 20px rgba(45, 212, 191, 0.2),
        0 0 30px rgba(45, 212, 191, 0.1);
    
    background: transparent; /* Убираем градиентный фон */
    
    animation: titleEnergyFlow 3s ease-in-out infinite alternate;
}

.floating-projects-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
    letter-spacing: 0.05em;
}

/* ОБЛАСТЬ ПАРЯЩИХ КАРТОЧЕК - 180vh */
.floating-projects-cloud {
    position: relative;
    height: 180vh;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* КОНТЕЙНЕР ДЛЯ КАРТОЧЕК */
.floating-cards-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 100%;
}

/* ПАРЯЩАЯ КАРТОЧКА ПРОЕКТА */
.floating-project-card {
    position: absolute;
    width: 380px;
    height: 280px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 20px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    border: 2px solid transparent;
    
    /* Энергетическое свечение по периметру - голубое */
    box-shadow: 
        0 0 20px rgba(45, 212, 191, 0.3),
        0 0 40px rgba(45, 212, 191, 0.1),
        inset 0 0 20px rgba(45, 212, 191, 0.05);
    
    /* Анимация энергетического поля */
    animation: var(--float-animation) ease-in-out infinite alternate;
}

/* ЭНЕРГЕТИЧЕСКАЯ РАМКА */
.floating-project-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        rgba(45, 212, 191, 0.6),
        rgba(96, 165, 250, 0.4),
        rgba(45, 212, 191, 0.6),
        rgba(96, 165, 250, 0.4)
    );
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    animation: energyFlow 4s ease-in-out infinite;
}

/* ХОВЕР ЭФФЕКТ - ОРАНЖЕВОЕ СВЕЧЕНИЕ */
.floating-project-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(251, 146, 60, 0.5),
        0 0 60px rgba(251, 146, 60, 0.3),
        inset 0 0 30px rgba(251, 146, 60, 0.1);
}

.floating-project-card:hover::before {
    background: linear-gradient(
        45deg,
        rgba(251, 146, 60, 0.8),
        rgba(245, 101, 101, 0.6),
        rgba(251, 146, 60, 0.8),
        rgba(245, 101, 101, 0.6)
    );
    background-size: 400% 400%;
    animation: energyFlowHover 2s ease-in-out infinite;
}

/* ИЗОБРАЖЕНИЕ ПРОЕКТА */
.floating-project-image {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.floating-project-card:hover .floating-project-image {
    opacity: 0.7;
}

/* КАТЕГОРИЯ ПРОЕКТА */
.floating-project-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(45, 212, 191, 0.2);
    color: #2dd4bf;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

/* НАЗВАНИЕ ПРОЕКТА */
.floating-project-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ЦЕНА ПРОЕКТА */
.floating-project-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fb923c;
    margin: 0;
}

/* ОВЕРЛЕЙ ПРИ ХОВЕРЕ */
.floating-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(251, 146, 60, 0.95),
        rgba(245, 101, 101, 0.95)
    );
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.floating-project-card:hover .floating-project-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* СОДЕРЖИМОЕ ОВЕРЛЕЯ */
.overlay-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.overlay-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* КНОПКА ПОДРОБНЕЕ */
.floating-project-btn {
    align-self: flex-start;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    color: #fb923c;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.floating-project-btn:hover {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* АНИМАЦИИ ПАРЕНИЯ */
@keyframes floatGentle1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(15px, -10px) rotate(1deg); }
}

@keyframes floatGentle2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-12px, 8px) rotate(-0.5deg); }
}

@keyframes floatGentle3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(18px, 12px) rotate(0.8deg); }
}

@keyframes floatGentle4 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-8px, -15px) rotate(-1deg); }
}

@keyframes floatGentle5 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(10px, 18px) rotate(0.6deg); }
}

@keyframes floatGentle6 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-20px, -5px) rotate(-0.8deg); }
}

@keyframes floatGentle7 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(14px, -12px) rotate(0.4deg); }
}

@keyframes floatGentle8 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-16px, 6px) rotate(-0.6deg); }
}

/* АНИМАЦИЯ ЭНЕРГЕТИЧЕСКОГО ПОЛЯ */
@keyframes energyFlow {
    0%, 100% { 
        background-position: 0% 0%; 
        opacity: 0.6;
    }
    25% { 
        background-position: 100% 0%; 
        opacity: 0.8;
    }
    50% { 
        background-position: 100% 100%; 
        opacity: 0.6;
    }
    75% { 
        background-position: 0% 100%; 
        opacity: 0.8;
    }
}

@keyframes energyFlowHover {
    0%, 100% { 
        background-position: 0% 0%; 
        opacity: 0.9;
    }
    50% { 
        background-position: 100% 100%; 
        opacity: 1;
    }
}

@keyframes titleEnergyFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ПОЗИЦИОНИРОВАНИЕ КАРТОЧЕК - РАВНОМЕРНОЕ РАСПРЕДЕЛЕНИЕ */
/* ВАЖНО: Эти правила будут переопределены JavaScript для адаптивного размещения */
.floating-project-card:nth-child(1) {
    top: 5%;
    left: 5%;
    --float-animation: floatGentle1 6s;
}

.floating-project-card:nth-child(2) {
    top: 5%;
    right: 5%;
    --float-animation: floatGentle2 7s;
}

.floating-project-card:nth-child(3) {
    top: 25%;
    left: 25%;
    --float-animation: floatGentle3 5.5s;
}

.floating-project-card:nth-child(4) {
    top: 25%;
    right: 25%;
    --float-animation: floatGentle4 6.5s;
}

.floating-project-card:nth-child(5) {
    top: 50%;
    left: 10%;
    --float-animation: floatGentle5 7.5s;
}

.floating-project-card:nth-child(6) {
    top: 50%;
    right: 10%;
    --float-animation: floatGentle6 5s;
}

.floating-project-card:nth-child(7) {
    top: 75%;
    left: 20%;
    --float-animation: floatGentle7 6.8s;
}

.floating-project-card:nth-child(8) {
    top: 75%;
    right: 20%;
    --float-animation: floatGentle8 7.2s;
}

/* ДИНАМИЧЕСКОЕ ПОЗИЦИОНИРОВАНИЕ - управление через JavaScript */
.floating-cards-container.dynamic-positioning {
    position: relative !important;
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
}

.floating-cards-container.dynamic-positioning .floating-project-card {
    /* Сбрасываем все nth-child позиции для динамического управления */
    position: absolute !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: block !important;
    margin: 0 !important;
    grid-column: auto !important;
}

/* Класс для карточек с динамическим позиционированием */
.floating-project-card.positioned {
    /* JavaScript будет устанавливать инлайн стили */
    position: absolute !important;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1200px) {
    .floating-project-card {
        width: 340px;
        height: 260px;
        padding: 1.3rem;
    }
    
    .floating-cards-container {
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .floating-projects-section {
        min-height: 150vh;
    }
    
    .floating-projects-header {
        height: 15vh;
        padding: 1rem;
    }
    
    .floating-projects-cloud {
        height: 135vh;
        padding: 1rem;
    }
    
    .floating-project-card {
        width: 300px;
        height: 240px;
        padding: 1rem;
        position: relative !important;
        margin: 1rem auto;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }
    
    .floating-cards-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }
    
    /* Отключаем парение на мобильных */
    .floating-project-card {
        animation: none !important;
    }
}

@media (max-width: 480px) {
    .floating-project-card {
        width: 280px;
        height: 220px;
    }
    
    .floating-project-image {
        height: 100px;
    }
}

/* ========================================
   CATALOG PROJECTS GRID STYLES
   Стили для блока каталога - отдельные от floating projects
   ======================================== */

/* СТИЛИ ДЛЯ КАТАЛОГА ПРОЕКТОВ */
.catalog-projects-section {
    padding: 4rem 0;
    background: var(--background-dark);
    position: relative;
    overflow: hidden;
    margin-top: 40px; /* Отступ от header */
}

.catalog-projects-header {
    text-align: center;
    margin-bottom: 2rem; /* Уменьшен отступ после подзаголовка */
}

.catalog-projects-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #4facfe 50%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(79, 172, 254, 0.3);
}

.catalog-projects-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #cbd5e1;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ФИЛЬТРЫ КАТЕГОРИЙ */
.catalog-filters {
    padding: 1rem 0 3rem 0; /* Уменьшен верхний паддинг */
    display: flex;
    justify-content: center;
    align-items: center;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;  /* Увеличиваем в два раза */
    height: 140px; /* Увеличиваем в два раза */
    background: rgba(135, 206, 235, 0.2); /* Голубой фон для неактивного состояния */
    border: none; /* Убираем обводку */
    border-radius: 20px; /* Больше скругление пропорционально */
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem; /* Увеличиваем размер шрифта */
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.2);
}

/* Кнопка "ВСЕ" с текстом */
.filter-btn-all {
    font-size: 1.2rem; /* Увеличиваем размер шрифта */
    letter-spacing: 1px;
}

/* Кнопки с иконками */
.filter-btn-icon {
    padding: 0;
}

.filter-btn:hover {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.95), rgba(245, 101, 101, 0.95)); /* ГРАДИЕНТНАЯ оранжевая заливка */
    color: white;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 10px 30px rgba(251, 146, 60, 0.4);
}

.filter-btn.active {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.95), rgba(245, 101, 101, 0.95)); /* ГРАДИЕНТНАЯ оранжевая заливка для активного */
    color: white;
    box-shadow: 
        0 0 25px rgba(251, 146, 60, 0.5),
        0 10px 30px rgba(251, 146, 60, 0.4);
    transform: scale(1.05);
}

/* Tooltip при ховере */
.filter-btn::before {
    content: attr(title);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.filter-btn:hover::before {
    opacity: 1;
    bottom: -35px;
}

.filter-icon {
    width: 90px;  /* Увеличиваем иконки в два раза */
    height: 90px; /* Увеличиваем иконки в два раза */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 15px; /* Увеличиваем скругление пропорционально */
}

/* Иконки для разных категорий */
.filter-btn[data-category="food"] .filter-icon {
    background-image: url('/images/category icons/eat_factory_fullcolor.png');
}

.filter-btn[data-category="cosmetics"] .filter-icon {
    background-image: url('/images/category icons/cosmetic_factory_fullcolor.png');
}

.filter-btn[data-category="other"] .filter-icon {
    background-image: url('/images/category icons/tools_fullcolor.png');
}

/* Контурные иконки при ховере и активном состоянии БЕЗ дополнительного фона */
.filter-btn:hover[data-category="food"] .filter-icon,
.filter-btn.active[data-category="food"] .filter-icon {
    background-image: url('/images/category icons/eat_factory_canny.png');
}

.filter-btn:hover[data-category="cosmetics"] .filter-icon,
.filter-btn.active[data-category="cosmetics"] .filter-icon {
    background-image: url('/images/category icons/cosmetic_factory_canny.png');
}

.filter-btn:hover[data-category="other"] .filter-icon,
.filter-btn.active[data-category="other"] .filter-icon {
    background-image: url('/images/category icons/tools_canny.png');
}

.filter-text {
    white-space: nowrap;
}

.catalog-projects-container {
    width: 100%;
    padding: 0 5vw;
    max-width: 1600px;
    margin: 0 auto;
}

/* Grid контейнер каталога */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    width: 100%;
}

/* Карточка каталога - в стиле floating projects но в grid */
.catalog-project-card {
    position: relative;
    width: 100%;
    height: 320px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 20px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    border: 2px solid transparent;
    
    /* Энергетическое свечение по периметру - голубое */
    box-shadow: 
        0 0 20px rgba(45, 212, 191, 0.3),
        0 0 40px rgba(45, 212, 191, 0.1),
        inset 0 0 20px rgba(45, 212, 191, 0.05);
}

/* ЭНЕРГЕТИЧЕСКАЯ РАМКА для каталога */
.catalog-project-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        rgba(45, 212, 191, 0.6),
        rgba(96, 165, 250, 0.4),
        rgba(45, 212, 191, 0.6),
        rgba(96, 165, 250, 0.4)
    );
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    animation: energyFlow 4s ease-in-out infinite;
}

/* ХОВЕР ЭФФЕКТ для каталога - ОРАНЖЕВОЕ СВЕЧЕНИЕ */
.catalog-project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(251, 146, 60, 0.5),
        0 0 60px rgba(251, 146, 60, 0.3),
        inset 0 0 30px rgba(251, 146, 60, 0.1);
}

.catalog-project-card:hover::before {
    background: linear-gradient(
        45deg,
        rgba(251, 146, 60, 0.8),
        rgba(245, 101, 101, 0.6),
        rgba(251, 146, 60, 0.8),
        rgba(245, 101, 101, 0.6)
    );
    background-size: 400% 400%;
    animation: energyFlowHover 2s ease-in-out infinite;
}

/* ИЗОБРАЖЕНИЕ ПРОЕКТА в каталоге */
.catalog-project-image {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.catalog-project-card:hover .catalog-project-image {
    opacity: 0.7;
}

/* КАТЕГОРИЯ ПРОЕКТА в каталоге */
.catalog-project-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(45, 212, 191, 0.2);
    color: #2dd4bf;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

/* НАЗВАНИЕ ПРОЕКТА в каталоге */
.catalog-project-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ЦЕНА ПРОЕКТА в каталоге */
.catalog-project-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fb923c;
    margin: 0;
}

/* СЧЁТЧИК ИЗОБРАЖЕНИЙ в каталоге */
.catalog-project-images-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* ОВЕРЛЕЙ ПРИ ХОВЕРЕ в каталоге */
.catalog-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(251, 146, 60, 0.95),
        rgba(245, 101, 101, 0.95)
    );
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.catalog-project-card:hover .catalog-project-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* СОДЕРЖИМОЕ ОВЕРЛЕЯ в каталоге */
.catalog-overlay-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.catalog-overlay-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* КНОПКА ПОДРОБНЕЕ в каталоге */
.catalog-project-btn {
    align-self: flex-start;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    color: #fb923c;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.catalog-project-btn:hover {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* АДАПТИВНОСТЬ для каталога */
@media (max-width: 1200px) {
    .catalog-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 1.5rem;
    }
    
    .catalog-project-card {
        height: 300px;
        padding: 1.3rem;
    }
    
    .catalog-project-image {
        height: 120px;
    }
}

@media (max-width: 768px) {
    .catalog-projects-container {
        padding: 0 3vw;
    }
    
    .catalog-projects-section {
        margin-top: 30px; /* Уменьшенный отступ на мобильных */
    }
    
    /* Фильтры на мобильных */
    .catalog-filters {
        padding: 1rem 0 2rem 0;
    }
    
    .filter-buttons {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .filter-btn {
        width: 120px;  /* Пропорционально уменьшаем */
        height: 120px;
        border-radius: 18px;
    }
    
    .filter-btn-all {
        font-size: 1rem;
    }
    
    .filter-icon {
        width: 70px;  /* Пропорционально уменьшаем */
        height: 70px;
    }
    
    /* Tooltip на мобильных - скрываем */
    .filter-btn::before {
        display: none;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .catalog-project-card {
        height: 280px;
        padding: 1rem;
    }
    
    .catalog-project-image {
        height: 110px;
    }
}

@media (max-width: 480px) {
    .catalog-projects-section {
        margin-top: 25px; /* Уменьшенный отступ на очень маленьких экранах */
    }
    
    /* Мини фильтры для очень маленьких экранов */
    .filter-btn {
        width: 100px;
        height: 100px;
        border-radius: 15px;
    }
    
    .filter-btn-all {
        font-size: 0.9rem;
    }
    
    .filter-icon {
        width: 60px;
        height: 60px;
    }
    
    .catalog-project-card {
        height: 260px;
    }
    
    .catalog-project-image {
        height: 100px;
    }
} 