/**
 * Locare - Custom Styles
 */

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #f8fafc; 
}

h1, h2, h3 { 
    font-family: 'Manrope', sans-serif; 
}

.material-symbols-outlined { 
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; 
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

#map { 
    height: 300px; 
    border-radius: 1rem; 
}

/* Skeleton Loader */
@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #f8fafc 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s infinite linear;
    border-radius: 0.5rem;
    color: transparent !important;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Premium Card Hover */
.glass-card { 
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(12px); 
    border: 1px solid rgba(226, 232, 240, 0.5); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 0 20px 2px rgba(14, 165, 233, 0.05);
}

/* Smooth Page Entrance */
body {
    opacity: 0;
    animation: fadeInBody 0.6s ease-out forwards;
}

@keyframes fadeInBody {
    to { opacity: 1; }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

/* Toast Animations */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.toast-item {
    animation: slideInRight 0.3s ease-out forwards;
}

.toast-item.hiding {
    animation: fadeOut 0.3s ease-out forwards;
}

.glass-toast {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-left: 4px solid #0ea5e9;
    color: #0f172a;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}
