/* Custom styles for Lima Real Estate Team */

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

/* Geometric Shape Animations */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #F59E0B 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #FCD34D 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    border-radius: 50%;
    animation-delay: 2s;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: #F59E0B;
    top: 30%;
    left: 10%;
    transform: rotate(45deg);
    animation-delay: 1s;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #FCD34D;
    top: 20%;
    right: 15%;
    animation-delay: 3s;
}

.shape-dots {
    width: 120px;
    height: 120px;
    bottom: 20%;
    right: 25%;
    background-image: radial-gradient(circle, #F59E0B 2px, transparent 2px);
    background-size: 15px 15px;
    animation-delay: 1.5s;
}

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

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(107, 45, 91, 0.1);
}

#navbar.scrolled .font-display,
#navbar.scrolled .font-medium {
    color: #6B2D5B !important;
}

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

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

::-webkit-scrollbar-thumb {
    background: #6B2D5B;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5c264e;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .geo-shape {
        animation: none;
    }
    
    .reveal {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

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

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* Button press effect */
button:active,
a:active {
    transform: scale(0.98);
}

/* Print styles */
@media print {
    .geo-shape,
    .animate-bounce {
        display: none;
    }
    
    #navbar {
        position: static;
    }
}
