/* Custom styles for Mishlei LeTaveras Realty Team */

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(107, 33, 94, 0.08);
}

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

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

::-webkit-scrollbar-thumb {
    background: #be185d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9d174d;
}

/* Selection color */
::selection {
    background: #fbbf24;
    color: #1a1a2e;
}

/* Hero text gradient animation */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-15px) rotate(12deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-10px) rotate(45deg); }
}

.float-1 {
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    animation: float-slow 8s ease-in-out infinite;
}

/* Pulse dot */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.animate-pulse-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

/* 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; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(190, 24, 93, 0.1);
}

/* Card hover effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Geometric shape animations */
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotate-slow {
    animation: rotate-slow 20s linear infinite;
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Custom underline for italic text */
.font-display em,
.font-display i {
    font-style: italic;
}

/* Ensure all text is readable */
.text-plum-950 { color: #2d0624; }
.text-plum-900 { color: #4a0d3a; }
.text-plum-800 { color: #6b215e; }
.text-plum-700 { color: #9d174d; }
.text-plum-600 { color: #be185d; }
.text-plum-500 { color: #db2777; }
.text-plum-400 { color: #f472b6; }
.text-plum-300 { color: #f9a8d4; }
.text-plum-200 { color: #fbcfe8; }
.text-plum-100 { color: #fce7f3; }
.text-plum-50 { color: #fdf2f8; }

/* Amber colors */
.text-amber-450 { color: #fbbf24; }
.text-amber-400 { color: #fcd34d; }
.text-amber-350 { color: #fde68a; }
.text-amber-300 { color: #fcd34d; }

/* Background colors */
.bg-plum-950 { background-color: #2d0624; }
.bg-plum-900 { background-color: #4a0d3a; }
.bg-plum-800 { background-color: #6b215e; }
.bg-plum-700 { background-color: #9d174d; }
.bg-plum-600 { background-color: #be185d; }
.bg-plum-500 { background-color: #db2777; }
.bg-plum-200 { background-color: #fbcfe8; }
.bg-plum-100 { background-color: #fce7f3; }
.bg-plum-50 { background-color: #fdf2f8; }

.bg-amber-450 { background-color: #fbbf24; }
.bg-amber-400 { background-color: #fcd34d; }
.bg-amber-350 { background-color: #fde68a; }
.bg-amber-300 { background-color: #fde68a; }
.bg-amber-50 { background-color: #fffbeb; }
