body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1e1e1e;
    color: #fff;
    overflow-x: hidden;
}

header {
    background-color: #2c2c2c;
    color: #fff;
    padding: 15px;
    text-align: center;
    border-bottom: 4px solid #f28c38;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header img {
    max-width: 200px;
    height: auto;
}

.welcome-message {
    margin-top: 10px;
    font-size: 1.2em;
    color: #f28c38;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-message img {
    width: 70px; /* Увеличен размер */
    height: 70px; /* Увеличен размер */
    border-radius: 50%; /* Круглый аватар */
    margin-right: 10px;
    object-fit: cover;
}

.lang-switch {
    position: absolute;
    top: 10px;
    right: 10px;
}

.lang-switch select {
    background-color: #f28c38;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 14px;
}

.lang-switch select option {
    background-color: #2c2c2c;
    color: #fff;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #f28c38;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #fff;
}

.hero {
    background: url('https://images.unsplash.com/photo-1552519507-dea7fd2e9c46?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') no-repeat center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    border-bottom: 4px solid #f28c38;
}

.hero h1 {
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 5px;
}

section {
    padding: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.service-card {
    background: #2c2c2c;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    text-align: center;
    transition: transform 0.3s;
}

.service-card h3 {
    color: #f28c38;
    font-size: 1.1em;
}

.service-card p {
    font-size: 0.9em;
}

.service-card:hover {
    transform: translateY(-3px);
}

.about, .reviews {
    background: #2c2c2c;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 50%;
    padding: 6px;
    background: #333;
    border: 1px solid #444;
    color: #fff;
    border-radius: 3px;
    display: block;
    margin: 0 auto;
}

.form-group input[type="submit"] {
    background-color: #f28c38;
    border: none;
    cursor: pointer;
    font-weight: bold;
    padding: 6px 12px;
    width: 30%;
    margin-top: 10px;
}

.form-group input[type="submit"]:hover {
    background-color: #e07b2a;
}

.review {
    background: #333;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.review-content {
    flex-grow: 1;
}

.rating {
    color: #f28c38;
    font-weight: bold;
    margin-bottom: 10px;
}

.review-photo {
    max-width: 200px;
    max-height: 200px;
    margin-top: 10px;
}

.reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.reaction-button {
    background: none;
    border: none;
    color: #f28c38;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
}

.reaction-button:hover {
    color: #ff5555;
}

.comment-section {
    margin-top: 10px;
}

.comment {
    background: #444;
    padding: 5px;
    border-radius: 3px;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.comment .avatar {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

.comment-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-left: 10px;
}

.comment-form {
    margin-top: 10px;
}

.comment-form textarea {
    width: 100%;
    resize: vertical;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.modal-content {
    background-color: #2c2c2c;
    margin: 20px auto;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    border-bottom: 4px solid #f28c38;
    width: 90%;
    max-width: 400px;
    position: relative;
    top: 20px;
    text-align: center;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-content .avatar {
    width: 100px; /* Увеличен размер в настройках */
    height: 100px; /* Увеличен размер в настройках */
    border-radius: 50%; /* Круглый аватар */
    margin-bottom: 10px;
    object-fit: cover;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
}

.settings-form .form-group {
    margin-bottom: 15px;
}

.settings-form input {
    width: 80%;
    padding: 8