/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка сайта */
.header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Навигация */
.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.nav-list a:hover {
    color: #3498db;
}

/* Мобильное меню */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 5px;
}

.menu-line {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

/* Герой-секция */
.hero {
    background-color: #3498db;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Секции */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: #2c3e50;
}

/* О компании */
.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    margin: 25px 0 15px;
    color: #2c3e50;
}

.values-list {
    list-style: none;
    margin: 20px 0;
}

.values-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.values-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.about-image {
    flex: 1;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Услуги */
.services {
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-text {
    color: #666;
}

/* Команда */
.team-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.team-image {
    flex: 1;
}

.team-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.team-text {
    flex: 1;
}

.team-list {
    list-style: none;
    margin: 20px 0;
}

.team-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.team-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 1.5rem;
}

/* Контакты */
.contacts-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h3,
.contact-map h3 {
    margin-bottom: 25px;
    color: #2c3e50;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-details h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.contact-details p {
    color: #666;
}

.map-placeholder {
    background-color: #f8f9fa;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

/* Подвал сайта */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    margin: 5px 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    color: #3498db;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #2c3e50;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .about-content,
    .team-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
    }
}