/* Custom styles for Dinosaur Realtor Virginia Beach */

:root {
    --burgundy: #7B2D3B;
    --burgundy-light: #b02548;
    --blush: #ffd9e4;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.navbar-scrolled .nav-link {
    color: #3f3f46 !important;
}

.navbar-scrolled .nav-link:hover {
    color: #7B2D3B !important;
}

/* Hero gradient animation */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    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; }

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

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

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

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

/* Selection color */
::selection {
    background: rgba(123, 45, 59, 0.2);
    color: #18181b;
}

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

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

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

/* Card hover glow */
.group:hover .glow-border {
    box-shadow: 0 0 0 1px rgba(123, 45, 59, 0.15), 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #f4f4f5 0%, #e4e4e7 100%);
}
