body { font-family: 'Arial', sans-serif; margin: 0; padding: 0; line-height: 1.6; background: #f5f5f5; color: #333; }
header { background: #2c3e50; color: white; padding: 1rem; }
.nav-links { list-style: none; display: flex; }
.nav-links li a { color: white; text-decoration: none; margin: 0 1rem; }
.nav-links li a:hover { color: #ecf0f1; }
.hamburger { display: none; }
.logo { font-size: 1.5rem; font-weight: bold; }
.hero { position: relative; height: 400px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: white; background: rgba(0, 0, 0, 0.5); padding: 1rem; border-radius: 5px; }
.hero-text h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.hero-text p { font-size: 1.2rem; margin-bottom: 1rem; }
.cta-button { background: #e74c3c; color: white; padding: 0.5rem 1rem; text-decoration: none; border-radius: 5px; transition: background 0.3s, transform 0.2s; }
.cta-button:hover { background: #c0392b; transform: scale(1.05); }
.intro, .services-preview, .about, .services, .gallery, .contact { padding: 2rem; background: #fff; margin: 1rem 0; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
h2 { font-size: 2rem; color: #2c3e50; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; color: #2c3e50; margin-bottom: 0.5rem; }
p { font-size: 1rem; color: #333; }
.service-grid, .service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.service-item { background: #f9f9f9; padding: 1rem; border-radius: 5px; text-align: center; }
.service-item img { width: 100%; height: 150px; object-fit: cover; border-radius: 5px; }
.more-link { display: block; text-align: center; color: #e74c3c; text-decoration: none; margin-top: 1rem; }
.more-link:hover { text-decoration: underline; }
.gallery-slider { position: relative; overflow: hidden; }
.slider-container { display: flex; transition: transform 0.5s; }
.slider-item { min-width: 100%; box-sizing: border-box; text-align: center; }
.slider-item img { width: 100%; height: 300px; object-fit: cover; }
.slider-prev, .slider-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; cursor: pointer; padding: 0.5rem; }
.slider-prev { left: 0; }
.slider-next { right: 0; }
.map iframe { width: 100%; border-radius: 5px; }
.contact-form { max-width: 500px; margin: 0 auto; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: bold; }
.form-group input, .form-group textarea { width: 100%; padding: 0.5rem; border: 1px solid #ccc; border-radius: 5px; }
.success-message { color: green; background: #e0ffe0; padding: 0.5rem; border-radius: 5px; }
.error-message { color: red; background: #ffe0e0; padding: 0.5rem; border-radius: 5px; }
footer { background: #2c3e50; color: white; text-align: center; padding: 1rem; }
footer p { margin: 0; }
footer a { color: #ecf0f1; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.lazy-load { opacity: 0; transition: opacity 0.5s; }
.lazy-load.visible { opacity: 1; }
.fade-in { opacity: 1; transition: opacity 0.5s; } /* Убрана начальная opacity: 0 */
.fade-in.visible { opacity: 1; } /* Оставляем анимацию, но она не влияет на видимость */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; background: #2c3e50; width: 100%; }
    .nav-links.active { display: flex; }
    .nav-links li a { padding: 0.5rem; display: block; }
    .hamburger { display: block; cursor: pointer; }
    .hero { height: 300px; }
    .hero-text h1 { font-size: 2rem; }
    .hero-text p { font-size: 1rem; }
}
@media (max-width: 480px) {
    .hero { height: 250px; }
    .hero-text h1 { font-size: 1.5rem; }
    .hero-text p { font-size: 0.9rem; }
    .slider-item img { height: 200px; }
}