/* ========== СТИЛИ ДЛЯ СТРАНИЦЫ ДИЗАЙН ПРОЕКТОВ ========== */

/* ГЕРОЙ */
.design-hero {
    background: linear-gradient(135deg, rgba(230,80,32,0.05), rgba(243,161,25,0.05));
    padding: 60px 0 40px;
    text-align: center;
    margin-bottom: 40px;
}

.design-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.design-title span {
    background: linear-gradient(135deg, #E65020, #F3A119);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.design-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .design-title {
        font-size: 2.5rem;
    }
    .design-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* СЕТКА ПРОЕКТОВ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin: 10px 0 80px;
}

@media (max-width: 968px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* КАРТОЧКА ПРОЕКТА */
.project-card {
    background: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 1px solid rgba(230, 80, 32, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(230, 80, 32, 0.15);
}

.project-header {
    padding: 25px 30px 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.project-title {
    font-size: 1.8rem;
    color: #E65020;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin: 0;
}

.project-area {
    background: rgba(230, 80, 32, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    color: #E65020;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .project-header {
        padding: 20px 25px 10px 25px;
        flex-direction: column;
        align-items: flex-start;
    }
    .project-title {
        font-size: 1.5rem;
    }
}

/* КАРУСЕЛЬ - квадратная */
.carousel-container {
    position: relative;
    margin: 0 25px 20px 25px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
}

.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;  /* КВАДРАТ 1:1 */
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-item {
    flex: 0 0 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* На мобильных тоже квадрат */
@media (max-width: 768px) {
    .carousel {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 480px) {
    .carousel {
        aspect-ratio: 1 / 1;
    }
}

/* СТРЕЛКИ КАРУСЕЛИ - ТОЛЩЕ И РОВНЕЕ */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    z-index: 10;
    color: #E65020;
    font-family: 'Inter', sans-serif;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #E65020, #F3A119);
    color: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(230, 80, 32, 0.3);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

/* ТОЧКИ КАРУСЕЛИ */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

.carousel-dot.active {
    background: #E65020;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .carousel-container {
        margin: 0 20px 15px 20px;
    }
    .carousel {
        height: 260px;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .carousel {
        height: 220px;
    }
    .carousel-container {
        margin: 0 15px 15px 15px;
        border-radius: 20px;
    }
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* ОПИСАНИЕ И ТЕГИ */
.project-description {
    padding: 0 30px 15px 30px;
    color: #4a4a4a;
    line-height: 1.6;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 30px 30px 30px;
}

.project-tag {
    background: rgba(230, 80, 32, 0.08);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #E65020;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .project-description {
        padding: 0 25px 15px 25px;
        font-size: 0.95rem;
    }
    .project-tags {
        padding: 0 25px 25px 25px;
    }
}