/* ─── Hero Slider ──────────────────────────────────────────────────────────── */
.hero-slider {
    margin-top: 110px;
    position: relative;
    overflow: hidden;
    height: 70vh;
    min-height: 500px;
}
.slides-container { display: flex; height: 100%; transition: transform .5s ease-in-out; }
.slide { min-width: 100%; height: 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.5) 0%, rgba(0,0,0,.1) 100%);
    display: flex;
    align-items: center;
}
.slide-content {
    color: #fff;
    padding: 0 60px;
    max-width: 600px;
    transform: translateX(-25%);
}
.slide-content h1 { font-size: 48px; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.slide-content p  { font-size: 18px; margin-bottom: 30px; line-height: 1.6; }

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}
.slider-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: all .3s;
    border: none;
}
.slider-dot.active { background: #4CAF50; transform: scale(1.2); }

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}
.slider-arrow {
    width: 50px; height: 50px;
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all .3s;
    border: none;
    font-size: 20px;
    color: #333;
}
.slider-arrow:hover { background: #4CAF50; color: #fff; }

/* ─── About Section ────────────────────────────────────────────────────────── */
.about-section { padding: 80px 0; background: #f9f9f9; }
.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image { border-radius: 10px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.1); }
.about-image img { width: 100%; height: auto; display: block; }
.about-content h2 { font-size: 36px; color: #333; margin-bottom: 20px; }
.about-content h2 span { color: #4CAF50; }
.about-content p { font-size: 16px; line-height: 1.8; color: #666; margin-bottom: 20px; }

/* ─── Products Section ─────────────────────────────────────────────────────── */
.products-section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; color: #333; margin-bottom: 15px; }
.section-header p  { font-size: 16px; color: #666; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    transition: all .3s;
    cursor: pointer;
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,.15); }

.product-image {
    position: relative;
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-icon {
    position: absolute;
    width: 100px; height: 100px;
    transition: opacity .45s ease, transform .45s ease;
    transform-origin: center;
    pointer-events: none;
}
.product-icon-default { opacity: 1; transform: scale(1); }
.product-icon-hover   { opacity: 0; transform: scale(.9); }
.product-card:hover .product-icon-default { opacity: 0; transform: scale(.9); }
.product-card:hover .product-icon-hover   { opacity: 1; transform: scale(1); }
.product-image svg { display: block; }

.product-info { padding: 25px; text-align: center; }
.product-info h3 { font-size: 20px; color: #333; margin-bottom: 10px; }
.product-info p  { font-size: 14px; color: #666; margin-bottom: 15px; }

/* ─── Contact Section ──────────────────────────────────────────────────────── */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
}
.contact-section .section-header h2 { color: #fff; }
.contact-section .section-header p  { color: rgba(255,255,255,.8); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}
.contact-item { padding: 30px; }
.contact-icon {
    width: 70px; height: 70px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}
.contact-item h3 { font-size: 20px; margin-bottom: 10px; }
.contact-item p  { font-size: 16px; opacity: .9; }

/* ─── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
    .about-section .container { grid-template-columns: 1fr; }
    .products-grid   { grid-template-columns: repeat(2, 1fr); }
    .contact-grid    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero-slider { margin-top: 116px; height: 60vh; min-height: 400px; }
    .slide-content { padding: 0 30px; text-align: center; transform: none; }
    .slide-content h1 { font-size: 32px; }
    .slide-content p  { font-size: 16px; }
    .products-grid { grid-template-columns: 1fr; }
    .contact-grid  { grid-template-columns: 1fr; }
    .slider-arrow { width: 40px; height: 40px; font-size: 16px; }
    /* Nyilak a zöld gomb alá, dots fölé */
    .slider-arrows { top: auto; transform: none; bottom: 55px; }
}
@media (max-width: 480px) {
    .slide-content h1 { font-size: 26px; }
    .slide-content p  { font-size: 14px; margin-bottom: 20px; }
    .section-header h2 { font-size: 28px; }
    .about-content h2  { font-size: 28px; }
}
