/* Custom styles for Velocity Developments & Real Estate */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 {
        transition-delay: 0.1s;
    }
    
    .reveal-delay-2 {
        transition-delay: 0.2s;
    }
    
    .reveal-delay-3 {
        transition-delay: 0.3s;
    }
}

/* Ensure all content is visible by default (progressive enhancement) */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Selection color */
::selection {
    background-color: #0d9488;
    color: white;
}

/* Focus styles */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobile-menu {
    animation: fadeIn 0.3s ease;
}

/* Hover effects for cards */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Subtle gradient overlay for hero */
.hero-gradient {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 100%);
}

/* Print styles */
@media print {
    nav,
    #mobile-menu-btn,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #0f172a;
    }
    
    a {
        text-decoration: none;
        color: #0f172a;
    }
}
