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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: white; /* Белый фон */
    color: #333; /* Цвет текста */
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .logo {
    height: 120px;
}

.nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    flex-direction: row;
    align-items: flex-end;
}

.nav-menu li {
    margin-left: 25px; /* Отступ между пунктами меню */
}

.nav-menu a {
    color: #003366; /* Синий цвет текста ссылок */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #0099cc; /* Цвет при наведении */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #003366;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.btn {
    background-color: #0099cc;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #0077aa;
}

/* Sections */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: #f9f9f9;
}

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

/* Services */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

/* Advantages */
.advantages-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.advantages-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    text-align: center;
}

.portfolio-item img {
    width: 100%;
    border-radius: 8px;
}

/* Contact */
.contact-info {
    max-width: 500px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    background-color: #003366;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background-color: #002244;
}

/* Footer */
.footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        margin-left: auto; /* Кнопка меню справа */
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 60px 0;
    }
    
    .cookie-banner { flex-direction: column; text-align: center; bottom: 10px; }
    .cookie-btn { margin-left: 0; margin-top: 10px; width: 100%; }
    
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: #222222; /* Цвет фона плашки */
    color: #ffffff; /* Цвет текста */
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: none; /* Скрыт по умолчанию, JS покажет его */
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    font-family: sans-serif;
    font-size: 14px;
    box-sizing: border-box;
}
.cookie-banner a { 
    color: #3498db; /* Цвет ссылки */
    text-decoration: underline; 
}
.cookie-btn {
    background-color: #2ecc71; /* Цвет кнопки "Принять" */
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-left: 15px;
    transition: background 0.2s;
}
.cookie-btn:hover { 
    background-color: #27ae60; 
}