/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
  border: 2px solid #cda45e;
background: url("up.png") top center;

}

.back-to-top i {
  font-size: 28px;
  color: #cda45e;
  line-height: 0;
}

.back-to-top:hover {
background: url("up.png") top center;

  /*background: #cda45e;*/
  color: #1a1814;
}

.back-to-top:hover i {
  color: #444444;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #fa321b;
            --secondary-color: #2c3e50;
            --accent-color: #f39c12;
            --light-color: #f8f9fa;
            --dark-color: #212529;
            --gray-color: #6c757d;
            --border-color: #dee2e6;
        }

        body {
            font-family: 'Libre Baskerville', serif;
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Газетный стиль для контента */
        .newspaper-style {
            column-count: 2;
            column-gap: 40px;
            column-rule: 1px solid var(--border-color);
            padding: 20px;
        }

        @media (max-width: 768px) {
            .newspaper-style {
                column-count: 1;
            }
        }

        .newspaper-style h3 {
            column-span: all;
            text-align: center;
            margin: 20px 0;
            font-family: 'Oswald', sans-serif;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--secondary-color);
            border-bottom: 2px solid var(--primary-color);
            padding-bottom: 10px;
        }

        /* Шапка и навигация */
        .header {
            background-color: var(--light-color);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .top-bar {
            background-color: var(--primary-color);
            color: white;
            padding: 8px 0;
            text-align: center;
            font-size: 0.9rem;
        }

        .container {
	    font-family: 'Oswald', sans-serif;
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .logo {
            font-family: 'Oswald', sans-serif;
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--secondary-color);
            text-decoration: none;
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 40px;
            margin-right: 10px;
        }

        .logo span {
            color: var(--primary-color);
        }

        .nav-menu {
            display: flex;
            list-style: none;
        }

        .nav-menu li {
            margin-left: 25px;
        }

        .nav-menu a {
            text-decoration: none;
            color: var(--secondary-color);
            font-family: 'Oswald', sans-serif;
            font-weight: 400;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            transition: color 0.3s;
        }

        .nav-menu a:hover {
            color: var(--primary-color);
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--primary-color);
            transition: width 0.3s;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

        .hamburger {
            display: none;
            cursor: pointer;
            font-size: 1.5rem;
            color: var(--secondary-color);
        }

        /* Улучшенный слайдер с разными эффектами */
        .slider-container {
            position: relative;
            width: 100%;
            height: 500px;
            overflow: hidden;
            margin: 30px 0;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
            border-radius: 8px;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transform: scale(0.8) rotate(5deg);
            transition: opacity 1s ease, transform 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 1;
        }

        .slide.active {
            opacity: 1;
            transform: scale(1) rotate(0deg);
            z-index: 2;
        }

        /* Эффекты для разных слайдов */
        .slide[data-effect="zoom"] {
            transform: scale(0.5);
        }

        .slide[data-effect="rotate"] {
            transform: rotate(15deg) scale(0.7);
        }

        .slide[data-effect="slide-top"] {
            transform: translateY(-100%);
        }

        .slide[data-effect="slide-bottom"] {
            transform: translateY(100%);
        }

        .slide.active[data-effect="zoom"] {
            transform: scale(1);
        }

        .slide.active[data-effect="rotate"] {
            transform: rotate(0deg) scale(1);
        }

        .slide.active[data-effect="slide-top"],
        .slide.active[data-effect="slide-bottom"] {
            transform: translateY(0);
        }

        .slide-content {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            color: white;
            padding: 30px;
            transform: translateY(30px);
            opacity: 0;
            transition: all 0.8s ease 0.3s;
        }

        .slide.active .slide-content {
            transform: translateY(0);
            opacity: 1;
        }

        .slide-content h2 {
            font-family: 'Oswald', sans-serif;
            font-size: 2.2rem;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--accent-color);
        }

        .slide-content p {
            font-size: 1.1rem;
            max-width: 600px;
            margin-bottom: 15px;
        }

        .btn {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            padding: 12px 25px;
            border-radius: 4px;
            text-decoration: none;
            font-family: 'Oswald', sans-serif;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            margin-top: 10px;
        }

        .btn:hover {
            background-color: #b71c1c;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .slider-nav {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            z-index: 3;
        }

        .slider-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            margin: 0 7px;
            cursor: pointer;
            transition: background-color 0.3s, transform 0.3s;
        }

        .slider-dot:hover {
            transform: scale(1.2);
        }

        .slider-dot.active {
            background-color: var(--primary-color);
            transform: scale(1.2);
        }

        .slider-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 3;
            transition: all 0.3s ease;
            font-size: 1.5rem;
        }

        .slider-control:hover {
            background-color: var(--primary-color);
            transform: translateY(-50%) scale(1.1);
        }

        .prev-slide {
            left: 20px;
        }

        .next-slide {
            right: 20px;
        }

        /* Основной контент */
        .main-content {
            padding: 40px 0;
        }

        .section-title {
            text-align: center;
            margin: 40px 0 30px;
            position: relative;
            font-family: 'Oswald', sans-serif;
            font-size: 2rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--secondary-color);
        }

        .section-title::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background-color: var(--primary-color);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }

        .feature-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .feature-img {
            height: 200px;
            background-size: cover;
            background-position: center;
        }

        .feature-content {
            padding: 20px;
        }

        .feature-content h3 {
            font-family: 'Oswald', sans-serif;
            margin-bottom: 10px;
            color: var(--secondary-color);
            font-size: 1.4rem;
        }

        /* Подвал */
        .footer {
            background-color: var(--secondary-color);
            color: white;
            padding: 60px 0 20px;
            margin-top: 50px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            font-family: 'Oswald', sans-serif;
            font-size: 1.4rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 3px;
            background-color: var(--primary-color);
            bottom: 0;
            left: 0;
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 10px;
        }

        .footer-column ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-column ul li a:hover {
            color: var(--primary-color);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 1.2rem;
            transition: background-color 0.3s;
        }

        .social-links a:hover {
            background-color: var(--primary-color);
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #aaa;
            font-size: 0.9rem;
        }

        /* Адаптивность */
        @media (max-width: 992px) {
            .slider-container {
                height: 400px;
            }
        }

        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            
            .nav-menu {
                position: fixed;
                left: -100%;
                top: 100px;
                flex-direction: column;
                background-color: var(--light-color);
                width: 100%;
                text-align: center;
                transition: 0.3s;
                box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
                padding: 20px 0;
            }
            
            .nav-menu.active {
                left: 0;
            }
            
            .nav-menu li {
                margin: 15px 0;
            }
            
            .slider-container {
                height: 350px;
            }
            
            .slide-content h2 {
                font-size: 1.8rem;
            }
            
            .slider-control {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
        }

        @media (max-width: 576px) {
            .slider-container {
                height: 300px;
            }
            
            .slide-content {
                padding: 15px;
            }
            
            .slide-content h2 {
                font-size: 1.5rem;
            }
            
            .slide-content p {
                font-size: 0.9rem;
            }
            
            .section-title {
                font-size: 1.6rem;
            }
            
            .slider-control {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }
            
            .slider-nav {
                bottom: 10px;
            }
        }
 .magazine-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 40px 0;
}

.magazine-card {
             background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;

        }

.magazine-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.5);
        }

        .magazine-cover {
            height: 350px;
            width: 100%;
            object-fit: cover;
            border-bottom: 3px solid var(--accent-red);
        }

        .magazine-info {
            padding: 20px;
        }

        .magazine-info h3 {
            font-family: 'Oswald', sans-serif;
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: var(--text-light);
        }

        .magazine-info .date {
            color: var(--accent-gold);
            font-size: 0.9rem;
            margin-bottom: 15px;
            display: block;
        }

        .magazine-info p {
            color: var(--text-gray);
            font-size: 0.9rem;
            margin-bottom: 15px;
        }

        

        .btn:hover {
            background-color: #c1121f;
            transform: translateY(-3px);
        }
