:root {
    --primary-orange: #FF9800;
    --primary-red: #B71C1C;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --primary-blue: #2a5f8b;
    --secondary-blue: #3a7cb9;
    --accent-orange: #e67e22;
}

/* Основные стили */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header стили */
.header-dark {
    background-color: var(--dark-gray) !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* ===== НОВОЕ БУРГЕР-МЕНЮ (оранжевое с белыми полосками) ===== */
.navbar-toggler {
    border: 2px solid var(--primary-orange) !important;
    background-color: var(--primary-orange) !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
    border: 2px solid var(--primary-orange) !important;
    background-color: var(--primary-orange) !important;
}

.navbar-toggler:hover {
    background-color: #e68a00 !important;
    border-color: #e68a00 !important;
    transform: scale(1.05) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.8em !important;
    height: 1.8em !important;
}

.navbar-toggler[aria-expanded="true"] {
    background-color: #e68a00 !important;
    border-color: #e68a00 !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6L24 24M6 24L24 6'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991px) {
    .navbar-toggler {
        padding: 8px 12px !important;
    }
    
    .navbar-toggler-icon {
        width: 1.5em !important;
        height: 1.5em !important;
    }
}

/* Логотип */
.logo-img {
    max-height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

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

/* Кнопки */
.btn-orange {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: #e68a00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Слайдер - УЛУЧШЕННАЯ ВИДИМОСТЬ */
.hero-gallery {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.gallery-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* МЯГКОЕ НАЛОЖЕНИЕ - не режет глаза */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 2;
}

/* Текст - МЯГКИЙ И ЧИТАЕМЫЙ */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
}

.hero-title {
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

.hero-btn {
    background-color: var(--primary-orange);
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 14px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-btn:hover {
    background-color: white;
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Навигация слайдера */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 12px 16px;
    cursor: pointer;
    z-index: 11;
    transition: all 0.3s ease;
    border-radius: 6px;
    backdrop-filter: blur(5px);
}

.slide-nav:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 25px;
}

.next {
    right: 25px;
}

.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 11;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Секция "О компании" */
.about-section {
    background-color: var(--light-gray);
}

.feature-icon {
    color: var(--accent-orange);
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

/* Карточки продукции */
.product-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.product-img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-title {
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-description {
    color: #6c757d;
    line-height: 1.5;
    flex-grow: 1;
}

/* Команда */
.team-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.team-member-horizontal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 400px;
    max-width: 500px;
    transition: transform 0.3s ease;
}

.team-member-horizontal:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-orange);
    flex-shrink: 0;
}

.member-photo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-orange));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 3px solid var(--accent-orange);
    flex-shrink: 0;
}

.team-member-info {
    flex: 1;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.3rem;
}

.member-position {
    color: var(--accent-orange);
    font-weight: 500;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.member-contacts {
    font-size: 0.85rem;
    color: #6c757d;
}

.member-contacts p {
    margin-bottom: 0.3rem;
}

/* Контакты */
.contact-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    height: 100%;
    border: none;
}

.contact-info h3 {
    color: var(--dark-gray);
    border-bottom: 3px solid var(--accent-orange);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.contact-icon {
    color: var(--accent-orange);
    margin-right: 1rem;
    font-size: 1.2rem;
    min-width: 25px;
    text-align: center;
    margin-top: 0.2rem;
}

.contact-item div strong {
    color: var(--dark-gray);
    display: block;
    margin-bottom: 0.3rem;
}

/* Карта */
.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
}

/* Футер */
footer.bg-dark {
    background-color: var(--dark-gray) !important;
}

footer .logo-subtitle {
    color: var(--accent-orange);
}

