/* Общие стили */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

/* Шапка */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    border-bottom: 3px solid #2c3e50;
    background-color: #f8f9fa;
}

.company-name {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
}

.description {
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
}

.contacts {
    text-align: right;
    line-height: 1.6;
}

.important {
    font-weight: 600;
    color: #2c3e50;
}

/* Навигационные кнопки */
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
    background-color: #f1f1f1;
    border-bottom: 1px solid #ddd;
}

.nav-button {
    padding: 12px 25px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
}

.nav-button:hover {
    background-color: #1a252f;
}

.nav-button.active {
    background-color: #4CAF50;
}

/* Основной контент */
.main-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.content-block {
    margin-bottom: 40px;
}

.content-image {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

/* Стили для логотипа */
.company-name {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 100px;       /* Основной параметр ширины */
    height: auto;      /* Сохраняет пропорции */
    object-fit: contain; /* Гарантирует правильное отображение */
    
    /* Дополнительные параметры при необходимости */
    max-height: 200px;  /* Ограничение по высоте */
    opacity: 0.9;      /* Прозрачность (по желанию) */
    transition: all 0.3s ease; /* Плавные изменения */
}

.logo:hover {
    opacity: 1;        /* Эффект при наведении */
    transform: scale(1.05); /* Легкое увеличение */
}

/* Стили для подвала (футера) */
.footer {
    border-top: 2px solid #2c3e50;
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
    background-color: #f8f9fa;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    font-size: 16px;
    color: #333;
    margin: 0 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}