/*
Theme Name: Landing Industrial
Theme URI: 
Author: 
Author URI: 
Description: Строгий деловой лейдинг для услуг восстановления спецтехники.
Version: 1.0
Text Domain: landing-industrial
*/

/* Базовые сбросы и настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.site-main {
    padding-top: 100px;
}

/* ============================================
   HEADER STYLES
   ============================================ */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Логотип */
.site-branding {
    flex-shrink: 0;
}

.site-branding .custom-logo {
    max-height: 70px;
    width: auto;
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    color: #1a3c34;
}

/* Навигация для ПК */
.main-navigation.desktop-menu {
    display: block;
}

.header-menu {
    display: flex;
    gap: 35px;
}

.header-menu a {
    color: #333;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.header-menu a:hover {
    color: #1a3c34;
}

.header-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1a3c34;
    transition: width 0.3s ease;
}

.header-menu a:hover:after {
    width: 100%;
}

/* Телефон для ПК */
.header-phone.desktop-phone {
    display: block;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a3c34;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
    transition: all 0.3s ease;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e6e3;
}

.phone-link:hover {
    background-color: #1a3c34;
    color: white;
    border-color: #1a3c34;
}

.phone-link:hover .phone-icon {
    color: white;
}

.phone-icon {
    flex-shrink: 0;
    transition: color 0.3s ease;
}

/* Бургер-кнопка */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    padding: 0;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1a3c34;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Мобильное меню */
.mobile-menu-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 30px 20px;
    z-index: 999;
}

.mobile-menu-container.active {
    display: block;
}

.main-navigation.mobile-menu {
    margin-bottom: 25px;
}

.mobile-menu .header-menu {
    flex-direction: column;
    gap: 0;
}

.mobile-menu .header-menu li {
    border-bottom: 1px solid #eee;
}

.mobile-menu .header-menu li:last-child {
    border-bottom: none;
}

.mobile-menu .header-menu a {
    display: block;
    padding: 15px 0;
    font-size: 17px;
}

/* Телефон в мобильном меню */
.mobile-phone {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.phone-link-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #1a3c34;
    font-weight: 700;
    font-size: 20px;
    padding: 15px 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #1a3c34;
    width: 100%;
    max-width: 300px;
}

.phone-link-mobile:hover {
    background-color: #1a3c34;
    color: white;
}

.phone-link-mobile:hover .phone-icon {
    color: white;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.site-footer {
    background-color: #1a3c34;
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 80px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-contacts {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-legal p {
    margin-bottom: 10px;
    font-size: 16px;
    opacity: 0.9;
}

.footer-communication {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: right;
}

.footer-phone {
    font-size: 22px;
    font-weight: 700;
    color: white;
    transition: opacity 0.3s;
}

.footer-phone:hover {
    opacity: 0.8;
}

.footer-messengers {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-messengers a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
}

.footer-messengers a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-email {
    color: #a8d5ba;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-email:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 15px;
    opacity: 0.8;
}

/* ============================================
   HERO SECTION (Этап 3)
   ============================================ */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1631549916768-4119b2e5f926?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0;
    text-align: center;
    margin-bottom: 80px;
}

.hero-section .container {
    max-width: 800px;
}

.hero-section h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: #1a3c34;
    color: white;
    font-size: 26px;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid #1a3c34;
}

.hero-phone:hover {
    background-color: transparent;
    color: #1a3c34;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ============================================
   ABOUT SECTION (Этап 3)
   ============================================ */
.about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    margin-bottom: 80px;
}

.about-section h2 {
    text-align: center;
    font-size: 36px;
    color: #1a3c34;
    margin-bottom: 50px;
    font-weight: 700;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 17px;
    line-height: 1.7;
    color: #444;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #e0e0e0, #f0f0f0);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ============================================
   WHY SECTION (Этап 3)
   ============================================ */
.why-section {
    padding: 80px 0;
    margin-bottom: 80px;
}

.why-section h2 {
    text-align: center;
    font-size: 36px;
    color: #1a3c34;
    margin-bottom: 50px;
    font-weight: 700;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-top: 4px solid #1a3c34;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.why-card h3 {
    color: #1a3c34;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.why-card p {
    color: #666;
    line-height: 1.6;
}

/* ============================================
   АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .site-main {
        padding-top: 90px;
    }
    
    /* HEADER MOBILE */
    .site-header {
        padding: 12px 0;
    }
    
    .site-branding .custom-logo {
        max-height: 55px;
    }
    
    /* Прячем десктопное меню и телефон */
    .main-navigation.desktop-menu,
    .header-phone.desktop-phone {
        display: none;
    }
    
    /* Показываем бургер */
    .menu-toggle {
        display: block;
    }
    
    /* Бургер активный */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* HERO MOBILE */
    .hero-section {
        padding: 80px 0;
        margin-bottom: 60px;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .hero-phone {
        font-size: 22px;
        padding: 15px 30px;
    }
    
    /* ABOUT MOBILE */
    .about-section {
        padding: 60px 0;
        margin-bottom: 60px;
    }
    
    .about-section h2 {
        font-size: 30px;
        margin-bottom: 40px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-image-placeholder {
        height: 300px;
    }
    
    /* WHY MOBILE */
    .why-section {
        padding: 60px 0;
        margin-bottom: 60px;
    }
    
    .why-section h2 {
        font-size: 30px;
        margin-bottom: 40px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-card {
        padding: 25px;
    }
    
    /* FOOTER MOBILE */
    .footer-contacts {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-communication {
        text-align: center;
        width: 100%;
    }
    
    .footer-messengers {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-phone {
        font-size: 20px;
    }
    
    .footer-messengers a {
        padding: 8px 15px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .site-branding .custom-logo {
        max-height: 50px;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-phone {
        font-size: 20px;
        padding: 12px 25px;
    }
    
    .about-section h2,
    .why-section h2 {
        font-size: 26px;
    }
    
    .phone-link-mobile {
        font-size: 18px;
        padding: 12px 20px;
    }
    
    .footer-phone {
        font-size: 18px;
    }
    
    .footer-messengers {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-messengers a {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}






/* ============================================
   WORKS SECTION (Этап 3 продолжение)
   ============================================ */
.works-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    margin-bottom: 80px;
}

.works-section h2 {
    text-align: center;
    font-size: 36px;
    color: #1a3c34;
    margin-bottom: 50px;
    font-weight: 700;
}

.works-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.works-text {
    flex: 1;
}

.works-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.works-list li {
    padding: 12px 0 12px 25px;
    position: relative;
    color: #444;
    font-size: 16px;
    line-height: 1.5;
}

.works-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1a3c34;
    font-weight: bold;
}

.works-image {
    flex: 1;
}

.works-image-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(45deg, #e0e0e0, #f0f0f0);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}