/* style.css */

:root {
    --primary-color: #ffc107; /* Индустриальный желтый */
    --dark-bg: #212529;
    --text-dark: #333;
}

body { 
    font-family: 'Segoe UI', Roboto, sans-serif; 
    color: var(--text-dark); 
    background-color: #f8f9fa; 
}

/* --- Header --- */
.header { 
    background: #fff; 
    padding: 15px 0; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
.header-logo_name { 
    font-size: 1.4rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}
.header-logo_name span { 
    color: #d39e00; 
    display: block; 
    font-size: 0.8rem; 
    font-weight: 400; 
    margin-top: 5px; 
}

/* --- Hero Section (Главный экран) --- */
.hero-section {
    background: linear-gradient(rgba(33, 37, 41, 0.85), rgba(33, 37, 41, 0.7)), url('https://images.unsplash.com/photo-1565439398533-31553c3167be?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    position: relative;
}
.hero-title { 
    font-size: 3rem; 
    font-weight: 700; 
    line-height: 1.2; 
    margin-bottom: 20px; 
}
.hero-subtitle { 
    font-size: 1.2rem; 
    opacity: 0.9; 
    margin-bottom: 40px; 
    max-width: 600px; 
}
.btn-hero { 
    padding: 15px 40px; 
    font-size: 1.1rem; 
    font-weight: bold; 
    border-radius: 50px; 
    text-transform: uppercase; 
    transition: all 0.3s; 
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4); 
}
.btn-hero:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.6); 
}

/* --- Features (Цифры) --- */
.features-bar { 
    background: #fff; 
    padding: 40px 0; 
    margin-top: -50px; 
    position: relative; 
    z-index: 10; 
    border-radius: 10px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}
.feature-item { 
    text-align: center; 
    border-right: 1px solid #eee; 
}
.feature-item:last-child { 
    border: none; 
}
.feature-num { 
    font-size: 2.5rem; 
    font-weight: 800; 
    color: #d39e00; 
    line-height: 1; 
}
.feature-text { 
    font-size: 0.9rem; 
    color: #666; 
    margin-top: 5px; 
    font-weight: 600; 
}

/* --- Catalog Grid --- */
.section-title { 
    font-weight: 800; 
    margin-bottom: 10px; 
    position: relative; 
    display: inline-block; 
}
.section-title::after { 
    content: ''; 
    display: block; 
    width: 60px; 
    height: 4px; 
    background: var(--primary-color); 
    margin-top: 10px; 
}

.catalog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
    position: relative;
}
.catalog-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
    border-color: var(--primary-color); 
}
.card-img-wrap { 
    height: 180px; 
    background: #f1f1f1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
}
.card-img-wrap img { 
    max-width: 80%; 
    transition: transform 0.3s; 
}
.catalog-card:hover .card-img-wrap img { 
    transform: scale(1.1); 
}
.card-body-custom { 
    padding: 20px; 
    text-align: center; 
}
.card-title { 
    font-weight: 700; 
    font-size: 1.1rem; 
    margin-bottom: 10px; 
}
.card-link { 
    color: #d39e00; 
    font-weight: 600; 
    text-decoration: none; 
    font-size: 0.9rem; 
}

/* --- Registry Page Specifics --- */
.h1_title { 
    font-size: 1.8rem; 
    font-weight: bold; 
    color: #333; 
    margin-bottom: 20px; 
}
.search-form-group { 
    position: relative; 
    display: flex; 
    gap: 10px; 
}
.search-input { 
    flex-grow: 1; 
    padding: 10px 15px; 
    border: 1px solid #ddd; 
    border-radius: 4px; 
}
.table-responsive { 
    background: #fff; 
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    padding: 15px; 
}
.table thead th { 
    background-color: #343a40; 
    color: #fff; 
    border: none; 
}
.table tbody tr:hover { 
    background-color: #f8f9fa; 
}
.status-badge { 
    padding: 5px 10px; 
    border-radius: 12px; 
    font-size: 0.8rem; 
    font-weight: bold; 
}
.status-ok { 
    background-color: #d4edda; 
    color: #155724; 
}
.status-order { 
    background-color: #fff3cd; 
    color: #856404; 
}

/* --- Lead Form Section --- */
.lead-section { 
    background: var(--dark-bg); 
    color: #fff; 
    padding: 80px 0; 
    border-radius: 20px; 
    margin: 60px 0; 
}
.form-control-lg { 
    height: calc(3em + 1rem + 2px); 
    padding: 1rem 1.5rem; 
    font-size: 1.1rem; 
    border-radius: 50px; 
    border: none; 
}

/* --- Footer --- */
.footer { 
    background: #1a1e21; 
    color: #adb5bd; 
    padding: 50px 0 20px; 
}
.footer a { 
    color: #adb5bd; 
    text-decoration: none; 
    transition: color 0.2s; 
}
.footer a:hover { 
    color: var(--primary-color); 
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .feature-item { border: none; margin-bottom: 20px; }
    .lead-section { padding: 40px 20px; }
    .header-logo { flex-direction: column; text-align: center; margin-bottom: 15px; }
    .header-logo img { margin: 0 0 10px 0; }
}