/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    padding: 180px 0;
    /* background-image: url('https://images.pexels.com/photos/769289/pexels-photo-769289.jpeg?auto=compress&cs=tinysrgb&w=1600'); */
    background-image: url('/assets/images/bg_products.jpg');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #d32f2f, #ffc107);
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== NAVBAR ========== */
.navbar {
    background: #2c3e50;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #d32f2f;
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.logo {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: #ffc107;
}

/* Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.nav-link i {
    font-size: 14px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-link.active {
    background: #d32f2f;
    color: white;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f5f5f5;
    color: #d32f2f;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
}

.lang-btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-btn.active {
    background: #d32f2f;
    border-color: #d32f2f;
}

/* ========== ДЕСКТОП (>=992px) ========== */
@media screen and (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
    }
}

/* ========== МОБИЛЬНЫЕ (<=991px) ========== */
@media screen and (max-width: 991px) {
    .navbar .container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px;
        position: relative;
    }

    .navbar-toggler {
        display: block;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: white;
        padding: 8px 15px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 20px;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 20px 0;
        gap: 10px;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #2c3e50;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .nav-menu.show {
        display: flex !important;
    }

    .nav-link {
        width: 100%;
        padding: 12px 15px;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin-top: 5px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        color: white;
        padding: 10px 30px;
    }

    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.15);
        color: white;
    }

    .lang-switcher {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-left: 0;
        padding-top: 20px;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
}

/* ========== МАЛЕНЬКИЕ ТЕЛЕФОНЫ (<=576px) ========== */
@media screen and (max-width: 576px) {
    .lang-switcher {
        flex-wrap: wrap;
        gap: 5px;
    }

    .lang-btn {
        flex: 1;
        text-align: center;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}
/* Языки для мобильной версии */
.mobile-lang {
    display: none;
    margin-top: 0px;
    padding-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    justify-content: center;
    gap: 10px;
}

.mobile-lang-btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    flex: 1;
    text-align: center;
    transition: all 0.2s;
}

.mobile-lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-lang-btn.active {
    background: #d32f2f;
    border-color: #d32f2f;
}

/* Показываем мобильные языки только на мобильных */
@media screen and (max-width: 991px) {
    .mobile-lang {
        display: flex;
    }
}
/* ========== ВСПОМОГАТЕЛЬНЫЕ КЛАССЫ ========== */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

@media screen and (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }
}
/* ========== CONTACT PAGE ========== */
.contact-hero {
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    padding: 80px 0;
    text-align: center;
}

.contact-hero-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

/* Контактные карточки */
.contact-info-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-card {
    background: white;
    padding: 40px 25px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.contact-card p {
    margin-bottom: 5px;
}

.contact-card a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: #d32f2f;
}

.contact-card small {
    color: #999;
    display: block;
    margin-top: 15px;
}

/* Форма */
.contact-form-section {
    padding: 60px 0;
}

.form-card,
.map-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.form-title {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d32f2f, #ffc107);
    border-radius: 3px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: border-color 0.2s;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #d32f2f;
}

