﻿.hero-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

    .hero-slide.active {
        opacity: 1;
        visibility: visible;
    }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
}

/* Tekst i animacije */
.hero-content {
    position: relative;
    z-index: 10;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.3s;
    opacity: 0;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.gold-text {
    background: linear-gradient(to right, #bf953f, #fcf6ba, #bf953f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(2rem, 6vw, 4.5rem);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin-left: auto;
    margin-bottom: 35px;
}

/* Dugme */
.btn-hero-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #bf953f;
    color: #bf953f;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    transition: 0.4s;
    border-radius:50px;
}

    .btn-hero-outline:hover {
        background: linear-gradient(to right, #bf953f, #fcf6ba, #bf953f);
        color: #000;
        border-color: #fcf6ba;
        box-shadow: 0 0 20px rgba(191, 149, 63, 0.4);
    }

/* Strelice dole desno */
.hero-controls {
    position: absolute;
    bottom: 80px;
    right: 90px;
    z-index: 100;
    display: flex;
    gap: 15px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(5px);
    border-radius:50px;
    opacity:0.7;
}

    .control-btn:hover {
        background: #bf953f;
        transition:ease-in-out all 0.3s;
        opacity: 1;
    }

/* Progres bar na dnu */
.hero-progress-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform:translateX(-50%);
    width: 70%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    z-index: 110;
}

.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #bf953f);
}

.qrcode {
    position: absolute;
    bottom: 30px;
    left: 30px;
}

    .qrcode p {
    color:white;
    font-size:0.6rem;
    margin-bottom:5px;
    }

.qrcode img{
    width: 80px !important;
}

.disabled-social {
    pointer-events: none; /* Potpuno onemogućava klik */
    cursor: default; /* Menja kursor u običnu strelicu */
    opacity: 0.4; /* Izbledi ikonicu */
    filter: grayscale(1); /* Opciono: pretvara je u crno-belu */
}

.slide-pcele {
    background-image: url('/img/pcele_lete_ka_kosnici.webp');
}

.slide-kontejner {
    background-image: url('/img/pcelinjak_trifunovic_kontejner_sa_kosnicama.webp');
}

.slide-proizvodi {
    background-image: url('/img/pcelinji_proizvodi_pcelinjak_trifunovic.webp');
}
@media (min-width: 768px) and (max-width: 1024px) {

    .hero-content {
        text-align: center;
        position:relative;
    }

    .hero-description {
        margin: 0 auto;
        font-size: 1.1rem;
        margin-bottom: 35px;
        text-align: center;
    }

        .slide-pcele {
        background-image: url('../img/pcele_lete_ka_kosnici_mobile.webp');
    }

    .slide-kontejner {
        background-image: url('../img/pcelinjak_trifunovic_kontejner_sa_kosnicama_mobile.webp');
    }

    .slide-proizvodi {
        background-image: url('../img/pcelinji_proizvodi_pcelinjak_trifunovic_mobile.webp');
    }

    .hero-progress-container {
        width: 65%;
    }

    .btn-hero-outline {
    margin:0 10px;
    }

    .hero-slide:nth-child(3) .btn-hero-outline {
        display: inline-block;
        width: 30%;
        font-size: 0.7rem;
        text-align: center;
        margin-top: 30vh;
    }

}


@media (max-width: 768px) {

    .hero-wrapper {
        height: 85vh;
    }

        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            visibility: hidden;
            transition: opacity 1s ease-in-out;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
        }

        .hero-content {
            text-align: center;
        }

        .hero-title {
            text-align: start;
            margin: 0 15px 15px 15px;
        }

        .hero-description {
            font-size: 1.1rem;
            margin: 0 15px;
            margin-bottom: 35px;
            text-align: start;
        }

        .slide-pcele {
            background-image: url('../img/pcele_lete_ka_kosnici_mobile.webp');
        }

        .slide-kontejner {
            background-image: url('../img/pcelinjak_trifunovic_kontejner_sa_kosnicama_mobile.webp');
        }

        .slide-proizvodi {
            background-image: url('../img/pcelinji_proizvodi_pcelinjak_trifunovic_mobile.webp');
        }

        .btn-hero-outline {
            display: block;
            width: fit-content;
            margin: 10px auto;
            text-align: center;
            padding: 10px 20px;
            border: 1px solid #bf953f;
        }

        .hero-slide:nth-child(3) .btn-hero-outline {
            display: inline-block;
            width: 30%;
            font-size: 0.7rem;
            text-align: center;
            margin-top: 10vh;
        }

        .hero-controls {
            right: 0;
            bottom: 12%;
            width: 100%;
            position: absolute;
            display: flex;
            justify-content: space-between;
            padding: 0 35px;
            pointer-events: none;
        }

        .control-btn {
            pointer-events: auto; /* Vraćamo mogućnost klika samo na dugmiće */
            width: 35px; /* Malo ih smanjujemo za mobilni */
            height: 35px;
            background: rgba(0, 0, 0, 0.3); /* Tamnija pozadina da se bolje vide na svetlim slikama */
            opacity: 1; /* Bolja vidljivost na dodir */
        }

        /* Progres bar na dnu */
        .hero-progress-container {
            width: 55%;
            bottom: 25px;
        }

        .qrcode {
            position: absolute;
            bottom: 10%;
            left: 50%;
            transform: translateX(-50%)
        }

            .qrcode img {
                width: 50px !important;
            }

            .qrcode p {
                color: white;
                font-size: 0.45rem;
                margin-bottom: 5px;
            }
    }