footer h5.text-orange {
    color: var(--primary-orange) !important;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero-gallery {
        height: 60vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-btn {
        font-size: 1rem;
        padding: 12px 24px;
    }
    
    .slide-nav {
        font-size: 1.5rem;
        padding: 8px 12px;
    }
    
    .prev {
        left: 15px;
    }
    
    .next {
        right: 15px;
    }
    
    .team-row {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .team-member-horizontal {
        min-width: 100%;
        max-width: 100%;
        gap: 1rem;
    }
    
    .member-photo,
    .member-photo-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .logo-img {
        max-height: 60px;
    }
}

@media (max-width: 576px) {
    .hero-gallery {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .team-member-horizontal {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
    
    .product-img {
        height: 200px;
    }
    
    .container {
        padding: 10px;
    }

------------------------------------------------------------------------------------------
    /* Стили для продуктовых страниц */
.product-page {
    background: var(--light-gray);
}

.product-hero {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.product-hero h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Карточки продуктов на отдельных страницах */
.product-detail-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
}

.product-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-detail-img {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.product-detail-body {
    padding: 2rem;
}

/* Модальные окна */
.modal-xl {
    max-width: 1200px;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 2rem;
}

.product-specs-table {
    font-size: 0.9rem;
}

.product-specs-table th {
    background: var(--dark-gray);
    color: white;
    vertical-align: middle;
    text-align: center;
    font-weight: 600;
}

.product-specs-table td {
    vertical-align: middle;
    padding: 0.75rem;
}

.table-hover tbody tr:hover {
    background-color: rgba(0,0,0,0.02);
}

/* Кнопки в модальном окне */
.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 2rem;
}

.btn-red {
    background-color: var(--primary-red);
    color: white;
    border: none;
}

.btn-red:hover {
    background-color: #9c1a1a;
    color: white;
}

/* Адаптивность для таблиц */
@media (max-width: 768px) {
    .product-specs-table {
        font-size: 0.8rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .product-detail-body {
        padding: 1.5rem;
    }
    
    .product-hero h1 {
        font-size: 2rem;
    }
}

/* Хлебные крошки на мобильных */
@media (max-width: 576px) {
    .breadcrumb {
        font-size: 0.9rem;
    }
    
    .product-hero {
        padding: 2rem 0;
    }
}
------------------------------------------------------------------------------------------
/* Стили для карточек продукции на странице магнезиальных масс */
.compact-product-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: 120px; /* примерно 3 см */
    margin-bottom: 20px;
}

.compact-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.compact-product-img {
    height: 120px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.compact-product-card:hover .compact-product-img {
    transform: scale(1.05);
}

.compact-product-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.compact-product-title {
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.compact-product-marks {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 0;
}

/* Адаптивность для компактных карточек */
@media (max-width: 768px) {
    .compact-product-card {
        height: auto;
        min-height: 120px;
    }
    
    .compact-product-img {
        height: 100px;
    }
    
    .compact-product-body {
        padding: 12px;
    }
    
    .compact-product-title {
        font-size: 0.9rem;
    }
    
    .compact-product-marks {
        font-size: 0.8rem;
    }
}

.modal-gallery-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modal-gallery-img:hover {
    transform: scale(1.03);
}

/* Центрирование текста в таблицах модальных окон */
.modal .table th,
.modal .table td {
    text-align: center !important;
    vertical-align: middle !important;
}

/* Для конкретных таблиц продуктов */
.modal .product-specs-table th,
.modal .product-specs-table td {
    text-align: center !important;
    vertical-align: middle !important;
}

/* Для многострочных заголовков */
.modal .table th {
    white-space: nowrap;
}

/* Убедитесь, что таблицы занимают всю ширину */
.modal .table {
    width: 100%;
    margin-bottom: 1rem;
}

/* Стили для бургер-иконки (кнопки меню) */
.navbar-toggler {
    border: 2px solid var(--primary-orange) !important;
    background-color: var(--primary-orange) !important;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background-color: #e68a00 !important;
    border-color: #e68a00 !important;
    transform: scale(1.05);
}

/* Делаем полоски белыми */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.5em;
    height: 1.5em;
}

/* Убираем белый фон с кнопки (он теперь оранжевый) */
.navbar-toggler.bg-white {
    background-color: transparent !important;
}
}