.submit-btn {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

/* Карта */
.map-container {
    margin: 25px 0;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

.work-hours {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
}

.work-hours h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.work-hours p {
    color: #666;
    margin-bottom: 5px;
}

/* Социальные сети */
.social-section {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

.social-title {
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link.facebook {
    background: #3b5998;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf);
}

.social-link.telegram {
    background: #0088cc;
}

.social-link.whatsapp {
    background: #25d366;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-hero-subtitle {
        font-size: 1rem;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .form-card,
    .map-card {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
/* ========== CONTACT HERO С КРАСИВЫМ ФОНОМ ========== */
.contact-hero {
    position: relative;
    padding: 120px 0;
background-image: url('https://images.pexels.com/photos/5598307/pexels-photo-5598307.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 32, 31, 0.8) 0%, rgba(177, 139, 139, 0.7) 100%);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.contact-hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.4rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}
.product-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease-in-out;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15) !important;
    border-color: #d32f2f20;
}

.product-img-wrapper {
    background: #ffffff !important;
    border-bottom: 1px solid #eee;
    color: #adb5bd;
    padding-top: 15px;
}

.product-specs {
    border-top: 1px dashed #dee2e6;
    padding-top: 12px;
    margin-top: auto;
    font-size: 0.9rem;
}

.product-specs li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dotted #f1f3f5;
    padding-bottom: 6px;
}

.product-specs li:last-child {
    border-bottom: none;
}
/* ========== PRODUCT DETAIL PAGE ========== */
.product-detail {
    background: #f8f9fa;
    min-height: 500px;
}

.product-gallery {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
}

.no-image-placeholder {
    background: #f8f9fa;
    border-radius: 15px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.product-specs-detail {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    color: #6c757d;
    font-weight: 500;
}

.spec-value {
    color: #2c3e50;
    font-weight: 600;
}

.spec-value.price {
    color: #d32f2f;
    font-size: 1.3rem;
    font-weight: 700;
}

.product-description {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.product-description h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.product-description p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .product-title {
        font-size: 1.5rem;
        margin-top: 20px;
    }
    
    .product-gallery img {
        max-height: 300px;
    }
    
    .no-image-placeholder {
        height: 300px;
    }
}
.spec-label {
    color: #6c757d;
    font-weight: 400;
}

.spec-value {
    font-weight: 500;
    color: #212529;
}

/* Кнопка "Подробнее" */
.btn-outline-danger {
    color: #d32f2f;
    border-color: #d32f2f;
    border-width: 2px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.btn-outline-danger:hover {
    background-color: #d32f2f;
    color: #fff;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Декоративные элементы */
.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ffc107, #d32f2f, #ffc107);
    z-index: 2;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 0;
    }

    .contact-hero-title {
        font-size: 2.2rem;
    }

    .contact-hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}
/* ========== ABOUT PAGE ========== */
.about-hero {
    position: relative;
    padding: 120px 0;
    background-image: url('https://images.pexels.com/photos/4483610/pexels-photo-4483610.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
background: linear-gradient(1deg, rgb(255 255 255 / 80%) 0%, rgb(78 96 111 / 70%) 100%);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.about-hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.4rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

/* История */
.about-history {
    padding: 80px 0;
    background: #fff;
}

.history-content {
    padding-right: 30px;
}

.history-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
}

.history-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Преимущества */
.about-advantages {
    padding: 60px 0;
    background: #f8f9fa;
}

.advantage-card {
    background: white;
    padding: 40px 25px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    height: 100%;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
}

.advantage-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.advantage-card p {
    color: #666;
    margin: 0;
}

/* Статистика */
.about-stats {
    padding: 60px 0;
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    color: white;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffc107;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Команда */
.about-team {
    padding: 80px 0;
    background: #fff;
}

.team-card {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.team-card p {
    color: #666;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.2rem;
    }

    .about-hero-subtitle {
        font-size: 1.1rem;
    }

    .history-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .team-image {
        width: 150px;
        height: 150px;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Модальное окно заказа */
.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: white;
    border: none;
    padding: 20px 25px;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 25px;
}

.product-name {
    font-size: 1.2rem;
    color: #2c3e50;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #d32f2f;
}

.contact-phone {
    text-align: center;
}

.phone-link {
    color: #d32f2f;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #d32f2f;
    border-radius: 50px;
    transition: all 0.3s;
}

.phone-link:hover {
    background: #d32f2f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #d32f2f;
    box-shadow: none;
}

.btn-danger {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    border: none;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}
/* ========== NEWS PAGE ========== */
.news-hero {
    position: relative;
    padding: 120px 0;
    /* background-image: url('https://images.pexels.com/photos/5187443/pexels-photo-5187443.jpeg?auto=compress&cs=tinysrgb&w=1600'); */
    background-image: url('/assets/images/news_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    overflow: hidden;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.news-hero .container {
    position: relative;
    z-index: 2;
}

.news-hero-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease;
}

.news-hero-subtitle {
    color: rgba(255,255,255,0.95);
    font-size: 1.4rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

/* Карточки новостей */
.news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #d32f2f;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.news-content {
    padding: 25px;
}

.news-title {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.news-link {
    color: #d32f2f;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.news-link:hover {
    color: #b71c1c;
    gap: 5px;
}

/* Подписка */
.newsletter-section {
    padding: 60px 0;
    background: #fff;
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.newsletter-title {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-text {
    color: #666;
    margin-bottom: 30px;
}

.newsletter-form .input-group {
    gap: 10px;
}

.newsletter-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
}

.newsletter-form .form-control:focus {
    border-color: #d32f2f;
    box-shadow: none;
}

.newsletter-form .btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
}

/* Адаптивность */
@media (max-width: 768px) {
    .news-hero-title {
        font-size: 2.2rem;
    }
    
    .news-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .newsletter-box {
        padding: 30px 20px;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Пагинация */
.pagination-nav {
    margin-top: 40px;
}

.pagination {
    gap: 5px;
}

.page-link {
    color: #2c3e50;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 8px 15px;
    transition: all 0.3s;
}

.page-link:hover {
    background: #d32f2f;
    color: white;
    border-color: #d32f2f;
}

.page-item.active .page-link {
    background: #d32f2f;
    border-color: #d32f2f;
    color: white;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background: #f8f9fa;
}

/* Адаптивность для карточек новостей */
@media (max-width: 768px) {
    .news-card {
        margin-bottom: 20px;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* категория */
/* Категории с картинками */
.category-card-custom {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 15px;
    overflow: hidden;
}
.category-card{
    text-decoration: none;
    color: #d32f2f;
}
.category-card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.2);
    border-color: #d32f2f;
}

.category-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.category-card-custom:hover .category-icon {
    transform: scale(1.1);
}

.category-card-custom .card-body {
    padding: 20px 10px;
}

.category-card-custom h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.category-card-custom.border-danger {
    border-color: #d32f2f;
    background-color: rgba(211, 47, 47, 0.05);
}

/* Адаптивность */
@media (max-width: 768px) {
    .category-icon {
        width: 60px;
        height: 60px;
    }

    .category-card-custom h5 {
        font-size: 0.9rem;
    }
}
/* ========== СТИЛИ ДЛЯ БРЕНДА ALFAMEAT ========== */
.brand-name {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 50%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(211, 47, 47, 0.3);
    animation: brandGlow 2s ease-in-out infinite;
}

@keyframes brandGlow {

    0%,
    100% {
        text-shadow: 2px 2px 15px rgba(211, 47, 47, 0.3);
    }

    50% {
        text-shadow: 4px 4px 25px rgba(255, 193, 7, 0.5);
    }
}

.brand-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #d32f2f, #ffc107);
    border-radius: 4px;
    animation: brandLine 3s infinite;
}

@keyframes brandLine {
    0% {
        width: 100px;
        opacity: 1;
    }

    50% {
        width: 150px;
        opacity: 0.7;
    }

    100% {
        width: 100px;
        opacity: 1;
    }
}

/* ========== СТИЛИ ДЛЯ ТЕКСТА ИСТОРИИ ========== */
.history-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid #ffc107;
    transition: all 0.3s ease;
}

.history-text:hover {
    border-left-color: #d32f2f;
    transform: translateX(5px);
}

.history-text .brand-name {
    font-size: inherit;
    display: inline;
    background: none;
    -webkit-text-fill-color: #d32f2f;
    color: #d32f2f;
    text-shadow: none;
    animation: none;
    text-transform: none;
    letter-spacing: normal;
}

.history-text .brand-name::after {
    display: none;
}

.history-text strong {
    color: #d32f2f;
    font-weight: 700;
}

.history-text::first-letter {
    font-size: 2.5rem;
    font-weight: 900;
    color: #d32f2f;
    float: left;
    line-height: 1;
    margin-right: 8px;
    font-family: serif;
}

/* Украшение для текста истории */
.history-content {
    position: relative;
    padding: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.history-content::before {
    content: '“';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 6rem;
    color: rgba(211, 47, 47, 0.1);
    font-family: serif;
    z-index: 0;
}

/* Заголовок секции */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d32f2f, #ffc107);
    border-radius: 3px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Адаптивность */
@media (max-width: 768px) {
    .brand-name {
        font-size: 2rem;
    }

    .history-text {
        font-size: 1rem;
        padding-left: 15px;
    }

    .history-text::first-letter {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
/* ========== ЛОГОТИП С ТЕКСТОМ ========== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.logo img {
    height: 75px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo span {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo:hover img {
    transform: rotate(-5deg) scale(1.1);
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 55px;
    }
}
/* ========== ZOOM ПРИ НАВЕДЕНИИ ========== */
.product-gallery {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.product-gallery img {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
}

.product-gallery:hover img {
    transform: scale(1.5);
}

/* Или более плавный вариант с увеличением на 20% */
.product-gallery:hover img {
    transform: scale(1.2);
}
/* ========== FOOTER ========== */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    font-size: 14px;
}

.footer-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #d32f2f;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-links a:hover {
    color: #d32f2f;
    padding-left: 5px;
}

.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contacts li {
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contacts i {
    color: #d32f2f;
    width: 16px;
}

.footer-contacts a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-contacts a:hover {
    color: #d32f2f;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #d32f2f;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr)r;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

/* ========== ГОРИЗОНТАЛЬНЫЙ БЛОК ДЛЯ НОВОСТЕЙ ========== */
.news-horizontal-block {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.news-horizontal-image {
    flex: 0 0 40%; /* 40% ширины для картинки */
    max-width: 40%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-horizontal-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.news-horizontal-image:hover img {
    transform: scale(1.03);
}

.news-horizontal-content {
    flex: 1; /* Остальное место для текста */
}

.news-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    text-align: justify;
}

.news-detail-content p {
    margin-bottom: 20px;
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .news-horizontal-block {
        gap: 30px;
        padding: 25px;
    }
    
    .news-horizontal-image {
        flex: 0 0 45%;
        max-width: 45%;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .news-horizontal-block {
        flex-direction: column;
        gap: 25px;
        padding: 20px;
    }
    
    .news-horizontal-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .news-detail-content {
        font-size: 1rem;
        text-align: justify;
    }
}

/* Альтернативный вариант - картинка справа */
.news-horizontal-block.image-right {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .news-horizontal-block.image-right {
        flex-direction: column;
    }
}
/* ========== ПАРТНЕРЫ ========== */
.about-partners {
    padding: 60px 0;
    background: #f8f9fa;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.partner-item {
    padding: 20px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 180px;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.partner-logo {
    max-width: 100%;
    height: 80px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%);
}

/* ========== КАРУСЕЛЬ ПАРТНЕРОВ ========== */
.about-partners-carousel {
    padding: 60px 0;
    background: #fff;
    overflow: hidden;
}

.partner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.partner-track {
    display: flex;
    animation: scroll 20s linear infinite;
    gap: 40px;
}

.partner-slide {
    flex: 0 0 auto;
    width: 150px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}

.partner-slide img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-slide:hover {
    transform: scale(1.05);
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.partner-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Остановка анимации при наведении */
.partner-carousel:hover .partner-track {
    animation-play-state: paused;
}

/* Адаптивность */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .partner-item {
        padding: 15px;
    }
    
    .partner-logo {
        height: 60px;
    }
    
    .partner-slide {
        width: 120px;
    }
    
    .partner-slide img {
        height: 60px;
    }
}