/* ================================
   Nivo Slider v3.2 Reszponzív Stílus
   ================================ */

/* Slider alapstílus */
.nivoSlider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 12px; /* kerekített sarkok */
    box-shadow: 0 6px 20px rgba(0,0,0,0.2); /* enyhe árnyék */
    background: #000; /* háttér a betöltés idejére */
}

/* Fő kép */
.nivo-main-image {
    display: block !important;
    position: relative !important; 
    width: 100% !important;
    height: auto !important;
    object-fit: cover; /* szépen kitölti a dobozt */
    transition: all 0.5s ease; /* finom átmenet */
}

/* Ha a kép linkbe van ágyazva */
.nivoSlider a.nivo-imageLink {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    z-index: 6;
    display: none;
    background: transparent; 
    opacity: 0;
}

/* Szeletek és dobozok */
.nivo-slice,
.nivo-box {
    display: block;
    position: absolute;
    z-index: 5;
    height: 100%;
    top: 0;
}

.nivo-box {
    overflow: hidden;
}

.nivo-box img {
    display: block;
    width: 100%;
    height: auto;
}

/* Caption stílus */
.nivo-html-caption {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    max-width: 90%;
    text-align: center;
}

/* Navigáció (Next / Prev) */
.nivo-directionNav a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 20px;
    transition: background 0.3s ease;
}

.nivo-directionNav a:hover {
    background: rgba(0,0,0,0.8);
}

.nivo-prevNav { left: 10px; }
.nivo-nextNav { right: 10px; }

/* Control nav (dots) */
.nivo-controlNav {
    text-align: center;
    padding: 15px 0;
}

.nivo-controlNav a {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nivo-controlNav a.active,
.nivo-controlNav a:hover {
    background: rgba(0,0,0,0.7);
}

/* ================================
   Reszponzív Média Lekérdezések
   ================================ */
@media (max-width: 1200px) {
    .nivo-html-caption { font-size: 15px; padding: 10px 16px; }
    .nivo-directionNav a { font-size: 18px; padding: 8px 12px; }
}

@media (max-width: 768px) {
    .nivo-html-caption { font-size: 14px; padding: 8px 12px; }
    .nivo-directionNav a { font-size: 16px; padding: 6px 10px; }
}

@media (max-width: 480px) {
    .nivo-html-caption { font-size: 12px; padding: 6px 10px; }
    .nivo-directionNav a { font-size: 14px; padding: 5px 8px; }
}
