/* Custom styles for Robert Tolas - Natale Realtors */

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

/* Geometric shape animations */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    animation: float 20s ease-in-out infinite;
}

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

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #fbcfe8, transparent);
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    animation-delay: -5s;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #fde68a, transparent);
    border-radius: 50%;
    top: 40%;
    right: 15%;
    animation-delay: -10s;
}

.shape-square-1 {
    width: 100px;
    height: 100px;
    background: #fbbf24;
    top: 60%;
    left: 10%;
    transform: rotate(45deg);
    animation-delay: -7s;
}

.shape-square-2 {
    width: 60px;
    height: 60px;
    background: #fbcfe8;
    bottom: 30%;
    right: 20%;
    transform: rotate(30deg);
    animation-delay: -3s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid #fbbf24;
    top: 25%;
    left: 20%;
    animation-delay: -12s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(10px) rotate(-3deg);
    }
    75% {
        transform: translateY(-15px) rotate(2deg);
    }
}

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

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(80, 7, 36, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #be185d, #9d174d);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #db2777, #be185d);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
}

/* Button hover effects */
button[type="submit"]:hover {
    transform: translateY(-1px);
}

button[type="submit"]:active {
    transform: translateY(0);
}

/* Image hover zoom */
.group:hover .group-hover\:scale-110 {
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Selection color */
::selection {
    background-color: #fbcfe8;
    color: #831443;
}
