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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('jpg/111.png');
}

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

/* Шапка */
.header {
    background: #1a1a1a;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

.logo a {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    text-decoration: none;
}

.logo span {
    color: #ff9900;
}

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

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

.nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: #ff9900;
}

.phone a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.phone i {
    margin-right: 5px;
}


.hero {
    background: linear-gradient(rgba(0, 7, 0, 0.7), rgba(0, 7, 0, 0.9)), url('https://via.placeholder.com/1920x1080?text=ремонт');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 180px 0 100px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}


.btn {
    display: inline-block;
    background: #ff9900;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #e68a00;
}

/* Услуги */
.services {
    padding: 80px 0;
    background: #fff;
}

.services h2, .about h2, .gallery h2, .contacts h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
}

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

.service-card {
    background: #f4f4f4;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    transition: transform 0.3s;
}

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

.service-card i {
    font-size: 40px;
    color: #ff9900;
    margin-bottom: 20px;
}

/* О нас */
.about {
    padding: 80px 0;
    background: #f4f4f4;
    text-align: center;
}

.photo {
    padding: 80px 0;
    background: #f4f4f4;
    text-align: center;
}

/* Галерея */
.gallery {
    padding: 80px 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Контакты */
.contacts {
    padding: 80px 0;
    background: #f4f4f4;
}

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

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

.contact-info i {
    margin-right: 10px;
    color: #ff9900;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form textarea {
    height: 150px;
}

/* Подвал */
.footer {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }

    .nav ul {
        margin: 15px 0;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }
}