/* Основные стили */
:root {
    --turquoise: #40E0D0;
    --dark-turquoise: #00CED1;
    --black: #333333;
    --white: #ffffff;
    --gray: #f5f5f5;
    --dark-gray: #777777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    color: var(--black);
    line-height: 1.6;
    padding-top: 140px; /* Отступ для фиксированной шапки */
}

a {
    text-decoration: none;
    color: inherit;
}

/* Шапка */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--turquoise);
}

.logo img {
    height: 60px;
    width: auto;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    font-size: 24px;
    color: var(--white);
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.whatsapp-icon { color: #25D366 !important; }
.telegram-icon { color: #0088cc !important; }
.wechat-icon { color: #09b83e !important; }

.phone a {
    font-weight: bold;
    font-size: 18px;
    color: var(--white);
    transition: color 0.3s;
}

.phone a:hover {
    color: var(--black);
}

/* Меню */
.main-menu {
    background-color: var(--dark-turquoise);
    padding: 0 5%;
}

.main-menu ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    font-weight: bold;
    transition: background-color 0.3s;
}

.main-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Секции */
section {
    padding: 80px 5%;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    color: var(--dark-turquoise);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
}

h3 {
    font-size: 1.5rem;
}

/* Герой секция */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--turquoise);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--dark-turquoise);
}

/* О компании */
.about-section {
    background-color: var(--gray);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Продукция */
.products-section {
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background-color: var(--gray);
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Услуги */
.services-section {
    background-color: var(--gray);
}

.services-list {
    max-width: 800px;
    margin: 0 auto;
    list-style-position: inside;
}

.services-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.advantage-card i {
    font-size: 3rem;
    color: var(--turquoise);
    margin-bottom: 20px;
}

/* Контакты */
.contacts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    background-color: var(--gray);
    padding: 30px;
    border-radius: 5px;
}

.contact-info i {
    color: var(--turquoise);
    width: 20px;
    text-align: center;
    margin-right: 10px;
}

.contact-social {
    margin-top: 30px;
}

.contact-social a {
    font-size: 2rem;
    margin-right: 15px;
    color: var(--dark-turquoise);
    transition: color 0.3s;
}

.contact-social a:hover {
    color: var(--turquoise);
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    background-color: var(--turquoise);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: var(--dark-turquoise);
}

/* Подвал */
footer {
    background-color: var(--dark-turquoise);
    color: var(--white);
    padding: 50px 5% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--turquoise);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .main-menu ul {
        flex-wrap: wrap;
    }
    
    .main-menu a {
        padding: 10px 15px;
    }
    
    section {
        padding: 60px 5%;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}