/* Custom Styles for Parrish Properties Investments */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #e6c060;
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Stagger Animation Delays */
.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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Navbar Transition */
#navbar.scrolled {
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Form Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button Hover Effects */
button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* Image Loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold Gradient Text (for special elements) */
.text-gradient-gold {
    background: linear-gradient(135deg, #f0d48a 0%, #d4a843 50%, #e6c060 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Glow */
.group:hover .group-hover\:border-gold-500\/30 {
    border-color: rgba(212, 168, 67, 0.3);
}

/* Custom Selection Color */
::selection {
    background-color: rgba(212, 168, 67, 0.3);
    color: #faf8f5;
}

/* Prevent Layout Shift */
img {
    max-width: 100%;
    height: auto;
}

/* Performance Optimizations */
@media (prefers-reduced-motion: no-preference) {
    .group:hover {
        transform: translateY(-4px);
    }
    
    .group {
        transition: transform 0.3s ease;
    }
}
