/* Общие стили */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: #4CAF50;
}

h1 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    margin: 10px 0;
}

ol, ul {
    margin: 10px 0;
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

/* Шапка */
header {
    position: relative;
    color: white;
    background: #000;
    padding: 10px 20px;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 68px;
    margin-right: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text h1 .green {
    color: #4CAF50;
}

.logo-text h1 .white {
    color: white;
}

.logo-text .slogan {
    margin: 0;
    font-size: 14px;
    color: #ccc;
    font-weight: normal;
}

.logo h1 {
    font-size: 24px;
    margin: 0;
}

/* Бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Навигация */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #4CAF50;
}

/* Основной контент */
.main-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 10%;
    line-height: 1.6;
    font-size: 16px;
    box-sizing: border-box;
}

.main-content h1, .main-content h2 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.main-content p {
    margin-bottom: 15px;
}

.main-content ol, .main-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

/* Стили для шагов */
.step {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.step h2 {
    color: #4CAF50;
}

.warning-box {
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
}

/* Стили для адаптивных изображений */
.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Популярные модели */
.popular-models {
    margin: 30px 0;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.model-card {
    text-align: center;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.model-card:hover {
    transform: translateY(-5px);
}

.model-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.model-card p {
    margin-top: 10px;
    font-weight: bold;
}

.models-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.models-list span {
    background: #e8f5e9;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}

/* Поиск */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-input {
    width: 300px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.search-input:hover {
    border-color: #4CAF50;
}

.search-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #45a049;
}

/* CTA секция */
.cta {
    position: relative;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    margin: 40px 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #fff;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.cta-form input {
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.cta-form button {
    padding: 15px;
    background-color: #fff;
    color: #4CAF50;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.cta-form button:hover {
    background-color: #f1f1f1;
    color: #45a049;
}

.cta-note {
    margin-top: 20px;
    font-size: 14px;
    color: #ccc;
}

.cta-note a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s;
}

.cta-note a:hover {
    color: #f1f1f1;
}

/* Ссылки в тексте */
.inline-link {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.inline-link:hover {
    text-decoration: underline;
}
/* Адаптация для мобильных */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .logo h1 {
        font-size: 20px;
    }

    .logo-text .slogan {
        font-size: 12px;
    }

    .burger-menu {
        display: flex;
    }

    nav {
        display: none;
        width: 100%;
        margin-top: 10px;
    }

    nav ul {
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 10px;
        border-radius: 5px;
    }

    nav ul li {
        margin: 5px 0;
    }

    .main-content {
        padding: 20px 5%;
    }

    .responsive-image {
        max-width: 90%;
        margin: 10px auto;
    }

    .cta h2 {
        font-size: 26px;
    }

    .cta p {
        font-size: 16px;
    }

    .footer-section {
        flex: 1 1 100%;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Анимации */
.step, .model-card, .cta-form button, .search-button {
    transition: all 0.3s ease;
}

.step:hover, .model-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-form button:hover, .search-button:hover {
    transform: scale(1.05);
}
/* Стили для новых блоков */
.repair-cases, .testimonials, .tips, .faq, .advantages {
    margin: 40px 0;
    padding: 20px;
}

.repair-cases h2, .testimonials h2, .tips h2, .faq h2, .advantages h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* Кейсы ремонта */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.case-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-card h3 {
    padding: 15px 15px 0;
    color: #4CAF50;
}

.case-card p {
    padding: 0 15px;
    font-size: 14px;
}

.case-card p strong {
    color: #333;
}

/* Отзывы */
.testimonials {
    background-color: #f9f9f9;
    border-radius: 10px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-header h4 {
    margin: 0;
    font-size: 18px;
}

.rating {
    color: #FFC107;
    font-size: 14px;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
}

.date {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

/* Советы */
.tips-list {
    max-width: 800px;
    margin: 0 auto;
}

.tip-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.tip-number {
    background: #4CAF50;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.tip-content h3 {
    margin: 0 0 5px 0;
    color: #4CAF50;
}

/* FAQ Styles */
.faq-section {
    margin: 50px auto;
    max-width: 900px;
    padding: 0 20px;
}

.faq-container {
    margin-top: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    color: #2a5885;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-answer {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer ul {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.brands-list {
    columns: 2;
    list-style-type: none;
    padding-left: 0;
}

.brands-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.brands-list li:before {
    content: "•";
    color: #4CAF50;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .faq-container {
        padding: 15px;
    }
    
    .faq-question {
        font-size: 18px;
    }
    
    .brands-list {
        columns: 1;
    }
}
/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.advantage-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card i {
    font-size: 40px;
    color: #4CAF50;
    margin-bottom: 15px;
}

.advantage-card h3 {
    margin: 10px 0;
}

.advantage-card p {
    font-size: 14px;
    color: #666;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .cases-grid, .testimonials-grid, .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question h3 {
        font-size: 16px;
        padding-right: 15px;
    }
}
/* Usage Tips Styles */
.usage-tips {
    margin: 50px auto;
    max-width: 900px;
    padding: 0 20px;
}

.tips-container {
    margin-top: 30px;
}

.tip {
    display: flex;
    margin-bottom: 25px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.tip-number {
    background: #4CAF50;
    color: white;
    font-size: 24px;
    font-weight: bold;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tip-content {
    padding: 20px;
}

.tip-content h3 {
    margin-top: 0;
    color: #2a5885;
}

@media (max-width: 600px) {
    .tip {
        flex-direction: column;
    }
    
    .tip-number {
        width: 100%;
        padding: 10px 0;
    }
}
/* Our Contacts Styles */
.our-contacts {
    margin: 50px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.contacts-container {
    display: flex;
    margin-top: 30px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.contact-info {
    flex: 1;
    padding: 30px;
    background: #f5f5f5;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-item i {
    color: #4CAF50;
    font-size: 20px;
    margin-right: 15px;
    margin-top: 3px;
}

.contact-item p {
    margin: 0;
    font-size: 16px;
}

.contact-item a {
    color: #2a5885;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.map-container {
    flex: 2;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
}

@media (max-width: 900px) {
    .contacts-container {
        flex-direction: column;
    }
    
    .map-container {
        height: 300px;
    }
}