/* ===== ГЕРОЙ СЕКЦИЯ ===== */
.hero {
    position: relative;
    height: 70vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--primary-dark);
    color: white;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-1 {
    background: linear-gradient(rgba(26, 30, 36, 0.85), rgba(26, 30, 36, 0.85)), 
                url('../images/hero-banner-1.jpg');
}

.hero-slide-2 {
    background: linear-gradient(rgba(26, 30, 36, 0.85), rgba(26, 30, 36, 0.85)), 
                url('../images/hero-banner-2.jpg');
}

.hero-slide-3 {
    background: linear-gradient(rgba(26, 30, 36, 0.85), rgba(26, 30, 36, 0.85)), 
                url('../images/hero-banner-3.jpg');
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    color: white;
    padding: 0 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-text p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: #FF9900;
    border-color: white;
    transform: scale(1.2);
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages-section {
    padding: 4rem 0;
    background: var(--gradient-subtle);
    position: relative;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.advantage-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #0066CC;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: #0066CC;
    box-shadow: 0 10px 25px -5px rgba(0, 102, 204, 0.15);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0066CC;
}

.advantage-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.advantage-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== СЕКЦИИ С ПРОДУКТАМИ ===== */
.products-section {
    padding: 4rem 0;
}

.products-section.bg-subtle {
    background: var(--gradient-subtle);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.section-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* ===== ПРОДУКТЫ НА ГЛАВНОЙ - БОЛЬШИЕ КАРТОЧКИ ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Большая карточка товара */
.product-card {
    background: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px -5px rgba(0, 102, 204, 0.15);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    z-index: 2;
}

.product-badge.discount {
    background: var(--danger-color);
}

.product-badge.new {
    background: var(--success-color);
}

/* Контейнер для фото - БОЛЬШАЯ ВЫСОТА */
.product-image {
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

/* Фото без обрезки */
.product-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Информация о товаре - БОЛЬШИЕ ОТСТУПЫ */
.product-info {
    padding: 1.25rem;
}

.product-brand {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.product-name a {
    color: inherit;
    text-decoration: none;
}

.product-name a:hover {
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--warning-color);
    font-size: 0.9rem;
}

.product-rating span {
    color: var(--medium-gray);
    font-size: 0.8rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-decoration: line-through;
}

/* Кнопки - БОЛЬШИЕ */
.product-actions {
    display: flex;
    gap: 0.75rem;
}

.product-actions .btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
}

.product-actions .btn:last-child {
    flex: 0 0 auto;
    width: 42px;
    padding: 0.75rem;
}

/* ===== БРЕНДЫ ===== */
.brands-section {
    padding: 4rem 0;
    background: var(--gradient-subtle);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    align-items: center;
}

.brand-logo {
    background: var(--bg-white);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.brand-logo:hover {
    transform: translateY(-5px);
    border-color: #0066CC;
    box-shadow: 0 10px 25px -5px rgba(0, 102, 204, 0.15);
}

.brand-logo img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-logo:hover img {
    filter: grayscale(0%);
}

/* ===== КАРТА И КОНТАКТЫ ===== */
.map-section {
    padding: 5rem 0 4rem;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: #0066CC;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
}

.contact-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.contact-card h3 i {
    color: #0066CC;
    margin-right: 0.5rem;
}

.contact-card p {
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    height: 400px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    margin-top: 1rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== О КОМПАНИИ ===== */
.about-company {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--border-color);
}

.about-image-placeholder {
    width: 100%;
    height: 450px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.1);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-image {
        height: 180px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 220px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
    }
}