/* styles.css */
:root {
    --primary-color: #ff514f;
    --primary-light: #ff7a78;
    --primary-dark: #d9302e;
    --secondary-color: #ff9a3c;
    --secondary-light: #ffb366;
    --secondary-dark: #e67e22;
    --accent-color: #ff6b6b;
    --light-color: #fff9f5;
    --dark-color: #333333;
    --gray-color: #f0e6e0;
    --text-color: #444444;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        h1, h2, h3, h4 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
        }
        
        /* Кнопки */
        .btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: #ff514f;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            border: none;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .btn:hover {
            background-color: #344955;
            transform: translateY(-2px);
        }
        
        .btn-primary {
            background-color: #f9aa33;
            color: #333;
        }
        
        .btn-primary:hover {
            background-color: #f7931e;
        }
        
        /* Шапка */
        #header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            transition: all 0.3s ease;
        }
        
        #header.scrolled {
            padding: 10px 0;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 15px;
        }
        
        .logo img {
            height: 50px;
            width: auto;
        }
        
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 25px;
        }
        
        .main-nav a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s ease;
        }
        
        .main-nav a:hover {
            color: #f9aa33;
        }
        
        .header-contact {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .phone-number {
            font-weight: 600;
            white-space: nowrap;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #333;
        }
        
        /* Герой-секция */
     /* Hero Section with Slider */
.hero {
    position: relative;
    height: 100vh;
    max-height: 800px;
    min-height: 600px;
    overflow: hidden;
    margin-top: 80px;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-content .btn {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.slide-content .btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Slider navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 20px;
}

.slider-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}
        
/* Удалите или закомментируйте этот блок */
.hero-content {
    text-align: center;
    padding: 120px 0 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://self-m.riverdon.ru/wp-content/uploads/2016/07/bigstock-Happy-cheering-couple-enjoying-45243640-1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: 80px;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    color: white;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
        
        /* Секции */
        section {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: #2c3e50;
        }
        
        .section-title p {
            font-size: 1.1rem;
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* Услуги */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }
        
        .service-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
        }
        
        .service-img {
            height: 200px;
            overflow: hidden;
        }
        
        .service-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .service-card:hover .service-img img {
            transform: scale(1.05);
        }
        
        .service-content {
            padding: 25px;
        }
        
        .service-content h3 {
            margin-bottom: 15px;
            color: #2c3e50;
        }
        
        .service-content p {
            margin-bottom: 20px;
            color: #666;
        }
        
        /* О нас */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }
        
        .about-text h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: #2c3e50;
        }
        
        .about-text p {
            margin-bottom: 20px;
            color: #666;
        }
        
        .about-image img {
            width: 100%;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .about-features {
            margin-top: 30px;
        }
        
        .feature-item {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .feature-icon {
            width: 50px;
            height: 50px;
            background-color: #f9aa33;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        
        /* Галерея */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        
        .gallery-item {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            height: 250px;
            cursor: pointer;
        }
        
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }
        
        .gallery-overlay i {
            color: white;
            font-size: 2rem;
        }
        
        /* Контакты */
        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
        }
        
        .contact-info h3,
        .contact-form h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: #2c3e50;
        }
        
        .contact-details {
            margin-bottom: 30px;
        }
        
        .contact-item {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .contact-icon {
            width: 40px;
            height: 40px;
            background-color: #f9aa33;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            flex-shrink: 0;
        }
        
        .contact-text h4 {
            margin-bottom: 5px;
            color: #2c3e50;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
        }
        
        .social-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: #ff514f;
            color: white;
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .social-link:hover {
            background-color: #f9aa33;
            transform: translateY(-3px);
        }
        
        .contact-form {
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        /* Подвал */
        footer {
            background-color: #2c3e50;
            color: white;
            padding: 60px 0 20px;
        }
        
        .footer-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-logo img {
            height: 50px;
            margin-bottom: 15px;
        }
        
        .footer-about p {
            margin-top: 15px;
            opacity: 0.8;
        }
        
        .footer-links h3,
        .footer-contact h3 {
            margin-bottom: 20px;
            font-size: 1.3rem;
        }
        
        .footer-links ul {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: white;
            text-decoration: none;
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }
        
        .footer-links a:hover {
            opacity: 1;
            color: #f9aa33;
        }
        
        .footer-contact p {
            margin-bottom: 10px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            opacity: 0.8;
        }
        
        .footer-contact i {
            margin-top: 3px;
            color: #f9aa33;
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0.7;
        }
        
        /* Медиа-запросы для адаптивности */
        @media (max-width: 1024px) {
            .hero-content h1 {
                font-size: 2.8rem;
            }
            
            .services-grid,
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .about-content,
            .contact-container,
            .footer-container {
                gap: 30px;
            }
        }
        
        @media (max-width: 768px) {
            .header-container {
                padding: 10px 15px;
            }
            
            .logo img {
                height: 40px;
            }
            
            .main-nav {
                position: fixed;
                top: 70px;
                left: 0;
                width: 100%;
                background: white;
                padding: 20px;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
                transform: translateY(-100%);
                opacity: 0;
                visibility: hidden;
                transition: all 0.3s ease;
            }
            
            .main-nav.active {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }
            
            .main-nav ul {
                flex-direction: column;
                gap: 15px;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .phone-number {
                display: none;
            }
            
            .header-contact .btn {
                display: none;
            }
            
            .hero-content {
                padding: 100px 0 60px;
                margin-top: 70px;
            }
            
            .hero-content h1 {
                font-size: 2.2rem;
                padding: 0 15px;
            }
            
            .hero-content p {
                font-size: 1.1rem;
                padding: 0 20px;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
                gap: 15px;
                padding: 0 20px;
            }
            
            .hero-buttons .btn {
                width: 100%;
                max-width: 300px;
            }
            
            section {
                padding: 60px 0;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .section-title p {
                padding: 0 15px;
            }
            
            .services-grid,
            .gallery-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .about-content,
            .contact-container,
            .footer-container {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .about-image {
                order: -1;
            }
            
            .gallery-item {
                height: 200px;
            }
            
            .contact-form {
                padding: 20px;
            }
            
            .footer-container {
                text-align: center;
            }
            
            .footer-contact p {
                justify-content: center;
            }
        }
        
        @media (max-width: 480px) {
            .hero-content h1 {
                font-size: 1.8rem;
            }
            
            .hero-content p {
                font-size: 1rem;
            }
            
            .section-title h2 {
                font-size: 1.8rem;
            }
            
            .btn {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
            
            .service-content,
            .contact-form {
                padding: 20px;
            }
            
            .feature-item {
                flex-direction: column;
                text-align: center;
            }
            
            .feature-icon {
                align-self: center;
            }
        }
        
        /* Дополнительные улучшения для очень маленьких экранов */
        @media (max-width: 360px) {
            .hero-content {
                padding: 80px 0 40px;
            }
            
            .hero-content h1 {
                font-size: 1.6rem;
            }
            
            section {
                padding: 40px 0;
            }
            
            .header-container {
                padding: 8px 10px;
            }
            
            .logo img {
                height: 35px;
            }
        }