* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #222;
    line-height: 1.5;
}

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

/* Header */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 36px;
    color: #6fa3d6;
    font-weight: 300;
}

.district {
    font-size: 36px;
}

.subheader {
    background: #777;
    color: white;
}

.subheader-content {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
}

.nav {
    background: #eee;
}

.nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 15px 0;
}

.nav a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
}

.nav a:hover {
    color: #6fa3d6;
}

/* Hero Section (для главной) */
.hero {
    position: relative;
    background: url('images/image-2-3.png') center/cover no-repeat;
    height: 600px;
    display: flex;
    align-items: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.4;
}

.hero strong {
    font-weight: 700;
}

/* About Section (для главной) */
.about {
    padding: 80px 0;
    background: #f5f5f5;
}

.about-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.about-text {
    width: 60%;
}

.about-text h2 {
    margin-bottom: 20px;
    font-size: 28px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.price-box {
    width: 35%;
    background: #777;
    color: white;
    padding: 30px;
    border-radius: 6px;
}

.price-box p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.price-box span {
    display: block;
    color: #6fa3d6;
    margin-top: 5px;
}

/* Page Title */
.page-title {
    background: #f5f5f5;
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
}

.page-title h1 {
    font-size: 42px;
    color: #333;
}

/* Service Content */
.service-content {
    padding: 60px 0;
}

.service-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 16px;
}

.service-highlight {
    margin-top: 40px;
    padding: 20px;
    background: #f0f7ff;
    border-left: 5px solid #6fa3d6;
    font-size: 20px;
    font-weight: bold;
}

.service-highlight span {
    color: #6fa3d6;
    font-size: 24px;
}

/* Гарантия */
.guarantee {
    margin-top: 30px;
    padding: 20px;
    background: #e8f5e9;
    border-left: 5px solid #4caf50;
    font-weight: bold;
    font-size: 18px;
}

/* Prices Page */
.prices-section {
    padding: 60px 0;
}

.price-category {
    margin-bottom: 40px;
}

.price-category h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6fa3d6;
}

.price-list {
    list-style: none;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #ddd;
}

.price-list li:last-child {
    border-bottom: none;
}

.price-name {
    font-size: 16px;
    color: #444;
    flex: 1;
}

.price-value {
    font-size: 20px;
    font-weight: bold;
    color: #6fa3d6;
    white-space: nowrap;
    margin-left: 20px;
}

.price-value small {
    font-size: 14px;
    font-weight: normal;
    color: #888;
}

/* Contacts Page */
.contacts-section {
    padding: 60px 0;
}

.contacts-wrapper {
    display: flex;
    gap: 60px;
}

.contacts-info {
    flex: 1;
}

.contacts-info h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
}

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

.contact-label {
    font-size: 16px;
    color: #888;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.contact-value a {
    color: #6fa3d6;
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

.contact-address {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

.work-hours {
    margin-top: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.work-hours h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.work-hours p {
    margin-bottom: 10px;
    color: #555;
}

.map-placeholder {
    flex: 1;
    background: #e0e0e0;
    border-radius: 10px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    text-align: center;
}

/* Equipment (для страницы заправки) */
.equipment {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

.equipment-item {
    flex: 1;
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.equipment-image {
    height: 200px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-info {
    padding: 20px;
}

.equipment-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.equipment-info p {
    color: #666;
    margin-bottom: 0;
}

/* Repair Cases (для страницы заднего контура) */
.repair-case {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.repair-case:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.case-image {
    width: 300px;
    height: 200px;
    background: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    flex-shrink: 0;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.case-content {
    flex: 1;
}

.case-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.case-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.case-guarantee {
    color: #4caf50;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 28px;
    color: #6fa3d6;
    font-weight: 300;
    margin-bottom: 10px;
}

.footer-phone {
    font-size: 20px;
    margin-top: 10px;
}

.footer-phone a {
    color: inherit;
    text-decoration: none;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #6fa3d6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
    color: #aaa;
    font-size: 14px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
    }

    .logo, .district {
        font-size: 28px;
    }

    .subheader-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav li {
        margin: 5px;
    }

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

    .about-wrapper {
        flex-direction: column;
    }

    .about-text, .price-box {
        width: 100%;
    }

    .price-box {
        margin-top: 20px;
    }

    .repair-case {
        flex-direction: column;
    }

    .case-image {
        width: 100%;
        height: auto;
    }

    .contacts-wrapper {
        flex-direction: column;
    }

    .equipment {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-nav {
        padding: 0;
    }

    .footer-nav li {
        display: inline-block;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .page-title h1 {
        font-size: 32px;
    }

    .price-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .price-value {
        margin-left: 0;
    }

    .case-title {
        font-size: 20px;
    }

    .contact-value {
        font-size: 20px;
    }
}