/* Private Villas.Asia – custom styles (Tailwind handles the rest) */

.hero-bg {
    background:
        linear-gradient(rgba(7, 60, 50, 0.70), rgba(7, 60, 50, 0.85)),
        url('../images/hero.jpg') center / cover no-repeat;
}

/* Lock page scroll while a modal is open */
body.modal-open {
    overflow: hidden;
}

/* Modal fade-in */
.modal-panel {
    animation: modalIn 0.25s ease-out;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to   { opacity: 1; transform: none; }
}

/* Gallery thumbnails */
.thumb {
    opacity: 0.6;
    transition: opacity 0.2s, outline-color 0.2s;
    outline: 2px solid transparent;
    outline-offset: 2px;
}
.thumb:hover,
.thumb.active {
    opacity: 1;
    outline-color: #C5A059;
}

/* Hide scrollbar on thumbnail strip */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* Toast visible state */
#toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Floating Telegram button pulse */
.tg-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: #229ED9;
    z-index: -1;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}
