/* --- HERO SEKCIÁ --- */
.hero { 
    background: linear-gradient(135deg, #7d3200 0%, #00296e 100%); 
    color: var(--white); 
    padding: 11rem 0 6rem 0; 
    border-bottom: 1px solid var(--border-color); 
}
.hero-container { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 4rem; 
}
.hero-content { 
    flex: 1; 
    text-align: left; 
}
.hero h2 { 
    font-size: 2.8rem; 
    margin-bottom: 1.2rem; 
    font-weight: 700; 
    color: var(--white); 
    line-height: 1.2; 
}
.hero p { 
    font-size: 1.15rem; 
    margin-bottom: 2rem; 
    color: var(--text-color); 
}
.hero-img { 
    flex: 1; 
    max-width: 500px; 
    width: 100%; 
    height: auto; 
    border-radius: 16px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); 
}
.hero-buttons { 
    display: flex; 
    gap: 1rem; 
    align-items: center; 
    flex-wrap: wrap; 
}
.btn-phone { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    color: var(--white); 
    text-decoration: none; 
    font-weight: 600; 
    background: rgba(255, 255, 255, 0.1); 
    padding: 0.8rem 1.5rem; 
    border-radius: 6px; 
    border: 1px solid var(--border-color); 
    transition: var(--transition); 
}
.btn-phone:hover { 
    background-color: rgba(255, 255, 255, 0.1); 
    border-color: var(--primary-color); 
    transform: translateY(-2px); 
    color: var(--primary-color); 
}

/* --- ANIMOVANÝ PÁS LOGÁ --- */
.brands-section { 
    padding: 3rem 0; 
    background-color: var(--bg-dark); 
    overflow: hidden; 
    position: relative; 
    mask-image: linear-gradient(to right, transparent 0%, black 50px, black calc(100% - 50px), transparent 100%); 
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50px, black calc(100% - 50px), transparent 100%); 
}
.brands-wrapper { 
    display: flex; 
    width: max-content; 
}
.brands-track { 
    display: flex; 
    gap: 3rem; 
    padding-right: 3rem; 
    animation: scroll 25s linear infinite; 
}
.brand-item { 
    min-width: 150px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.brand-item img { 
    max-height: 45px; 
    filter: grayscale(100%) brightness(0.7); 
    transition: all 0.3s ease; 
}
.brand-item:hover img { 
    filter: grayscale(0%) brightness(1); 
    transform: scale(1.1); 
}
@keyframes scroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-100%); } 
}

/* --- SEKCIA TOP SALES --- */
.top-sales { 
    padding: 4rem 0; 
    background-color: var(--bg-dark); 
}
.section-title { 
    text-align: center; 
    margin-bottom: 3rem; 
    font-size: 2rem; 
    color: var(--white); 
}
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 2rem; 
}
.product-card { 
    padding: 1.5rem; 
    border-radius: 12px; 
    text-align: center;  
    transition: var(--transition); 
}
.product-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0); 
    border-color: var(--primary-color);
}
.product-card img { 
    max-width: 100%; 
    height: 180px; 
    object-fit: contain; 
    margin-bottom: 1rem; 
}
.product-card h3 { 
    margin-bottom: 0.5rem; 
    font-size: 1.1rem; 
    color: var(--white);
}
.product-card .price { 
    font-weight: 700; 
    color: var(--primary-color); 
    margin-bottom: 1rem; 
    font-size: 1.2rem; 
}
.btn-secondary {
    display: inline-block;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}
.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

/* --- SLUŽBY --- */
.services-section {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: start;
}

.service-item {
    text-align: center;
    padding: 1rem;
    position: relative;
}

/* Zvislá čiara medzi stĺpcami (okrem posledného) */
.service-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    height: 80%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1); /* Jemná biela čiara */
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color); /* Tvoja primárna modrá farba */
    margin-bottom: 1.2rem;
}

.service-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.service-item p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* Responsivita pre tablety a mobily */
@media screen and (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
    /* Vypnutie čiar na tabletoch/mobiloch, kde sú pod sebou */
    .service-item:not(:last-child)::after {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
/* --- KONTAKT VYLEPŠENÝ --- */
.contact { 
    padding: 5rem 0; 
    text-align: center; 
}

.contact-box { 
    display: inline-block; 
    padding: 2.5rem 3rem; 
    text-align: left; 
    max-width: 500px;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.contact-info p { 
    margin: 0; 
    font-size: 1.05rem; 
    color: var(--text-color); 
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info i {
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.contact-info a { 
    color: var(--primary-color); 
    text-decoration: none; 
    font-weight: 600; 
}

.contact-btn-wrapper {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

/* --- RESPONSIVITA PRE INDEX --- */
@media screen and (max-width: 1024px) { 
    .product-grid { grid-template-columns: repeat(2, 1fr); } 
}
@media screen and (max-width: 900px) { 
    .hero { background: #0f172a !important; padding: 8rem 0 4rem 0; }
    .hero-container { flex-direction: column-reverse; text-align: center; gap: 2rem; } 
    .hero-content { text-align: center; max-width: 100%; flex: none; }
    .hero-img { max-width: 100%; flex: none; }
    .product-grid { grid-template-columns: 1fr; } 
}