* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #000000; /* Черный текст */
    background: #ffffff; /* Белый фон */
    min-height: 100vh;
}

/* Шапка с центрированным лого */
header {
    background: #ffffff; /* Белый фон */
    padding: 30px 0 20px 0; /* Увеличили отступ сверху */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e0e0e0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Логотип по центру - УВЕЛИЧИЛИ В 2 РАЗА */
.logo-center {
    margin-bottom: 40px; /* Увеличили отступ снизу */
}

.logo-center img {
    height: 160px; /* Было 80px - увеличили в 2 раза */
    width: auto;
    transition: transform 0.3s ease;
}

.logo-center img:hover {
    transform: scale(1.05);
}

/* Горизонтальное меню */
.horizontal-menu {
    display: block;
}

.horizontal-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.horizontal-menu li {
    margin: 0;
    position: relative;
}

.menu-item {
    display: inline-block;
    padding: 12px 25px;
    color: #000000; /* Черный текст */
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
    background: transparent;
}

.menu-item:hover {
    color: #000000;
    border-color: #000000;
    background: transparent;
    transform: translateY(-2px);
    box-shadow: none;
}

/* Выпадающее меню */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
    border: 1px solid #e0e0e0;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #000000;
    text-decoration: none;
    transition: background 0.3s ease;
    border-radius: 0;
    text-align: left;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #000000;
}

/* Показываем выпадающее меню при наведении */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
}

/* Основной контент */
.content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.content h1 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.content p {
    font-size: 1.2rem;
    color: #666666;
}

/* Футер */
footer {
    background: #ffffff;
    color: #000000;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #e0e0e0;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .logo-center img {
        height: 120px; /* Увеличили для мобильных тоже */
    }
    
    .horizontal-menu ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .menu-item {
        padding: 10px 20px;
    }
    
    .dropdown-menu {
        left: 0;
        transform: none;
        min-width: 180px;
    }
    
    .content {
        margin: 20px;
        padding: 20px;
    }
    
    .content h1 {
        font-size: 2rem;
    }
}

/* Убираем все градиенты и тени */
.menu-item:hover {
    box-shadow: none;
    text-shadow: none;
}

/* Простые hover-эффекты */
.menu-item:hover {
    background: #f8f9fa;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
}

/* Стили для страницы команды */
.page-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.page-header h1 {
    font-size: 3rem;
    color: #000000;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.3rem;
    color: #666666;
}

/* Контейнер команды */
.team-content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.team-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Текст о команде */
.team-text {
    flex: 1;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.team-text h2 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.team-text h3 {
    color: #000000;
    margin: 30px 0 15px 0;
    font-size: 1.5rem;
}

.team-text p {
    color: #333333;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.team-text ul {
    color: #333333;
    line-height: 1.8;
    margin-left: 20px;
    margin-bottom: 20px;
}

.team-text li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Фотографии команды */
.team-photos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.photo-item {
    text-align: center;
    padding: 25px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
}

.photo-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #f8f9fa;
}

.photo-item h4 {
    color: #000000;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.photo-item p {
    color: #666666;
    font-size: 1.1rem;
}

/* Адаптивность для мобильных */
@media (max-width: 968px) {
    .team-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .team-text, .team-photos {
        width: 100%;
    }
    
    .photo-item {
        padding: 20px;
    }
    
    .photo-item img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 15px 30px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .team-content {
        margin: 30px auto;
        padding: 0 15px;
    }
    
    .team-text {
        padding: 20px;
    }
    
    .photo-item img {
        width: 100px;
        height: 100px;
    }
}

/* Стили для страницы проектов */
.projects-content {
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 20px;
}

.projects-container {
    width: 100%;
}

/* Фильтры проектов */
.projects-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.filter-btn {
    padding: 12px 25px;
    border: 2px solid #000000;
    background: transparent;
    color: #000000;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #000000;
    color: #ffffff;
}

/* Сетка проектов */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.project-item {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-link {
    padding: 12px 30px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.project-link:hover {
    background: #f8f9fa;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    color: #000000;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.project-info p {
    color: #666666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-category {
    display: inline-block;
    padding: 5px 15px;
    background: #f8f9fa;
    color: #000000;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Адаптивность для мобильных */
@media (max-width: 968px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .projects-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .projects-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-info {
        padding: 20px;
    }
    
    .project-info h3 {
        font-size: 1.2rem;
    }
}
/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #ffffff;
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #000000;
    cursor: pointer;
    width: 40px;
    height: 40px;
    z-index: 10001;
}

.modal-close:hover {
    color: #ff0000;
}

.modal-body {
    display: flex;
    gap: 30px;
    padding: 40px;
}

.modal-images {
    flex: 1;
}

.modal-images img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
}

.modal-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.modal-thumbnails img:hover {
    border-color: #000000;
}

.modal-info {
    flex: 1;
}

.modal-info h2 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 2rem;
}

.modal-info p {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.modal-details {
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}

.detail-label {
    font-weight: 600;
    color: #000000;
    min-width: 100px;
    margin-right: 15px;
}

.detail-value {
    color: #666666;
    background: #f8f9fa;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.modal-visit-btn {
    padding: 15px 30px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.modal-visit-btn:hover {
    background: #333333;
}

/* Адаптивность модального окна */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .modal-images {
        order: 2;
    }
    
    .modal-info {
        order: 1;
    }
    
    .modal-info h2 {
        font-size: 1.5rem;
    }
    
    .modal-thumbnails {
        justify-content: center;
    }
    
    .modal-thumbnails img {
        width: 60px;
        height: 45px;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-body {
        padding: 20px 15px;
        gap: 20px;
    }
    
    .modal-info h2 {
        font-size: 1.3rem;
    }
    
    .modal-info p {
        font-size: 1rem;
    }
    
    .modal-visit-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}