/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Цветовая схема */
:root {
    --primary-color: #ff7b00;
    --primary-dark: #e56d00;
    --primary-light: #ff9d40;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #fff;
}

/* Кнопки */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-dark);
}

/* Шапка */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.logo p {
    font-size: 0.9rem;
    color: #666;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Приветствие с параллаксом */
.welcome-section {
    position: relative;
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: url('https://вечерниймастер.рф/paralax.png') no-repeat center center;
    background-size: cover;
    z-index: -2;
    transform: translateZ(0);
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.welcome-content {
    position: relative;
    z-index: 1;
}

.welcome-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.welcome-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
}

/* Услуги */
.services-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.services-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    margin-bottom: 15px;
    color: #666;
}

.price {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
}

/* Отзывы */
.reviews-section {
    padding: 80px 0;
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--text-color);
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 15px;
}

.reviewer-details h4 {
    margin-bottom: 5px;
}

.date {
    color: #888;
    font-size: 0.9rem;
}

/* Контакты */
.contacts-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contacts-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--text-color);
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

/* Футер */
footer {
    background-color: #333;
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .welcome-content h2 {
        font-size: 2rem;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-slider {
        grid-template-columns: 1fr;
    }
}
/* Эффект при прокрутке для header */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}