* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #f8f9fa;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Хедер */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Навигация */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    gap: 30px;
}

.logo {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 10px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-links a:hover {
    background: #ff6b6b;
    color: white;
}

/* Основной контент */
.main {
    flex: 1;
}

.page-title {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

/* Футер */
.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section strong {
    display: block;
    margin-bottom: 15px;
    color: #ff6b6b;
    font-size: 18px;
}

.footer-section p {
    margin-bottom: 8px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
}



.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #e55a5a;
    transform: translateY(-2px);
}