/* home search */
.btn-outline-light:hover {
    background: rgba(255,255,255,0.35) !important;
    color: #000 !important;
    transform: translateY(-2px);

}

/* Teksti me i vogel ne mobile */
@media (max-width: 576px) {
    .link-btn {
        font-size: 12px !important;
        padding: 5px 6px !important;
    }
}


/* Fade-in + slide-up për titull, subtitle dhe form */
.hero-title, .hero-subtitle, .hero-form {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-out;
}

.hero-title.loaded {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}
.hero-subtitle.loaded {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}
.hero-form.loaded {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* Hover efekt për butonin */
.hero-button:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .form-overlay {
        background: rgba(255, 255, 255, 0.30) !important;
        flex-direction: column;
        gap: 6px;
        padding: 10px 10px;
    }
    .form-overlay > div {
        margin-bottom: 0 !important;
    }
    .form-overlay input,
    .form-overlay select {
        width: 100%;
        background: rgba(255, 255, 255, 0.40) !important;
        box-shadow: none !important;
        color: black !important;
    }
    .form-overlay input::placeholder,
    .form-overlay select::placeholder {
        color: black !important;
    }
    .form-overlay button {
        width: 100%;
        margin-top: 6px;
    }
}

/* slide */

/* slide */
.ticker-container {
    overflow: hidden;
    position: relative;
    cursor: grab;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.ticker-track {
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    left: 0;
    will-change: transform;
    align-items: flex-start;
    justify-content: flex-start;
}

.ticker-track .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    min-width: 33.3333%; /* 3 foto në një rresht */
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.ticker-track .card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.ticker-track .card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.ticker-track .card .badge {
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.ticker-track .card .badge.bg-primary {
    top: 10px;
    left: 10px;
}

.ticker-track .card .badge.bg-success {
    top: 10px;
    right: 10px;
}

.ticker-track .card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 15px;
    border-radius: 0 0 10px 10px;
}

.ticker-track .card .card-overlay h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ticker-track .card .card-overlay p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .ticker-container {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        cursor: grab;
        padding: 0 !important;
        margin: 0 !important;
    }
    .ticker-container::-webkit-scrollbar {
        display: none;
    }

    .ticker-track {
        display: flex;
        gap: 0;
        scroll-behavior: smooth;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .ticker-track .card {
        width: 100%;
        flex-shrink: 0;
        margin: 0 !important;
        box-sizing: border-box;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }

    .ticker-track .card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 10px;
    }

    .ticker-track .card .badge.bg-primary {
        top: 10px;
        left: 10px;
    }

    .ticker-track .card .badge.bg-success {
        top: 10px;
        right: 10px;
    }
}
