/* Product Slider */
.product-slider-container,
.news-slider-container {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    color: var(--secondary-color);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn {
    left: -15px;
    position: absolute;
}

.next-btn {
    right: -15px;
    position: absolute;
}

.news-prev-btn {
    left: -15px;
    position: absolute;
}

.news-next-btn {
    right: -15px;
    position: absolute;
}

.slider-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.products-slider,
.news-slider {
    width: 100%;
    overflow: hidden;
    padding: 20px 10px;
}

.products-grid {
   
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    transition: transform 0.5s ease;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.read-more i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Social Media Icons */
.social-media {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 4px 0 0 4px;
    border: 1px solid #444;
    background: #333;
    color: #fff;
}

.newsletter-form button {
    border-radius: 0 4px 4px 0;
    padding: 0 15px;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1100;
    width: 30px;
    height: 24px;
    position: relative;
}

.menu-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-bar:nth-child(1) {
    top: 0;
}

.menu-bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-bar:nth-child(3) {
    bottom: 0;
}

.mobile-menu-toggle.active .menu-bar:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

.mobile-menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 40%;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .prev-btn, .next-btn,
    .news-prev-btn, .news-next-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .prev-btn, .next-btn,
    .news-prev-btn, .news-next-btn {
        width: 35px;
        height: 35px;
    }
}
