﻿/* Halványkék háttér */
.IndustriePages-bg {
    background: #dfe9ff;
    padding: 28px 0;
}

/* Fehér panel */
.IndustriePages-panel {
    width: min(1400px, 100% - 100px);
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    padding: 24px 28px;
}

@media (max-width: 900px) {
    .IndustriePages-bg {
        padding: 20px 0;
    }

    .IndustriePages-panel {
        width: min(1200px, 100% - 40px);
        padding: 18px 20px;
        border-radius: 16px;
    }
}

@media (max-width: 560px) {
    .IndustriePages-panel {
        width: min(1200px, 100% - 24px);
        padding: 16px;
        border-radius: 14px;
    }
}

/* Képek, címek */
.IndustriePages-panel img {
    max-width: 100%;
    height: auto;
    display: block;
}

.IndustriePages-panel h1,
.IndustriePages-panel h2,
.IndustriePages-panel h3 {
    margin-top: 0.2em;
}

/*HTML Oldalak*/
.IndustriesPage-hero {
    padding: 20px;
}

.IndustriesPage-title {
    font-size: clamp(26px, 3vw, 36px);
    margin: 0 0 8px;
    font-weight: 800;
}

.IndustriesPage-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: #64748b;
    margin: 0 0 14px;
}

.IndustriesPage-h2 {
    font-size: 22px;
    margin: 20px 0 10px;
}

.IndustriesPage-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px 20px;
}

    .IndustriesPage-features li::before {
        content: "✓";
        color: #0ea5e9;
        margin-right: 6px;
    }

/* ===== Carousel ===== */
.IndustriesPage-carousel {
    --h: clamp(220px, 40vw, 420px);
    position: relative;
    height: var(--h);
    width: 100%;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
}

    .IndustriesPage-carousel ul {
        list-style: none;
        margin: 0;
        padding: 0;
        height: 100%;
        position: relative;
    }

    .IndustriesPage-carousel li {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity .5s ease;
        display: grid;
        place-items: center;
    }

        .IndustriesPage-carousel li.is-active {
            opacity: 1;
        }

    .IndustriesPage-carousel img {
        height: 320px; /* fix magasság */
        width: auto; /* szélesség arányosan igazodik */
        object-fit: contain;
        display: block;
        margin: 0 auto; /* középre igazítás vízszintesen */
    }

    .IndustriesPage-carousel .nav {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .IndustriesPage-carousel button[aria-label] {
        pointer-events: auto;
        border: 0;
        background: rgba(0,0,0,.5);
        color: #fff;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
    }

    .IndustriesPage-carousel .dots {
        position: absolute;
        left: 50%;
        bottom: 8px;
        transform: translateX(-50%);
        display: flex;
        gap: 6px;
    }

        .IndustriesPage-carousel .dots button {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            border: 0;
            background: #94a3b8;
            cursor: pointer;
        }

            .IndustriesPage-carousel .dots button.is-active {
                background: #0ea5e9;
            }


/* ===== Responsive image slider ===== */
.image-gallery {
    --columns: 4;
    --gap: 12px;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

    .image-gallery .track {
        display: flex;
        gap: var(--gap);
        transition: transform .5s ease;
    }

    .image-gallery img {
        flex: 0 0 calc(100% / var(--columns));
        width: calc(100% / var(--columns));
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,.1);
    }

    .image-gallery .nav {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
        pointer-events: none;
    }

        .image-gallery .nav button {
            pointer-events: auto;
            border: 0;
            background: rgba(0,0,0,.5);
            color: #fff;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
        }

@media (max-width: 1000px) {
    .image-gallery {
        --columns: 3;
    }
}

@media (max-width: 700px) {
    .image-gallery {
        --columns: 2;
    }
}

@media (max-width: 450px) {
    .image-gallery {
        --columns: 1;
    }
}

/* ===== Bottom action buttons ===== */
.contact-button {
    margin-top: 30px;
    text-align: center;
}

    .contact-button a {
        background: #0ea5e9;
        color: #fff;
        padding: 10px 18px;
        border-radius: 8px;
        text-decoration: none;
        display: inline-block;
    }

.scale-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

    .scale-buttons a {
        background: #1e293b;
        color: #fff;
        padding: 8px 14px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 14px;
    }

        .scale-buttons a:hover {
            background: #0ea5e9;
        }